[INFO] fetching crate entrait_macros 0.7.0... [INFO] checking entrait_macros-0.7.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate entrait_macros 0.7.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate entrait_macros 0.7.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 entrait_macros 0.7.0 [INFO] finished tweaking crates.io crate entrait_macros 0.7.0 [INFO] tweaked toml for crates.io crate entrait_macros 0.7.0 written to /workspace/builds/worker-0-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 5 packages to latest compatible versions [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 96b4d2a24913763d49a7c513d680eb6ed4185c8cbd08a9100d219f57d6334a35 [INFO] running `Command { std: "docker" "start" "-a" "96b4d2a24913763d49a7c513d680eb6ed4185c8cbd08a9100d219f57d6334a35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96b4d2a24913763d49a7c513d680eb6ed4185c8cbd08a9100d219f57d6334a35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96b4d2a24913763d49a7c513d680eb6ed4185c8cbd08a9100d219f57d6334a35", kill_on_drop: false }` [INFO] [stdout] 96b4d2a24913763d49a7c513d680eb6ed4185c8cbd08a9100d219f57d6334a35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3e4f65a9e98953ad87bec16c3f2a86fedba454305d9d3f80b77c00249b61b38d [INFO] running `Command { std: "docker" "start" "-a" "3e4f65a9e98953ad87bec16c3f2a86fedba454305d9d3f80b77c00249b61b38d", kill_on_drop: false }` [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking entrait_macros v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `trait_ident` is never read [INFO] [stdout] --> src/attributes.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct UnimockAttrParams<'s> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 87 | pub trait_ident: &'s syn::Ident, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `opts` and `crate_idents` are never read [INFO] [stdout] --> src/entrait_impl/input_attr.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct EntraitImplAttr { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 67 | pub opts: Opts, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | pub crate_idents: CrateIdents, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trait_ident` is never read [INFO] [stdout] --> src/attributes.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct UnimockAttrParams<'s> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 87 | pub trait_ident: &'s syn::Ident, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `opts` and `crate_idents` are never read [INFO] [stdout] --> src/entrait_impl/input_attr.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct EntraitImplAttr { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 67 | pub opts: Opts, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | pub crate_idents: CrateIdents, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/entrait_trait/input_attr.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ImplTrait(pub syn::Visibility, pub syn::Ident); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [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] 13 | pub struct ImplTrait((), pub syn::Ident); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trait_token` is never read [INFO] [stdout] --> src/entrait_trait/out_trait.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct OutTrait { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub trait_token: syn::token::Trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutTrait` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `crate_idents` is never read [INFO] [stdout] --> src/fn_delegation_codegen.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct FnDelegationCodegen<'s, TR> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 21 | pub opts: &'s Opts, [INFO] [stdout] 22 | pub crate_idents: &'s CrateIdents, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UseAssociatedFuture` is never constructed [INFO] [stdout] --> src/generics.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UseAssociatedFuture(pub bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UseAssociatedFuture` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/input.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | SingleFn(&'a syn::Ident), [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] 17 | SingleFn(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/input.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | Module(&'a syn::Ident), [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] 18 | Module(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/input.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | RawTrait(LiteralAttrs<'a>), [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] 20 | RawTrait(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/input.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct DeriveImplTraitPath(pub syn::Path); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `for_token` and `brace_token` are never read [INFO] [stdout] --> src/input.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct InputImpl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 171 | pub for_token: syn::token::For, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 172 | pub self_ty: syn::Type, [INFO] [stdout] 173 | pub brace_token: syn::token::Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `et_lifetimes` is never read [INFO] [stdout] --> src/signature/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct EntraitSignature { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 38 | pub sig: syn::Signature, [INFO] [stdout] 39 | pub et_lifetimes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntraitSignature` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssociatedFut` is never constructed [INFO] [stdout] --> src/signature/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct AssociatedFut { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssociatedFut` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lifetime` is never read [INFO] [stdout] --> src/signature/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct EntraitLifetime { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 61 | pub lifetime: syn::Lifetime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntraitLifetime` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trait_span` and `opts` are never read [INFO] [stdout] --> src/signature/converter.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SignatureConverter<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 9 | pub crate_idents: &'a CrateIdents, [INFO] [stdout] 10 | pub trait_span: Span, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub opts: &'a Opts, [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/analyze_generics.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 47 | let deps = analyzer.analyze_fn_deps(input_sig, self.opts)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let entrait_sig = SignatureConverter { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Ok(TraitFn { [INFO] [stdout] | ____________^ [INFO] [stdout] 58 | | deps, [INFO] [stdout] 59 | | attrs: vec![], [INFO] [stdout] 60 | | entrait_sig, [INFO] [stdout] 61 | | originally_async: input_sig.asyncness.is_some(), [INFO] [stdout] 62 | | }) [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] = 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/analyze_generics.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 223 | let mut deps_trait_bounds = extract_trait_bounds(&matching_type_param.bounds); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | Some(FnDeps::Generic { [INFO] [stdout] | ______________^ [INFO] [stdout] 258 | | generic_param: Some(generic_param_ident.clone()), [INFO] [stdout] 259 | | trait_bounds: deps_trait_bounds, [INFO] [stdout] 260 | | }) [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/entrait_fn/input_attr.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 18 | let trait_visibility: syn::Visibility = input.parse()?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | [INFO] [stdout] 20 | let trait_ident: syn::Ident = input.parse()?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let mut mock_api = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Ok(EntraitFnAttr { [INFO] [stdout] | ____________^ [INFO] [stdout] 48 | | trait_visibility, [INFO] [stdout] 49 | | trait_ident, [INFO] [stdout] 50 | | opts: Opts { [INFO] [stdout] ... | [INFO] [stdout] 60 | | crate_idents: CrateIdents::new(span), [INFO] [stdout] 61 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entrait_trait/input_attr.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 19 | let mut impl_trait = None; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let mut mock_api = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let mut delegation_kind = None; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 62 | | impl_trait, [INFO] [stdout] 63 | | opts: Opts { [INFO] [stdout] 64 | | default_span: proc_macro2::Span::call_site(), [INFO] [stdout] ... | [INFO] [stdout] 74 | | crate_idents: CrateIdents::new(span), [INFO] [stdout] 75 | | }) [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/entrait_trait/out_trait.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn analyze_trait(item_trait: syn::ItemTrait) -> syn::Result { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let mut associated_types = vec![]; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let mut fns = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let supertraits = if let Some(colon_token) = item_trait.colon_token { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(OutTrait { [INFO] [stdout] | ________^ [INFO] [stdout] 61 | | attrs: item_trait.attrs, [INFO] [stdout] 62 | | vis: item_trait.vis, [INFO] [stdout] 63 | | trait_token: item_trait.trait_token, [INFO] [stdout] ... | [INFO] [stdout] 74 | | fns, [INFO] [stdout] 75 | | }) [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] warning: field `0` is never read [INFO] [stdout] --> src/entrait_trait/input_attr.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ImplTrait(pub syn::Visibility, pub syn::Ident); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [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] 13 | pub struct ImplTrait((), pub syn::Ident); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trait_token` is never read [INFO] [stdout] --> src/entrait_trait/out_trait.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct OutTrait { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub trait_token: syn::token::Trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutTrait` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `crate_idents` is never read [INFO] [stdout] --> src/fn_delegation_codegen.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct FnDelegationCodegen<'s, TR> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 21 | pub opts: &'s Opts, [INFO] [stdout] 22 | pub crate_idents: &'s CrateIdents, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UseAssociatedFuture` is never constructed [INFO] [stdout] --> src/generics.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UseAssociatedFuture(pub bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UseAssociatedFuture` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/input.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | SingleFn(&'a syn::Ident), [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] 17 | SingleFn(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/input.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | Module(&'a syn::Ident), [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] 18 | Module(()), [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/input.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 363 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 364 | let _ = syn::parenthesized!(content in input); [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 365 | [INFO] [stdout] 366 | let path = content.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 367 | [INFO] [stdout] 368 | Ok(DeriveImplTraitPath(path)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/input.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 385 | let fork = input.fork(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | && fork.parse::>().is_ok() [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] warning: field `0` is never read [INFO] [stdout] --> src/input.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | RawTrait(LiteralAttrs<'a>), [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] 20 | RawTrait(()), [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/opt.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 187 | default: Delegate, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | let ident = input.parse::()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | [INFO] [stdout] 204 | Ok(SpanOpt( [INFO] [stdout] | ________^ [INFO] [stdout] 205 | | match ident.to_string().as_str() { [INFO] [stdout] 206 | | "Self" => Delegate::BySelf, [INFO] [stdout] 207 | | "Borrow" => Delegate::ByRef(RefDelegate::Borrow), [INFO] [stdout] ... | [INFO] [stdout] 210 | | span, [INFO] [stdout] 211 | | )) [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/opt.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 216 | default_value: O, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | mapper: F, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | let parsed = input.parse::()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 231 | [INFO] [stdout] 232 | Ok(SpanOpt(mapper(parsed)?, span)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/input.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct DeriveImplTraitPath(pub syn::Path); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [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/signature/converter.rs:121:30 [INFO] [stdout] | [INFO] [stdout] 114 | reference: Option<(syn::token::And, Option)>, [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | ) -> syn::FnArg { [INFO] [stdout] 116 | let ty = match reference { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | Some(_) => syn::parse_quote!(&Self), [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | None => syn::parse_quote!(Self), [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | syn::FnArg::Receiver(syn::Receiver { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 122 | | attrs: vec![], [INFO] [stdout] 123 | | reference, [INFO] [stdout] 124 | | mutability: None, [INFO] [stdout] ... | [INFO] [stdout] 127 | | ty, [INFO] [stdout] 128 | | }) [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] warning: fields `for_token` and `brace_token` are never read [INFO] [stdout] --> src/input.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct InputImpl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 171 | pub for_token: syn::token::For, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 172 | pub self_ty: syn::Type, [INFO] [stdout] 173 | pub brace_token: syn::token::Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `et_lifetimes` is never read [INFO] [stdout] --> src/signature/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct EntraitSignature { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 38 | pub sig: syn::Signature, [INFO] [stdout] 39 | pub et_lifetimes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntraitSignature` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssociatedFut` is never constructed [INFO] [stdout] --> src/signature/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct AssociatedFut { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssociatedFut` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lifetime` is never read [INFO] [stdout] --> src/signature/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct EntraitLifetime { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 61 | pub lifetime: syn::Lifetime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntraitLifetime` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trait_span` and `opts` are never read [INFO] [stdout] --> src/signature/converter.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SignatureConverter<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 9 | pub crate_idents: &'a CrateIdents, [INFO] [stdout] 10 | pub trait_span: Span, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub opts: &'a Opts, [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/analyze_generics.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 47 | let deps = analyzer.analyze_fn_deps(input_sig, self.opts)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let entrait_sig = SignatureConverter { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Ok(TraitFn { [INFO] [stdout] | ____________^ [INFO] [stdout] 58 | | deps, [INFO] [stdout] 59 | | attrs: vec![], [INFO] [stdout] 60 | | entrait_sig, [INFO] [stdout] 61 | | originally_async: input_sig.asyncness.is_some(), [INFO] [stdout] 62 | | }) [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] = 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/analyze_generics.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 223 | let mut deps_trait_bounds = extract_trait_bounds(&matching_type_param.bounds); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | Some(FnDeps::Generic { [INFO] [stdout] | ______________^ [INFO] [stdout] 258 | | generic_param: Some(generic_param_ident.clone()), [INFO] [stdout] 259 | | trait_bounds: deps_trait_bounds, [INFO] [stdout] 260 | | }) [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/entrait_fn/input_attr.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 18 | let trait_visibility: syn::Visibility = input.parse()?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | [INFO] [stdout] 20 | let trait_ident: syn::Ident = input.parse()?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let mut mock_api = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Ok(EntraitFnAttr { [INFO] [stdout] | ____________^ [INFO] [stdout] 48 | | trait_visibility, [INFO] [stdout] 49 | | trait_ident, [INFO] [stdout] 50 | | opts: Opts { [INFO] [stdout] ... | [INFO] [stdout] 60 | | crate_idents: CrateIdents::new(span), [INFO] [stdout] 61 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entrait_trait/input_attr.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 19 | let mut impl_trait = None; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let mut mock_api = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let mut delegation_kind = None; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 62 | | impl_trait, [INFO] [stdout] 63 | | opts: Opts { [INFO] [stdout] 64 | | default_span: proc_macro2::Span::call_site(), [INFO] [stdout] ... | [INFO] [stdout] 74 | | crate_idents: CrateIdents::new(span), [INFO] [stdout] 75 | | }) [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 10 previous errors; 15 warnings emitted [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/entrait_trait/out_trait.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn analyze_trait(item_trait: syn::ItemTrait) -> syn::Result { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let mut associated_types = vec![]; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let mut fns = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let supertraits = if let Some(colon_token) = item_trait.colon_token { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(OutTrait { [INFO] [stdout] | ________^ [INFO] [stdout] 61 | | attrs: item_trait.attrs, [INFO] [stdout] 62 | | vis: item_trait.vis, [INFO] [stdout] 63 | | trait_token: item_trait.trait_token, [INFO] [stdout] ... | [INFO] [stdout] 74 | | fns, [INFO] [stdout] 75 | | }) [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/input.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 363 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 364 | let _ = syn::parenthesized!(content in input); [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 365 | [INFO] [stdout] 366 | let path = content.parse()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 367 | [INFO] [stdout] 368 | Ok(DeriveImplTraitPath(path)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/input.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 385 | let fork = input.fork(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | && fork.parse::>().is_ok() [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/opt.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 187 | default: Delegate, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | let ident = input.parse::()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | [INFO] [stdout] 204 | Ok(SpanOpt( [INFO] [stdout] | ________^ [INFO] [stdout] 205 | | match ident.to_string().as_str() { [INFO] [stdout] 206 | | "Self" => Delegate::BySelf, [INFO] [stdout] 207 | | "Borrow" => Delegate::ByRef(RefDelegate::Borrow), [INFO] [stdout] ... | [INFO] [stdout] 210 | | span, [INFO] [stdout] 211 | | )) [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/opt.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 216 | default_value: O, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | mapper: F, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | let parsed = input.parse::()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 231 | [INFO] [stdout] 232 | Ok(SpanOpt(mapper(parsed)?, span)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/signature/converter.rs:121:30 [INFO] [stdout] | [INFO] [stdout] 114 | reference: Option<(syn::token::And, Option)>, [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | ) -> syn::FnArg { [INFO] [stdout] 116 | let ty = match reference { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | Some(_) => syn::parse_quote!(&Self), [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | None => syn::parse_quote!(Self), [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | syn::FnArg::Receiver(syn::Receiver { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 122 | | attrs: vec![], [INFO] [stdout] 123 | | reference, [INFO] [stdout] 124 | | mutability: None, [INFO] [stdout] ... | [INFO] [stdout] 127 | | ty, [INFO] [stdout] 128 | | }) [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 `entrait_macros` (lib test) due to 11 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `entrait_macros` (lib) due to 11 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3e4f65a9e98953ad87bec16c3f2a86fedba454305d9d3f80b77c00249b61b38d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e4f65a9e98953ad87bec16c3f2a86fedba454305d9d3f80b77c00249b61b38d", kill_on_drop: false }` [INFO] [stdout] 3e4f65a9e98953ad87bec16c3f2a86fedba454305d9d3f80b77c00249b61b38d