[INFO] fetching crate bindgen 0.70.1... [INFO] checking bindgen-0.70.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate bindgen 0.70.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate bindgen 0.70.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bindgen 0.70.1 [INFO] finished tweaking crates.io crate bindgen 0.70.1 [INFO] tweaked toml for crates.io crate bindgen 0.70.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] [stderr] Adding annotate-snippets v0.9.2 (available: v0.11.4) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b394038be7496c460df8184ea2992a3dc9f3cae04468e0724750b3c34f9c7c8 [INFO] running `Command { std: "docker" "start" "-a" "8b394038be7496c460df8184ea2992a3dc9f3cae04468e0724750b3c34f9c7c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b394038be7496c460df8184ea2992a3dc9f3cae04468e0724750b3c34f9c7c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b394038be7496c460df8184ea2992a3dc9f3cae04468e0724750b3c34f9c7c8", kill_on_drop: false }` [INFO] [stdout] 8b394038be7496c460df8184ea2992a3dc9f3cae04468e0724750b3c34f9c7c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ed402ec6cd4c150d93329c2c418e69ae65ff59fa518f234fd6400bbb1b0755d [INFO] running `Command { std: "docker" "start" "-a" "0ed402ec6cd4c150d93329c2c418e69ae65ff59fa518f234fd6400bbb1b0755d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling bindgen v0.70.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.79 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> ir/analysis/mod.rs:309:37 [INFO] [stdout] | [INFO] [stdout] 304 | impl<'a> MonotoneFramework for ReachableFrom<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 309 | fn new(graph: &'a Graph) -> ReachableFrom { [INFO] [stdout] | ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> codegen/mod.rs:703:25 [INFO] [stdout] | [INFO] [stdout] 678 | let mut attrs = vec![]; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 684 | let ty = var_ty.to_rust_ty_or_opaque(ctx, &()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 689 | result.push(quote! { [INFO] [stdout] | _________________________________- [INFO] [stdout] 690 | | #(#attrs)* [INFO] [stdout] 691 | | pub const #canonical_ident : #ty = #val ; [INFO] [stdout] 692 | | }); [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 703 | let val = if int_kind.is_signed() { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 708 | result.push(quote! { [INFO] [stdout] | _________________________________- [INFO] [stdout] 709 | | #(#attrs)* [INFO] [stdout] 710 | | pub const #canonical_ident : #ty = #val ; [INFO] [stdout] 711 | | }); [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 736 | result.push(quote! { [INFO] [stdout] | _____________________________________- [INFO] [stdout] 737 | | #(#attrs)* [INFO] [stdout] 738 | | #[allow(unsafe_code)] [INFO] [stdout] 739 | | pub const #canonical_ident: &#cstr_ty = unsafe { [INFO] [stdout] 740 | | #cstr_ty::from_bytes_with_nul_unchecked(#bytes) [INFO] [stdout] 741 | | }; [INFO] [stdout] 742 | | }); [INFO] [stdout] | |_________________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 752 | result.push(quote! { [INFO] [stdout] | _____________________________________- [INFO] [stdout] | |_____________________________________| [INFO] [stdout] | |_____________________________________| [INFO] [stdout] | |_____________________________________| [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 753 | | #(#attrs)* [INFO] [stdout] 754 | | pub const #canonical_ident: &#(#lifetime )*#array_ty = #bytes ; [INFO] [stdout] 755 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |_________________________| [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 760 | result.push(quote! { [INFO] [stdout] | _____________________________________- [INFO] [stdout] 761 | #(#attrs)* [INFO] [stdout] 762 | pub const #canonical_ident : #ty = #expr ; [INFO] [stdout] 763 | | }); [INFO] [stdout] | |_________________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 767 | result.push(quote! { [INFO] [stdout] | _________________________________- [INFO] [stdout] 768 | #(#attrs)* [INFO] [stdout] 769 | pub const #canonical_ident : #ty = #c ; [INFO] [stdout] 770 | | }); [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 795 | let tokens = quote!( [INFO] [stdout] | __________________________- [INFO] [stdout] | |__________________________| [INFO] [stdout] 796 | | extern "C" { [INFO] [stdout] 797 | | #(#attrs)* [INFO] [stdout] 798 | | pub static #maybe_mut #canonical_ident: #ty; [INFO] [stdout] 799 | | } [INFO] [stdout] 800 | | ); [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `syn::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> codegen/mod.rs:945:21 [INFO] [stdout] | [INFO] [stdout] 945 | let inner_rust_type = if is_opaque { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1050 | / quote! { [INFO] [stdout] 1051 | | #( #attributes )* [INFO] [stdout] 1052 | | pub struct #rust_name [INFO] [stdout] 1053 | | } [INFO] [stdout] | |_________________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1082 | tokens.append_all(quote! { [INFO] [stdout] | _______________________________________- [INFO] [stdout] 1083 | | < #( #params ),* > [INFO] [stdout] 1084 | | }); [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may 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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> codegen/mod.rs:1171:17 [INFO] [stdout] | [INFO] [stdout] 1171 | let methods = self [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1208 | result.push(quote! { [INFO] [stdout] | _________________________- [INFO] [stdout] | |_________________________| [INFO] [stdout] 1209 | | #[repr(C)] [INFO] [stdout] 1210 | | pub struct #name { [INFO] [stdout] 1211 | | #( #methods ),* [INFO] [stdout] 1212 | | } [INFO] [stdout] 1213 | | }) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> codegen/mod.rs:3184:21 [INFO] [stdout] | [INFO] [stdout] 3150 | mut attrs: Vec, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 3151 | repr: syn::Type, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3163 | tokens: quote! { [INFO] [stdout] | _________________________- [INFO] [stdout] 3164 | | #( #attrs )* [INFO] [stdout] 3165 | | pub struct #ident (pub #repr); [INFO] [stdout] 3166 | | }, [INFO] [stdout] | |_________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3184 | let mut variants = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3187 | variants.push(quote! { [INFO] [stdout] | ___________________________________- [INFO] [stdout] 3188 | | #( #attrs )* [INFO] [stdout] 3189 | | pub type #ident = #repr; [INFO] [stdout] 3190 | | }); [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3201 | let type_definition = quote! { [INFO] [stdout] | _______________________________________- [INFO] [stdout] 3202 | | #( #attrs )* [INFO] [stdout] 3203 | | pub type #ident = #repr; [INFO] [stdout] 3204 | | }; [INFO] [stdout] | |_________________- these local bindings with significant drop implementation may 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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> codegen/mod.rs:3340:17 [INFO] [stdout] | [INFO] [stdout] 3333 | self, [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 3334 | ctx: &BindgenContext, [INFO] [stdout] 3335 | rust_ty: syn::Type, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3340 | attrs, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3352 | / quote! { [INFO] [stdout] 3353 | | #( #attrs )* [INFO] [stdout] 3354 | | pub enum #ident { [INFO] [stdout] 3355 | | #variants [INFO] [stdout] 3356 | | } [INFO] [stdout] 3357 | | } [INFO] [stdout] | |_________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3414 | EnumBuilder::Consts { variants, .. } => quote! { #( #variants )* }, [INFO] [stdout] | -------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3421 | / quote! { [INFO] [stdout] 3422 | | pub mod #ident { [INFO] [stdout] 3423 | | #( #module_items )* [INFO] [stdout] 3424 | | } [INFO] [stdout] 3425 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________________| [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> codegen/mod.rs:703:25 [INFO] [stdout] | [INFO] [stdout] 678 | let mut attrs = vec![]; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 684 | let ty = var_ty.to_rust_ty_or_opaque(ctx, &()); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 689 | result.push(quote! { [INFO] [stdout] | _________________________________- [INFO] [stdout] 690 | | #(#attrs)* [INFO] [stdout] 691 | | pub const #canonical_ident : #ty = #val ; [INFO] [stdout] 692 | | }); [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 703 | let val = if int_kind.is_signed() { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 708 | result.push(quote! { [INFO] [stdout] | _________________________________- [INFO] [stdout] 709 | | #(#attrs)* [INFO] [stdout] 710 | | pub const #canonical_ident : #ty = #val ; [INFO] [stdout] 711 | | }); [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 736 | result.push(quote! { [INFO] [stdout] | _____________________________________- [INFO] [stdout] 737 | | #(#attrs)* [INFO] [stdout] 738 | | #[allow(unsafe_code)] [INFO] [stdout] 739 | | pub const #canonical_ident: &#cstr_ty = unsafe { [INFO] [stdout] 740 | | #cstr_ty::from_bytes_with_nul_unchecked(#bytes) [INFO] [stdout] 741 | | }; [INFO] [stdout] 742 | | }); [INFO] [stdout] | |_________________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 752 | result.push(quote! { [INFO] [stdout] | _____________________________________- [INFO] [stdout] | |_____________________________________| [INFO] [stdout] | |_____________________________________| [INFO] [stdout] | |_____________________________________| [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 753 | | #(#attrs)* [INFO] [stdout] 754 | | pub const #canonical_ident: &#(#lifetime )*#array_ty = #bytes ; [INFO] [stdout] 755 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |_________________________| [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 760 | result.push(quote! { [INFO] [stdout] | _____________________________________- [INFO] [stdout] 761 | #(#attrs)* [INFO] [stdout] 762 | pub const #canonical_ident : #ty = #expr ; [INFO] [stdout] 763 | | }); [INFO] [stdout] | |_________________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 767 | result.push(quote! { [INFO] [stdout] | _________________________________- [INFO] [stdout] 768 | #(#attrs)* [INFO] [stdout] 769 | pub const #canonical_ident : #ty = #c ; [INFO] [stdout] 770 | | }); [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 795 | let tokens = quote!( [INFO] [stdout] | __________________________- [INFO] [stdout] | |__________________________| [INFO] [stdout] 796 | | extern "C" { [INFO] [stdout] 797 | | #(#attrs)* [INFO] [stdout] 798 | | pub static #maybe_mut #canonical_ident: #ty; [INFO] [stdout] 799 | | } [INFO] [stdout] 800 | | ); [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `syn::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> codegen/mod.rs:945:21 [INFO] [stdout] | [INFO] [stdout] 945 | let inner_rust_type = if is_opaque { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1050 | / quote! { [INFO] [stdout] 1051 | | #( #attributes )* [INFO] [stdout] 1052 | | pub struct #rust_name [INFO] [stdout] 1053 | | } [INFO] [stdout] | |_________________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1082 | tokens.append_all(quote! { [INFO] [stdout] | _______________________________________- [INFO] [stdout] 1083 | | < #( #params ),* > [INFO] [stdout] 1084 | | }); [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may 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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> codegen/mod.rs:1171:17 [INFO] [stdout] | [INFO] [stdout] 1171 | let methods = self [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1208 | result.push(quote! { [INFO] [stdout] | _________________________- [INFO] [stdout] | |_________________________| [INFO] [stdout] 1209 | | #[repr(C)] [INFO] [stdout] 1210 | | pub struct #name { [INFO] [stdout] 1211 | | #( #methods ),* [INFO] [stdout] 1212 | | } [INFO] [stdout] 1213 | | }) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> codegen/mod.rs:3184:21 [INFO] [stdout] | [INFO] [stdout] 3150 | mut attrs: Vec, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 3151 | repr: syn::Type, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3163 | tokens: quote! { [INFO] [stdout] | _________________________- [INFO] [stdout] 3164 | | #( #attrs )* [INFO] [stdout] 3165 | | pub struct #ident (pub #repr); [INFO] [stdout] 3166 | | }, [INFO] [stdout] | |_________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3184 | let mut variants = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3187 | variants.push(quote! { [INFO] [stdout] | ___________________________________- [INFO] [stdout] 3188 | | #( #attrs )* [INFO] [stdout] 3189 | | pub type #ident = #repr; [INFO] [stdout] 3190 | | }); [INFO] [stdout] | |_____________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3201 | let type_definition = quote! { [INFO] [stdout] | _______________________________________- [INFO] [stdout] 3202 | | #( #attrs )* [INFO] [stdout] 3203 | | pub type #ident = #repr; [INFO] [stdout] 3204 | | }; [INFO] [stdout] | |_________________- these local bindings with significant drop implementation may 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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> codegen/mod.rs:3340:17 [INFO] [stdout] | [INFO] [stdout] 3333 | self, [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 3334 | ctx: &BindgenContext, [INFO] [stdout] 3335 | rust_ty: syn::Type, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3340 | attrs, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3352 | / quote! { [INFO] [stdout] 3353 | | #( #attrs )* [INFO] [stdout] 3354 | | pub enum #ident { [INFO] [stdout] 3355 | | #variants [INFO] [stdout] 3356 | | } [INFO] [stdout] 3357 | | } [INFO] [stdout] | |_________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3414 | EnumBuilder::Consts { variants, .. } => quote! { #( #variants )* }, [INFO] [stdout] | -------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3421 | / quote! { [INFO] [stdout] 3422 | | pub mod #ident { [INFO] [stdout] 3423 | | #( #module_items )* [INFO] [stdout] 3424 | | } [INFO] [stdout] 3425 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________________| [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bindgen` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bindgen` (lib test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0ed402ec6cd4c150d93329c2c418e69ae65ff59fa518f234fd6400bbb1b0755d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ed402ec6cd4c150d93329c2c418e69ae65ff59fa518f234fd6400bbb1b0755d", kill_on_drop: false }` [INFO] [stdout] 0ed402ec6cd4c150d93329c2c418e69ae65ff59fa518f234fd6400bbb1b0755d