[INFO] fetching crate sheldon 0.8.0... [INFO] checking sheldon-0.8.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate sheldon 0.8.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate sheldon 0.8.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 sheldon 0.8.0 [INFO] finished tweaking crates.io crate sheldon 0.8.0 [INFO] tweaked toml for crates.io crate sheldon 0.8.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate sheldon 0.8.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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e9769d8336ab90dc877b47839c4902b2f8f7058aa915b5a516dd609555632390 [INFO] running `Command { std: "docker" "start" "-a" "e9769d8336ab90dc877b47839c4902b2f8f7058aa915b5a516dd609555632390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9769d8336ab90dc877b47839c4902b2f8f7058aa915b5a516dd609555632390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9769d8336ab90dc877b47839c4902b2f8f7058aa915b5a516dd609555632390", kill_on_drop: false }` [INFO] [stdout] e9769d8336ab90dc877b47839c4902b2f8f7058aa915b5a516dd609555632390 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0fd52f6fa6336cab1b92e67608bb7fe269ed1b5013ad66d80eb52e2a2a81efb9 [INFO] running `Command { std: "docker" "start" "-a" "0fd52f6fa6336cab1b92e67608bb7fe269ed1b5013ad66d80eb52e2a2a81efb9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling sheldon v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking fmutex v0.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking constcat v0.5.0 [INFO] [stderr] Checking casual v0.2.0 [INFO] [stderr] Compiling cc v1.1.14 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking which v6.0.3 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling curl-sys v0.4.74+curl-8.9.0 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking regex-macro v0.2.0 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking clap_complete v4.5.23 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking upon v0.8.1 [INFO] [stderr] Checking git2 v0.19.0 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking goldie v0.5.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stdout] error: this value of type `clap::error::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cli/tests.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let err = raw_opt_err(&[opt]); [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | goldie::assert_template!(&ctx, err.to_string()); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 194 | let mut locked = locked(ctx, warnings)?; [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | [INFO] [stdout] 196 | if let Some(last) = locked.errors.pop() { [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sheldon` (bin "sheldon") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 194 | let mut locked = locked(ctx, warnings)?; [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | [INFO] [stdout] 196 | if let Some(last) = locked.errors.pop() { [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 `sheldon` (bin "sheldon" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "0fd52f6fa6336cab1b92e67608bb7fe269ed1b5013ad66d80eb52e2a2a81efb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fd52f6fa6336cab1b92e67608bb7fe269ed1b5013ad66d80eb52e2a2a81efb9", kill_on_drop: false }` [INFO] [stdout] 0fd52f6fa6336cab1b92e67608bb7fe269ed1b5013ad66d80eb52e2a2a81efb9