[INFO] fetching crate miltr-common 0.1.0... [INFO] checking miltr-common-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate miltr-common 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate miltr-common 0.1.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 miltr-common 0.1.0 [INFO] finished tweaking crates.io crate miltr-common 0.1.0 [INFO] tweaked toml for crates.io crate miltr-common 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 86 packages to latest compatible versions [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding rstest v0.18.2 (available: v0.22.0) [INFO] [stderr] Adding rstest_macros v0.18.2 (available: v0.22.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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] 72837a5c15d5c2ec32896a90dfd06c99d98ce506894360c046d9de0a6b515520 [INFO] running `Command { std: "docker" "start" "-a" "72837a5c15d5c2ec32896a90dfd06c99d98ce506894360c046d9de0a6b515520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72837a5c15d5c2ec32896a90dfd06c99d98ce506894360c046d9de0a6b515520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72837a5c15d5c2ec32896a90dfd06c99d98ce506894360c046d9de0a6b515520", kill_on_drop: false }` [INFO] [stdout] 72837a5c15d5c2ec32896a90dfd06c99d98ce506894360c046d9de0a6b515520 [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] 1e0e84bec6a73ee2ff7ef6d84dee1a01a0e879edc7a129e0f3d74fb814df1a2f [INFO] running `Command { std: "docker" "start" "-a" "1e0e84bec6a73ee2ff7ef6d84dee1a01a0e879edc7a129e0f3d74fb814df1a2f", kill_on_drop: false }` [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking miltr-utils v0.1.0 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking miltr-common v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rstest v0.18.2 [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/commands/helo.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 100 | fn test_helo(#[case] input: BytesMut, #[case] expected: Result) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let parsed_helo = Helo::parse(input); [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/mail.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 150 | fn test_mail(#[case] input: BytesMut, #[case] expected: Result) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | let parsed_mail = Mail::parse(input); [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 `mmacro::Macro` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/mmacro.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let res = Macro::parse(input).expect("Parse unsuccessful"); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | vec![(BytesMut::from(key), BytesMut::from(value))] [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] [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/commands/recipient.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 120 | fn test_recipient(#[case] input: BytesMut, #[case] expected: Result) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | let parsed_recp = Recipient::parse(input); [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 `bytes::BytesMut` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modifications/headers.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 265 | fn test_change_header(#[case] input: (u32, String, String), #[case] expected: BytesMut) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | let mut buffer = BytesMut::from("m"); [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 `bytes::BytesMut` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/modifications/headers.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 281 | fn test_insert_header(#[case] input: (u32, String, String), #[case] expected: BytesMut) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | let mut buffer = BytesMut::from("i"); [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miltr-common` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "1e0e84bec6a73ee2ff7ef6d84dee1a01a0e879edc7a129e0f3d74fb814df1a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0e84bec6a73ee2ff7ef6d84dee1a01a0e879edc7a129e0f3d74fb814df1a2f", kill_on_drop: false }` [INFO] [stdout] 1e0e84bec6a73ee2ff7ef6d84dee1a01a0e879edc7a129e0f3d74fb814df1a2f