[INFO] fetching crate rusty_dumb_tools 0.1.15... [INFO] checking rusty_dumb_tools-0.1.15 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rusty_dumb_tools 0.1.15 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rusty_dumb_tools 0.1.15 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rusty_dumb_tools 0.1.15 [INFO] finished tweaking crates.io crate rusty_dumb_tools 0.1.15 [INFO] tweaked toml for crates.io crate rusty_dumb_tools 0.1.15 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate rusty_dumb_tools 0.1.15 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84da3e63413d292dc1b258e0a64aedf2b3207ec202bc491ce1328ffff20f527e [INFO] running `Command { std: "docker" "start" "-a" "84da3e63413d292dc1b258e0a64aedf2b3207ec202bc491ce1328ffff20f527e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84da3e63413d292dc1b258e0a64aedf2b3207ec202bc491ce1328ffff20f527e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84da3e63413d292dc1b258e0a64aedf2b3207ec202bc491ce1328ffff20f527e", kill_on_drop: false }` [INFO] [stdout] 84da3e63413d292dc1b258e0a64aedf2b3207ec202bc491ce1328ffff20f527e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27ec4a4a0697c470573b5c219f8a67c8389d3c104488b7f85ff712b01fee2b72 [INFO] running `Command { std: "docker" "start" "-a" "27ec4a4a0697c470573b5c219f8a67c8389d3c104488b7f85ff712b01fee2b72", kill_on_drop: false }` [INFO] [stderr] Checking rusty_dumb_tools v0.1.15 (/opt/rustwide/workdir) [INFO] [stdout] error: elided lifetime has a name [INFO] [stdout] --> src/progress.rs:269:31 [INFO] [stdout] | [INFO] [stdout] 266 | impl<'a, T> DumbProgressIndicator<'a, T> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 269 | ) -> DumbProgressIndicator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/progress.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(elided_named_lifetimes)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: elided lifetime has a name [INFO] [stdout] --> src/progress.rs:275:31 [INFO] [stdout] | [INFO] [stdout] 266 | impl<'a, T> DumbProgressIndicator<'a, T> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 275 | ) -> DumbProgressIndicator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: elided lifetime has a name [INFO] [stdout] --> src/progress.rs:281:31 [INFO] [stdout] | [INFO] [stdout] 266 | impl<'a, T> DumbProgressIndicator<'a, T> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 281 | ) -> DumbProgressIndicator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: elided lifetime has a name [INFO] [stdout] --> src/progress.rs:291:31 [INFO] [stdout] | [INFO] [stdout] 266 | impl<'a, T> DumbProgressIndicator<'a, T> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 291 | ) -> DumbProgressIndicator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: elided lifetime has a name [INFO] [stdout] --> src/progress.rs:269:31 [INFO] [stdout] | [INFO] [stdout] 266 | impl<'a, T> DumbProgressIndicator<'a, T> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 269 | ) -> DumbProgressIndicator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/progress.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(elided_named_lifetimes)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: elided lifetime has a name [INFO] [stdout] --> src/progress.rs:275:31 [INFO] [stdout] | [INFO] [stdout] 266 | impl<'a, T> DumbProgressIndicator<'a, T> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 275 | ) -> DumbProgressIndicator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: elided lifetime has a name [INFO] [stdout] --> src/progress.rs:281:31 [INFO] [stdout] | [INFO] [stdout] 266 | impl<'a, T> DumbProgressIndicator<'a, T> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 281 | ) -> DumbProgressIndicator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: elided lifetime has a name [INFO] [stdout] --> src/progress.rs:291:31 [INFO] [stdout] | [INFO] [stdout] 266 | impl<'a, T> DumbProgressIndicator<'a, T> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 291 | ) -> DumbProgressIndicator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result, String>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arg.rs:373:15 [INFO] [stdout] | [INFO] [stdout] 364 | fn _get(&self, arg_name: &str, default: Option) -> Option { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 373 | match T::from_arg_value(arg_value.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/progress.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 663 | SINGLETON.write(RefCell::new(singleton)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[deny(static_mut_refs)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/progress.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 667 | SINGLETON.assume_init_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_dumb_tools` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Result, String>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arg.rs:373:15 [INFO] [stdout] | [INFO] [stdout] 364 | fn _get(&self, arg_name: &str, default: Option) -> Option { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 373 | match T::from_arg_value(arg_value.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/progress.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 663 | SINGLETON.write(RefCell::new(singleton)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[deny(static_mut_refs)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/progress.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 667 | SINGLETON.assume_init_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_dumb_tools` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "27ec4a4a0697c470573b5c219f8a67c8389d3c104488b7f85ff712b01fee2b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27ec4a4a0697c470573b5c219f8a67c8389d3c104488b7f85ff712b01fee2b72", kill_on_drop: false }` [INFO] [stdout] 27ec4a4a0697c470573b5c219f8a67c8389d3c104488b7f85ff712b01fee2b72