[INFO] fetching crate structural-convert-derive 0.3.0... [INFO] checking structural-convert-derive-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate structural-convert-derive 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate structural-convert-derive 0.3.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate structural-convert-derive 0.3.0 [INFO] finished tweaking crates.io crate structural-convert-derive 0.3.0 [INFO] tweaked toml for crates.io crate structural-convert-derive 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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] [stderr] Adding darling v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 797dee7c8041de4fc4182b0e026d92206a6affc5b3edd71bb58c57ebdea7ac14 [INFO] running `Command { std: "docker" "start" "-a" "797dee7c8041de4fc4182b0e026d92206a6affc5b3edd71bb58c57ebdea7ac14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "797dee7c8041de4fc4182b0e026d92206a6affc5b3edd71bb58c57ebdea7ac14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "797dee7c8041de4fc4182b0e026d92206a6affc5b3edd71bb58c57ebdea7ac14", kill_on_drop: false }` [INFO] [stdout] 797dee7c8041de4fc4182b0e026d92206a6affc5b3edd71bb58c57ebdea7ac14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f130e61084ea4ab94f562f443122c16184cbf2266f583e2b73062fa224b6e6ac [INFO] running `Command { std: "docker" "start" "-a" "f130e61084ea4ab94f562f443122c16184cbf2266f583e2b73062fa224b6e6ac", kill_on_drop: false }` [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking ident_case v1.0.1 [INFO] [stderr] Checking syn v1.0.109 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking darling v0.14.4 [INFO] [stderr] Checking structural-convert-derive v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `default` is never read [INFO] [stdout] --> src/structural_convert/attributes/named_field/into_field_named_attributes.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct IntoFieldNamedAttributes { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub default: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntoFieldNamedAttributes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn structural_convert(item: TokenStream) -> TokenStream { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | / structural_convert::structural_convert_impl(parse_macro_input!(item as DeriveInput)) [INFO] [stdout] 22 | | .unwrap_or_else(|err| err.write_errors()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/enum_variant/from_enum_variant_attributes.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 17 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mut default: bool = Default::default(); [INFO] [stdout] 19 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 72 | | target, [INFO] [stdout] 73 | | skip, [INFO] [stdout] 74 | | rename, [INFO] [stdout] 75 | | default, [INFO] [stdout] 76 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/enum_variant/into_enum_variant_attributes.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 17 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 72 | | target, [INFO] [stdout] 73 | | rename, [INFO] [stdout] 74 | | skip_after, [INFO] [stdout] 75 | | skip, [INFO] [stdout] 76 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/enum_variant/try_from_enum_variant_attributes.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 17 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mut default: bool = Default::default(); [INFO] [stdout] 19 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 72 | | target, [INFO] [stdout] 73 | | skip, [INFO] [stdout] 74 | | rename, [INFO] [stdout] 75 | | default, [INFO] [stdout] 76 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/enum_variant/try_into_enum_variant_attributes.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 17 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 72 | | target, [INFO] [stdout] 73 | | rename, [INFO] [stdout] 74 | | skip_after, [INFO] [stdout] 75 | | skip, [INFO] [stdout] 76 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/ident_as_literal_list.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 13 | let mut idents: Vec = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Self(idents)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/into_container_attributes.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 18 | let mut path: Option = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let mut skip_after: Option = Default::default(); [INFO] [stdout] 20 | let mut default_for_fields: IdentAsLiteralList = Default::default(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let Some(path) = path else { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 86 | | path, [INFO] [stdout] 87 | | skip_after, [INFO] [stdout] 88 | | default_for_fields, [INFO] [stdout] 89 | | default, [INFO] [stdout] 90 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/named_field/from_field_named_attributes.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 18 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let mut default: bool = Default::default(); [INFO] [stdout] 21 | let mut as_type: Option = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 73 | | target, [INFO] [stdout] 74 | | rename, [INFO] [stdout] 75 | | default, [INFO] [stdout] 76 | | as_type, [INFO] [stdout] 77 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/named_field/into_field_named_attributes.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 19 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let mut as_type: Option = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 78 | | target, [INFO] [stdout] 79 | | rename, [INFO] [stdout] 80 | | skip, [INFO] [stdout] 81 | | default, [INFO] [stdout] 82 | | as_type, [INFO] [stdout] 83 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/named_field/try_from_field_named_attributes.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 18 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let mut default: bool = Default::default(); [INFO] [stdout] 21 | let mut as_type: Option = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 73 | | target, [INFO] [stdout] 74 | | rename, [INFO] [stdout] 75 | | default, [INFO] [stdout] 76 | | as_type, [INFO] [stdout] 77 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/named_field/try_into_field_named_attributes.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 17 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let mut skip: bool = Default::default(); [INFO] [stdout] 20 | let mut as_type: Option = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 72 | | target, [INFO] [stdout] 73 | | rename, [INFO] [stdout] 74 | | skip, [INFO] [stdout] 75 | | as_type, [INFO] [stdout] 76 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/try_into_container_attributes.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 18 | let mut path: Option = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let mut skip_after: Option = Default::default(); [INFO] [stdout] 20 | let mut default_for_fields: IdentAsLiteralList = Default::default(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let Some(path) = path else { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 86 | | path, [INFO] [stdout] 87 | | skip_after, [INFO] [stdout] 88 | | default_for_fields, [INFO] [stdout] 89 | | default, [INFO] [stdout] 90 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_enum_data/create_from_impl_for_enum.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 26 | let variant_ident = variant.ident.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let into_variant_ident = &variant_ident; [INFO] [stdout] 28 | let attrs = match EnumVariantAttributes::from_attributes(&variant.attrs) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let from_path = concat_enum_with_variant(from_path, from_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let into_path = concat_enum_with_variant(into_path, into_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | [INFO] [stdout] 69 | let branch = match &variant.fields { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Fields::Unit if default => { [INFO] [stdout] 71 | catch_all_branches.push(quote!(_ => #into_path.into())); [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | / quote! { [INFO] [stdout] 76 | | #from_path => #into_path.into() [INFO] [stdout] 77 | | } [INFO] [stdout] | |_____________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let default_expr = fields_unnamed [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | catch_all_branches.push(quote!(_ => #into_path(#(#default_expr,)*))); [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | Some(Ok(branch)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_enum_data/create_into_impl_for_enum.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 32 | let variant_ident = variant.ident.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let from_variant_ident = &variant_ident; [INFO] [stdout] 34 | let attrs = match EnumVariantAttributes::from_attributes(&variant.attrs) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let from_path = concat_enum_with_variant(from_path, from_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let into_path = concat_enum_with_variant(into_path, into_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | [INFO] [stdout] 75 | let branch = match &variant.fields { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | Fields::Unit => { [INFO] [stdout] 77 | / quote! { [INFO] [stdout] 78 | | #from_path => #into_path.into() [INFO] [stdout] 79 | | } [INFO] [stdout] | |_____________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Some(Ok(branch)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_enum_data/create_try_from_impl_for_enum.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 28 | let variant_ident = variant.ident.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let into_variant_ident = &variant_ident; [INFO] [stdout] 30 | let attrs = match EnumVariantAttributes::from_attributes(&variant.attrs) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | let from_path = concat_enum_with_variant(from_path, from_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let into_path = concat_enum_with_variant(into_path, into_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | [INFO] [stdout] 74 | let branch = match &variant.fields { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | Fields::Unit if default => { [INFO] [stdout] 76 | catch_all_branches.push(quote!(_ => #into_path.into())); [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | / quote! { [INFO] [stdout] 82 | | #from_path => #into_path.try_into().map_err(|err| #err)? [INFO] [stdout] 83 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________________| [INFO] [stdout] | |_____________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | | let default_expr = fields_unnamed [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 91 | | catch_all_branches.push(quote!(_ => #into_path(#(#default_expr,)*))); [INFO] [stdout] | | ------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(ok) => ok, [INFO] [stdout] | | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 114 | | Ok(ok) => ok, [INFO] [stdout] | | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 119 | | Some(Ok(branch)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_enum_data/create_try_into_impl_for_enum.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 34 | let variant_ident = variant.ident.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let from_variant_ident = &variant_ident; [INFO] [stdout] 36 | let attrs = match EnumVariantAttributes::from_attributes(&variant.attrs) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let from_path = concat_enum_with_variant(from_path, from_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let into_path = concat_enum_with_variant(into_path, into_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | [INFO] [stdout] 80 | let branch = match &variant.fields { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | / quote! { [INFO] [stdout] 84 | | #from_path => #into_path.try_into().map_err(|err| #err)? [INFO] [stdout] 85 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________________| [INFO] [stdout] | |_____________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | | Ok(ok) => ok, [INFO] [stdout] | | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 108 | | Ok(ok) => ok, [INFO] [stdout] | | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 113 | | Some(Ok(branch)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_enum_data/utils.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 6 | let segment = PathSegment { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 12 | segments: enum_path [INFO] [stdout] | ___________________^ [INFO] [stdout] 13 | | .clone() [INFO] [stdout] 14 | | .segments [INFO] [stdout] 15 | | .into_iter() [INFO] [stdout] 16 | | .chain(std::iter::once(segment)) [INFO] [stdout] 17 | | .collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_fields_named/create_from_match_branch_for_fields_named.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 27 | let field_type = f.ty.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | [INFO] [stdout] 29 | let attrs = FieldNamedAttributes::from_attributes(&f.attrs)?.from; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | let as_type = attrs.iter().find_map(|e| match &e.target { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | let from_field_ident: Ident = attrs [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let into_from_pair = IntoFromPair { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | Ok(FieldsNamedMatchBranchData { [INFO] [stdout] | ________________^ [INFO] [stdout] 67 | | lhs_field_name: (!default).then_some(from_field_ident), [INFO] [stdout] 68 | | into_from_pair, [INFO] [stdout] 69 | | as_type, [INFO] [stdout] 70 | | field_type, [INFO] [stdout] 71 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_fields_named/create_into_match_branch_for_fields_named.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 28 | let field_type = f.ty.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | [INFO] [stdout] 30 | let attrs = match FieldNamedAttributes::from_attributes(&f.attrs) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let as_type = attrs.iter().find_map(|e| match &e.target { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let into_field_ident: Ident = attrs [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let into_from_pair = IntoFromPair { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Some(Ok(FieldsNamedMatchBranchData { [INFO] [stdout] | __________________^ [INFO] [stdout] 75 | | lhs_field_name: Some(ident.clone()), [INFO] [stdout] 76 | | into_from_pair, [INFO] [stdout] 77 | | as_type, [INFO] [stdout] 78 | | field_type, [INFO] [stdout] 79 | | })) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_fields_named/create_try_from_match_branch_for_fields_named.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 28 | let field_type = f.ty.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | [INFO] [stdout] 30 | let attrs = FieldNamedAttributes::from_attributes(&f.attrs)?.try_from; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let as_type = attrs.iter().find_map(|e| match &e.target { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let from_field_ident: Ident = attrs [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let into_from_pair = IntoFromPair { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | Ok(FieldsNamedMatchBranchData { [INFO] [stdout] | ________________^ [INFO] [stdout] 68 | | lhs_field_name: (!default).then_some(from_field_ident), [INFO] [stdout] 69 | | into_from_pair, [INFO] [stdout] 70 | | as_type, [INFO] [stdout] 71 | | field_type, [INFO] [stdout] 72 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_fields_named/create_try_into_match_branch_for_fields_named.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 29 | let field_type = f.ty.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | [INFO] [stdout] 31 | let attrs = match FieldNamedAttributes::from_attributes(&f.attrs) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let as_type = attrs.iter().find_map(|e| match &e.target { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let into_field_ident: Ident = attrs [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let into_from_pair = IntoFromPair { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | Some(Ok(FieldsNamedMatchBranchData { [INFO] [stdout] | __________________^ [INFO] [stdout] 76 | | lhs_field_name: Some(ident.clone()), [INFO] [stdout] 77 | | into_from_pair, [INFO] [stdout] 78 | | as_type, [INFO] [stdout] 79 | | field_type, [INFO] [stdout] 80 | | })) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_fields_unnamed.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 33 | let ident = format_ident!("item{i}"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let mut into_expr = Default::default(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | Ok((ident, into_expr)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_fields_unnamed.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 203 | let into_exprs = members.into_iter().enumerate().map(|(i, m)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | into_expr.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: aborting due to 23 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default` is never read [INFO] [stdout] --> src/structural_convert/attributes/named_field/into_field_named_attributes.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct IntoFieldNamedAttributes { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub default: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntoFieldNamedAttributes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn structural_convert(item: TokenStream) -> TokenStream { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | / structural_convert::structural_convert_impl(parse_macro_input!(item as DeriveInput)) [INFO] [stdout] 22 | | .unwrap_or_else(|err| err.write_errors()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/enum_variant/from_enum_variant_attributes.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 17 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mut default: bool = Default::default(); [INFO] [stdout] 19 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 72 | | target, [INFO] [stdout] 73 | | skip, [INFO] [stdout] 74 | | rename, [INFO] [stdout] 75 | | default, [INFO] [stdout] 76 | | }) [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] [stderr] error: could not compile `structural-convert-derive` (lib test) due to 24 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/enum_variant/into_enum_variant_attributes.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 17 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 72 | | target, [INFO] [stdout] 73 | | rename, [INFO] [stdout] 74 | | skip_after, [INFO] [stdout] 75 | | skip, [INFO] [stdout] 76 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/enum_variant/try_from_enum_variant_attributes.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 17 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mut default: bool = Default::default(); [INFO] [stdout] 19 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 72 | | target, [INFO] [stdout] 73 | | skip, [INFO] [stdout] 74 | | rename, [INFO] [stdout] 75 | | default, [INFO] [stdout] 76 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/enum_variant/try_into_enum_variant_attributes.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 17 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 72 | | target, [INFO] [stdout] 73 | | rename, [INFO] [stdout] 74 | | skip_after, [INFO] [stdout] 75 | | skip, [INFO] [stdout] 76 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/ident_as_literal_list.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 13 | let mut idents: Vec = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Self(idents)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/into_container_attributes.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 18 | let mut path: Option = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let mut skip_after: Option = Default::default(); [INFO] [stdout] 20 | let mut default_for_fields: IdentAsLiteralList = Default::default(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let Some(path) = path else { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 86 | | path, [INFO] [stdout] 87 | | skip_after, [INFO] [stdout] 88 | | default_for_fields, [INFO] [stdout] 89 | | default, [INFO] [stdout] 90 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/named_field/from_field_named_attributes.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 18 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let mut default: bool = Default::default(); [INFO] [stdout] 21 | let mut as_type: Option = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 73 | | target, [INFO] [stdout] 74 | | rename, [INFO] [stdout] 75 | | default, [INFO] [stdout] 76 | | as_type, [INFO] [stdout] 77 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/named_field/into_field_named_attributes.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 19 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let mut as_type: Option = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 78 | | target, [INFO] [stdout] 79 | | rename, [INFO] [stdout] 80 | | skip, [INFO] [stdout] 81 | | default, [INFO] [stdout] 82 | | as_type, [INFO] [stdout] 83 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/named_field/try_from_field_named_attributes.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 18 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let mut default: bool = Default::default(); [INFO] [stdout] 21 | let mut as_type: Option = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 73 | | target, [INFO] [stdout] 74 | | rename, [INFO] [stdout] 75 | | default, [INFO] [stdout] 76 | | as_type, [INFO] [stdout] 77 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/named_field/try_into_field_named_attributes.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 17 | let mut target: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mut rename: Option = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let mut skip: bool = Default::default(); [INFO] [stdout] 20 | let mut as_type: Option = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 72 | | target, [INFO] [stdout] 73 | | rename, [INFO] [stdout] 74 | | skip, [INFO] [stdout] 75 | | as_type, [INFO] [stdout] 76 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/attributes/try_into_container_attributes.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 18 | let mut path: Option = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let mut skip_after: Option = Default::default(); [INFO] [stdout] 20 | let mut default_for_fields: IdentAsLiteralList = Default::default(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let Some(path) = path else { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 86 | | path, [INFO] [stdout] 87 | | skip_after, [INFO] [stdout] 88 | | default_for_fields, [INFO] [stdout] 89 | | default, [INFO] [stdout] 90 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_enum_data/create_from_impl_for_enum.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 26 | let variant_ident = variant.ident.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let into_variant_ident = &variant_ident; [INFO] [stdout] 28 | let attrs = match EnumVariantAttributes::from_attributes(&variant.attrs) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let from_path = concat_enum_with_variant(from_path, from_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let into_path = concat_enum_with_variant(into_path, into_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | [INFO] [stdout] 69 | let branch = match &variant.fields { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Fields::Unit if default => { [INFO] [stdout] 71 | catch_all_branches.push(quote!(_ => #into_path.into())); [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | / quote! { [INFO] [stdout] 76 | | #from_path => #into_path.into() [INFO] [stdout] 77 | | } [INFO] [stdout] | |_____________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let default_expr = fields_unnamed [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | catch_all_branches.push(quote!(_ => #into_path(#(#default_expr,)*))); [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | Some(Ok(branch)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_enum_data/create_into_impl_for_enum.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 32 | let variant_ident = variant.ident.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let from_variant_ident = &variant_ident; [INFO] [stdout] 34 | let attrs = match EnumVariantAttributes::from_attributes(&variant.attrs) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let from_path = concat_enum_with_variant(from_path, from_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let into_path = concat_enum_with_variant(into_path, into_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | [INFO] [stdout] 75 | let branch = match &variant.fields { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | Fields::Unit => { [INFO] [stdout] 77 | / quote! { [INFO] [stdout] 78 | | #from_path => #into_path.into() [INFO] [stdout] 79 | | } [INFO] [stdout] | |_____________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Some(Ok(branch)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_enum_data/create_try_from_impl_for_enum.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 28 | let variant_ident = variant.ident.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let into_variant_ident = &variant_ident; [INFO] [stdout] 30 | let attrs = match EnumVariantAttributes::from_attributes(&variant.attrs) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | let from_path = concat_enum_with_variant(from_path, from_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let into_path = concat_enum_with_variant(into_path, into_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | [INFO] [stdout] 74 | let branch = match &variant.fields { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | Fields::Unit if default => { [INFO] [stdout] 76 | catch_all_branches.push(quote!(_ => #into_path.into())); [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | / quote! { [INFO] [stdout] 82 | | #from_path => #into_path.try_into().map_err(|err| #err)? [INFO] [stdout] 83 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________________| [INFO] [stdout] | |_____________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | | let default_expr = fields_unnamed [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 91 | | catch_all_branches.push(quote!(_ => #into_path(#(#default_expr,)*))); [INFO] [stdout] | | ------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(ok) => ok, [INFO] [stdout] | | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 114 | | Ok(ok) => ok, [INFO] [stdout] | | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 119 | | Some(Ok(branch)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_enum_data/create_try_into_impl_for_enum.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 34 | let variant_ident = variant.ident.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let from_variant_ident = &variant_ident; [INFO] [stdout] 36 | let attrs = match EnumVariantAttributes::from_attributes(&variant.attrs) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let from_path = concat_enum_with_variant(from_path, from_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let into_path = concat_enum_with_variant(into_path, into_variant_ident); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | [INFO] [stdout] 80 | let branch = match &variant.fields { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | / quote! { [INFO] [stdout] 84 | | #from_path => #into_path.try_into().map_err(|err| #err)? [INFO] [stdout] 85 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________________| [INFO] [stdout] | |_____________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | | Ok(ok) => ok, [INFO] [stdout] | | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 108 | | Ok(ok) => ok, [INFO] [stdout] | | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 113 | | Some(Ok(branch)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_enum_data/utils.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 6 | let segment = PathSegment { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 12 | segments: enum_path [INFO] [stdout] | ___________________^ [INFO] [stdout] 13 | | .clone() [INFO] [stdout] 14 | | .segments [INFO] [stdout] 15 | | .into_iter() [INFO] [stdout] 16 | | .chain(std::iter::once(segment)) [INFO] [stdout] 17 | | .collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_fields_named/create_from_match_branch_for_fields_named.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 27 | let field_type = f.ty.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | [INFO] [stdout] 29 | let attrs = FieldNamedAttributes::from_attributes(&f.attrs)?.from; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | let as_type = attrs.iter().find_map(|e| match &e.target { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | let from_field_ident: Ident = attrs [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let into_from_pair = IntoFromPair { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | Ok(FieldsNamedMatchBranchData { [INFO] [stdout] | ________________^ [INFO] [stdout] 67 | | lhs_field_name: (!default).then_some(from_field_ident), [INFO] [stdout] 68 | | into_from_pair, [INFO] [stdout] 69 | | as_type, [INFO] [stdout] 70 | | field_type, [INFO] [stdout] 71 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_fields_named/create_into_match_branch_for_fields_named.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 28 | let field_type = f.ty.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | [INFO] [stdout] 30 | let attrs = match FieldNamedAttributes::from_attributes(&f.attrs) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let as_type = attrs.iter().find_map(|e| match &e.target { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let into_field_ident: Ident = attrs [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let into_from_pair = IntoFromPair { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Some(Ok(FieldsNamedMatchBranchData { [INFO] [stdout] | __________________^ [INFO] [stdout] 75 | | lhs_field_name: Some(ident.clone()), [INFO] [stdout] 76 | | into_from_pair, [INFO] [stdout] 77 | | as_type, [INFO] [stdout] 78 | | field_type, [INFO] [stdout] 79 | | })) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_fields_named/create_try_from_match_branch_for_fields_named.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 28 | let field_type = f.ty.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | [INFO] [stdout] 30 | let attrs = FieldNamedAttributes::from_attributes(&f.attrs)?.try_from; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let as_type = attrs.iter().find_map(|e| match &e.target { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let from_field_ident: Ident = attrs [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let into_from_pair = IntoFromPair { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | Ok(FieldsNamedMatchBranchData { [INFO] [stdout] | ________________^ [INFO] [stdout] 68 | | lhs_field_name: (!default).then_some(from_field_ident), [INFO] [stdout] 69 | | into_from_pair, [INFO] [stdout] 70 | | as_type, [INFO] [stdout] 71 | | field_type, [INFO] [stdout] 72 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_fields_named/create_try_into_match_branch_for_fields_named.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 29 | let field_type = f.ty.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | [INFO] [stdout] 31 | let attrs = match FieldNamedAttributes::from_attributes(&f.attrs) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | Ok(ok) => ok, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let as_type = attrs.iter().find_map(|e| match &e.target { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let into_field_ident: Ident = attrs [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let into_from_pair = IntoFromPair { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | Some(Ok(FieldsNamedMatchBranchData { [INFO] [stdout] | __________________^ [INFO] [stdout] 76 | | lhs_field_name: Some(ident.clone()), [INFO] [stdout] 77 | | into_from_pair, [INFO] [stdout] 78 | | as_type, [INFO] [stdout] 79 | | field_type, [INFO] [stdout] 80 | | })) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_fields_unnamed.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 33 | let ident = format_ident!("item{i}"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let mut into_expr = Default::default(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | Ok((ident, into_expr)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/structural_convert/on_fields_unnamed.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 203 | let into_exprs = members.into_iter().enumerate().map(|(i, m)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | into_expr.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: aborting due to 23 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `structural-convert-derive` (lib) due to 24 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f130e61084ea4ab94f562f443122c16184cbf2266f583e2b73062fa224b6e6ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f130e61084ea4ab94f562f443122c16184cbf2266f583e2b73062fa224b6e6ac", kill_on_drop: false }` [INFO] [stdout] f130e61084ea4ab94f562f443122c16184cbf2266f583e2b73062fa224b6e6ac