[INFO] fetching crate abi_stable_derive_lib 0.6.2... [INFO] checking abi_stable_derive_lib-0.6.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate abi_stable_derive_lib 0.6.2 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate abi_stable_derive_lib 0.6.2 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 abi_stable_derive_lib 0.6.2 [INFO] finished tweaking crates.io crate abi_stable_derive_lib 0.6.2 [INFO] tweaked toml for crates.io crate abi_stable_derive_lib 0.6.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding abi_stable_shared v0.6.0 (latest: v0.11.0) [INFO] [stderr] Adding arrayvec v0.4.12 (latest: v0.7.6) [INFO] [stderr] Adding core_extensions v0.1.20 (latest: v1.5.3) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.37) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.77) [INFO] [stderr] Adding typed-arena v1.7.0 (latest: v2.0.2) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [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] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `core_extensions` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef50bc824922aa7341a1285d2a0e48dc9c952c929680839a02b6d150bf7c9257 [INFO] running `Command { std: "docker" "start" "-a" "ef50bc824922aa7341a1285d2a0e48dc9c952c929680839a02b6d150bf7c9257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef50bc824922aa7341a1285d2a0e48dc9c952c929680839a02b6d150bf7c9257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef50bc824922aa7341a1285d2a0e48dc9c952c929680839a02b6d150bf7c9257", kill_on_drop: false }` [INFO] [stdout] ef50bc824922aa7341a1285d2a0e48dc9c952c929680839a02b6d150bf7c9257 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a4bc665deff45fa1fdac9edb2cc59bd911f39989f16a0ad09b2f8f43f149f95 [INFO] running `Command { std: "docker" "start" "-a" "2a4bc665deff45fa1fdac9edb2cc59bd911f39989f16a0ad09b2f8f43f149f95", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `core_extensions` dependency) [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Compiling core_extensions v0.1.20 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking abi_stable_shared v0.6.0 [INFO] [stderr] Checking abi_stable_derive_lib v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `passed_tests` [INFO] [stdout] --> src/my_visibility.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | #[cfg(all(test, feature = "passed_tests"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `passed_tests` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `passed_tests` [INFO] [stdout] --> src/my_visibility.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | #[cfg(all(test, feature = "passed_tests"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `passed_tests` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `alloc_extend` and `alloc_extend_mut` are never used [INFO] [stdout] --> src/arenas.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait AllocMethods{ [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn alloc_extend(&self, iterable: I) -> &[T] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn alloc_extend_mut(&self, iterable: I) -> &mut [T] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | / declare_arenas! { [INFO] [stdout] 67 | | vec_meta: Vec, [INFO] [stdout] 68 | | ident: syn::Ident, [INFO] [stdout] 69 | | ident_vec: Vec, [INFO] [stdout] ... | [INFO] [stdout] 80 | | paths: syn::Path, [INFO] [stdout] 81 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `declare_arenas` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/datastructure.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct Enum<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 44 | pub(crate) name: &'a Ident, [INFO] [stdout] 45 | pub(crate) path: TokenStream, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enum` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `alloc_extend` and `alloc_extend_mut` are never used [INFO] [stdout] --> src/arenas.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait AllocMethods{ [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn alloc_extend(&self, iterable: I) -> &[T] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn alloc_extend_mut(&self, iterable: I) -> &mut [T] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | / declare_arenas! { [INFO] [stdout] 67 | | vec_meta: Vec, [INFO] [stdout] 68 | | ident: syn::Ident, [INFO] [stdout] 69 | | ident_vec: Vec, [INFO] [stdout] ... | [INFO] [stdout] 80 | | paths: syn::Path, [INFO] [stdout] 81 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `declare_arenas` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/datastructure.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct Enum<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 44 | pub(crate) name: &'a Ident, [INFO] [stdout] 45 | pub(crate) path: TokenStream, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enum` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/stable_abi/common_tokens.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct CommonTokens<'a>{ [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) unit_ret:FnParamRet<'a>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | / declare_common_tokens! { [INFO] [stdout] 80 | | with_new[ [INFO] [stdout] 81 | | start_len_tokens=crate::common_tokens::StartLenTokens, [INFO] [stdout] 82 | | fn_pointer_tokens=crate::common_tokens::FnPointerTokens, [INFO] [stdout] ... | [INFO] [stdout] 87 | | dot=Dot, [INFO] [stdout] | | ^^^ [INFO] [stdout] ... | [INFO] [stdout] 90 | | bang=Bang, [INFO] [stdout] | | ^^^^ [INFO] [stdout] 91 | | comma=Comma, [INFO] [stdout] 92 | | semicolon=Semi, [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 93 | | colon=Colon, [INFO] [stdout] | | ^^^^^ [INFO] [stdout] 94 | | colon2=Colon2, [INFO] [stdout] 95 | | brace=Brace, [INFO] [stdout] | | ^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 98 | | pound=Pound, [INFO] [stdout] | | ^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 101 | | as_=As, [INFO] [stdout] | | ^^^ [INFO] [stdout] ... | [INFO] [stdout] 105 | | ts_empty="", [INFO] [stdout] | | ^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 114 | | cratename="abi_stable", [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 119 | | tl_field="__TLField", [INFO] [stdout] | | ^^^^^^^^ [INFO] [stdout] 120 | | tl_functions="__TLFunctions", [INFO] [stdout] | | ^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 125 | | struct_="struct", [INFO] [stdout] | | ^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 128 | | enum_under="enum_derive", [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] 129 | | prefix_type="prefix_type_derive", [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] 130 | | cap_repr_transparent="ReprTransparent", [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | | cap_prefix_type="PrefixType", [INFO] [stdout] | | ^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | | new="new", [INFO] [stdout] 133 | | env="env", [INFO] [stdout] | | ^^^ [INFO] [stdout] 134 | | name="name", [INFO] [stdout] | | ^^^^ [INFO] [stdout] 135 | | fields="fields", [INFO] [stdout] | | ^^^^^^ [INFO] [stdout] 136 | | get_abi_info="__GetAbiInfo", [INFO] [stdout] | | ^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 142 | | instantiate_field="instantiate_field", [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | | lifetime_indices="lifetime_indices", [INFO] [stdout] | | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | | make_get_abi_info="__MakeGetAbiInfo", [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | | stable_abi="__StableAbi", [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] 146 | | shared_stable_abi="__SharedStableAbi", [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | | type_identity="TypeIdentity", [INFO] [stdout] | | ^^^^^^^^^^^^^ [INFO] [stdout] 148 | | marker_type="MarkerType", [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] 149 | | assert_zero_sized="__assert_zero_sized", [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | | abi_info="ABI_INFO", [INFO] [stdout] | | ^^^^^^^^ [INFO] [stdout] 151 | | get="get", [INFO] [stdout] | | ^^^ [INFO] [stdout] 152 | | stable_abi_bound="__StableAbi_Bound", [INFO] [stdout] | | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 157 | | sabi_reexports="_sabi_reexports", [INFO] [stdout] | | ^^^^^^^^^^^^^^ [INFO] [stdout] 158 | | cmp_ignored="__CmpIgnored", [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] 159 | | lifetime_index="__LifetimeIndex", [INFO] [stdout] | | ^^^^^^^^^^^^^^ [INFO] [stdout] 160 | | static_equivalent="__GetStaticEquivalent", [INFO] [stdout] 161 | | cap_static="Static", [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] 162 | | cap_param="Param", [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 163 | | cap_const="CONST", [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 166 | | subfields="subfields", [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 167 | | with_functions="with_functions", [INFO] [stdout] | | ^^^^^^^^^^^^^^ [INFO] [stdout] 168 | | underscore="_", [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] 169 | | for_="for", [INFO] [stdout] | | ^^^^ [INFO] [stdout] 170 | | static_="static", [INFO] [stdout] | | ^^^^^^^ [INFO] [stdout] 171 | | stringify_="stringify", [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 175 | | underscore_lt="'_", [INFO] [stdout] | | ^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 180 | | c_abi_lit="C", [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 181 | | ] [INFO] [stdout] 182 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `CommonTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `declare_common_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/sabi_trait/attribute_parsing.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 98 | TraitAttr{ [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 99 | name:&'a Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/sabi_trait/common_tokens.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct CommonTokens{ [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | makevtable_typarams="IA,_Self,_ErasedPtr,_OrigPtr,", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | vtable_typarams="_Self,_ErasedPtr,", [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | trait_obj_typarams="'lt,_ErasedPtr", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | ts_self ="Self", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 108 | ts_uself="_Self,", [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | ts_lt_self_erasability="'lt,_Self,Erasability,", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | ts_lt_rbox="'lt,__sabi_re::RBox<()>,", [INFO] [stdout] 116 | ts_lt_origptr_erasability="'lt,_OrigPtr,Erasability,", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 117 | ts_lt_uself_erasability="'lt,_Self,Erasability,", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 118 | ts_lt_rbox_uself_erasability="'lt,__sabi_re::RBox<_Self>,Erasability,", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | ts_make_vtable_args="Erasability,_OrigPtr::Target,_OrigPtr::TransmutedPtr,_OrigPtr,", [INFO] [stdout] 120 | ts_lt_transptr="'lt,_OrigPtr::TransmutedPtr,", [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 121 | ts_lt_erasedptr="'lt,_ErasedPtr,", [INFO] [stdout] 122 | ts_lt_de_erasedptr="'lt,'de,_ErasedPtr,", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | ts_erasedptr="_ErasedPtr,", [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | empty_tuple="()", [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | default_trait="__DefaultTrait", [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 141 | the_trait="__Trait", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 142 | u_erased_ptr="_ErasedPtr", [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 143 | nope_ident="__NOPE__", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 144 | self_ident="self", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 145 | uself_ident="_self", [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 146 | u_capself="_Self", [INFO] [stdout] 147 | capself="Self", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | c_abi_lit="C", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `declare_common_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/sabi_trait/trait_definition.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct AssocTyWithIndex{ [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 36 | pub index:usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssocTyWithIndex` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item` and `arenas` are never read [INFO] [stdout] --> src/sabi_trait/trait_definition.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) struct TraitDefinition<'a>{ [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 46 | pub(crate) item:&'a ItemTrait, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) arenas:&'a Arenas, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraitDefinition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item`, `vis`, and `ctokens` are never read [INFO] [stdout] --> src/sabi_trait/trait_definition.rs:306:16 [INFO] [stdout] | [INFO] [stdout] 305 | pub(crate) struct TraitMethod<'a>{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 306 | pub(crate) item:&'a syn::TraitItemMethod, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub(crate) vis:&'a Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub(crate) ctokens:&'a CommonTokens, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraitMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bound` and `lifetime` are never read [INFO] [stdout] --> src/sabi_trait/trait_definition.rs:533:16 [INFO] [stdout] | [INFO] [stdout] 532 | pub(crate) struct DeserializeBound<'a>{ [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 533 | pub(crate) bound:&'a syn::TraitBound, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 534 | pub(crate) lifetime:&'a syn::Lifetime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeserializeBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `which_trait` and `name` are never read [INFO] [stdout] --> src/sabi_trait/trait_definition.rs:551:16 [INFO] [stdout] | [INFO] [stdout] 550 | pub(crate) struct TraitImplness<'a>{ [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 551 | pub(crate) which_trait:WhichTrait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 552 | pub(crate) name:&'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraitImplness` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/macros.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | ( $e:expr ) => ({ [INFO] [stdout] | _____________________^ [INFO] [stdout] 13 | | $e [INFO] [stdout] 14 | | // let (dur,val)= ::core_extensions::measure_time::measure(||$e); [INFO] [stdout] 15 | | // println!("{}-{}:taken {} to run",file!(),line!(),dur); [INFO] [stdout] 16 | | // val [INFO] [stdout] 17 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn derive_stable_abi(input: TokenStream1) -> TokenStream1 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let input = syn::parse::(input).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | / measure!({ [INFO] [stdout] 78 | | stable_abi::derive(input) [INFO] [stdout] 79 | | }).into() [INFO] [stdout] | |______- in this macro invocation [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] = note: this error originates in the macro `measure` (in Nightly builds, run with -Z macro-backtrace for more info) [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:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn impl_InterfaceType(input: TokenStream1) -> TokenStream1{ [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | let input = syn::parse::(input).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | impl_interfacetype::the_macro(input).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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:106:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn derive_sabi_trait(_attr: TokenStream1, item: TokenStream1) -> TokenStream1{ [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] 105 | let item = syn::parse::(item).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | sabi_trait::derive_sabi_trait(item).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/macros.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | ( $e:expr ) => ({ [INFO] [stdout] | _____________________^ [INFO] [stdout] 13 | | $e [INFO] [stdout] 14 | | // let (dur,val)= ::core_extensions::measure_time::measure(||$e); [INFO] [stdout] 15 | | // println!("{}-{}:taken {} to run",file!(),line!(),dur); [INFO] [stdout] 16 | | // val [INFO] [stdout] 17 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn derive_get_static_equivalent(input: TokenStream1) -> TokenStream1 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | let input = syn::parse::(input).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | / measure!({ [INFO] [stdout] 120 | | get_static_equivalent::derive(input) [INFO] [stdout] 121 | | }).into() [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `measure` (in Nightly builds, run with -Z macro-backtrace for more info) [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/get_static_equivalent.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 49 | extra_bounds:TokenStream2, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | ) -> impl ToTokens+'a { [INFO] [stdout] 51 | ToTokenFnMut::new(move|ts|{ [INFO] [stdout] | _______________________^ [INFO] [stdout] 52 | | let lifetimes=&generics.lifetimes().map(|x|&x.lifetime).collect::>(); [INFO] [stdout] 53 | | let type_params=&generics.type_params().map(|x|&x.ident).collect::>(); [INFO] [stdout] 54 | | let const_params=&generics.const_params().map(|x|&x.ident).collect::>(); [INFO] [stdout] ... | [INFO] [stdout] 119 | | ).to_tokens(ts); [INFO] [stdout] 120 | | }) [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/datastructure.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 69 | let enum_ = match ast.data { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | path: quote! { #name:: }, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | lifetime_count:ast.generics.lifetimes().count(), [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/datastructure.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 360 | fields: I, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | / fields [INFO] [stdout] 367 | | .into_iter() [INFO] [stdout] 368 | | .enumerate() [INFO] [stdout] 369 | | .map(|(pos, f)|{ [INFO] [stdout] ... | [INFO] [stdout] 372 | | Field::new(fi, f, p.name.span(),p.override_vis) [INFO] [stdout] 373 | | }) [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/datastructure/field_map.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn with<'a,F>(ds:&'a DataStructure<'a>,mut f:F)->Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | fields:ds.variants [INFO] [stdout] | ____________________^ [INFO] [stdout] 33 | | .iter() [INFO] [stdout] 34 | | .map(|vari|{ [INFO] [stdout] 35 | | vari.fields.iter().map(&mut f).collect::>() [INFO] [stdout] 36 | | }) [INFO] [stdout] 37 | | .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/datastructure/field_map.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 48 | .map(|(var_i,variant)|{ [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | / variant [INFO] [stdout] 50 | | .into_iter() [INFO] [stdout] 51 | | .enumerate() [INFO] [stdout] 52 | | .map(|(pos,v)|{ [INFO] [stdout] ... | [INFO] [stdout] 57 | | f(index,v) [INFO] [stdout] 58 | | }) [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/fn_pointer_extractor.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 71 | let unit=syn::TypeTuple{ [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | ty:arenas.alloc( syn::Type::from(unit) ), [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/impl_interfacetype.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn map(self,mut f:F)->TraitStruct [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] 152 | $($field:f(WhichTrait::$which_trait,self.$field),)* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | / usable_traits!{ [INFO] [stdout] 185 | | clone=(Clone,"::std::clone::Clone",false,UB::ROBJECT_AND_DYN_TRAIT), [INFO] [stdout] 186 | | default=(Default,"::std::default::Default",false,UB::DYN_TRAIT), [INFO] [stdout] 187 | | display=(Display,"::std::fmt::Display",false,UB::DYN_TRAIT), [INFO] [stdout] ... | [INFO] [stdout] 207 | | error=(Error,"::std::error::Error",false,UB::DYN_TRAIT), [INFO] [stdout] 208 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `usable_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gen_params_in.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn with_after_lifetimes(generics: &'a Generics,in_what: InWhat,after_lifetimes:AL)->Self{ [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | after_lifetimes:Some(after_lifetimes), [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/gen_params_in.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn with_after_lifetimes(generics: &'a Generics,in_what: InWhat,after_lifetimes:AL)->Self{ [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | after_types:None, [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/gen_params_in.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn with_after_types(generics: &'a Generics,in_what: InWhat,after_types:AL)->Self{ [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | after_lifetimes:None, [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/gen_params_in.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn with_after_types(generics: &'a Generics,in_what: InWhat,after_types:AL)->Self{ [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | after_types:Some(after_types), [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/sabi_extern_fn_impl.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn sabi_extern_fn(attr: TokenStream1, item: TokenStream1) -> TokenStream1 { [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] 14 | / sabi_extern_fn_inner( [INFO] [stdout] 15 | | attr.into(), [INFO] [stdout] 16 | | syn::parse::(item).unwrap(), [INFO] [stdout] 17 | | ).into() [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/stable_abi.rs:455:23 [INFO] [stdout] | [INFO] [stdout] 450 | ty:T, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 455 | ToTokenFnMut::new(move|ts|{ [INFO] [stdout] | _______________________^ [INFO] [stdout] 456 | | to_stream!{ts; [INFO] [stdout] 457 | | ct.make_get_abi_info_sa, [INFO] [stdout] 458 | | ct.colon2, [INFO] [stdout] ... | [INFO] [stdout] 462 | | }; [INFO] [stdout] 463 | | }) [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/stable_abi.rs:473:23 [INFO] [stdout] | [INFO] [stdout] 468 | ty:T, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 473 | ToTokenFnMut::new(move|ts|{ [INFO] [stdout] | _______________________^ [INFO] [stdout] 474 | | to_stream!{ts; [INFO] [stdout] 475 | | ct.make_get_abi_info_uf, [INFO] [stdout] 476 | | ct.colon2, [INFO] [stdout] ... | [INFO] [stdout] 480 | | }; [INFO] [stdout] 481 | | }) [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/stable_abi.rs:498:23 [INFO] [stdout] | [INFO] [stdout] 492 | mut fields:impl Iterator>+'a, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 498 | ToTokenFnMut::new(move|ts|{ [INFO] [stdout] | _______________________^ [INFO] [stdout] 499 | | to_stream!(ts;ctokens.tl_fields,ctokens.colon2,ctokens.new); [INFO] [stdout] 500 | | ctokens.paren.surround(ts,|ts|{ [INFO] [stdout] 501 | | let fields=fields.by_ref().collect::>(); [INFO] [stdout] 502 | | fields_tokenizer_inner(ds,fields,variant_length,config,arenas,ctokens,ts); [INFO] [stdout] 503 | | }); [INFO] [stdout] 504 | | }) [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: unused borrow that must be used [INFO] [stdout] --> src/stable_abi/attribute_parsing.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | / &[ [INFO] [stdout] 205 | | "Self: ::std::ops::Deref", [INFO] [stdout] 206 | | "::Target:__SharedStableAbi", [INFO] [stdout] 207 | | ].iter() [INFO] [stdout] 208 | | .map(|x| syn::parse_str::(x).unwrap() ) [INFO] [stdout] 209 | | .extending(&mut this.extra_bounds); [INFO] [stdout] | |___________________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 204 | let _ = &[ [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/stable_abi/attribute_parsing.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 208 | .map(|x| syn::parse_str::(x).unwrap() ) [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/stable_abi/attribute_parsing.rs:417:11 [INFO] [stdout] | [INFO] [stdout] 414 | attr: Meta, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 417 | match (pctx, attr) { [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/stable_abi/repr_attrs.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 173 | exprs:I, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | let mut exprs=exprs.into_iter(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | [INFO] [stdout] 181 | ToTokenFnMut::new(move|ts|{ [INFO] [stdout] | ___________________________^ [INFO] [stdout] 182 | | let int_repr=match self { [INFO] [stdout] 183 | | ReprAttr::C(x)=>x, [INFO] [stdout] 184 | | ReprAttr::Int(x)=>Some(x), [INFO] [stdout] ... | [INFO] [stdout] 206 | | }); [INFO] [stdout] 207 | | }) [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/stable_abi/repr_attrs.rs:221:27 [INFO] [stdout] | [INFO] [stdout] 213 | exprs:I, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | let mut exprs=exprs.into_iter(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | [INFO] [stdout] 221 | ToTokenFnMut::new(move|ts|{ [INFO] [stdout] | ___________________________^ [INFO] [stdout] 222 | | ctokens.and_.to_tokens(ts); [INFO] [stdout] 223 | | ctokens.bracket.surround(ts,|ts|{ [INFO] [stdout] 224 | | tokenize_discriminant_exprs_inner(&mut exprs,ctokens,ts); [INFO] [stdout] 225 | | }); [INFO] [stdout] 226 | | }) [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/stable_abi/tl_function.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 32 | let mut tv = TypeVisitor::new(arenas, ctokens.as_ref(), ds.generics); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let mut fn_ptr_count = 0; [INFO] [stdout] 34 | let map=FieldMap::>::with(ds,|field|{ [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | fn_info: tv.into_fn_info(), [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/to_token_fn.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn new(f: F) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Self { [INFO] [stdout] 16 | func: RefCell::new(f), [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: multiple fields are never read [INFO] [stdout] --> src/stable_abi/common_tokens.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct CommonTokens<'a>{ [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) unit_ret:FnParamRet<'a>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | / declare_common_tokens! { [INFO] [stdout] 80 | | with_new[ [INFO] [stdout] 81 | | start_len_tokens=crate::common_tokens::StartLenTokens, [INFO] [stdout] 82 | | fn_pointer_tokens=crate::common_tokens::FnPointerTokens, [INFO] [stdout] ... | [INFO] [stdout] 87 | | dot=Dot, [INFO] [stdout] | | ^^^ [INFO] [stdout] ... | [INFO] [stdout] 90 | | bang=Bang, [INFO] [stdout] | | ^^^^ [INFO] [stdout] 91 | | comma=Comma, [INFO] [stdout] 92 | | semicolon=Semi, [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 93 | | colon=Colon, [INFO] [stdout] | | ^^^^^ [INFO] [stdout] 94 | | colon2=Colon2, [INFO] [stdout] 95 | | brace=Brace, [INFO] [stdout] | | ^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 98 | | pound=Pound, [INFO] [stdout] | | ^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 101 | | as_=As, [INFO] [stdout] | | ^^^ [INFO] [stdout] ... | [INFO] [stdout] 105 | | ts_empty="", [INFO] [stdout] | | ^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 114 | | cratename="abi_stable", [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 119 | | tl_field="__TLField", [INFO] [stdout] | | ^^^^^^^^ [INFO] [stdout] 120 | | tl_functions="__TLFunctions", [INFO] [stdout] | | ^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 125 | | struct_="struct", [INFO] [stdout] | | ^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 128 | | enum_under="enum_derive", [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] 129 | | prefix_type="prefix_type_derive", [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] 130 | | cap_repr_transparent="ReprTransparent", [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | | cap_prefix_type="PrefixType", [INFO] [stdout] | | ^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | | new="new", [INFO] [stdout] 133 | | env="env", [INFO] [stdout] | | ^^^ [INFO] [stdout] 134 | | name="name", [INFO] [stdout] | | ^^^^ [INFO] [stdout] 135 | | fields="fields", [INFO] [stdout] | | ^^^^^^ [INFO] [stdout] 136 | | get_abi_info="__GetAbiInfo", [INFO] [stdout] | | ^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 142 | | instantiate_field="instantiate_field", [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | | lifetime_indices="lifetime_indices", [INFO] [stdout] | | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | | make_get_abi_info="__MakeGetAbiInfo", [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | | stable_abi="__StableAbi", [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] 146 | | shared_stable_abi="__SharedStableAbi", [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | | type_identity="TypeIdentity", [INFO] [stdout] | | ^^^^^^^^^^^^^ [INFO] [stdout] 148 | | marker_type="MarkerType", [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] 149 | | assert_zero_sized="__assert_zero_sized", [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | | abi_info="ABI_INFO", [INFO] [stdout] | | ^^^^^^^^ [INFO] [stdout] 151 | | get="get", [INFO] [stdout] | | ^^^ [INFO] [stdout] 152 | | stable_abi_bound="__StableAbi_Bound", [INFO] [stdout] | | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 157 | | sabi_reexports="_sabi_reexports", [INFO] [stdout] | | ^^^^^^^^^^^^^^ [INFO] [stdout] 158 | | cmp_ignored="__CmpIgnored", [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] 159 | | lifetime_index="__LifetimeIndex", [INFO] [stdout] | | ^^^^^^^^^^^^^^ [INFO] [stdout] 160 | | static_equivalent="__GetStaticEquivalent", [INFO] [stdout] 161 | | cap_static="Static", [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] 162 | | cap_param="Param", [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 163 | | cap_const="CONST", [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 166 | | subfields="subfields", [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 167 | | with_functions="with_functions", [INFO] [stdout] | | ^^^^^^^^^^^^^^ [INFO] [stdout] 168 | | underscore="_", [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] 169 | | for_="for", [INFO] [stdout] | | ^^^^ [INFO] [stdout] 170 | | static_="static", [INFO] [stdout] | | ^^^^^^^ [INFO] [stdout] 171 | | stringify_="stringify", [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 175 | | underscore_lt="'_", [INFO] [stdout] | | ^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 180 | | c_abi_lit="C", [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 181 | | ] [INFO] [stdout] 182 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `CommonTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `declare_common_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [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/sabi_trait/attribute_parsing.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 31 | this: SabiTraitAttrs<'a>, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | / TraitDefinition::new( [INFO] [stdout] 39 | | trait_, [INFO] [stdout] 40 | | this.attrs, [INFO] [stdout] 41 | | this.methods_with_attrs, [INFO] [stdout] ... | [INFO] [stdout] 44 | | ctokens, [INFO] [stdout] 45 | | ), [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/sabi_trait/attribute_parsing.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 211 | attr: Meta, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | match (pctx, attr) { [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/sabi_trait/trait_definition.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 83 | attrs:OwnedDeriveAndOtherAttrs, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | methods_with_attrs:Vec>, [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let mut assoc_tys=HashMap::default(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let mut methods=Vec::>::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let lifetime_params:HashSet<&'a Lifetime>= [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | impld_traits, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | let ts_fq_self={ [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | let (_,generics_params,_)=trait_.generics.split_for_impl(); [INFO] [stdout] 168 | quote!( <_OrigPtr::Target as __Trait #generics_params >:: ) [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | where_preds:trait_.generics.where_clause.as_ref() [INFO] [stdout] | _________________________^ [INFO] [stdout] 176 | | .map(|wc| wc.predicates.clone() ) [INFO] [stdout] 177 | | .unwrap_or_default(), [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/sabi_trait/trait_definition.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 341 | mwa:MethodWithAttrs<'a>, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 364 | let mut input_iter=decl.inputs.iter(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | let output=match &decl.output { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | let mut ty=(**ty).clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 396 | Some(Self{ [INFO] [stdout] | ______________^ [INFO] [stdout] 397 | | item:&mwa.item, [INFO] [stdout] 398 | | unsafety:method_signature.unsafety.as_ref(), [INFO] [stdout] 399 | | abi:method_signature.abi.as_ref(), [INFO] [stdout] ... | [INFO] [stdout] 435 | | ctokens, [INFO] [stdout] 436 | | }) [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 `name` is never read [INFO] [stdout] --> src/sabi_trait/attribute_parsing.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 98 | TraitAttr{ [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 99 | name:&'a Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/sabi_trait/common_tokens.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct CommonTokens{ [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | makevtable_typarams="IA,_Self,_ErasedPtr,_OrigPtr,", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | vtable_typarams="_Self,_ErasedPtr,", [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | trait_obj_typarams="'lt,_ErasedPtr", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | ts_self ="Self", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 108 | ts_uself="_Self,", [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | ts_lt_self_erasability="'lt,_Self,Erasability,", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | ts_lt_rbox="'lt,__sabi_re::RBox<()>,", [INFO] [stdout] 116 | ts_lt_origptr_erasability="'lt,_OrigPtr,Erasability,", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 117 | ts_lt_uself_erasability="'lt,_Self,Erasability,", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 118 | ts_lt_rbox_uself_erasability="'lt,__sabi_re::RBox<_Self>,Erasability,", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | ts_make_vtable_args="Erasability,_OrigPtr::Target,_OrigPtr::TransmutedPtr,_OrigPtr,", [INFO] [stdout] 120 | ts_lt_transptr="'lt,_OrigPtr::TransmutedPtr,", [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 121 | ts_lt_erasedptr="'lt,_ErasedPtr,", [INFO] [stdout] 122 | ts_lt_de_erasedptr="'lt,'de,_ErasedPtr,", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | ts_erasedptr="_ErasedPtr,", [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | empty_tuple="()", [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | default_trait="__DefaultTrait", [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 141 | the_trait="__Trait", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 142 | u_erased_ptr="_ErasedPtr", [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 143 | nope_ident="__NOPE__", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 144 | self_ident="self", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 145 | uself_ident="_self", [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 146 | u_capself="_Self", [INFO] [stdout] 147 | capself="Self", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | c_abi_lit="C", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `declare_common_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/sabi_trait/trait_definition.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct AssocTyWithIndex{ [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 36 | pub index:usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssocTyWithIndex` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item` and `arenas` are never read [INFO] [stdout] --> src/sabi_trait/trait_definition.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) struct TraitDefinition<'a>{ [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 46 | pub(crate) item:&'a ItemTrait, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) arenas:&'a Arenas, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraitDefinition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item`, `vis`, and `ctokens` are never read [INFO] [stdout] --> src/sabi_trait/trait_definition.rs:306:16 [INFO] [stdout] | [INFO] [stdout] 305 | pub(crate) struct TraitMethod<'a>{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 306 | pub(crate) item:&'a syn::TraitItemMethod, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub(crate) vis:&'a Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub(crate) ctokens:&'a CommonTokens, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraitMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bound` and `lifetime` are never read [INFO] [stdout] --> src/sabi_trait/trait_definition.rs:533:16 [INFO] [stdout] | [INFO] [stdout] 532 | pub(crate) struct DeserializeBound<'a>{ [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 533 | pub(crate) bound:&'a syn::TraitBound, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 534 | pub(crate) lifetime:&'a syn::Lifetime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeserializeBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `which_trait` and `name` are never read [INFO] [stdout] --> src/sabi_trait/trait_definition.rs:551:16 [INFO] [stdout] | [INFO] [stdout] 550 | pub(crate) struct TraitImplness<'a>{ [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 551 | pub(crate) which_trait:WhichTrait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 552 | pub(crate) name:&'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraitImplness` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/macros.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | ( $e:expr ) => ({ [INFO] [stdout] | _____________________^ [INFO] [stdout] 13 | | $e [INFO] [stdout] 14 | | // let (dur,val)= ::core_extensions::measure_time::measure(||$e); [INFO] [stdout] 15 | | // println!("{}-{}:taken {} to run",file!(),line!(),dur); [INFO] [stdout] 16 | | // val [INFO] [stdout] 17 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn derive_stable_abi(input: TokenStream1) -> TokenStream1 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let input = syn::parse::(input).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | / measure!({ [INFO] [stdout] 78 | | stable_abi::derive(input) [INFO] [stdout] 79 | | }).into() [INFO] [stdout] | |______- in this macro invocation [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] = note: this error originates in the macro `measure` (in Nightly builds, run with -Z macro-backtrace for more info) [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:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn impl_InterfaceType(input: TokenStream1) -> TokenStream1{ [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | let input = syn::parse::(input).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | impl_interfacetype::the_macro(input).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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:106:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn derive_sabi_trait(_attr: TokenStream1, item: TokenStream1) -> TokenStream1{ [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] 105 | let item = syn::parse::(item).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | sabi_trait::derive_sabi_trait(item).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/macros.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | ( $e:expr ) => ({ [INFO] [stdout] | _____________________^ [INFO] [stdout] 13 | | $e [INFO] [stdout] 14 | | // let (dur,val)= ::core_extensions::measure_time::measure(||$e); [INFO] [stdout] 15 | | // println!("{}-{}:taken {} to run",file!(),line!(),dur); [INFO] [stdout] 16 | | // val [INFO] [stdout] 17 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn derive_get_static_equivalent(input: TokenStream1) -> TokenStream1 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | let input = syn::parse::(input).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | / measure!({ [INFO] [stdout] 120 | | get_static_equivalent::derive(input) [INFO] [stdout] 121 | | }).into() [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `measure` (in Nightly builds, run with -Z macro-backtrace for more info) [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/get_static_equivalent.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 49 | extra_bounds:TokenStream2, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | ) -> impl ToTokens+'a { [INFO] [stdout] 51 | ToTokenFnMut::new(move|ts|{ [INFO] [stdout] | _______________________^ [INFO] [stdout] 52 | | let lifetimes=&generics.lifetimes().map(|x|&x.lifetime).collect::>(); [INFO] [stdout] 53 | | let type_params=&generics.type_params().map(|x|&x.ident).collect::>(); [INFO] [stdout] 54 | | let const_params=&generics.const_params().map(|x|&x.ident).collect::>(); [INFO] [stdout] ... | [INFO] [stdout] 119 | | ).to_tokens(ts); [INFO] [stdout] 120 | | }) [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/datastructure.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 69 | let enum_ = match ast.data { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | path: quote! { #name:: }, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | lifetime_count:ast.generics.lifetimes().count(), [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/datastructure.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 360 | fields: I, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | / fields [INFO] [stdout] 367 | | .into_iter() [INFO] [stdout] 368 | | .enumerate() [INFO] [stdout] 369 | | .map(|(pos, f)|{ [INFO] [stdout] ... | [INFO] [stdout] 372 | | Field::new(fi, f, p.name.span(),p.override_vis) [INFO] [stdout] 373 | | }) [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/datastructure/field_map.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn with<'a,F>(ds:&'a DataStructure<'a>,mut f:F)->Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | fields:ds.variants [INFO] [stdout] | ____________________^ [INFO] [stdout] 33 | | .iter() [INFO] [stdout] 34 | | .map(|vari|{ [INFO] [stdout] 35 | | vari.fields.iter().map(&mut f).collect::>() [INFO] [stdout] 36 | | }) [INFO] [stdout] 37 | | .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/datastructure/field_map.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 48 | .map(|(var_i,variant)|{ [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | / variant [INFO] [stdout] 50 | | .into_iter() [INFO] [stdout] 51 | | .enumerate() [INFO] [stdout] 52 | | .map(|(pos,v)|{ [INFO] [stdout] ... | [INFO] [stdout] 57 | | f(index,v) [INFO] [stdout] 58 | | }) [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/fn_pointer_extractor.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 71 | let unit=syn::TypeTuple{ [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | ty:arenas.alloc( syn::Type::from(unit) ), [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/impl_interfacetype.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn map(self,mut f:F)->TraitStruct [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] 152 | $($field:f(WhichTrait::$which_trait,self.$field),)* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | / usable_traits!{ [INFO] [stdout] 185 | | clone=(Clone,"::std::clone::Clone",false,UB::ROBJECT_AND_DYN_TRAIT), [INFO] [stdout] 186 | | default=(Default,"::std::default::Default",false,UB::DYN_TRAIT), [INFO] [stdout] 187 | | display=(Display,"::std::fmt::Display",false,UB::DYN_TRAIT), [INFO] [stdout] ... | [INFO] [stdout] 207 | | error=(Error,"::std::error::Error",false,UB::DYN_TRAIT), [INFO] [stdout] 208 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `usable_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gen_params_in.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn with_after_lifetimes(generics: &'a Generics,in_what: InWhat,after_lifetimes:AL)->Self{ [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | after_lifetimes:Some(after_lifetimes), [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/gen_params_in.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn with_after_lifetimes(generics: &'a Generics,in_what: InWhat,after_lifetimes:AL)->Self{ [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | after_types:None, [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/gen_params_in.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn with_after_types(generics: &'a Generics,in_what: InWhat,after_types:AL)->Self{ [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | after_lifetimes:None, [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/gen_params_in.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn with_after_types(generics: &'a Generics,in_what: InWhat,after_types:AL)->Self{ [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | after_types:Some(after_types), [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/sabi_extern_fn_impl.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn sabi_extern_fn(attr: TokenStream1, item: TokenStream1) -> TokenStream1 { [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] 14 | / sabi_extern_fn_inner( [INFO] [stdout] 15 | | attr.into(), [INFO] [stdout] 16 | | syn::parse::(item).unwrap(), [INFO] [stdout] 17 | | ).into() [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/stable_abi.rs:455:23 [INFO] [stdout] | [INFO] [stdout] 450 | ty:T, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 455 | ToTokenFnMut::new(move|ts|{ [INFO] [stdout] | _______________________^ [INFO] [stdout] 456 | | to_stream!{ts; [INFO] [stdout] 457 | | ct.make_get_abi_info_sa, [INFO] [stdout] 458 | | ct.colon2, [INFO] [stdout] ... | [INFO] [stdout] 462 | | }; [INFO] [stdout] 463 | | }) [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/stable_abi.rs:473:23 [INFO] [stdout] | [INFO] [stdout] 468 | ty:T, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 473 | ToTokenFnMut::new(move|ts|{ [INFO] [stdout] | _______________________^ [INFO] [stdout] 474 | | to_stream!{ts; [INFO] [stdout] 475 | | ct.make_get_abi_info_uf, [INFO] [stdout] 476 | | ct.colon2, [INFO] [stdout] ... | [INFO] [stdout] 480 | | }; [INFO] [stdout] 481 | | }) [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/stable_abi.rs:498:23 [INFO] [stdout] | [INFO] [stdout] 492 | mut fields:impl Iterator>+'a, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 498 | ToTokenFnMut::new(move|ts|{ [INFO] [stdout] | _______________________^ [INFO] [stdout] 499 | | to_stream!(ts;ctokens.tl_fields,ctokens.colon2,ctokens.new); [INFO] [stdout] 500 | | ctokens.paren.surround(ts,|ts|{ [INFO] [stdout] 501 | | let fields=fields.by_ref().collect::>(); [INFO] [stdout] 502 | | fields_tokenizer_inner(ds,fields,variant_length,config,arenas,ctokens,ts); [INFO] [stdout] 503 | | }); [INFO] [stdout] 504 | | }) [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: unused borrow that must be used [INFO] [stdout] --> src/stable_abi/attribute_parsing.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | / &[ [INFO] [stdout] 205 | | "Self: ::std::ops::Deref", [INFO] [stdout] 206 | | "::Target:__SharedStableAbi", [INFO] [stdout] 207 | | ].iter() [INFO] [stdout] 208 | | .map(|x| syn::parse_str::(x).unwrap() ) [INFO] [stdout] 209 | | .extending(&mut this.extra_bounds); [INFO] [stdout] | |___________________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 204 | let _ = &[ [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/stable_abi/attribute_parsing.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 208 | .map(|x| syn::parse_str::(x).unwrap() ) [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/stable_abi/attribute_parsing.rs:417:11 [INFO] [stdout] | [INFO] [stdout] 414 | attr: Meta, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 417 | match (pctx, attr) { [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/stable_abi/repr_attrs.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 173 | exprs:I, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | let mut exprs=exprs.into_iter(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | [INFO] [stdout] 181 | ToTokenFnMut::new(move|ts|{ [INFO] [stdout] | ___________________________^ [INFO] [stdout] 182 | | let int_repr=match self { [INFO] [stdout] 183 | | ReprAttr::C(x)=>x, [INFO] [stdout] 184 | | ReprAttr::Int(x)=>Some(x), [INFO] [stdout] ... | [INFO] [stdout] 206 | | }); [INFO] [stdout] 207 | | }) [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/stable_abi/repr_attrs.rs:221:27 [INFO] [stdout] | [INFO] [stdout] 213 | exprs:I, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | let mut exprs=exprs.into_iter(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | [INFO] [stdout] 221 | ToTokenFnMut::new(move|ts|{ [INFO] [stdout] | ___________________________^ [INFO] [stdout] 222 | | ctokens.and_.to_tokens(ts); [INFO] [stdout] 223 | | ctokens.bracket.surround(ts,|ts|{ [INFO] [stdout] 224 | | tokenize_discriminant_exprs_inner(&mut exprs,ctokens,ts); [INFO] [stdout] 225 | | }); [INFO] [stdout] 226 | | }) [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/stable_abi/tl_function.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 32 | let mut tv = TypeVisitor::new(arenas, ctokens.as_ref(), ds.generics); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let mut fn_ptr_count = 0; [INFO] [stdout] 34 | let map=FieldMap::>::with(ds,|field|{ [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | fn_info: tv.into_fn_info(), [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/to_token_fn.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn new(f: F) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Self { [INFO] [stdout] 16 | func: RefCell::new(f), [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/sabi_trait/attribute_parsing.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 31 | this: SabiTraitAttrs<'a>, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | / TraitDefinition::new( [INFO] [stdout] 39 | | trait_, [INFO] [stdout] 40 | | this.attrs, [INFO] [stdout] 41 | | this.methods_with_attrs, [INFO] [stdout] ... | [INFO] [stdout] 44 | | ctokens, [INFO] [stdout] 45 | | ), [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/sabi_trait/attribute_parsing.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 211 | attr: Meta, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | match (pctx, attr) { [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/sabi_trait/trait_definition.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 83 | attrs:OwnedDeriveAndOtherAttrs, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | methods_with_attrs:Vec>, [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let mut assoc_tys=HashMap::default(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let mut methods=Vec::>::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let lifetime_params:HashSet<&'a Lifetime>= [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | impld_traits, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | let ts_fq_self={ [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | let (_,generics_params,_)=trait_.generics.split_for_impl(); [INFO] [stdout] 168 | quote!( <_OrigPtr::Target as __Trait #generics_params >:: ) [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | where_preds:trait_.generics.where_clause.as_ref() [INFO] [stdout] | _________________________^ [INFO] [stdout] 176 | | .map(|wc| wc.predicates.clone() ) [INFO] [stdout] 177 | | .unwrap_or_default(), [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 29 previous errors; 12 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/sabi_trait/trait_definition.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 341 | mwa:MethodWithAttrs<'a>, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 364 | let mut input_iter=decl.inputs.iter(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | let output=match &decl.output { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | let mut ty=(**ty).clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 396 | Some(Self{ [INFO] [stdout] | ______________^ [INFO] [stdout] 397 | | item:&mwa.item, [INFO] [stdout] 398 | | unsafety:method_signature.unsafety.as_ref(), [INFO] [stdout] 399 | | abi:method_signature.abi.as_ref(), [INFO] [stdout] ... | [INFO] [stdout] 435 | | ctokens, [INFO] [stdout] 436 | | }) [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 `abi_stable_derive_lib` (lib) due to 30 previous errors; 12 warnings emitted [INFO] [stdout] error: aborting due to 29 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `abi_stable_derive_lib` (lib test) due to 30 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2a4bc665deff45fa1fdac9edb2cc59bd911f39989f16a0ad09b2f8f43f149f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a4bc665deff45fa1fdac9edb2cc59bd911f39989f16a0ad09b2f8f43f149f95", kill_on_drop: false }` [INFO] [stdout] 2a4bc665deff45fa1fdac9edb2cc59bd911f39989f16a0ad09b2f8f43f149f95