[INFO] fetching crate ensnare-proc-macros 0.0.5... [INFO] checking ensnare-proc-macros-0.0.5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate ensnare-proc-macros 0.0.5 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate ensnare-proc-macros 0.0.5 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 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-0-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 50a3823fbd7147c3ec90a79bba2dfeb6cb50a00b10ac1fef0f4477431b3c7f24 [INFO] running `Command { std: "docker" "start" "-a" "50a3823fbd7147c3ec90a79bba2dfeb6cb50a00b10ac1fef0f4477431b3c7f24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50a3823fbd7147c3ec90a79bba2dfeb6cb50a00b10ac1fef0f4477431b3c7f24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50a3823fbd7147c3ec90a79bba2dfeb6cb50a00b10ac1fef0f4477431b3c7f24", kill_on_drop: false }` [INFO] [stdout] 50a3823fbd7147c3ec90a79bba2dfeb6cb50a00b10ac1fef0f4477431b3c7f24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 850b502ae5a51917bef6233506f41e47f9c8ea3b8a2ddf0d8fc397d696651708 [INFO] running `Command { std: "docker" "start" "-a" "850b502ae5a51917bef6233506f41e47f9c8ea3b8a2ddf0d8fc397d696651708", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking proc-macro-crate v3.2.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [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/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: 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] [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] [stderr] error: could not compile `ensnare-proc-macros` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "850b502ae5a51917bef6233506f41e47f9c8ea3b8a2ddf0d8fc397d696651708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "850b502ae5a51917bef6233506f41e47f9c8ea3b8a2ddf0d8fc397d696651708", kill_on_drop: false }` [INFO] [stdout] 850b502ae5a51917bef6233506f41e47f9c8ea3b8a2ddf0d8fc397d696651708