[INFO] fetching crate abi_stable_derive 0.11.3... [INFO] checking abi_stable_derive-0.11.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate abi_stable_derive 0.11.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate abi_stable_derive 0.11.3 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate abi_stable_derive 0.11.3 [INFO] finished tweaking crates.io crate abi_stable_derive 0.11.3 [INFO] tweaked toml for crates.io crate abi_stable_derive 0.11.3 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 23 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.7.20 (latest: v1.1.3) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding ron v0.7.1 (latest: v0.8.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [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] a8c2ff54d9235d0ec8057d53853b6cbe1e388a53e5a8d2595c418ea1a41ad021 [INFO] running `Command { std: "docker" "start" "-a" "a8c2ff54d9235d0ec8057d53853b6cbe1e388a53e5a8d2595c418ea1a41ad021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8c2ff54d9235d0ec8057d53853b6cbe1e388a53e5a8d2595c418ea1a41ad021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8c2ff54d9235d0ec8057d53853b6cbe1e388a53e5a8d2595c418ea1a41ad021", kill_on_drop: false }` [INFO] [stdout] a8c2ff54d9235d0ec8057d53853b6cbe1e388a53e5a8d2595c418ea1a41ad021 [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] 4786fe2da82eb65dd53cb124ba9e534ae34ba1e25f354bd7ec39c03a30bb74b8 [INFO] running `Command { std: "docker" "start" "-a" "4786fe2da82eb65dd53cb124ba9e534ae34ba1e25f354bd7ec39c03a30bb74b8", 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 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking core_extensions v1.5.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking abi_stable_shared v0.11.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking as_derive_utils v0.11.0 [INFO] [stderr] Checking abi_stable_derive v0.11.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `passed_tests` [INFO] [stdout] --> src/my_visibility.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[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:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[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:36:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait AllocMethods{ [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 36 | fn alloc_extend(&self, iterable: I) -> &[T] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn alloc_extend_mut(&self, iterable: I) -> &mut [T] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | / declare_arenas! { [INFO] [stdout] 69 | | vec_meta: Vec, [INFO] [stdout] 70 | | vec_expr: Vec, [INFO] [stdout] 71 | | ident: syn::Ident, [INFO] [stdout] ... | [INFO] [stdout] 82 | | paths: syn::Path, [INFO] [stdout] 83 | | } [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 `index` is never read [INFO] [stdout] --> src/sabi_trait/trait_definition.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct AssocTyWithIndex { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 38 | 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] 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:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | 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] 14 | parse_or_compile_err(input, stable_abi::derive).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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | 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] 21 | parse_or_compile_err(input, impl_interfacetype::the_macro).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:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn 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] 36 | parse_or_compile_err(item, sabi_trait::derive_sabi_trait).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:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn concatenated_and_ranges(input: TokenStream1) -> TokenStream1 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | parse_or_compile_err(input, concat_and_ranges::macro_impl).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:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | 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] 47 | parse_or_compile_err(input, get_static_equivalent::derive).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:155:5 [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_or_compile_err(input: TokenStream1, f: F) -> TokenStream2 [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] 155 | / syn::parse::

(input) [INFO] [stdout] 156 | | .and_then(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/concat_and_ranges.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 27 | let variable = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Ok(Self { variable, string }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/concat_and_ranges.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 37 | let concatenated = input.parse::()?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | [INFO] [stdout] 39 | let paren_tokens; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let _ = syn::parenthesized!(paren_tokens in input); [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | [INFO] [stdout] 42 | let strings = paren_tokens.parse_terminated(Parse::parse)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | [INFO] [stdout] 44 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 45 | | concatenated, [INFO] [stdout] 46 | | strings, [INFO] [stdout] 47 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/export_root_module_impl.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn export_root_module_attr(_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] 15 | parse_or_compile_err(item, export_root_module_inner).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/get_static_equivalent.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 45 | extra_bounds: TokenStream2, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | ) -> impl ToTokens + 'a { [INFO] [stdout] 47 | ToTokenFnMut::new(move |ts| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 48 | | let lifetimes = &generics [INFO] [stdout] 49 | | .lifetimes() [INFO] [stdout] 50 | | .map(|x| &x.lifetime) [INFO] [stdout] ... | [INFO] [stdout] 122 | | .to_tokens(ts); [INFO] [stdout] 123 | | }) [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:159:30 [INFO] [stdout] | [INFO] [stdout] 155 | 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] 159 | $($field:f(WhichTrait::$which_trait,self.$field),)* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | / usable_traits! { [INFO] [stdout] 194 | | clone=(Clone,"::std::clone::Clone",false,UB::ROBJECT_AND_DYN_TRAIT), [INFO] [stdout] 195 | | default=(Default,"::std::default::Default",false,UB::DYN_TRAIT), [INFO] [stdout] 196 | | display=(Display,"::std::fmt::Display",false,UB::ROBJECT_AND_DYN_TRAIT), [INFO] [stdout] ... | [INFO] [stdout] 217 | | unpin=(Unpin,"::std::marker::Unpin",false,UB::ROBJECT_AND_DYN_TRAIT), [INFO] [stdout] 218 | | } [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/impl_interfacetype/attribute_parsing.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 23 | let trait_map = TRAIT_LIST [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let mut impld = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let mut unimpld = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Ok(ImplInterfaceType { impld, unimpld }) [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/literals_constructors.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn rslice_tokenizer<'a, I, T>(iter: I) -> impl ToTokens + 'a [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | let mut iter = iter.into_iter(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | ToTokenFnMut::new(move |ts| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 16 | | let iter = &mut iter; [INFO] [stdout] 17 | | ts.append_all(quote!( [INFO] [stdout] 18 | | abi_stable::std_types::RSlice::from_slice(&[ #( #iter, )* ]) [INFO] [stdout] 19 | | )); [INFO] [stdout] 20 | | }) [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/literals_constructors.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn rstr_tokenizer(string: S) -> impl ToTokens [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | ToTokenFnMut::new(move |ts| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 29 | | let string = string.as_ref(); [INFO] [stdout] 30 | | [INFO] [stdout] 31 | | ts.append_all(quote!( abi_stable::std_types::RStr::from_str(#string) )); [INFO] [stdout] 32 | | }) [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:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 18 | parse_or_compile_err(item, move |item| sabi_extern_fn_inner(attr.into(), 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/sabi_extern_fn_impl.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 18 | parse_or_compile_err(item, move |item| sabi_extern_fn_inner(attr.into(), item)).into() [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sabi_extern_fn_impl.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn sabi_extern_fn_inner(attr: TokenStream2, mut item: ItemFn) -> Result { [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] 66 | Some(tt) => return_spanned_err!(tt, "Unrecognized `#[sabi_extern_fn]` parameter",), [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(item.into_token_stream()) [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:487:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn derive(mut data: DeriveInput) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let arenas = Arenas::default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let arenas = &arenas; [INFO] [stdout] 71 | let ctokens = CommonTokens::new(arenas); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let where_clause = (&where_clause.expect("BUG").predicates).into_iter(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let where_clause_b = where_clause.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let impld_stable_abi_trait = match &config.kind { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let impl_ty = match &config.kind { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | StabilityKind::Value { .. } => quote!(#name <#ty_generics> ), [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | quote!(#n <#ty_generics> ) [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | quote!(#marker < #name <#ty_generics> , __Storage > ) [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let mut prefix_type_trait_bound = None; [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | let size_align_for = match &config.kind { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | StabilityKind::NonExhaustive(_) => { [INFO] [stdout] 134 | quote!(__Storage) [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | prefix_type_trait_bound = Some(quote!( [INFO] [stdout] | ____________________________________________- [INFO] [stdout] 140 | | #name <#ty_generics>:__sabi_re::PrefixTypeTrait, [INFO] [stdout] 141 | | )); [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | quote!( #prefix_fields_struct <#ty_generics> ) [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | } [INFO] [stdout] 146 | StabilityKind::Value { .. } => quote!(Self), [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let tags_const; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let tags_arg; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | let extra_checks_const; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let extra_checks_arg; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 212 | let nonexhaustive_items = tokenize_nonexhaustive_items(ds, config, ctokens); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | let nonexhaustive_tokens = tokenize_enum_info(ds, variant_names_start_len, config, ctokens)?; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | [INFO] [stdout] 217 | let is_nonzero = if is_transparent && !visited_fields.map.is_empty() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | quote!(__sabi_re::True) [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 223 | } else if is_opaque_field { [INFO] [stdout] 224 | quote!(__sabi_re::False) [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | quote!( <#ty as __StableAbi>::IsNonZeroType ) [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | quote!(__sabi_re::False) [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 235 | let mono_tl_data; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | // The tokens for the GenericTLData stored in the TypeLayout [INFO] [stdout] 237 | let generic_tl_data; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | let static_struct_name = Ident::new(&format!("_static_{}", name), Span::call_site()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | [INFO] [stdout] 335 | let item_info_const = Ident::new(&format!("_item_info_const_{}", name), Span::call_site()); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 336 | [INFO] [stdout] 337 | let static_struct_decl = { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 338 | let const_param_name = generics.const_params().map(|c| &c.ident); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 339 | let const_param_type = generics.const_params().map(|c| &c.ty); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | / quote! { [INFO] [stdout] 346 | | #doc_hidden_attr [INFO] [stdout] 347 | | pub struct #static_struct_name< [INFO] [stdout] 348 | | #(#lifetimes_a,)* [INFO] [stdout] 349 | | #(#type_params_a:?Sized,)* [INFO] [stdout] 350 | | #(const #const_param_name:#const_param_type,)* [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] 354 | | ); [INFO] [stdout] 355 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | | let interfacetype_tokenizer = [INFO] [stdout] | | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 363 | | let stringified_name = rstr_tokenizer(name.to_string()); [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 385 | | prefixref_types, [INFO] [stdout] | | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 386 | | prefixref_impls, [INFO] [stdout] | | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 389 | | let mod_refl_mode = match config.mod_refl_mode { [INFO] [stdout] | | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 390 | | ModReflMode::Module => quote!(__ModReflMode::Module), [INFO] [stdout] | | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 391 | | ModReflMode::Opaque => quote!(__ModReflMode::Opaque), [INFO] [stdout] | | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 392 | | ModReflMode::DelegateDeref(field_index) => { [INFO] [stdout] 393 | / quote!( [INFO] [stdout] 394 | | __ModReflMode::DelegateDeref{ [INFO] [stdout] 395 | | phantom_field_index:#field_index [INFO] [stdout] 396 | | } [INFO] [stdout] 397 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 417 | | let phantom_fields = rslice_tokenizer(&phantom_fields); [INFO] [stdout] | | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 426 | | let mono_shared_vars_tokenizer = shared_vars.mono_shared_vars_tokenizer(); [INFO] [stdout] | | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 429 | | let strings = shared_vars.strings().piped(rstr_tokenizer); [INFO] [stdout] | | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 430 | | [INFO] [stdout] 431 | | let shared_vars_tokenizer = shared_vars.shared_vars_tokenizer(mono_type_layout); [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 435 | let shared_where_preds = quote!( [INFO] [stdout] | _________------------------___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 436 | #(#where_clause_b,)* [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 437 | #(#stable_abi_bounded:__StableAbi,)* [INFO] [stdout] 438 | #(#static_equiv_bounded:__GetStaticEquivalent_,)* [INFO] [stdout] ... [INFO] [stdout] 441 | #prefix_type_trait_bound [INFO] [stdout] 442 | | ); [INFO] [stdout] | |_____- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 443 | [INFO] [stdout] 444 | | let stable_abi_where_preds = shared_where_preds.clone().mutated(|ts| { [INFO] [stdout] | | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 450 | | let prefix_ref_impls = if let StabilityKind::Prefix(prefix) = &config.kind { [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 455 | / quote!( [INFO] [stdout] 456 | | unsafe impl<#generics_header> __sabi_re::GetStaticEquivalent_ [INFO] [stdout] 457 | | for #prefix_ref <#ty_generics> [INFO] [stdout] 458 | | where [INFO] [stdout] ... | [INFO] [stdout] 481 | | } [INFO] [stdout] 482 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 487 | / quote!( [INFO] [stdout] 488 | | #prefixref_types [INFO] [stdout] 489 | | [INFO] [stdout] 490 | | #nonexhaustive_items [INFO] [stdout] ... | [INFO] [stdout] 581 | | } [INFO] [stdout] 582 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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:355:12 [INFO] [stdout] | [INFO] [stdout] 232 | mut this: StableAbiAttrs<'a>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | let mut errors = LinearResult::ok(()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | [INFO] [stdout] 241 | let kind = match this.kind { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | Some(arenas.alloc(quote!(#[doc(hidden)]))) [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 349 | let const_idents = ConstIdents { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | Ok(StableAbiOptions { [INFO] [stdout] | ____________^ [INFO] [stdout] 356 | | debug_print: this.debug_print, [INFO] [stdout] 357 | | kind, [INFO] [stdout] 358 | | repr, [INFO] [stdout] ... | [INFO] [stdout] 375 | | doc_hidden_attr, [INFO] [stdout] 376 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/stable_abi/attribute_parsing.rs:325:26 [INFO] [stdout] | [INFO] [stdout] 325 | .map(|x| syn::parse_str::(x).expect("BUG")) [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:604:13 [INFO] [stdout] | [INFO] [stdout] 600 | let input = input.parse_paren_buffer()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 604 | / input [INFO] [stdout] 605 | | .parse::() [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/stable_abi/attribute_parsing.rs:616:19 [INFO] [stdout] | [INFO] [stdout] 612 | let input = input.parse_paren_buffer()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 616 | match input.parse::>() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/stable_abi/attribute_parsing.rs:1027:31 [INFO] [stdout] | [INFO] [stdout] 1027 | .map(|e| arenas.alloc(Ident::new(e, Span::call_site()))) [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/generic_params.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 37 | let x = type_from_ident(type_param.clone()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | / shared_vars [INFO] [stdout] 43 | | .borrow_mut() [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/generic_params.rs:72:40 [INFO] [stdout] | [INFO] [stdout] 72 | .map(|cp| arenas.alloc(expr_from_ident(cp.ident.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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/nonexhaustive.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 160 | let mut errors = LinearResult::ok(()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 223 | let (default_interface, new_interface) = match unchecked.enum_interface { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 229 | None => (quote!(()), None), [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 258 | | nonexhaustive_alias: parse_ident(&format!("{}_NE", name), None), [INFO] [stdout] 259 | | nonexhaustive_marker: parse_ident(&format!("{}_NEMarker", name), None), [INFO] [stdout] 260 | | enum_storage: parse_ident(&format!("{}_Storage", name), None), [INFO] [stdout] ... | [INFO] [stdout] 268 | | ne_variants, [INFO] [stdout] 269 | | }) [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/nonexhaustive.rs:484:21 [INFO] [stdout] | [INFO] [stdout] 471 | let mut method_name = parse_str_as_ident(&format!("{}_NE", variant.name)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 474 | let method_docs = if vc.is_hidden { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 475 | quote!(#[doc(hidden)]) [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 481 | quote!(#[doc= #v_doc]) [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 484 | / match constructor { [INFO] [stdout] 485 | | VariantConstructor::Regular => { [INFO] [stdout] 486 | | let field_names_a = variant.fields.iter().map(|x| x.pat_ident()); [INFO] [stdout] 487 | | let field_names_b = field_names_a.clone(); [INFO] [stdout] ... | [INFO] [stdout] 524 | | } [INFO] [stdout] 525 | | } [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/nonexhaustive.rs:573:8 [INFO] [stdout] | [INFO] [stdout] 564 | let opt_type_ident = config.repr.type_ident(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 573 | Ok(ToTokenFnMut::new(move |ts| { [INFO] [stdout] | ________^ [INFO] [stdout] 574 | | let this = match &config.kind { [INFO] [stdout] 575 | | StabilityKind::NonExhaustive(x) => x, [INFO] [stdout] 576 | | _ => return, [INFO] [stdout] ... | [INFO] [stdout] 757 | | } [INFO] [stdout] 758 | | })) [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/nonexhaustive.rs:707:26 [INFO] [stdout] | [INFO] [stdout] 707 | .map(|x| x.to_token_stream().to_string()); [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:248:27 [INFO] [stdout] | [INFO] [stdout] 240 | exprs: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 246 | 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] 247 | [INFO] [stdout] 248 | ToTokenFnMut::new(move |ts| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 249 | | let int_repr = match self.variant { [INFO] [stdout] 250 | | Repr::C(x) => x, [INFO] [stdout] 251 | | Repr::Int(x) => Some(x), [INFO] [stdout] ... | [INFO] [stdout] 271 | | }); [INFO] [stdout] 272 | | }) [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:288:27 [INFO] [stdout] | [INFO] [stdout] 280 | exprs: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 286 | 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] 287 | [INFO] [stdout] 288 | ToTokenFnMut::new(move |ts| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 289 | | tokenize_discriminant_exprs_inner(&mut exprs, SliceType::StdSlice, ctokens, ts); [INFO] [stdout] 290 | | }) [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/shared_vars.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn extend_with_idents(&mut self, separator: &str, iter: I) -> StartLen [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | self.push_str_inner(|this| { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 130 | | use std::fmt::Write; [INFO] [stdout] 131 | | let mut last_span = None; [INFO] [stdout] 132 | | for ident in iter { [INFO] [stdout] ... | [INFO] [stdout] 137 | | last_span [INFO] [stdout] 138 | | }) [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/shared_vars.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn extend_with_display(&mut self, separator: &str, iter: I) -> StartLen [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | self.push_str_inner(|this| { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 147 | | use std::fmt::Write; [INFO] [stdout] 148 | | let mut last_span = None; [INFO] [stdout] 149 | | for (elem, span) in iter { [INFO] [stdout] ... | [INFO] [stdout] 154 | | last_span [INFO] [stdout] 155 | | }) [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/shared_vars.rs:388:23 [INFO] [stdout] | [INFO] [stdout] 381 | ty: T, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | ToTokenFnMut::new(move |ts| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 389 | | ty.to_tokens(ts); [INFO] [stdout] 390 | | let opt = match field_transparency { [INFO] [stdout] 391 | | LayoutConstructor::Regular => None, [INFO] [stdout] ... | [INFO] [stdout] 399 | | } [INFO] [stdout] 400 | | }) [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:34:12 [INFO] [stdout] | [INFO] [stdout] 24 | 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] 29 | Some(arenas.alloc(quote!(#[doc(hidden)]))) [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 35 | | debug_print_trait: this.debug_print_trait, [INFO] [stdout] 36 | | debug_output_tokens: this.debug_output_tokens, [INFO] [stdout] 37 | | doc_hidden_attr, [INFO] [stdout] 38 | | trait_definition: TraitDefinition::new(trait_, this, arenas, ctokens)?, [INFO] [stdout] 39 | | }) [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:233:12 [INFO] [stdout] | [INFO] [stdout] 107 | / SabiTraitAttrs { [INFO] [stdout] 108 | | attrs, [INFO] [stdout] 109 | | methods_with_attrs, [INFO] [stdout] 110 | | which_object, [INFO] [stdout] ... | [INFO] [stdout] 113 | | .. [INFO] [stdout] 114 | | }: SabiTraitAttrs<'a>, [INFO] [stdout] | |_____________________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | 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] 121 | 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] 122 | [INFO] [stdout] 123 | let mut errors = LinearResult::ok(()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | let lifetime_params: HashSet<&'a Lifetime> = trait_ [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | impld_traits, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | unimpld_traits, [INFO] [stdout] 154 | mut lifetime_bounds, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | errors: supertrait_errors, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let ts_fq_self = { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 227 | let (_, generics_params, _) = trait_.generics.split_for_impl(); [INFO] [stdout] 228 | quote!( <_OrigPtr::PtrTarget 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] 233 | Ok(TraitDefinition { [INFO] [stdout] | ____________^ [INFO] [stdout] 234 | | item: trait_, [INFO] [stdout] 235 | | name: &trait_.ident, [INFO] [stdout] 236 | | which_object, [INFO] [stdout] ... | [INFO] [stdout] 262 | | ctokens, [INFO] [stdout] 263 | | }) [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:129:23 [INFO] [stdout] | [INFO] [stdout] 128 | .filter_map(|(func, disable_inh_def)| { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | match TraitMethod::new(func, disable_inh_def, ctokens, arenas) { [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:311:34 [INFO] [stdout] | [INFO] [stdout] 269 | let mut this = self.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | let mut errors = LinearResult::ok(()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 274 | [INFO] [stdout] 275 | let replace_with = match which_item { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 311 | errors.into_result().map(|_| this) [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:382:34 [INFO] [stdout] | [INFO] [stdout] 374 | let mut where_preds = self.where_preds.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | let mut errors = LinearResult::ok(()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 382 | errors.into_result().map(|_| where_preds) [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:551:12 [INFO] [stdout] | [INFO] [stdout] 445 | 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] 454 | let mut errors = LinearResult::ok(()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 467 | 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] 491 | 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] 494 | let mut ty: syn::Type = (**ty).clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 527 | let mut params = Vec::>::with_capacity(input_iter.len()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 551 | Ok(Some(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 552 | | disable_inherent_default, [INFO] [stdout] 553 | | unsafety: method_signature.unsafety.as_ref(), [INFO] [stdout] 554 | | abi: method_signature.abi.as_ref(), [INFO] [stdout] ... | [INFO] [stdout] 565 | | semicolon: mwa.item.semi_token.as_ref(), [INFO] [stdout] 566 | | })) [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:723:19 [INFO] [stdout] | [INFO] [stdout] 723 | .map(|t| (parse_str_as_ident(t.name), t.which_trait)) [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:729:16 [INFO] [stdout] | [INFO] [stdout] 729 | ident: parse_str_as_ident(t.name), [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:730:16 [INFO] [stdout] | [INFO] [stdout] 730 | bound: parse_str_as_trait_bound(t.full_path).expect("BUG"), [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 43 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sabi_trait/lifetime_unelider.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | mut ty: Type, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sabi_trait/lifetime_unelider.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut this = LifetimeUnelider::new(&mut self_lifetime); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `abi_stable_derive` (lib) due to 44 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `alloc_extend` and `alloc_extend_mut` are never used [INFO] [stdout] --> src/arenas.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait AllocMethods{ [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 36 | fn alloc_extend(&self, iterable: I) -> &[T] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn alloc_extend_mut(&self, iterable: I) -> &mut [T] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | / declare_arenas! { [INFO] [stdout] 69 | | vec_meta: Vec, [INFO] [stdout] 70 | | vec_expr: Vec, [INFO] [stdout] 71 | | ident: syn::Ident, [INFO] [stdout] ... | [INFO] [stdout] 82 | | paths: syn::Path, [INFO] [stdout] 83 | | } [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 `index` is never read [INFO] [stdout] --> src/sabi_trait/trait_definition.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct AssocTyWithIndex { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 38 | 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] 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:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | 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] 14 | parse_or_compile_err(input, stable_abi::derive).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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | 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] 21 | parse_or_compile_err(input, impl_interfacetype::the_macro).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:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn 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] 36 | parse_or_compile_err(item, sabi_trait::derive_sabi_trait).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:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn concatenated_and_ranges(input: TokenStream1) -> TokenStream1 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | parse_or_compile_err(input, concat_and_ranges::macro_impl).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:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | 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] 47 | parse_or_compile_err(input, get_static_equivalent::derive).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:155:5 [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_or_compile_err(input: TokenStream1, f: F) -> TokenStream2 [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] 155 | / syn::parse::

(input) [INFO] [stdout] 156 | | .and_then(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/concat_and_ranges.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 27 | let variable = input.parse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Ok(Self { variable, string }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/concat_and_ranges.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 37 | let concatenated = input.parse::()?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | [INFO] [stdout] 39 | let paren_tokens; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let _ = syn::parenthesized!(paren_tokens in input); [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | [INFO] [stdout] 42 | let strings = paren_tokens.parse_terminated(Parse::parse)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | [INFO] [stdout] 44 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 45 | | concatenated, [INFO] [stdout] 46 | | strings, [INFO] [stdout] 47 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/export_root_module_impl.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn export_root_module_attr(_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] 15 | parse_or_compile_err(item, export_root_module_inner).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/get_static_equivalent.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 45 | extra_bounds: TokenStream2, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | ) -> impl ToTokens + 'a { [INFO] [stdout] 47 | ToTokenFnMut::new(move |ts| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 48 | | let lifetimes = &generics [INFO] [stdout] 49 | | .lifetimes() [INFO] [stdout] 50 | | .map(|x| &x.lifetime) [INFO] [stdout] ... | [INFO] [stdout] 122 | | .to_tokens(ts); [INFO] [stdout] 123 | | }) [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:159:30 [INFO] [stdout] | [INFO] [stdout] 155 | 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] 159 | $($field:f(WhichTrait::$which_trait,self.$field),)* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | / usable_traits! { [INFO] [stdout] 194 | | clone=(Clone,"::std::clone::Clone",false,UB::ROBJECT_AND_DYN_TRAIT), [INFO] [stdout] 195 | | default=(Default,"::std::default::Default",false,UB::DYN_TRAIT), [INFO] [stdout] 196 | | display=(Display,"::std::fmt::Display",false,UB::ROBJECT_AND_DYN_TRAIT), [INFO] [stdout] ... | [INFO] [stdout] 217 | | unpin=(Unpin,"::std::marker::Unpin",false,UB::ROBJECT_AND_DYN_TRAIT), [INFO] [stdout] 218 | | } [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/impl_interfacetype/attribute_parsing.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 23 | let trait_map = TRAIT_LIST [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let mut impld = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let mut unimpld = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Ok(ImplInterfaceType { impld, unimpld }) [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/literals_constructors.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn rslice_tokenizer<'a, I, T>(iter: I) -> impl ToTokens + 'a [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | let mut iter = iter.into_iter(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | ToTokenFnMut::new(move |ts| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 16 | | let iter = &mut iter; [INFO] [stdout] 17 | | ts.append_all(quote!( [INFO] [stdout] 18 | | abi_stable::std_types::RSlice::from_slice(&[ #( #iter, )* ]) [INFO] [stdout] 19 | | )); [INFO] [stdout] 20 | | }) [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/literals_constructors.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn rstr_tokenizer(string: S) -> impl ToTokens [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | ToTokenFnMut::new(move |ts| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 29 | | let string = string.as_ref(); [INFO] [stdout] 30 | | [INFO] [stdout] 31 | | ts.append_all(quote!( abi_stable::std_types::RStr::from_str(#string) )); [INFO] [stdout] 32 | | }) [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:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 18 | parse_or_compile_err(item, move |item| sabi_extern_fn_inner(attr.into(), 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/sabi_extern_fn_impl.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 18 | parse_or_compile_err(item, move |item| sabi_extern_fn_inner(attr.into(), item)).into() [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sabi_extern_fn_impl.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn sabi_extern_fn_inner(attr: TokenStream2, mut item: ItemFn) -> Result { [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] 66 | Some(tt) => return_spanned_err!(tt, "Unrecognized `#[sabi_extern_fn]` parameter",), [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(item.into_token_stream()) [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:487:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn derive(mut data: DeriveInput) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let arenas = Arenas::default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let arenas = &arenas; [INFO] [stdout] 71 | let ctokens = CommonTokens::new(arenas); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let where_clause = (&where_clause.expect("BUG").predicates).into_iter(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let where_clause_b = where_clause.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let impld_stable_abi_trait = match &config.kind { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let impl_ty = match &config.kind { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | StabilityKind::Value { .. } => quote!(#name <#ty_generics> ), [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | quote!(#n <#ty_generics> ) [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | quote!(#marker < #name <#ty_generics> , __Storage > ) [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let mut prefix_type_trait_bound = None; [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | let size_align_for = match &config.kind { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | StabilityKind::NonExhaustive(_) => { [INFO] [stdout] 134 | quote!(__Storage) [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | prefix_type_trait_bound = Some(quote!( [INFO] [stdout] | ____________________________________________- [INFO] [stdout] 140 | | #name <#ty_generics>:__sabi_re::PrefixTypeTrait, [INFO] [stdout] 141 | | )); [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | quote!( #prefix_fields_struct <#ty_generics> ) [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | } [INFO] [stdout] 146 | StabilityKind::Value { .. } => quote!(Self), [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let tags_const; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let tags_arg; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | let extra_checks_const; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let extra_checks_arg; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 212 | let nonexhaustive_items = tokenize_nonexhaustive_items(ds, config, ctokens); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | let nonexhaustive_tokens = tokenize_enum_info(ds, variant_names_start_len, config, ctokens)?; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | [INFO] [stdout] 217 | let is_nonzero = if is_transparent && !visited_fields.map.is_empty() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | quote!(__sabi_re::True) [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 223 | } else if is_opaque_field { [INFO] [stdout] 224 | quote!(__sabi_re::False) [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | quote!( <#ty as __StableAbi>::IsNonZeroType ) [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | quote!(__sabi_re::False) [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 235 | let mono_tl_data; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | // The tokens for the GenericTLData stored in the TypeLayout [INFO] [stdout] 237 | let generic_tl_data; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | let static_struct_name = Ident::new(&format!("_static_{}", name), Span::call_site()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | [INFO] [stdout] 335 | let item_info_const = Ident::new(&format!("_item_info_const_{}", name), Span::call_site()); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 336 | [INFO] [stdout] 337 | let static_struct_decl = { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 338 | let const_param_name = generics.const_params().map(|c| &c.ident); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 339 | let const_param_type = generics.const_params().map(|c| &c.ty); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | / quote! { [INFO] [stdout] 346 | | #doc_hidden_attr [INFO] [stdout] 347 | | pub struct #static_struct_name< [INFO] [stdout] 348 | | #(#lifetimes_a,)* [INFO] [stdout] 349 | | #(#type_params_a:?Sized,)* [INFO] [stdout] 350 | | #(const #const_param_name:#const_param_type,)* [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] 354 | | ); [INFO] [stdout] 355 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | | let interfacetype_tokenizer = [INFO] [stdout] | | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 363 | | let stringified_name = rstr_tokenizer(name.to_string()); [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 385 | | prefixref_types, [INFO] [stdout] | | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 386 | | prefixref_impls, [INFO] [stdout] | | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 389 | | let mod_refl_mode = match config.mod_refl_mode { [INFO] [stdout] | | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 390 | | ModReflMode::Module => quote!(__ModReflMode::Module), [INFO] [stdout] | | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 391 | | ModReflMode::Opaque => quote!(__ModReflMode::Opaque), [INFO] [stdout] | | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 392 | | ModReflMode::DelegateDeref(field_index) => { [INFO] [stdout] 393 | / quote!( [INFO] [stdout] 394 | | __ModReflMode::DelegateDeref{ [INFO] [stdout] 395 | | phantom_field_index:#field_index [INFO] [stdout] 396 | | } [INFO] [stdout] 397 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 417 | | let phantom_fields = rslice_tokenizer(&phantom_fields); [INFO] [stdout] | | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 426 | | let mono_shared_vars_tokenizer = shared_vars.mono_shared_vars_tokenizer(); [INFO] [stdout] | | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 429 | | let strings = shared_vars.strings().piped(rstr_tokenizer); [INFO] [stdout] | | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 430 | | [INFO] [stdout] 431 | | let shared_vars_tokenizer = shared_vars.shared_vars_tokenizer(mono_type_layout); [INFO] [stdout] | | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 435 | let shared_where_preds = quote!( [INFO] [stdout] | _________------------------___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 436 | #(#where_clause_b,)* [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 437 | #(#stable_abi_bounded:__StableAbi,)* [INFO] [stdout] 438 | #(#static_equiv_bounded:__GetStaticEquivalent_,)* [INFO] [stdout] ... [INFO] [stdout] 441 | #prefix_type_trait_bound [INFO] [stdout] 442 | | ); [INFO] [stdout] | |_____- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 443 | [INFO] [stdout] 444 | | let stable_abi_where_preds = shared_where_preds.clone().mutated(|ts| { [INFO] [stdout] | | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 450 | | let prefix_ref_impls = if let StabilityKind::Prefix(prefix) = &config.kind { [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 455 | / quote!( [INFO] [stdout] 456 | | unsafe impl<#generics_header> __sabi_re::GetStaticEquivalent_ [INFO] [stdout] 457 | | for #prefix_ref <#ty_generics> [INFO] [stdout] 458 | | where [INFO] [stdout] ... | [INFO] [stdout] 481 | | } [INFO] [stdout] 482 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 487 | / quote!( [INFO] [stdout] 488 | | #prefixref_types [INFO] [stdout] 489 | | [INFO] [stdout] 490 | | #nonexhaustive_items [INFO] [stdout] ... | [INFO] [stdout] 581 | | } [INFO] [stdout] 582 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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:355:12 [INFO] [stdout] | [INFO] [stdout] 232 | mut this: StableAbiAttrs<'a>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | let mut errors = LinearResult::ok(()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | [INFO] [stdout] 241 | let kind = match this.kind { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | Some(arenas.alloc(quote!(#[doc(hidden)]))) [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 349 | let const_idents = ConstIdents { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | Ok(StableAbiOptions { [INFO] [stdout] | ____________^ [INFO] [stdout] 356 | | debug_print: this.debug_print, [INFO] [stdout] 357 | | kind, [INFO] [stdout] 358 | | repr, [INFO] [stdout] ... | [INFO] [stdout] 375 | | doc_hidden_attr, [INFO] [stdout] 376 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/stable_abi/attribute_parsing.rs:325:26 [INFO] [stdout] | [INFO] [stdout] 325 | .map(|x| syn::parse_str::(x).expect("BUG")) [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:604:13 [INFO] [stdout] | [INFO] [stdout] 600 | let input = input.parse_paren_buffer()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 604 | / input [INFO] [stdout] 605 | | .parse::() [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/stable_abi/attribute_parsing.rs:616:19 [INFO] [stdout] | [INFO] [stdout] 612 | let input = input.parse_paren_buffer()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 616 | match input.parse::>() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/stable_abi/attribute_parsing.rs:1027:31 [INFO] [stdout] | [INFO] [stdout] 1027 | .map(|e| arenas.alloc(Ident::new(e, Span::call_site()))) [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/generic_params.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 37 | let x = type_from_ident(type_param.clone()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | / shared_vars [INFO] [stdout] 43 | | .borrow_mut() [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/generic_params.rs:72:40 [INFO] [stdout] | [INFO] [stdout] 72 | .map(|cp| arenas.alloc(expr_from_ident(cp.ident.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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/nonexhaustive.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 160 | let mut errors = LinearResult::ok(()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 223 | let (default_interface, new_interface) = match unchecked.enum_interface { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 229 | None => (quote!(()), None), [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 258 | | nonexhaustive_alias: parse_ident(&format!("{}_NE", name), None), [INFO] [stdout] 259 | | nonexhaustive_marker: parse_ident(&format!("{}_NEMarker", name), None), [INFO] [stdout] 260 | | enum_storage: parse_ident(&format!("{}_Storage", name), None), [INFO] [stdout] ... | [INFO] [stdout] 268 | | ne_variants, [INFO] [stdout] 269 | | }) [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/nonexhaustive.rs:484:21 [INFO] [stdout] | [INFO] [stdout] 471 | let mut method_name = parse_str_as_ident(&format!("{}_NE", variant.name)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 474 | let method_docs = if vc.is_hidden { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 475 | quote!(#[doc(hidden)]) [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 481 | quote!(#[doc= #v_doc]) [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 484 | / match constructor { [INFO] [stdout] 485 | | VariantConstructor::Regular => { [INFO] [stdout] 486 | | let field_names_a = variant.fields.iter().map(|x| x.pat_ident()); [INFO] [stdout] 487 | | let field_names_b = field_names_a.clone(); [INFO] [stdout] ... | [INFO] [stdout] 524 | | } [INFO] [stdout] 525 | | } [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/nonexhaustive.rs:573:8 [INFO] [stdout] | [INFO] [stdout] 564 | let opt_type_ident = config.repr.type_ident(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 573 | Ok(ToTokenFnMut::new(move |ts| { [INFO] [stdout] | ________^ [INFO] [stdout] 574 | | let this = match &config.kind { [INFO] [stdout] 575 | | StabilityKind::NonExhaustive(x) => x, [INFO] [stdout] 576 | | _ => return, [INFO] [stdout] ... | [INFO] [stdout] 757 | | } [INFO] [stdout] 758 | | })) [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/nonexhaustive.rs:707:26 [INFO] [stdout] | [INFO] [stdout] 707 | .map(|x| x.to_token_stream().to_string()); [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:248:27 [INFO] [stdout] | [INFO] [stdout] 240 | exprs: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 246 | 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] 247 | [INFO] [stdout] 248 | ToTokenFnMut::new(move |ts| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 249 | | let int_repr = match self.variant { [INFO] [stdout] 250 | | Repr::C(x) => x, [INFO] [stdout] 251 | | Repr::Int(x) => Some(x), [INFO] [stdout] ... | [INFO] [stdout] 271 | | }); [INFO] [stdout] 272 | | }) [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:288:27 [INFO] [stdout] | [INFO] [stdout] 280 | exprs: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 286 | 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] 287 | [INFO] [stdout] 288 | ToTokenFnMut::new(move |ts| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 289 | | tokenize_discriminant_exprs_inner(&mut exprs, SliceType::StdSlice, ctokens, ts); [INFO] [stdout] 290 | | }) [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/shared_vars.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn extend_with_idents(&mut self, separator: &str, iter: I) -> StartLen [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | self.push_str_inner(|this| { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 130 | | use std::fmt::Write; [INFO] [stdout] 131 | | let mut last_span = None; [INFO] [stdout] 132 | | for ident in iter { [INFO] [stdout] ... | [INFO] [stdout] 137 | | last_span [INFO] [stdout] 138 | | }) [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/shared_vars.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn extend_with_display(&mut self, separator: &str, iter: I) -> StartLen [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | self.push_str_inner(|this| { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 147 | | use std::fmt::Write; [INFO] [stdout] 148 | | let mut last_span = None; [INFO] [stdout] 149 | | for (elem, span) in iter { [INFO] [stdout] ... | [INFO] [stdout] 154 | | last_span [INFO] [stdout] 155 | | }) [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/shared_vars.rs:388:23 [INFO] [stdout] | [INFO] [stdout] 381 | ty: T, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | ToTokenFnMut::new(move |ts| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 389 | | ty.to_tokens(ts); [INFO] [stdout] 390 | | let opt = match field_transparency { [INFO] [stdout] 391 | | LayoutConstructor::Regular => None, [INFO] [stdout] ... | [INFO] [stdout] 399 | | } [INFO] [stdout] 400 | | }) [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/tests.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | must_panic(|| derive_sabi(rect_def).unwrap()).expect("TEST BUG"); [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:34:12 [INFO] [stdout] | [INFO] [stdout] 24 | 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] 29 | Some(arenas.alloc(quote!(#[doc(hidden)]))) [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 35 | | debug_print_trait: this.debug_print_trait, [INFO] [stdout] 36 | | debug_output_tokens: this.debug_output_tokens, [INFO] [stdout] 37 | | doc_hidden_attr, [INFO] [stdout] 38 | | trait_definition: TraitDefinition::new(trait_, this, arenas, ctokens)?, [INFO] [stdout] 39 | | }) [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:233:12 [INFO] [stdout] | [INFO] [stdout] 107 | / SabiTraitAttrs { [INFO] [stdout] 108 | | attrs, [INFO] [stdout] 109 | | methods_with_attrs, [INFO] [stdout] 110 | | which_object, [INFO] [stdout] ... | [INFO] [stdout] 113 | | .. [INFO] [stdout] 114 | | }: SabiTraitAttrs<'a>, [INFO] [stdout] | |_____________________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | 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] 121 | 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] 122 | [INFO] [stdout] 123 | let mut errors = LinearResult::ok(()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | let lifetime_params: HashSet<&'a Lifetime> = trait_ [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | impld_traits, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | unimpld_traits, [INFO] [stdout] 154 | mut lifetime_bounds, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | errors: supertrait_errors, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let ts_fq_self = { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 227 | let (_, generics_params, _) = trait_.generics.split_for_impl(); [INFO] [stdout] 228 | quote!( <_OrigPtr::PtrTarget 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] 233 | Ok(TraitDefinition { [INFO] [stdout] | ____________^ [INFO] [stdout] 234 | | item: trait_, [INFO] [stdout] 235 | | name: &trait_.ident, [INFO] [stdout] 236 | | which_object, [INFO] [stdout] ... | [INFO] [stdout] 262 | | ctokens, [INFO] [stdout] 263 | | }) [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:129:23 [INFO] [stdout] | [INFO] [stdout] 128 | .filter_map(|(func, disable_inh_def)| { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | match TraitMethod::new(func, disable_inh_def, ctokens, arenas) { [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:311:34 [INFO] [stdout] | [INFO] [stdout] 269 | let mut this = self.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | let mut errors = LinearResult::ok(()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 274 | [INFO] [stdout] 275 | let replace_with = match which_item { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 311 | errors.into_result().map(|_| this) [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:382:34 [INFO] [stdout] | [INFO] [stdout] 374 | let mut where_preds = self.where_preds.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | let mut errors = LinearResult::ok(()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 382 | errors.into_result().map(|_| where_preds) [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:551:12 [INFO] [stdout] | [INFO] [stdout] 445 | 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] 454 | let mut errors = LinearResult::ok(()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 467 | 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] 491 | 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] 494 | let mut ty: syn::Type = (**ty).clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 527 | let mut params = Vec::>::with_capacity(input_iter.len()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 551 | Ok(Some(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 552 | | disable_inherent_default, [INFO] [stdout] 553 | | unsafety: method_signature.unsafety.as_ref(), [INFO] [stdout] 554 | | abi: method_signature.abi.as_ref(), [INFO] [stdout] ... | [INFO] [stdout] 565 | | semicolon: mwa.item.semi_token.as_ref(), [INFO] [stdout] 566 | | })) [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:723:19 [INFO] [stdout] | [INFO] [stdout] 723 | .map(|t| (parse_str_as_ident(t.name), t.which_trait)) [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:729:16 [INFO] [stdout] | [INFO] [stdout] 729 | ident: parse_str_as_ident(t.name), [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:730:16 [INFO] [stdout] | [INFO] [stdout] 730 | bound: parse_str_as_trait_bound(t.full_path).expect("BUG"), [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 44 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `abi_stable_derive` (lib test) due to 45 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4786fe2da82eb65dd53cb124ba9e534ae34ba1e25f354bd7ec39c03a30bb74b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4786fe2da82eb65dd53cb124ba9e534ae34ba1e25f354bd7ec39c03a30bb74b8", kill_on_drop: false }` [INFO] [stdout] 4786fe2da82eb65dd53cb124ba9e534ae34ba1e25f354bd7ec39c03a30bb74b8