[INFO] fetching crate dhat 0.3.3... [INFO] checking dhat-0.3.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate dhat 0.3.3 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate dhat 0.3.3 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 dhat 0.3.3 [INFO] finished tweaking crates.io crate dhat 0.3.3 [INFO] tweaked toml for crates.io crate dhat 0.3.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate dhat 0.3.3 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] f79a66c4cbcf2d4772a4b939a52830afa4cfc34c5dd0a54c7890fcc8cdf80417 [INFO] running `Command { std: "docker" "start" "-a" "f79a66c4cbcf2d4772a4b939a52830afa4cfc34c5dd0a54c7890fcc8cdf80417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f79a66c4cbcf2d4772a4b939a52830afa4cfc34c5dd0a54c7890fcc8cdf80417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f79a66c4cbcf2d4772a4b939a52830afa4cfc34c5dd0a54c7890fcc8cdf80417", kill_on_drop: false }` [INFO] [stdout] f79a66c4cbcf2d4772a4b939a52830afa4cfc34c5dd0a54c7890fcc8cdf80417 [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] cd39e30efbd407a0519941550d594537f464fd03c4856d5da9f74e285ec70067 [INFO] running `Command { std: "docker" "start" "-a" "cd39e30efbd407a0519941550d594537f464fd03c4856d5da9f74e285ec70067", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking thousands v0.2.0 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking mintex v0.1.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Checking serial_test v0.5.1 [INFO] [stderr] Checking dhat v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1964:16 [INFO] [stdout] | [INFO] [stdout] 1963 | let res = std::panic::catch_unwind(f); [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] 1964 | if let Err(err) = res { [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 `dhat` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1964:16 [INFO] [stdout] | [INFO] [stdout] 1963 | let res = std::panic::catch_unwind(f); [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] 1964 | if let Err(err) = res { [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 `dhat` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "cd39e30efbd407a0519941550d594537f464fd03c4856d5da9f74e285ec70067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd39e30efbd407a0519941550d594537f464fd03c4856d5da9f74e285ec70067", kill_on_drop: false }` [INFO] [stdout] cd39e30efbd407a0519941550d594537f464fd03c4856d5da9f74e285ec70067