[INFO] fetching crate nu-utils 0.98.0... [INFO] checking nu-utils-0.98.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate nu-utils 0.98.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate nu-utils 0.98.0 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 nu-utils 0.98.0 [INFO] finished tweaking crates.io crate nu-utils 0.98.0 [INFO] tweaked toml for crates.io crate nu-utils 0.98.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate nu-utils 0.98.0 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] 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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 490c1cae0cd63228b00c1ea5f5f02ba6d90e75862591810bd2b152594495b2e7 [INFO] running `Command { std: "docker" "start" "-a" "490c1cae0cd63228b00c1ea5f5f02ba6d90e75862591810bd2b152594495b2e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "490c1cae0cd63228b00c1ea5f5f02ba6d90e75862591810bd2b152594495b2e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "490c1cae0cd63228b00c1ea5f5f02ba6d90e75862591810bd2b152594495b2e7", kill_on_drop: false }` [INFO] [stdout] 490c1cae0cd63228b00c1ea5f5f02ba6d90e75862591810bd2b152594495b2e7 [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 -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] 909299663eca8f6aa17ed09a95571cea9f97f11fcb7055a0e5ac646378d6c734 [INFO] running `Command { std: "docker" "start" "-a" "909299663eca8f6aa17ed09a95571cea9f97f11fcb7055a0e5ac646378d6c734", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking sys-locale v0.3.1 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking lscolors v0.17.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Checking nu-utils v0.98.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shared_cow.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn into_owned(self: SharedCow) -> T { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | // Optimized: if the Arc is not shared, just unwraps the Arc [INFO] [stdout] 23 | match Arc::try_unwrap(self.0) { [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: this value of type `StdoutLock<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn stdout_write_all_and_flush(output: T) -> Result<()> [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | stdout.lock().flush() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shared_cow.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn into_owned(self: SharedCow) -> T { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | // Optimized: if the Arc is not shared, just unwraps the Arc [INFO] [stdout] 23 | match Arc::try_unwrap(self.0) { [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: this value of type `StdoutLock<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn stdout_write_all_and_flush(output: T) -> Result<()> [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | stdout.lock().flush() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nu-utils` (lib test) due to 3 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nu-utils` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "909299663eca8f6aa17ed09a95571cea9f97f11fcb7055a0e5ac646378d6c734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "909299663eca8f6aa17ed09a95571cea9f97f11fcb7055a0e5ac646378d6c734", kill_on_drop: false }` [INFO] [stdout] 909299663eca8f6aa17ed09a95571cea9f97f11fcb7055a0e5ac646378d6c734