[INFO] fetching crate miltr-common 0.1.0... [INFO] checking miltr-common-0.1.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate miltr-common 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate miltr-common 0.1.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab038854fc2682323fdd49e66690f444687e03472c4cf0cc917282ccc7cf2cd5 [INFO] running `Command { std: "docker" "start" "-a" "ab038854fc2682323fdd49e66690f444687e03472c4cf0cc917282ccc7cf2cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab038854fc2682323fdd49e66690f444687e03472c4cf0cc917282ccc7cf2cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab038854fc2682323fdd49e66690f444687e03472c4cf0cc917282ccc7cf2cd5", kill_on_drop: false }` [INFO] [stdout] ab038854fc2682323fdd49e66690f444687e03472c4cf0cc917282ccc7cf2cd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f53fd8bf7554c355a4f9c7815f55f7f20cf533cd7f0a7a0395b5e52a40218dcc [INFO] running `Command { std: "docker" "start" "-a" "f53fd8bf7554c355a4f9c7815f55f7f20cf533cd7f0a7a0395b5e52a40218dcc", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking miltr-utils v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling regex v1.10.6 [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 num_enum_derive v0.7.3 [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking miltr-common v0.1.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/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" "f53fd8bf7554c355a4f9c7815f55f7f20cf533cd7f0a7a0395b5e52a40218dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f53fd8bf7554c355a4f9c7815f55f7f20cf533cd7f0a7a0395b5e52a40218dcc", kill_on_drop: false }` [INFO] [stdout] f53fd8bf7554c355a4f9c7815f55f7f20cf533cd7f0a7a0395b5e52a40218dcc