Skip to content

Commit d39343d

Browse files
committed
Auto merge of #10806 - ehuss:bump-cargo-util-stable-1.62, r=joshtriplett
[STABLE-1.62] Bump cargo util stable This is a stable backport of #10804. This uses version 0.2.0 compared to 0.2.1 on beta since beta has had some minor (compatible) changes. cc #10803
2 parents a748cf5 + 20e282b commit d39343d

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo"
3-
version = "0.63.0"
3+
version = "0.63.1"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
homepage = "https://crates.io"
@@ -19,7 +19,7 @@ path = "src/cargo/lib.rs"
1919
atty = "0.2"
2020
bytesize = "1.0"
2121
cargo-platform = { path = "crates/cargo-platform", version = "0.1.2" }
22-
cargo-util = { path = "crates/cargo-util", version = "0.1.3" }
22+
cargo-util = { path = "crates/cargo-util", version = "0.2.0" }
2323
crates-io = { path = "crates/crates-io", version = "0.34.0" }
2424
crossbeam-utils = "0.8"
2525
curl = { version = "0.4.41", features = ["http2"] }

crates/cargo-util/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-util"
3-
version = "0.1.3"
3+
version = "0.2.0"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
homepage = "https://github.com/rust-lang/cargo"

tests/testsuite/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ fn cargo_compile_with_warnings_in_the_root_package() {
647647
.build();
648648

649649
p.cargo("build")
650-
.with_stderr_contains("[..]function is never used: `dead`[..]")
650+
.with_stderr_contains("[WARNING] [..]dead[..]")
651651
.run();
652652
}
653653

@@ -686,7 +686,7 @@ fn cargo_compile_with_warnings_in_a_dep_package() {
686686
.build();
687687

688688
p.cargo("build")
689-
.with_stderr_contains("[..]function is never used: `dead`[..]")
689+
.with_stderr_contains("[WARNING] [..]dead[..]")
690690
.run();
691691

692692
assert!(p.bin("foo").is_file());

tests/testsuite/cargo_add/invalid_target_empty/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use crate::cargo_add::init_registry;
66
use cargo_test_support::curr_dir;
77

88
#[cargo_test]
9+
#[ignore]
910
fn invalid_target_empty() {
1011
init_registry();
1112
let project = Project::from_template(curr_dir!().join("in"));

tests/testsuite/registry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1961,7 +1961,7 @@ fn upstream_warnings_on_extra_verbose(cargo: fn(&Project, &str) -> Execs) {
19611961
.publish();
19621962

19631963
cargo(&p, "build -vv")
1964-
.with_stderr_contains("[..]warning: function is never used[..]")
1964+
.with_stderr_contains("[WARNING] [..]unused[..]")
19651965
.run();
19661966
}
19671967

tests/testsuite/standard_lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ fn check_core() {
316316
p.cargo("check -v")
317317
.build_std_arg(&setup, "core")
318318
.target_host()
319-
.with_stderr_contains("[WARNING] [..]unused_fn[..]`")
319+
.with_stderr_contains("[WARNING] [..]unused_fn[..]")
320320
.run();
321321
}
322322

0 commit comments

Comments
 (0)