[INFO] fetching crate struct-metadata-derive 1.0.0... [INFO] checking struct-metadata-derive-1.0.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate struct-metadata-derive 1.0.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate struct-metadata-derive 1.0.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 struct-metadata-derive 1.0.0 [INFO] finished tweaking crates.io crate struct-metadata-derive 1.0.0 [INFO] tweaked toml for crates.io crate struct-metadata-derive 1.0.0 written to /workspace/builds/worker-2-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 6 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5510cf00e20b3258497350e8d88cde6368295103c05b2015432f5a8afb7b6450 [INFO] running `Command { std: "docker" "start" "-a" "5510cf00e20b3258497350e8d88cde6368295103c05b2015432f5a8afb7b6450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5510cf00e20b3258497350e8d88cde6368295103c05b2015432f5a8afb7b6450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5510cf00e20b3258497350e8d88cde6368295103c05b2015432f5a8afb7b6450", kill_on_drop: false }` [INFO] [stdout] 5510cf00e20b3258497350e8d88cde6368295103c05b2015432f5a8afb7b6450 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 29632febb4271941e42ac87f681522ab333f896cf884ace202bc3aa1f8cea06c [INFO] running `Command { std: "docker" "start" "-a" "29632febb4271941e42ac87f681522ab333f896cf884ace202bc3aa1f8cea06c", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.79 [INFO] [stderr] Checking struct-metadata-derive v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `DataStruct` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 32 | let DeriveInput {ident, attrs, data, ..} = parse_macro_input!(input); [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] | | 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] | | 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] 33 | [INFO] [stdout] 34 | let metadata_type = parse_metadata_type(&attrs); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let outer_name = match serde_attrs.rename { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | syn::Data::Struct(data) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | children.push(quote!{struct_metadata::Entry::<#metadata_type> { [INFO] [stdout] | _______________________________________- [INFO] [stdout] | |_______________________________________| [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 78 | | label: #name, [INFO] [stdout] 79 | | docs: #docs, [INFO] [stdout] 80 | | metadata: #metadata, [INFO] [stdout] ... | [INFO] [stdout] 83 | | aliases: &[#(#aliases),*] [INFO] [stdout] 84 | | }}); [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | / quote!(struct_metadata::Kind::Struct::<#metadata_type> { [INFO] [stdout] 89 | | name: #outer_name, [INFO] [stdout] 90 | | children: vec![#(#children),*] [INFO] [stdout] 91 | | }) [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | } else { [INFO] [stdout] 93 | | quote!(struct_metadata::Kind::<#metadata_type>::new_struct(#outer_name, vec![#(#children),*], &mut [#(#flattened_children),*])) [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] | | 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] 159 | all_variants.push(quote!{struct_metadata::Variant::<#metadata_type> { [INFO] [stdout] | ___________________________________- [INFO] [stdout] | |___________________________________| [INFO] [stdout] | |___________________________________| [INFO] [stdout] 160 | | label: #name, [INFO] [stdout] 161 | | docs: #docs, [INFO] [stdout] 162 | | metadata: #metadata, [INFO] [stdout] 163 | | aliases: &[#(#aliases),*] [INFO] [stdout] 164 | | }}); [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | let output = quote! { [INFO] [stdout] | __________________________- [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] 170 | | impl struct_metadata::Described::<#metadata_type> for #ident { [INFO] [stdout] 171 | | fn metadata() -> struct_metadata::Descriptor::<#metadata_type> { [INFO] [stdout] 172 | | struct_metadata::Descriptor::<#metadata_type> { [INFO] [stdout] ... | [INFO] [stdout] 181 | | } [INFO] [stdout] 182 | | }; [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] | |_____________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] | |_____________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 `DataEnum` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 197 | let DeriveInput {ident, attrs, data, ..} = parse_macro_input!(input); [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] | | 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] 198 | [INFO] [stdout] 199 | let metadata_type = parse_metadata_type(&attrs); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | syn::Data::Enum(data) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | let output = quote! { [INFO] [stdout] | __________________________- [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] 239 | | impl struct_metadata::Described::<#metadata_type> for #ident { [INFO] [stdout] 240 | | fn metadata() -> struct_metadata::Descriptor::<#metadata_type> { [INFO] [stdout] 241 | | struct_metadata::Descriptor::<#metadata_type> { [INFO] [stdout] ... | [INFO] [stdout] 250 | | } [INFO] [stdout] 251 | | }; [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] | |_____________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] | |_____________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/lib.rs:312:15 [INFO] [stdout] | [INFO] [stdout] 309 | let metadata_type = _parse_metadata_type(attrs); [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] | 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] 310 | let metadata_sequence = _parse_metadata_sequence(attrs); [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | match metadata_type { [INFO] [stdout] 312 | Some((tokens, defaults)) => match metadata_sequence { [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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:359:52 [INFO] [stdout] | [INFO] [stdout] 359 | let MetadataParams (names, values) = syn::parse2(meta.tokens.clone()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 360 | .unwrap_or_else(|_| panic!("Invalid metadata attribute: {}", meta.tokens)); [INFO] [stdout] 361 | return quote!{ [ [INFO] [stdout] | ________________________________- [INFO] [stdout] | |________________________________| [INFO] [stdout] 362 | | #((stringify!(#names), stringify!(#values).into())),* [INFO] [stdout] 363 | | ].into_iter().collect() } [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] 381 | return quote!{ [INFO] [stdout] | ________________________________- [INFO] [stdout] | |________________________________| [INFO] [stdout] 382 | | #type_name { [INFO] [stdout] 383 | | #(#names: #values.into(),)* [INFO] [stdout] 384 | | #defaults [INFO] [stdout] 385 | | } [INFO] [stdout] 386 | | } [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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `struct-metadata-derive` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `DataStruct` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 32 | let DeriveInput {ident, attrs, data, ..} = parse_macro_input!(input); [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] | | 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] | | 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] 33 | [INFO] [stdout] 34 | let metadata_type = parse_metadata_type(&attrs); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let outer_name = match serde_attrs.rename { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | syn::Data::Struct(data) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | children.push(quote!{struct_metadata::Entry::<#metadata_type> { [INFO] [stdout] | _______________________________________- [INFO] [stdout] | |_______________________________________| [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 78 | | label: #name, [INFO] [stdout] 79 | | docs: #docs, [INFO] [stdout] 80 | | metadata: #metadata, [INFO] [stdout] ... | [INFO] [stdout] 83 | | aliases: &[#(#aliases),*] [INFO] [stdout] 84 | | }}); [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | / quote!(struct_metadata::Kind::Struct::<#metadata_type> { [INFO] [stdout] 89 | | name: #outer_name, [INFO] [stdout] 90 | | children: vec![#(#children),*] [INFO] [stdout] 91 | | }) [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | } else { [INFO] [stdout] 93 | | quote!(struct_metadata::Kind::<#metadata_type>::new_struct(#outer_name, vec![#(#children),*], &mut [#(#flattened_children),*])) [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] | | 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] 159 | all_variants.push(quote!{struct_metadata::Variant::<#metadata_type> { [INFO] [stdout] | ___________________________________- [INFO] [stdout] | |___________________________________| [INFO] [stdout] | |___________________________________| [INFO] [stdout] 160 | | label: #name, [INFO] [stdout] 161 | | docs: #docs, [INFO] [stdout] 162 | | metadata: #metadata, [INFO] [stdout] 163 | | aliases: &[#(#aliases),*] [INFO] [stdout] 164 | | }}); [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | let output = quote! { [INFO] [stdout] | __________________________- [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] 170 | | impl struct_metadata::Described::<#metadata_type> for #ident { [INFO] [stdout] 171 | | fn metadata() -> struct_metadata::Descriptor::<#metadata_type> { [INFO] [stdout] 172 | | struct_metadata::Descriptor::<#metadata_type> { [INFO] [stdout] ... | [INFO] [stdout] 181 | | } [INFO] [stdout] 182 | | }; [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] | |_____________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] | |_____________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 `DataEnum` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 197 | let DeriveInput {ident, attrs, data, ..} = parse_macro_input!(input); [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] | | 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] 198 | [INFO] [stdout] 199 | let metadata_type = parse_metadata_type(&attrs); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | syn::Data::Enum(data) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | let output = quote! { [INFO] [stdout] | __________________________- [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] 239 | | impl struct_metadata::Described::<#metadata_type> for #ident { [INFO] [stdout] 240 | | fn metadata() -> struct_metadata::Descriptor::<#metadata_type> { [INFO] [stdout] 241 | | struct_metadata::Descriptor::<#metadata_type> { [INFO] [stdout] ... | [INFO] [stdout] 250 | | } [INFO] [stdout] 251 | | }; [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] | |_____________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] | |_____________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/lib.rs:312:15 [INFO] [stdout] | [INFO] [stdout] 309 | let metadata_type = _parse_metadata_type(attrs); [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] | 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] 310 | let metadata_sequence = _parse_metadata_sequence(attrs); [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | match metadata_type { [INFO] [stdout] 312 | Some((tokens, defaults)) => match metadata_sequence { [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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:359:52 [INFO] [stdout] | [INFO] [stdout] 359 | let MetadataParams (names, values) = syn::parse2(meta.tokens.clone()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 360 | .unwrap_or_else(|_| panic!("Invalid metadata attribute: {}", meta.tokens)); [INFO] [stdout] 361 | return quote!{ [ [INFO] [stdout] | ________________________________- [INFO] [stdout] | |________________________________| [INFO] [stdout] 362 | | #((stringify!(#names), stringify!(#values).into())),* [INFO] [stdout] 363 | | ].into_iter().collect() } [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] 381 | return quote!{ [INFO] [stdout] | ________________________________- [INFO] [stdout] | |________________________________| [INFO] [stdout] 382 | | #type_name { [INFO] [stdout] 383 | | #(#names: #values.into(),)* [INFO] [stdout] 384 | | #defaults [INFO] [stdout] 385 | | } [INFO] [stdout] 386 | | } [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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `struct-metadata-derive` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "29632febb4271941e42ac87f681522ab333f896cf884ace202bc3aa1f8cea06c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29632febb4271941e42ac87f681522ab333f896cf884ace202bc3aa1f8cea06c", kill_on_drop: false }` [INFO] [stdout] 29632febb4271941e42ac87f681522ab333f896cf884ace202bc3aa1f8cea06c