[INFO] fetching crate wgsl_bindgen 0.15.1... [INFO] checking wgsl_bindgen-0.15.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate wgsl_bindgen 0.15.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate wgsl_bindgen 0.15.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wgsl_bindgen 0.15.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wgsl_bindgen 0.15.1 [INFO] tweaked toml for crates.io crate wgsl_bindgen 0.15.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 156 packages to latest compatible versions [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-set v0.6.0 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.7.0 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (available: v0.2.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding quick-xml v0.32.0 (available: v0.36.2) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding smol_str v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding terminal_size v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e1ef51ddc2d535d39139692b4872db73531d51956e4ae2ef7aee8fdeed772a2 [INFO] running `Command { std: "docker" "start" "-a" "9e1ef51ddc2d535d39139692b4872db73531d51956e4ae2ef7aee8fdeed772a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e1ef51ddc2d535d39139692b4872db73531d51956e4ae2ef7aee8fdeed772a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e1ef51ddc2d535d39139692b4872db73531d51956e4ae2ef7aee8fdeed772a2", kill_on_drop: false }` [INFO] [stdout] 9e1ef51ddc2d535d39139692b4872db73531d51956e4ae2ef7aee8fdeed772a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ecacd7b09928246852508d6c4ef1633b548520ab99c5acd7241172026bba0a2 [INFO] running `Command { std: "docker" "start" "-a" "8ecacd7b09928246852508d6c4ef1633b548520ab99c5acd7241172026bba0a2", kill_on_drop: false }` [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling naga v22.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking bit-set v0.6.0 [INFO] [stderr] Checking pp-rs v0.2.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking supports-color v3.0.1 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking wgpu-types v22.0.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking case v1.0.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking plist v1.7.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.1 [INFO] [stderr] Checking derive_builder v0.20.1 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking naga_oil v0.15.0 [INFO] [stderr] Checking wgsl_bindgen v0.15.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `minify` [INFO] [stdout] --> src/naga_util/module_to_source.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "minify")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `minify` 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: `minify` [INFO] [stdout] --> src/naga_util/module_to_source.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "minify")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `minify` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generate/entry.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let fn_name = [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | quote!(#(#step_mode_params),*, #overrides) [INFO] [stdout] | ------------------------------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | Some(quote! { [INFO] [stdout] | ______________- [INFO] [stdout] | |______________| [INFO] [stdout] | |______________| [INFO] [stdout] | |______________| [INFO] [stdout] 107 | | pub fn #fn_name(#params) -> VertexEntry<#n> { [INFO] [stdout] 108 | | VertexEntry { [INFO] [stdout] 109 | | entry_point: #const_name, [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | }) [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] | [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] warning: unexpected `cfg` condition value: `minify` [INFO] [stdout] --> src/naga_util/module_to_source.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "minify")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `minify` 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: `minify` [INFO] [stdout] --> src/naga_util/module_to_source.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "minify")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `minify` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/quote_gen/rust_struct_builder.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 378 | let struct_name_in_usage = self.struct_name_in_usage_fragment(); [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 379 | let impl_fragment = self.impl_trait_for_fragment(); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 380 | [INFO] [stdout] 381 | let mut non_padding_members = Vec::new(); [INFO] [stdout] | ----------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 382 | let mut member_assignments = Vec::new(); [INFO] [stdout] | ---------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 399 | let struct_name = self.name_ident(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 400 | let ty_param_def = self.ty_param_def(); [INFO] [stdout] 401 | / quote! { [INFO] [stdout] 402 | | pub const fn #struct_name #ty_param_def(#(#non_padding_members),*) -> #struct_name_in_usage { [INFO] [stdout] 403 | | #struct_name { [INFO] [stdout] 404 | | #(#member_assignments),* [INFO] [stdout] 405 | | } [INFO] [stdout] 406 | | } [INFO] [stdout] 407 | | } [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] 408 | } [INFO] [stdout] 409 | _ => quote! { [INFO] [stdout] | ____________- [INFO] [stdout] | |____________| [INFO] [stdout] | |____________| [INFO] [stdout] | |____________| [INFO] [stdout] | |____________| [INFO] [stdout] 410 | | #impl_fragment #struct_name_in_usage { [INFO] [stdout] 411 | | pub const fn new( [INFO] [stdout] 412 | | #(#non_padding_members),* [INFO] [stdout] ... | [INFO] [stdout] 418 | | } [INFO] [stdout] 419 | | }, [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] = 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 `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/quote_gen/rust_struct_builder.rs:536:11 [INFO] [stdout] | [INFO] [stdout] 501 | let fully_qualified_name_str = self.item_path.get_fully_qualified_name(); [INFO] [stdout] | ------------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 502 | [INFO] [stdout] 503 | let fully_qualified_name = [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 504 | syn::parse_str::(&fully_qualified_name_str).unwrap(); [INFO] [stdout] 505 | let struct_name = if self.uses_generics_for_rts() { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 511 | let assert_member_offsets: Vec<_> = self [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 536 | let assertion_name = format_ident!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | / quote! { [INFO] [stdout] 542 | | const #assertion_name: () = { [INFO] [stdout] 543 | | #(#assert_member_offsets)* [INFO] [stdout] 544 | | assert!(std::mem::size_of::<#struct_name>() == #struct_size); [INFO] [stdout] 545 | | }; [INFO] [stdout] 546 | | } [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 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wgsl_bindgen` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generate/entry.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let fn_name = [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | quote!(#(#step_mode_params),*, #overrides) [INFO] [stdout] | ------------------------------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | Some(quote! { [INFO] [stdout] | ______________- [INFO] [stdout] | |______________| [INFO] [stdout] | |______________| [INFO] [stdout] | |______________| [INFO] [stdout] 107 | | pub fn #fn_name(#params) -> VertexEntry<#n> { [INFO] [stdout] 108 | | VertexEntry { [INFO] [stdout] 109 | | entry_point: #const_name, [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | }) [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] | [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 `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/quote_gen/rust_struct_builder.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 378 | let struct_name_in_usage = self.struct_name_in_usage_fragment(); [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 379 | let impl_fragment = self.impl_trait_for_fragment(); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 380 | [INFO] [stdout] 381 | let mut non_padding_members = Vec::new(); [INFO] [stdout] | ----------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 382 | let mut member_assignments = Vec::new(); [INFO] [stdout] | ---------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 399 | let struct_name = self.name_ident(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 400 | let ty_param_def = self.ty_param_def(); [INFO] [stdout] 401 | / quote! { [INFO] [stdout] 402 | | pub const fn #struct_name #ty_param_def(#(#non_padding_members),*) -> #struct_name_in_usage { [INFO] [stdout] 403 | | #struct_name { [INFO] [stdout] 404 | | #(#member_assignments),* [INFO] [stdout] 405 | | } [INFO] [stdout] 406 | | } [INFO] [stdout] 407 | | } [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] 408 | } [INFO] [stdout] 409 | _ => quote! { [INFO] [stdout] | ____________- [INFO] [stdout] | |____________| [INFO] [stdout] | |____________| [INFO] [stdout] | |____________| [INFO] [stdout] | |____________| [INFO] [stdout] 410 | | #impl_fragment #struct_name_in_usage { [INFO] [stdout] 411 | | pub const fn new( [INFO] [stdout] 412 | | #(#non_padding_members),* [INFO] [stdout] ... | [INFO] [stdout] 418 | | } [INFO] [stdout] 419 | | }, [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] = 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 `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/quote_gen/rust_struct_builder.rs:536:11 [INFO] [stdout] | [INFO] [stdout] 501 | let fully_qualified_name_str = self.item_path.get_fully_qualified_name(); [INFO] [stdout] | ------------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 502 | [INFO] [stdout] 503 | let fully_qualified_name = [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 504 | syn::parse_str::(&fully_qualified_name_str).unwrap(); [INFO] [stdout] 505 | let struct_name = if self.uses_generics_for_rts() { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 511 | let assert_member_offsets: Vec<_> = self [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 536 | let assertion_name = format_ident!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | / quote! { [INFO] [stdout] 542 | | const #assertion_name: () = { [INFO] [stdout] 543 | | #(#assert_member_offsets)* [INFO] [stdout] 544 | | assert!(std::mem::size_of::<#struct_name>() == #struct_size); [INFO] [stdout] 545 | | }; [INFO] [stdout] 546 | | } [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 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wgsl_bindgen` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8ecacd7b09928246852508d6c4ef1633b548520ab99c5acd7241172026bba0a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ecacd7b09928246852508d6c4ef1633b548520ab99c5acd7241172026bba0a2", kill_on_drop: false }` [INFO] [stdout] 8ecacd7b09928246852508d6c4ef1633b548520ab99c5acd7241172026bba0a2