[INFO] fetching crate derive_builder_core 0.20.1... [INFO] checking derive_builder_core-0.20.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate derive_builder_core 0.20.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate derive_builder_core 0.20.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 derive_builder_core 0.20.1 [INFO] finished tweaking crates.io crate derive_builder_core 0.20.1 [INFO] tweaked toml for crates.io crate derive_builder_core 0.20.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f91d292085c375e15e9304d6bbf0faa149676318115ab99f41584ee036f648f [INFO] running `Command { std: "docker" "start" "-a" "9f91d292085c375e15e9304d6bbf0faa149676318115ab99f41584ee036f648f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f91d292085c375e15e9304d6bbf0faa149676318115ab99f41584ee036f648f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f91d292085c375e15e9304d6bbf0faa149676318115ab99f41584ee036f648f", kill_on_drop: false }` [INFO] [stdout] 9f91d292085c375e15e9304d6bbf0faa149676318115ab99f41584ee036f648f [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f4a81cf6e9ac08a528b88c71d64fccb732bcb4c6c7566fe243297f7f4f39b51 [INFO] running `Command { std: "docker" "start" "-a" "5f4a81cf6e9ac08a528b88c71d64fccb732bcb4c6c7566fe243297f7f4f39b51", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.79 [INFO] [stderr] Checking darling_core v0.20.10 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking darling v0.20.10 [INFO] [stderr] Checking derive_builder_core v0.20.1 (/opt/rustwide/workdir) [INFO] [stdout] error: elided lifetime has a name [INFO] [stdout] --> src/initializer.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 105 | impl<'a> Initializer<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 106 | /// To be used inside of `#struct_field: match self.#builder_field { ... }` [INFO] [stdout] 107 | fn match_some(&'a self) -> MatchSome { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | #![deny(warnings, missing_docs)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(elided_named_lifetimes)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: elided lifetime has a name [INFO] [stdout] --> src/initializer.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 105 | impl<'a> Initializer<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 106 | /// To be used inside of `#struct_field: match self.#builder_field { ... }` [INFO] [stdout] 107 | fn match_some(&'a self) -> MatchSome { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | #![deny(warnings, missing_docs)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(elided_named_lifetimes)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `syn::Generics` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/builder.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | let bounded_generics = self.compute_impl_bounds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | tokens.append_all(quote!( [INFO] [stdout] | _______________________________- [INFO] [stdout] | |_______________________________| [INFO] [stdout] 204 | | #derive_attr [INFO] [stdout] 205 | | #(#struct_attrs)* [INFO] [stdout] 206 | | #builder_doc_comment [INFO] [stdout] ... | [INFO] [stdout] 209 | | } [INFO] [stdout] 210 | | )); [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] 215 | tokens.append_all(quote!( [INFO] [stdout] | _______________________________- [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] 216 | | #(#impl_attrs)* [INFO] [stdout] 217 | | #[allow(dead_code)] [INFO] [stdout] 218 | | impl #impl_generics #builder_ident #impl_ty_generics #impl_where_clause { [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | )); [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::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/setter.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let self_param: TokenStream; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | tokens.append_all(quote!( [INFO] [stdout] | _______________________________- [INFO] [stdout] 141 | | #(#attrs)* [INFO] [stdout] 142 | | #[allow(unused_mut)] [INFO] [stdout] 143 | | #vis fn #ident #ty_params (#self_param, value: #param_ty) [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | )); [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | tokens.append_all(quote!( [INFO] [stdout] | ___________________________________- [INFO] [stdout] 167 | | #(#attrs)* [INFO] [stdout] 168 | | #vis fn #try_ident #try_ty_params (#self_param, value: VALUE) [INFO] [stdout] 169 | | -> #crate_root::export::core::result::Result<#return_ty, VALUE::Error> [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] 176 | | )); [INFO] [stdout] | |_________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | tokens.append_all(quote!( [INFO] [stdout] | ___________________________________- [INFO] [stdout] 211 | | #(#attrs)* [INFO] [stdout] 212 | | #[allow(unused_mut)] [INFO] [stdout] 213 | | #vis fn #ident_each #ty_params(#self_param, item: #param_ty) -> #return_ty [INFO] [stdout] ... | [INFO] [stdout] 223 | | } [INFO] [stdout] 224 | | )); [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `derive_builder_core` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `syn::Generics` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/builder.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | let bounded_generics = self.compute_impl_bounds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | tokens.append_all(quote!( [INFO] [stdout] | _______________________________- [INFO] [stdout] | |_______________________________| [INFO] [stdout] 204 | | #derive_attr [INFO] [stdout] 205 | | #(#struct_attrs)* [INFO] [stdout] 206 | | #builder_doc_comment [INFO] [stdout] ... | [INFO] [stdout] 209 | | } [INFO] [stdout] 210 | | )); [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] 215 | tokens.append_all(quote!( [INFO] [stdout] | _______________________________- [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] | |_______________________________| [INFO] [stdout] 216 | | #(#impl_attrs)* [INFO] [stdout] 217 | | #[allow(dead_code)] [INFO] [stdout] 218 | | impl #impl_generics #builder_ident #impl_ty_generics #impl_where_clause { [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | )); [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::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/setter.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let self_param: TokenStream; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | tokens.append_all(quote!( [INFO] [stdout] | _______________________________- [INFO] [stdout] 141 | | #(#attrs)* [INFO] [stdout] 142 | | #[allow(unused_mut)] [INFO] [stdout] 143 | | #vis fn #ident #ty_params (#self_param, value: #param_ty) [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | )); [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | tokens.append_all(quote!( [INFO] [stdout] | ___________________________________- [INFO] [stdout] 167 | | #(#attrs)* [INFO] [stdout] 168 | | #vis fn #try_ident #try_ty_params (#self_param, value: VALUE) [INFO] [stdout] 169 | | -> #crate_root::export::core::result::Result<#return_ty, VALUE::Error> [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] 176 | | )); [INFO] [stdout] | |_________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | tokens.append_all(quote!( [INFO] [stdout] | ___________________________________- [INFO] [stdout] 211 | | #(#attrs)* [INFO] [stdout] 212 | | #[allow(unused_mut)] [INFO] [stdout] 213 | | #vis fn #ident_each #ty_params(#self_param, item: #param_ty) -> #return_ty [INFO] [stdout] ... | [INFO] [stdout] 223 | | } [INFO] [stdout] 224 | | )); [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 `syn::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/setter.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 627 | let ty_foo = parse_quote!(Foo); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 630 | for s in vec![ [INFO] [stdout] | _____________^____- [INFO] [stdout] | |__________________| [INFO] [stdout] | |__________________| [INFO] [stdout] | |__________________| [INFO] [stdout] | | [INFO] [stdout] 631 | | parse_quote!(Option), [INFO] [stdout] 632 | | parse_quote!(std::option::Option), [INFO] [stdout] 633 | | parse_quote!(::std::option::Option), [INFO] [stdout] 634 | | parse_quote!(core::option::Option), [INFO] [stdout] 635 | | parse_quote!(::core::option::Option), [INFO] [stdout] 636 | | ] { [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `derive_builder_core` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "5f4a81cf6e9ac08a528b88c71d64fccb732bcb4c6c7566fe243297f7f4f39b51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f4a81cf6e9ac08a528b88c71d64fccb732bcb4c6c7566fe243297f7f4f39b51", kill_on_drop: false }` [INFO] [stdout] 5f4a81cf6e9ac08a528b88c71d64fccb732bcb4c6c7566fe243297f7f4f39b51