From 363ddd4f583ca0a141eacfc0a8238f33b4204b72 Mon Sep 17 00:00:00 2001 From: Lin Yihai Date: Mon, 22 Jul 2024 15:58:25 +0800 Subject: [PATCH 1/2] test: The latest rustc version should not appear in the test output --- tests/testsuite/lints/implicit_features.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testsuite/lints/implicit_features.rs b/tests/testsuite/lints/implicit_features.rs index 37a12ba69d9..174bc1d4a94 100644 --- a/tests/testsuite/lints/implicit_features.rs +++ b/tests/testsuite/lints/implicit_features.rs @@ -127,7 +127,7 @@ unused_optional_dependency = "allow" .masquerade_as_nightly_cargo(&["cargo-lints", "edition2024"]) .with_stderr_data(str![[r#" [UPDATING] `dummy-registry` index -[LOCKING] 2 packages to latest Rust 1.81.0-nightly compatible versions +[LOCKING] 2 packages to latest Rust [..] compatible versions [CHECKING] foo v0.1.0 ([ROOT]/foo) [FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s From 68e91bec19adb7b7b49c7c6b34c72e9da0055a69 Mon Sep 17 00:00:00 2001 From: Lin Yihai Date: Mon, 22 Jul 2024 16:03:41 +0800 Subject: [PATCH 2/2] test: Remove additional test output --- tests/testsuite/build.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/testsuite/build.rs b/tests/testsuite/build.rs index 49eb60db0c2..cde37a35f99 100644 --- a/tests/testsuite/build.rs +++ b/tests/testsuite/build.rs @@ -6419,7 +6419,6 @@ fn pipelining_big_graph() { .with_stderr_data( str![[r#" [LOCKING] 61 packages to latest compatible versions -[COMPILING] b30 v0.5.0 ([ROOT]/foo/b30) [COMPILING] a30 v0.5.0 ([ROOT]/foo/a30) [ERROR] don't actually build me ...