From eacdb21412dee97bb8ae11cab65bb0251a5d710f Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Mon, 8 Sep 2025 08:14:57 +1000 Subject: [PATCH 1/3] Remove noisy rustdoc_json output for `tidy`. --- src/tools/tidy/src/rustdoc_json.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tools/tidy/src/rustdoc_json.rs b/src/tools/tidy/src/rustdoc_json.rs index 722e1ebd0cad2..88a1c2c4778e7 100644 --- a/src/tools/tidy/src/rustdoc_json.rs +++ b/src/tools/tidy/src/rustdoc_json.rs @@ -7,7 +7,6 @@ use std::str::FromStr; const RUSTDOC_JSON_TYPES: &str = "src/rustdoc-json-types"; pub fn check(src_path: &Path, ci_info: &crate::CiInfo, bad: &mut bool) { - println!("Checking tidy rustdoc_json..."); let Some(base_commit) = &ci_info.base_commit else { eprintln!("No base commit, skipping rustdoc_json check"); return; @@ -16,7 +15,6 @@ pub fn check(src_path: &Path, ci_info: &crate::CiInfo, bad: &mut bool) { // First we check that `src/rustdoc-json-types` was modified. if !crate::files_modified(ci_info, |p| p == RUSTDOC_JSON_TYPES) { // `rustdoc-json-types` was not modified so nothing more to check here. - println!("`rustdoc-json-types` was not modified."); return; } // Then we check that if `FORMAT_VERSION` was updated, the `Latest feature:` was also updated. From af9ef62faaa1b5f7aa5762b0bda7709c218e952d Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Mon, 8 Sep 2025 08:16:13 +1000 Subject: [PATCH 2/3] Remove noisy error_codes output for `tidy`. --- src/tools/tidy/src/error_codes.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tools/tidy/src/error_codes.rs b/src/tools/tidy/src/error_codes.rs index 65aa89fe80169..b6599b0f55a6c 100644 --- a/src/tools/tidy/src/error_codes.rs +++ b/src/tools/tidy/src/error_codes.rs @@ -95,7 +95,6 @@ fn check_removed_error_code_explanation(ci_info: &crate::CiInfo, bad: &mut bool) eprintln!("Take a look at E0001 to see how to handle it."); return; } - println!("No error code explanation was removed!"); } /// Stage 1: Parses a list of error codes from `error_codes.rs`. From 992e4c644d4ac9640cc44c91ef160e7594e84dc2 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Mon, 8 Sep 2025 08:20:31 +1000 Subject: [PATCH 3/3] Remove top-level output markers for `tidy`. --- src/bootstrap/src/core/build_steps/test.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs index 4f839bdf7b83f..5898bc4e444c8 100644 --- a/src/bootstrap/src/core/build_steps/test.rs +++ b/src/bootstrap/src/core/build_steps/test.rs @@ -1249,7 +1249,6 @@ impl Step for Tidy { if builder.config.channel == "dev" || builder.config.channel == "nightly" { if !builder.config.json_output { - builder.info("fmt check"); if builder.config.initial_rustfmt.is_none() { let inferred_rustfmt_dir = builder.initial_sysroot.join("bin"); eprintln!( @@ -1277,10 +1276,8 @@ HELP: to skip test's attempt to check tidiness, pass `--skip src/tools/tidy` to } } - builder.info("tidy check"); cmd.delay_failure().run(builder); - builder.info("x.py completions check"); let completion_paths = get_completion_paths(builder); if builder.config.cmd.bless() { builder.ensure(crate::core::build_steps::run::GenerateCompletions);