[INFO] fetching crate cool_asserts 2.0.3... [INFO] checking cool_asserts-2.0.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cool_asserts 2.0.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cool_asserts 2.0.3 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cool_asserts 2.0.3 [INFO] finished tweaking crates.io crate cool_asserts 2.0.3 [INFO] tweaked toml for crates.io crate cool_asserts 2.0.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f0c6b3cf40c48a35d8dd4cc6e259f4a14739c507e63ce50527a6bce9d10bbcc [INFO] running `Command { std: "docker" "start" "-a" "9f0c6b3cf40c48a35d8dd4cc6e259f4a14739c507e63ce50527a6bce9d10bbcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f0c6b3cf40c48a35d8dd4cc6e259f4a14739c507e63ce50527a6bce9d10bbcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f0c6b3cf40c48a35d8dd4cc6e259f4a14739c507e63ce50527a6bce9d10bbcc", kill_on_drop: false }` [INFO] [stdout] 9f0c6b3cf40c48a35d8dd4cc6e259f4a14739c507e63ce50527a6bce9d10bbcc [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47f4b27e11b9f18e8c65c79e501e4c574cc60a19ef9486404975e1ab4be4e1ed [INFO] running `Command { std: "docker" "start" "-a" "47f4b27e11b9f18e8c65c79e501e4c574cc60a19ef9486404975e1ab4be4e1ed", kill_on_drop: false }` [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking cool_asserts v2.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assert_matches/iter_split.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | let data = get_data(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 572 | [INFO] [stdout] 573 | / assert_panics!( [INFO] [stdout] 574 | | assert_matches!(data, [Some(0), Some(1), Some(2), .., None]), [INFO] [stdout] 575 | | includes("value from iterator does not match pattern"), [INFO] [stdout] 576 | | includes(" value: None"), [INFO] [stdout] 577 | | includes("pattern: Some(2)"), [INFO] [stdout] 578 | | includes(" index: 2") [INFO] [stdout] 579 | | ) [INFO] [stdout] | |_________- in this macro invocation [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] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assert_matches/iter_split.rs:584:13 [INFO] [stdout] | [INFO] [stdout] 584 | let data = get_data(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 585 | [INFO] [stdout] 586 | / assert_panics!( [INFO] [stdout] 587 | | assert_matches!(data, [Some(0), Some(_), .., None, None]), [INFO] [stdout] 588 | | includes("value from iterator does not match pattern"), [INFO] [stdout] 589 | | includes(" value: Some("), [INFO] [stdout] 590 | | includes("pattern: None"), [INFO] [stdout] 591 | | includes(" index: 5"), [INFO] [stdout] 592 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assert_matches/iter_split.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 597 | let data = get_data(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 598 | [INFO] [stdout] 599 | / assert_panics!( [INFO] [stdout] 600 | | assert_matches!(data, [Some(0), data @ .. if data.count() == 2, None]), [INFO] [stdout] 601 | | includes(".. rest parameter failed guard"), [INFO] [stdout] 602 | | includes("guard: data.count() == 2"), [INFO] [stdout] 603 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cool_asserts` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "47f4b27e11b9f18e8c65c79e501e4c574cc60a19ef9486404975e1ab4be4e1ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47f4b27e11b9f18e8c65c79e501e4c574cc60a19ef9486404975e1ab4be4e1ed", kill_on_drop: false }` [INFO] [stdout] 47f4b27e11b9f18e8c65c79e501e4c574cc60a19ef9486404975e1ab4be4e1ed