[INFO] fetching crate fieldmask_derive 0.0.3... [INFO] checking fieldmask_derive-0.0.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate fieldmask_derive 0.0.3 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate fieldmask_derive 0.0.3 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 fieldmask_derive 0.0.3 [INFO] finished tweaking crates.io crate fieldmask_derive 0.0.3 [INFO] tweaked toml for crates.io crate fieldmask_derive 0.0.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a058f253a314225886485bf2ff54af4e0f2d078a24ebc9173a1f19897abe5b8 [INFO] running `Command { std: "docker" "start" "-a" "3a058f253a314225886485bf2ff54af4e0f2d078a24ebc9173a1f19897abe5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a058f253a314225886485bf2ff54af4e0f2d078a24ebc9173a1f19897abe5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a058f253a314225886485bf2ff54af4e0f2d078a24ebc9173a1f19897abe5b8", kill_on_drop: false }` [INFO] [stdout] 3a058f253a314225886485bf2ff54af4e0f2d078a24ebc9173a1f19897abe5b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db495b26c3de322f8cc506457cf87acdce100ca3a8906c3b38d09bfc6cd50fc9 [INFO] running `Command { std: "docker" "start" "-a" "db495b26c3de322f8cc506457cf87acdce100ca3a8906c3b38d09bfc6cd50fc9", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking fieldmask_derive v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `attrs`, `vis`, `struct_token`, and `brace_token` are never read [INFO] [stdout] --> src/utils.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ItemStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 34 | pub attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | pub struct_token: Token![struct], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub brace_token: Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attrs`, `vis`, `enum_token`, and `brace_token` are never read [INFO] [stdout] --> src/utils.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ItemEnum { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 44 | pub attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | pub enum_token: Token![enum], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub brace_token: Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attrs`, `vis`, and `colon_token` are never read [INFO] [stdout] --> src/utils.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct NamedField { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 54 | pub attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | pub ident: Ident, [INFO] [stdout] 57 | pub colon_token: Token![:], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attrs`, `paren_token`, and `tuple_attrs` are never read [INFO] [stdout] --> src/utils.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct SingleTupleVariant { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 63 | pub attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | pub ident: Ident, [INFO] [stdout] 65 | pub paren_token: Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 66 | pub tuple_attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attrs`, `ident`, and `discriminant` are never read [INFO] [stdout] --> src/utils.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct UnitVariant { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 71 | pub attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | pub ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | pub discriminant: Option<(Token![=], Expr)>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | Unit(UnitVariant), [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 78 | Unit(()), [INFO] [stdout] | ~~ [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:118:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn derive_maskable(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let input: Item = parse_macro_input!(input); [INFO] [stdout] | ----- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let additional_impl = match item_type { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | ItemType::Enum => quote! { [INFO] [stdout] | ___________________________- [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] 77 | | impl#impl_generics ::fieldmask::OptionMaskable for #ident#ty_generics [INFO] [stdout] 78 | | #where_clauses [INFO] [stdout] 79 | | { [INFO] [stdout] ... | [INFO] [stdout] 82 | | #(#match_arm_groups)* [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | }, [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] | |_________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] | |_________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] 88 | ItemType::UnitEnum => quote! { [INFO] [stdout] | _______________________________- [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] 89 | | impl#impl_generics ::fieldmask::SelfMaskable for #ident#ty_generics [INFO] [stdout] 90 | | #where_clauses [INFO] [stdout] 91 | | { [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | }, [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] | |_________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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | ItemType::Struct => quote! { [INFO] [stdout] | _____________________________- [INFO] [stdout] | |_____________________________| [INFO] [stdout] | |_____________________________| [INFO] [stdout] | |_____________________________| [INFO] [stdout] | |_____________________________| [INFO] [stdout] 100 | | impl#impl_generics ::fieldmask::SelfMaskable for #ident#ty_generics [INFO] [stdout] 101 | | #where_clauses [INFO] [stdout] 102 | | { [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | }, [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] | |_________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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let deserialize_error = quote! { [INFO] [stdout] | _________-----------------___- [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | | ::core::result::Result::Err(::fieldmask::DeserializeMaskError{ [INFO] [stdout] 112 | | type_str: stringify!(#ident), [INFO] [stdout] 113 | | field: field_mask_segs[0].into(), [INFO] [stdout] 114 | | depth: 0, [INFO] [stdout] 115 | | }) [INFO] [stdout] 116 | | }; [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] | |_____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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | [INFO] [stdout] 118 | / match item_type { [INFO] [stdout] 119 | ItemType::UnitEnum => quote! { [INFO] [stdout] 120 | impl#impl_generics ::fieldmask::Maskable for #ident#ty_generics [INFO] [stdout] 121 | #where_clauses [INFO] [stdout] ... [INFO] [stdout] 160 | }, [INFO] [stdout] 161 | | } [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/utils.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 231 | let attrs = input.call(Attribute::parse_outer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | let attr_iter = attrs [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | Ok(NamedField { [INFO] [stdout] | ____________^ [INFO] [stdout] 271 | | attrs, [INFO] [stdout] 272 | | vis: input.parse()?, [INFO] [stdout] 273 | | ident: input.parse()?, [INFO] [stdout] ... | [INFO] [stdout] 276 | | is_flatten, [INFO] [stdout] 277 | | }) [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] | [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 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fieldmask_derive` (lib test) due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `attrs`, `vis`, `struct_token`, and `brace_token` are never read [INFO] [stdout] --> src/utils.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ItemStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 34 | pub attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | pub struct_token: Token![struct], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub brace_token: Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attrs`, `vis`, `enum_token`, and `brace_token` are never read [INFO] [stdout] --> src/utils.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ItemEnum { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 44 | pub attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | pub enum_token: Token![enum], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub brace_token: Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attrs`, `vis`, and `colon_token` are never read [INFO] [stdout] --> src/utils.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct NamedField { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 54 | pub attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | pub vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | pub ident: Ident, [INFO] [stdout] 57 | pub colon_token: Token![:], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attrs`, `paren_token`, and `tuple_attrs` are never read [INFO] [stdout] --> src/utils.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct SingleTupleVariant { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 63 | pub attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | pub ident: Ident, [INFO] [stdout] 65 | pub paren_token: Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 66 | pub tuple_attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attrs`, `ident`, and `discriminant` are never read [INFO] [stdout] --> src/utils.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct UnitVariant { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 71 | pub attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | pub ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | pub discriminant: Option<(Token![=], Expr)>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | Unit(UnitVariant), [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 78 | Unit(()), [INFO] [stdout] | ~~ [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:118:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn derive_maskable(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let input: Item = parse_macro_input!(input); [INFO] [stdout] | ----- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let additional_impl = match item_type { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | ItemType::Enum => quote! { [INFO] [stdout] | ___________________________- [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] 77 | | impl#impl_generics ::fieldmask::OptionMaskable for #ident#ty_generics [INFO] [stdout] 78 | | #where_clauses [INFO] [stdout] 79 | | { [INFO] [stdout] ... | [INFO] [stdout] 82 | | #(#match_arm_groups)* [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | }, [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] | |_________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] | |_________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] 88 | ItemType::UnitEnum => quote! { [INFO] [stdout] | _______________________________- [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] 89 | | impl#impl_generics ::fieldmask::SelfMaskable for #ident#ty_generics [INFO] [stdout] 90 | | #where_clauses [INFO] [stdout] 91 | | { [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | }, [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] | |_________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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | ItemType::Struct => quote! { [INFO] [stdout] | _____________________________- [INFO] [stdout] | |_____________________________| [INFO] [stdout] | |_____________________________| [INFO] [stdout] | |_____________________________| [INFO] [stdout] | |_____________________________| [INFO] [stdout] 100 | | impl#impl_generics ::fieldmask::SelfMaskable for #ident#ty_generics [INFO] [stdout] 101 | | #where_clauses [INFO] [stdout] 102 | | { [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | }, [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] | |_________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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let deserialize_error = quote! { [INFO] [stdout] | _________-----------------___- [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | | ::core::result::Result::Err(::fieldmask::DeserializeMaskError{ [INFO] [stdout] 112 | | type_str: stringify!(#ident), [INFO] [stdout] 113 | | field: field_mask_segs[0].into(), [INFO] [stdout] 114 | | depth: 0, [INFO] [stdout] 115 | | }) [INFO] [stdout] 116 | | }; [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] | |_____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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | [INFO] [stdout] 118 | / match item_type { [INFO] [stdout] 119 | ItemType::UnitEnum => quote! { [INFO] [stdout] 120 | impl#impl_generics ::fieldmask::Maskable for #ident#ty_generics [INFO] [stdout] 121 | #where_clauses [INFO] [stdout] ... [INFO] [stdout] 160 | }, [INFO] [stdout] 161 | | } [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/utils.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 231 | let attrs = input.call(Attribute::parse_outer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | let attr_iter = attrs [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | Ok(NamedField { [INFO] [stdout] | ____________^ [INFO] [stdout] 271 | | attrs, [INFO] [stdout] 272 | | vis: input.parse()?, [INFO] [stdout] 273 | | ident: input.parse()?, [INFO] [stdout] ... | [INFO] [stdout] 276 | | is_flatten, [INFO] [stdout] 277 | | }) [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] | [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 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fieldmask_derive` (lib) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "db495b26c3de322f8cc506457cf87acdce100ca3a8906c3b38d09bfc6cd50fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db495b26c3de322f8cc506457cf87acdce100ca3a8906c3b38d09bfc6cd50fc9", kill_on_drop: false }` [INFO] [stdout] db495b26c3de322f8cc506457cf87acdce100ca3a8906c3b38d09bfc6cd50fc9