[INFO] fetching crate locale 0.2.2... [INFO] checking locale-0.2.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate locale 0.2.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate locale 0.2.2 [INFO] finished tweaking crates.io crate locale 0.2.2 [INFO] tweaked toml for crates.io crate locale 0.2.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate locale 0.2.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3746c3764d5a510552d7df532198a1a2a374b7abda9feb26813494381ae84fc [INFO] running `Command { std: "docker" "start" "-a" "d3746c3764d5a510552d7df532198a1a2a374b7abda9feb26813494381ae84fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3746c3764d5a510552d7df532198a1a2a374b7abda9feb26813494381ae84fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3746c3764d5a510552d7df532198a1a2a374b7abda9feb26813494381ae84fc", kill_on_drop: false }` [INFO] [stdout] d3746c3764d5a510552d7df532198a1a2a374b7abda9feb26813494381ae84fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 931701cbe8e5bd6bbac6574b7712dd13bc30f6b8159445a5ee35bc4dd2f1568e [INFO] running `Command { std: "docker" "start" "-a" "931701cbe8e5bd6bbac6574b7712dd13bc30f6b8159445a5ee35bc4dd2f1568e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking locale v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/linux/langinfo.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe fn decode(&self, *const ::libc::c_char, Option<&IConv>) -> Self::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: *const ::libc::c_char` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/linux/langinfo.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe fn decode(&self, *const ::libc::c_char, Option<&IConv>) -> Self::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option<&IConv>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/mod.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let cloc = try!(CString::new(locale)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/mod.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let cloc = try!(CString::new(locale)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/mod.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | let cto = try!(::std::ffi::CString::new(to)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/mod.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | let cfrom = try!(::std::ffi::CString::new(from)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/mod.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | let loc = try!(CLocale::new(locale)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macos/mod.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | let file = BufReader::new(try!(File::open(&path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macos/mod.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | let file = BufReader::new(try!(File::open(&path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/linux/langinfo.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe fn decode(&self, *const ::libc::c_char, Option<&IConv>) -> Self::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: *const ::libc::c_char` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/linux/langinfo.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe fn decode(&self, *const ::libc::c_char, Option<&IConv>) -> Self::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option<&IConv>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/mod.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let cloc = try!(CString::new(locale)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/mod.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let cloc = try!(CString::new(locale)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/mod.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | let cto = try!(::std::ffi::CString::new(to)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/mod.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | let cfrom = try!(::std::ffi::CString::new(from)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/mod.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | let loc = try!(CLocale::new(locale)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macos/mod.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | let file = BufReader::new(try!(File::open(&path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macos/mod.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | let file = BufReader::new(try!(File::open(&path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `long_day_names` is never read [INFO] [stdout] --> src/lib.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct Time { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 198 | long_day_names: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Time` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `long_day_names` is never read [INFO] [stdout] --> src/lib.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct Time { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 198 | long_day_names: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Time` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.74s [INFO] running `Command { std: "docker" "inspect" "931701cbe8e5bd6bbac6574b7712dd13bc30f6b8159445a5ee35bc4dd2f1568e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "931701cbe8e5bd6bbac6574b7712dd13bc30f6b8159445a5ee35bc4dd2f1568e", kill_on_drop: false }` [INFO] [stdout] 931701cbe8e5bd6bbac6574b7712dd13bc30f6b8159445a5ee35bc4dd2f1568e