[INFO] fetching crate tfhe-versionable-derive 0.2.1... [INFO] checking tfhe-versionable-derive-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tfhe-versionable-derive 0.2.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate tfhe-versionable-derive 0.2.1 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 tfhe-versionable-derive 0.2.1 [INFO] finished tweaking crates.io crate tfhe-versionable-derive 0.2.1 [INFO] tweaked toml for crates.io crate tfhe-versionable-derive 0.2.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] dbfa6cdc43f99569c0d531d85e5c3011398f4efdb2f984141cc3278e04af155d [INFO] running `Command { std: "docker" "start" "-a" "dbfa6cdc43f99569c0d531d85e5c3011398f4efdb2f984141cc3278e04af155d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbfa6cdc43f99569c0d531d85e5c3011398f4efdb2f984141cc3278e04af155d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbfa6cdc43f99569c0d531d85e5c3011398f4efdb2f984141cc3278e04af155d", kill_on_drop: false }` [INFO] [stdout] dbfa6cdc43f99569c0d531d85e5c3011398f4efdb2f984141cc3278e04af155d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2c0b57374882558f7f8cb1640072ccd255fb4cf0c2be55fffd71e1ac81f8996c [INFO] running `Command { std: "docker" "start" "-a" "2c0b57374882558f7f8cb1640072ccd255fb4cf0c2be55fffd71e1ac81f8996c", kill_on_drop: false }` [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking tfhe-versionable-derive v0.2.1 (/opt/rustwide/workdir) [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:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn derive_version(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let input = parse_macro_input!(input as DeriveInput); [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] 67 | [INFO] [stdout] 68 | impl_version_trait(&input).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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/associated.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 160 | let ref_type = T::new_ref(orig_type)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let owned_type = T::new_owned(orig_type)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let trait_path = syn::parse_str(name)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 175 | | ref_type, [INFO] [stdout] 176 | | owned_type, [INFO] [stdout] 177 | | orig_type: orig_type.clone(), [INFO] [stdout] ... | [INFO] [stdout] 180 | | attributes_bounds, [INFO] [stdout] 181 | | }) [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/dispatch_type.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | let lifetime = Lifetime::new(LIFETIME_NAME, Span::call_site()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 66 | | orig_type: derive_input_to_enum(orig_type)?, [INFO] [stdout] 67 | | kind: AssociatedTypeKind::Ref(Some(lifetime)), [INFO] [stdout] 68 | | }) [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/dispatch_type.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 79 | let variants: syn::Result> = self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Ok(ItemEnum { [INFO] [stdout] | ____________^ [INFO] [stdout] 95 | | ident: self.ident(), [INFO] [stdout] 96 | | generics: self.generics()?, [INFO] [stdout] 97 | | attrs: vec![parse_quote! { #[automatically_derived] }], [INFO] [stdout] ... | [INFO] [stdout] 100 | | } [INFO] [stdout] 101 | | .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/dispatch_type.rs:293:15 [INFO] [stdout] | [INFO] [stdout] 279 | let orig_ty = field.ty.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | let version_trait: Path = parse_const_str(VERSION_TRAIT_NAME); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | [INFO] [stdout] 282 | let ty: Type = match &self.kind { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | AssociatedTypeKind::Ref(lifetime) => parse_quote! { [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 284 | | <#orig_ty as #version_trait>::Ref<#lifetime> [INFO] [stdout] 285 | | }, [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 286 | AssociatedTypeKind::Owned => parse_quote! { [INFO] [stdout] | __________________________________________- [INFO] [stdout] 287 | | <#orig_ty as #version_trait>::Owned [INFO] [stdout] 288 | | }, [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 293 | ..field.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/version_type.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 34 | let lifetime = if is_unit(orig_type) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | orig_type: orig_type.clone(), [INFO] [stdout] 53 | | kind: AssociatedTypeKind::Ref(lifetime), [INFO] [stdout] 54 | | }) [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/version_type.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 330 | fields_iter: I, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | ) -> impl IntoIterator> + 'a { [INFO] [stdout] 332 | let kind = self.kind.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | fields_iter.into_iter().map(move |field| { [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/version_type.rs:333:37 [INFO] [stdout] | [INFO] [stdout] 330 | fields_iter: I, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | ) -> impl IntoIterator> + 'a { [INFO] [stdout] 332 | let kind = self.kind.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | fields_iter.into_iter().map(move |field| { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 334 | | let unver_ty = field.ty.clone(); [INFO] [stdout] 335 | | [INFO] [stdout] 336 | | let versionize_trait = parse_trait_bound(VERSIONIZE_TRAIT_NAME)?; [INFO] [stdout] ... | [INFO] [stdout] 351 | | }) [INFO] [stdout] 352 | | }) [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/version_type.rs:348:16 [INFO] [stdout] | [INFO] [stdout] 332 | let kind = self.kind.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | fields_iter.into_iter().map(move |field| { [INFO] [stdout] 334 | let unver_ty = field.ty.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 335 | [INFO] [stdout] 336 | let versionize_trait = parse_trait_bound(VERSIONIZE_TRAIT_NAME)?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 337 | let versionize_owned_trait = parse_trait_bound(VERSIONIZE_OWNED_TRAIT_NAME)?; [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 338 | [INFO] [stdout] 339 | let ty: Type = match &kind { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | AssociatedTypeKind::Ref(lifetime) => parse_quote! { [INFO] [stdout] | ______________________________________________________- [INFO] [stdout] 341 | | <#unver_ty as #versionize_trait>::Versioned<#lifetime> [INFO] [stdout] 342 | | }, [INFO] [stdout] | |_________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 343 | AssociatedTypeKind::Owned => parse_quote! { [INFO] [stdout] | ______________________________________________- [INFO] [stdout] 344 | | <#unver_ty as #versionize_owned_trait>::VersionedOwned [INFO] [stdout] 345 | | }, [INFO] [stdout] | |_________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | Ok(Field { [INFO] [stdout] | ________________^ [INFO] [stdout] | |________________| [INFO] [stdout] | |________________| [INFO] [stdout] 349 | | ty, [INFO] [stdout] 350 | | ..field.clone() [INFO] [stdout] 351 | | }) [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/versionize_attribute.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 35 | fn build(self) -> Option { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | Some(VersionizeAttribute { [INFO] [stdout] | ______________^ [INFO] [stdout] 41 | | dispatch_enum: self.dispatch_enum?, [INFO] [stdout] 42 | | from: self.from, [INFO] [stdout] 43 | | try_from: self.try_from, [INFO] [stdout] ... | [INFO] [stdout] 46 | | unversionize_bounds: self.unversionize_bounds, [INFO] [stdout] 47 | | }) [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/versionize_attribute.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 82 | let nested = attribute.parse_args_with(Punctuated::::parse_terminated)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | [INFO] [stdout] 84 | let mut attribute_builder = VersionizeAttributeBuilder::default(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | / attribute_builder [INFO] [stdout] 165 | | .build() [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/versionize_attribute.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 188 | let versionize_owned_trait: TraitBound = parse_const_str(VERSIONIZE_OWNED_TRAIT_NAME); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | / self.into [INFO] [stdout] 190 | | .as_ref() [INFO] [stdout] 191 | | .map(|target| { [INFO] [stdout] 192 | | quote! { [INFO] [stdout] 193 | | #versionize_owned_trait::versionize_owned(#target::from(self.to_owned())) [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | }) [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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tfhe-versionable-derive` (lib test) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn derive_version(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let input = parse_macro_input!(input as DeriveInput); [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] 67 | [INFO] [stdout] 68 | impl_version_trait(&input).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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/associated.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 160 | let ref_type = T::new_ref(orig_type)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let owned_type = T::new_owned(orig_type)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let trait_path = syn::parse_str(name)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 175 | | ref_type, [INFO] [stdout] 176 | | owned_type, [INFO] [stdout] 177 | | orig_type: orig_type.clone(), [INFO] [stdout] ... | [INFO] [stdout] 180 | | attributes_bounds, [INFO] [stdout] 181 | | }) [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/dispatch_type.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | let lifetime = Lifetime::new(LIFETIME_NAME, Span::call_site()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 66 | | orig_type: derive_input_to_enum(orig_type)?, [INFO] [stdout] 67 | | kind: AssociatedTypeKind::Ref(Some(lifetime)), [INFO] [stdout] 68 | | }) [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/dispatch_type.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 79 | let variants: syn::Result> = self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Ok(ItemEnum { [INFO] [stdout] | ____________^ [INFO] [stdout] 95 | | ident: self.ident(), [INFO] [stdout] 96 | | generics: self.generics()?, [INFO] [stdout] 97 | | attrs: vec![parse_quote! { #[automatically_derived] }], [INFO] [stdout] ... | [INFO] [stdout] 100 | | } [INFO] [stdout] 101 | | .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/dispatch_type.rs:293:15 [INFO] [stdout] | [INFO] [stdout] 279 | let orig_ty = field.ty.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | let version_trait: Path = parse_const_str(VERSION_TRAIT_NAME); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | [INFO] [stdout] 282 | let ty: Type = match &self.kind { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | AssociatedTypeKind::Ref(lifetime) => parse_quote! { [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 284 | | <#orig_ty as #version_trait>::Ref<#lifetime> [INFO] [stdout] 285 | | }, [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 286 | AssociatedTypeKind::Owned => parse_quote! { [INFO] [stdout] | __________________________________________- [INFO] [stdout] 287 | | <#orig_ty as #version_trait>::Owned [INFO] [stdout] 288 | | }, [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 293 | ..field.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/version_type.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 34 | let lifetime = if is_unit(orig_type) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | orig_type: orig_type.clone(), [INFO] [stdout] 53 | | kind: AssociatedTypeKind::Ref(lifetime), [INFO] [stdout] 54 | | }) [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/version_type.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 330 | fields_iter: I, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | ) -> impl IntoIterator> + 'a { [INFO] [stdout] 332 | let kind = self.kind.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | fields_iter.into_iter().map(move |field| { [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/version_type.rs:333:37 [INFO] [stdout] | [INFO] [stdout] 330 | fields_iter: I, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | ) -> impl IntoIterator> + 'a { [INFO] [stdout] 332 | let kind = self.kind.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | fields_iter.into_iter().map(move |field| { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 334 | | let unver_ty = field.ty.clone(); [INFO] [stdout] 335 | | [INFO] [stdout] 336 | | let versionize_trait = parse_trait_bound(VERSIONIZE_TRAIT_NAME)?; [INFO] [stdout] ... | [INFO] [stdout] 351 | | }) [INFO] [stdout] 352 | | }) [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/version_type.rs:348:16 [INFO] [stdout] | [INFO] [stdout] 332 | let kind = self.kind.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | fields_iter.into_iter().map(move |field| { [INFO] [stdout] 334 | let unver_ty = field.ty.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 335 | [INFO] [stdout] 336 | let versionize_trait = parse_trait_bound(VERSIONIZE_TRAIT_NAME)?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 337 | let versionize_owned_trait = parse_trait_bound(VERSIONIZE_OWNED_TRAIT_NAME)?; [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 338 | [INFO] [stdout] 339 | let ty: Type = match &kind { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | AssociatedTypeKind::Ref(lifetime) => parse_quote! { [INFO] [stdout] | ______________________________________________________- [INFO] [stdout] 341 | | <#unver_ty as #versionize_trait>::Versioned<#lifetime> [INFO] [stdout] 342 | | }, [INFO] [stdout] | |_________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 343 | AssociatedTypeKind::Owned => parse_quote! { [INFO] [stdout] | ______________________________________________- [INFO] [stdout] 344 | | <#unver_ty as #versionize_owned_trait>::VersionedOwned [INFO] [stdout] 345 | | }, [INFO] [stdout] | |_________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | Ok(Field { [INFO] [stdout] | ________________^ [INFO] [stdout] | |________________| [INFO] [stdout] | |________________| [INFO] [stdout] 349 | | ty, [INFO] [stdout] 350 | | ..field.clone() [INFO] [stdout] 351 | | }) [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/versionize_attribute.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 35 | fn build(self) -> Option { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | Some(VersionizeAttribute { [INFO] [stdout] | ______________^ [INFO] [stdout] 41 | | dispatch_enum: self.dispatch_enum?, [INFO] [stdout] 42 | | from: self.from, [INFO] [stdout] 43 | | try_from: self.try_from, [INFO] [stdout] ... | [INFO] [stdout] 46 | | unversionize_bounds: self.unversionize_bounds, [INFO] [stdout] 47 | | }) [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/versionize_attribute.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 82 | let nested = attribute.parse_args_with(Punctuated::::parse_terminated)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | [INFO] [stdout] 84 | let mut attribute_builder = VersionizeAttributeBuilder::default(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | / attribute_builder [INFO] [stdout] 165 | | .build() [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/versionize_attribute.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 188 | let versionize_owned_trait: TraitBound = parse_const_str(VERSIONIZE_OWNED_TRAIT_NAME); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | / self.into [INFO] [stdout] 190 | | .as_ref() [INFO] [stdout] 191 | | .map(|target| { [INFO] [stdout] 192 | | quote! { [INFO] [stdout] 193 | | #versionize_owned_trait::versionize_owned(#target::from(self.to_owned())) [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | }) [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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tfhe-versionable-derive` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "2c0b57374882558f7f8cb1640072ccd255fb4cf0c2be55fffd71e1ac81f8996c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c0b57374882558f7f8cb1640072ccd255fb4cf0c2be55fffd71e1ac81f8996c", kill_on_drop: false }` [INFO] [stdout] 2c0b57374882558f7f8cb1640072ccd255fb4cf0c2be55fffd71e1ac81f8996c