[INFO] fetching crate bytes-lit 0.0.5... [INFO] checking bytes-lit-0.0.5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate bytes-lit 0.0.5 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate bytes-lit 0.0.5 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 bytes-lit 0.0.5 [INFO] finished tweaking crates.io crate bytes-lit 0.0.5 [INFO] tweaked toml for crates.io crate bytes-lit 0.0.5 written to /workspace/builds/worker-3-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 11 packages to latest compatible versions [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 55c6eb1ac6a10828e0a95ef825e33e8b98d08c09b3adddb741833d043db0a9f3 [INFO] running `Command { std: "docker" "start" "-a" "55c6eb1ac6a10828e0a95ef825e33e8b98d08c09b3adddb741833d043db0a9f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55c6eb1ac6a10828e0a95ef825e33e8b98d08c09b3adddb741833d043db0a9f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55c6eb1ac6a10828e0a95ef825e33e8b98d08c09b3adddb741833d043db0a9f3", kill_on_drop: false }` [INFO] [stdout] 55c6eb1ac6a10828e0a95ef825e33e8b98d08c09b3adddb741833d043db0a9f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] abe44586bd0047ecdd27188c7814dca9f02b072a08464257ebfae514e968f101 [INFO] running `Command { std: "docker" "start" "-a" "abe44586bd0047ecdd27188c7814dca9f02b072a08464257ebfae514e968f101", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking bytes-lit v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Option<(usize, (proc_macro2::TokenStream, ExprArray))>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bytes.rs:166:23 [INFO] [stdout] | [INFO] [stdout] 136 | let table: &[(_, ExprArray)] = &[ [INFO] [stdout] | _________________________________________- [INFO] [stdout] 137 | | // Base 16. [INFO] [stdout] 138 | | (quote!(0x1), parse_quote!([1u8])), [INFO] [stdout] 139 | | (quote!(0x01), parse_quote!([1u8])), [INFO] [stdout] ... | [INFO] [stdout] 164 | | (quote!(0b000000001), parse_quote!([0u8, 1u8])), [INFO] [stdout] 165 | | ]; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | for (i, t) in table.iter().cloned().enumerate() { [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 `proc_macro2::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bytes.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 176 | ... let table: &[(_, Result)] = &[ [INFO] [stdout] | ______________________________________________________- [INFO] [stdout] 177 | | ... // Base 8. [INFO] [stdout] 178 | | ... (quote!(0o377), Ok(parse_quote!([255u8]))), [INFO] [stdout] 179 | | ... (quote!(0o0377), Err(Error::new(Span::call_site(), "leading zeros are not preserved or supported on integer literals in octal f... [INFO] [stdout] ... | [INFO] [stdout] 186 | | ... (quote!(256), Ok(parse_quote!([1u8, 0u8]))), [INFO] [stdout] 187 | | ... ]; [INFO] [stdout] | |_______- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | ... for (i, t) in table.iter().enumerate() { [INFO] [stdout] 189 | ... let tokens = bytes(t.0.clone()); [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 `Option<(usize, (proc_macro2::TokenStream, ExprArray))>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bytesmin.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 81 | let table: &[(_, ExprArray)] = &[ [INFO] [stdout] | _________________________________________- [INFO] [stdout] 82 | | // Base 16. [INFO] [stdout] 83 | | (quote!(0x1), parse_quote!([1u8])), [INFO] [stdout] 84 | | (quote!(0x01), parse_quote!([1u8])), [INFO] [stdout] ... | [INFO] [stdout] 119 | | (quote!(256), parse_quote!([1u8, 0u8])), [INFO] [stdout] 120 | | ]; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | for (i, t) in table.iter().cloned().enumerate() { [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes-lit` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "abe44586bd0047ecdd27188c7814dca9f02b072a08464257ebfae514e968f101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abe44586bd0047ecdd27188c7814dca9f02b072a08464257ebfae514e968f101", kill_on_drop: false }` [INFO] [stdout] abe44586bd0047ecdd27188c7814dca9f02b072a08464257ebfae514e968f101