[INFO] fetching crate ensnare-proc-macros 0.0.5... [INFO] checking ensnare-proc-macros-0.0.5 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate ensnare-proc-macros 0.0.5 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate ensnare-proc-macros 0.0.5 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 ensnare-proc-macros 0.0.5 [INFO] finished tweaking crates.io crate ensnare-proc-macros 0.0.5 [INFO] tweaked toml for crates.io crate ensnare-proc-macros 0.0.5 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [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] 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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92193a4c55f3b4a82e47ca95d3e141ce93d697aec1cac76e12f521f8ec3da7fc [INFO] running `Command { std: "docker" "start" "-a" "92193a4c55f3b4a82e47ca95d3e141ce93d697aec1cac76e12f521f8ec3da7fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92193a4c55f3b4a82e47ca95d3e141ce93d697aec1cac76e12f521f8ec3da7fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92193a4c55f3b4a82e47ca95d3e141ce93d697aec1cac76e12f521f8ec3da7fc", kill_on_drop: false }` [INFO] [stdout] 92193a4c55f3b4a82e47ca95d3e141ce93d697aec1cac76e12f521f8ec3da7fc [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 654b374f436070bc7697a2be30b743de5efcae1a75928e484d9a579b8da4e250 [INFO] running `Command { std: "docker" "start" "-a" "654b374f436070bc7697a2be30b743de5efcae1a75928e484d9a579b8da4e250", kill_on_drop: false }` [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking syn v1.0.109 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking proc-macro-crate v3.2.0 [INFO] [stderr] Checking ensnare-proc-macros v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `DeriveInput` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/control.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let input = parse_macro_input!(input as DeriveInput); [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] 88 | let size_const_body = quote! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 89 | | #( const #size_const_ids: usize = #size_const_values; )* [INFO] [stdout] 90 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | let main_const_body = quote! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 133 | | #( pub const #index_const_ids: usize = #index_const_values; )* [INFO] [stdout] 134 | | #( pub const #name_const_ids: &'static str = #name_const_values; )* [INFO] [stdout] 135 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | let range_const_body = quote! { [INFO] [stdout] | ________________________________- [INFO] [stdout] 137 | | #( pub const #index_const_range_end_ids: usize = #index_const_values + #size_const_values - 1; )* [INFO] [stdout] 138 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | / quote! { [INFO] [stdout] 145 | | pub const STRUCT_SIZE: usize = 0 + #( Self::#size_const_ids )+* ; [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | let control_name_for_index_body = quote! { [INFO] [stdout] | ___________________________________________- [INFO] [stdout] | |___________________________________________| [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 167 | | fn control_name_for_index(&self, index: #main_crate::automation::ControlIndex) -> Option { [INFO] [stdout] 168 | | match index.0 { [INFO] [stdout] 169 | | #( Self::#index_const_ids..=Self::#index_const_range_end_ids => {#id_bodies}, )* [INFO] [stdout] ... | [INFO] [stdout] 172 | | } [INFO] [stdout] 173 | | }; [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] 174 | let control_set_param_by_index_bodies = quote! { [INFO] [stdout] | _________________________________________________- [INFO] [stdout] | |_________________________________________________| [INFO] [stdout] | |_________________________________________________| [INFO] [stdout] 175 | | fn control_set_param_by_index(&mut self, index: #main_crate::automation::ControlIndex, value: #main_crate::automation::Contro... [INFO] [stdout] 176 | | match index.0 { [INFO] [stdout] 177 | | #( Self::#index_const_ids..=Self::#index_const_range_end_ids => {#setter_bodies}, )* [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] 181 | | }; [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] ... [INFO] [stdout] 206 | let control_index_for_name_body = quote! { [INFO] [stdout] | ___________________________________________- [INFO] [stdout] | |___________________________________________| [INFO] [stdout] | |___________________________________________| [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 207 | | fn control_index_for_name(&self, name: & str) -> Option<#main_crate::automation::ControlIndex> { [INFO] [stdout] 208 | | match name { [INFO] [stdout] 209 | | #( #leaf_names => Some(#main_crate::automation::ControlIndex(#leaf_indexes)), )* [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] 222 | | }; [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 `DeriveInput` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let input = parse_macro_input!(input as DeriveInput); [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] 81 | let quote = quote! { [INFO] [stdout] | _____________________- [INFO] [stdout] 82 | | #[automatically_derived] [INFO] [stdout] 83 | | #[typetag::serde] [INFO] [stdout] 84 | | impl #generics #crate_name::traits::Entity for #struct_name #ty_generics {} [INFO] [stdout] 85 | | #( impl #generics #top_level_trait_names for #struct_name #ty_generics {} )* [INFO] [stdout] 86 | | }; [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ensnare-proc-macros` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `DeriveInput` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/control.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let input = parse_macro_input!(input as DeriveInput); [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] 88 | let size_const_body = quote! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 89 | | #( const #size_const_ids: usize = #size_const_values; )* [INFO] [stdout] 90 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | let main_const_body = quote! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 133 | | #( pub const #index_const_ids: usize = #index_const_values; )* [INFO] [stdout] 134 | | #( pub const #name_const_ids: &'static str = #name_const_values; )* [INFO] [stdout] 135 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | let range_const_body = quote! { [INFO] [stdout] | ________________________________- [INFO] [stdout] 137 | | #( pub const #index_const_range_end_ids: usize = #index_const_values + #size_const_values - 1; )* [INFO] [stdout] 138 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | / quote! { [INFO] [stdout] 145 | | pub const STRUCT_SIZE: usize = 0 + #( Self::#size_const_ids )+* ; [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | let control_name_for_index_body = quote! { [INFO] [stdout] | ___________________________________________- [INFO] [stdout] | |___________________________________________| [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 167 | | fn control_name_for_index(&self, index: #main_crate::automation::ControlIndex) -> Option { [INFO] [stdout] 168 | | match index.0 { [INFO] [stdout] 169 | | #( Self::#index_const_ids..=Self::#index_const_range_end_ids => {#id_bodies}, )* [INFO] [stdout] ... | [INFO] [stdout] 172 | | } [INFO] [stdout] 173 | | }; [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] 174 | let control_set_param_by_index_bodies = quote! { [INFO] [stdout] | _________________________________________________- [INFO] [stdout] | |_________________________________________________| [INFO] [stdout] | |_________________________________________________| [INFO] [stdout] 175 | | fn control_set_param_by_index(&mut self, index: #main_crate::automation::ControlIndex, value: #main_crate::automation::Contro... [INFO] [stdout] 176 | | match index.0 { [INFO] [stdout] 177 | | #( Self::#index_const_ids..=Self::#index_const_range_end_ids => {#setter_bodies}, )* [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] 181 | | }; [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] ... [INFO] [stdout] 206 | let control_index_for_name_body = quote! { [INFO] [stdout] | ___________________________________________- [INFO] [stdout] | |___________________________________________| [INFO] [stdout] | |___________________________________________| [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 207 | | fn control_index_for_name(&self, name: & str) -> Option<#main_crate::automation::ControlIndex> { [INFO] [stdout] 208 | | match name { [INFO] [stdout] 209 | | #( #leaf_names => Some(#main_crate::automation::ControlIndex(#leaf_indexes)), )* [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] 222 | | }; [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 `DeriveInput` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let input = parse_macro_input!(input as DeriveInput); [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] 81 | let quote = quote! { [INFO] [stdout] | _____________________- [INFO] [stdout] 82 | | #[automatically_derived] [INFO] [stdout] 83 | | #[typetag::serde] [INFO] [stdout] 84 | | impl #generics #crate_name::traits::Entity for #struct_name #ty_generics {} [INFO] [stdout] 85 | | #( impl #generics #top_level_trait_names for #struct_name #ty_generics {} )* [INFO] [stdout] 86 | | }; [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ensnare-proc-macros` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "654b374f436070bc7697a2be30b743de5efcae1a75928e484d9a579b8da4e250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "654b374f436070bc7697a2be30b743de5efcae1a75928e484d9a579b8da4e250", kill_on_drop: false }` [INFO] [stdout] 654b374f436070bc7697a2be30b743de5efcae1a75928e484d9a579b8da4e250