[INFO] fetching crate allocative_derive 0.3.3... [INFO] checking allocative_derive-0.3.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate allocative_derive 0.3.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate allocative_derive 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 allocative_derive 0.3.3 [INFO] finished tweaking crates.io crate allocative_derive 0.3.3 [INFO] tweaked toml for crates.io crate allocative_derive 0.3.3 written to /workspace/builds/worker-7-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 4 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4c6e9ed08ad78c09177ffcee5caff22936388bb1c6b20be59c8b172631d38c42 [INFO] running `Command { std: "docker" "start" "-a" "4c6e9ed08ad78c09177ffcee5caff22936388bb1c6b20be59c8b172631d38c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c6e9ed08ad78c09177ffcee5caff22936388bb1c6b20be59c8b172631d38c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c6e9ed08ad78c09177ffcee5caff22936388bb1c6b20be59c8b172631d38c42", kill_on_drop: false }` [INFO] [stdout] 4c6e9ed08ad78c09177ffcee5caff22936388bb1c6b20be59c8b172631d38c42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8f7f5864ab9c0456ae8b4028f2261546318b1865fa388d70e3a6e756fc374a56 [INFO] running `Command { std: "docker" "start" "-a" "8f7f5864ab9c0456ae8b4028f2261546318b1865fa388d70e3a6e756fc374a56", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.79 [INFO] [stderr] Checking allocative_derive v0.3.3 (/opt/rustwide/workdir) [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/derive_allocative.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 163 | let variant_attrs = extract_attrs(&input.attrs)?; [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | [INFO] [stdout] 165 | let variant_key = allocative_key(&name_str); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | let visit_fields = unnamed [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | Ok(quote_spanned! {input.span()=> [INFO] [stdout] | ________________- [INFO] [stdout] | |________________| [INFO] [stdout] 189 | | Self::#name(#(#field_names),*) => { [INFO] [stdout] 190 | | let mut visitor = visitor.enter(#variant_key, std::mem::size_of::()); [INFO] [stdout] 191 | | #visit_fields [INFO] [stdout] 192 | | visitor.exit(); [INFO] [stdout] 193 | | }, [INFO] [stdout] 194 | | }) [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] ... [INFO] [stdout] 210 | Ok(quote_spanned! {input.span()=> [INFO] [stdout] | ________________- [INFO] [stdout] | |________________| [INFO] [stdout] 211 | | Self::#name { #(#field_names),* } => { [INFO] [stdout] 212 | | let mut visitor = visitor.enter(#variant_key, std::mem::size_of::()); [INFO] [stdout] 213 | | #visit_fields [INFO] [stdout] 214 | | visitor.exit(); [INFO] [stdout] 215 | | }, [INFO] [stdout] 216 | | }) [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] | [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/derive_allocative.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 163 | let variant_attrs = extract_attrs(&input.attrs)?; [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | [INFO] [stdout] 165 | let variant_key = allocative_key(&name_str); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | let visit_fields = unnamed [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | Ok(quote_spanned! {input.span()=> [INFO] [stdout] | ________________- [INFO] [stdout] | |________________| [INFO] [stdout] 189 | | Self::#name(#(#field_names),*) => { [INFO] [stdout] 190 | | let mut visitor = visitor.enter(#variant_key, std::mem::size_of::()); [INFO] [stdout] 191 | | #visit_fields [INFO] [stdout] 192 | | visitor.exit(); [INFO] [stdout] 193 | | }, [INFO] [stdout] 194 | | }) [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] ... [INFO] [stdout] 210 | Ok(quote_spanned! {input.span()=> [INFO] [stdout] | ________________- [INFO] [stdout] | |________________| [INFO] [stdout] 211 | | Self::#name { #(#field_names),* } => { [INFO] [stdout] 212 | | let mut visitor = visitor.enter(#variant_key, std::mem::size_of::()); [INFO] [stdout] 213 | | #visit_fields [INFO] [stdout] 214 | | visitor.exit(); [INFO] [stdout] 215 | | }, [INFO] [stdout] 216 | | }) [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] | [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/derive_allocative.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let visit_fields = names [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | Ok(quote_spanned! {input.fields.span()=> [INFO] [stdout] | ________________- [INFO] [stdout] | |________________| [INFO] [stdout] 252 | | let Self { #(#names),* } = self; [INFO] [stdout] 253 | | #visit_fields [INFO] [stdout] 254 | | }) [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] ... [INFO] [stdout] 264 | Ok(quote_spanned! {input.fields.span()=> [INFO] [stdout] | ________________- [INFO] [stdout] | |________________| [INFO] [stdout] 265 | | let Self(#(#names),*) = self; [INFO] [stdout] 266 | | #visit_fields [INFO] [stdout] 267 | | }) [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] | [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 `proc_macro2::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/derive_allocative.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let visit_fields = names [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | Ok(quote_spanned! {input.fields.span()=> [INFO] [stdout] | ________________- [INFO] [stdout] | |________________| [INFO] [stdout] 252 | | let Self { #(#names),* } = self; [INFO] [stdout] 253 | | #visit_fields [INFO] [stdout] 254 | | }) [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] ... [INFO] [stdout] 264 | Ok(quote_spanned! {input.fields.span()=> [INFO] [stdout] | ________________- [INFO] [stdout] | |________________| [INFO] [stdout] 265 | | let Self(#(#names),*) = self; [INFO] [stdout] 266 | | #visit_fields [INFO] [stdout] 267 | | }) [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] | [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/root.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn root(_attr: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | match global_root_impl(input.into()) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/root.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn root(_attr: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | match global_root_impl(input.into()) { [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] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `allocative_derive` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `allocative_derive` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "8f7f5864ab9c0456ae8b4028f2261546318b1865fa388d70e3a6e756fc374a56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f7f5864ab9c0456ae8b4028f2261546318b1865fa388d70e3a6e756fc374a56", kill_on_drop: false }` [INFO] [stdout] 8f7f5864ab9c0456ae8b4028f2261546318b1865fa388d70e3a6e756fc374a56