[INFO] fetching crate derive-where 1.2.7... [INFO] checking derive-where-1.2.7 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate derive-where 1.2.7 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate derive-where 1.2.7 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-where 1.2.7 [INFO] finished tweaking crates.io crate derive-where 1.2.7 [INFO] tweaked toml for crates.io crate derive-where 1.2.7 written to /workspace/builds/worker-6-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 37 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 573b7c7a336f61f7a9dd292ed768b7e7613cd627603037f1aa61633960fa16ff [INFO] running `Command { std: "docker" "start" "-a" "573b7c7a336f61f7a9dd292ed768b7e7613cd627603037f1aa61633960fa16ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "573b7c7a336f61f7a9dd292ed768b7e7613cd627603037f1aa61633960fa16ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "573b7c7a336f61f7a9dd292ed768b7e7613cd627603037f1aa61633960fa16ff", kill_on_drop: false }` [INFO] [stdout] 573b7c7a336f61f7a9dd292ed768b7e7613cd627603037f1aa61633960fa16ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0877e23f54717c8c0d0b0a4c99daf80725913a2b6356245c998a41bde6475427 [INFO] running `Command { std: "docker" "start" "-a" "0877e23f54717c8c0d0b0a4c99daf80725913a2b6356245c998a41bde6475427", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking syn v2.0.79 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking derive-where v1.2.7 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/attr/item.rs:312:32 [INFO] [stdout] | [INFO] [stdout] 307 | let fork = input.fork(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 312 | if let Ok(where_predicate) = WherePredicate::parse(&fork) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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::Path` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trait_/clone.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let trait_path = trait_.path(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 104 | [INFO] [stdout] 105 | / quote! { [INFO] [stdout] 106 | | #self_pattern => #item_path { #(#fields: #trait_path::clone(#self_ident)),* }, [INFO] [stdout] 107 | | } [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] 115 | / quote! { [INFO] [stdout] 116 | | #self_pattern => #item_path(#(#trait_path::clone(#self_ident)),*), [INFO] [stdout] 117 | | } [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] = 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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trait_/common_ord.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 27 | let mut equal = quote! { ::core::cmp::Ordering::Equal }; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let body_equal = if item.is_empty(**trait_) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | let incomparable = quote! { [INFO] [stdout] | ____________________________________- [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] 105 | | #(if ::core::matches!(self, #incomparable) || ::core::matches!(__other, #incomparable) { [INFO] [stdout] 106 | | return ::core::option::Option::None; [INFO] [stdout] 107 | | })* [INFO] [stdout] 108 | | }; [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] | [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::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trait_/debug.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let finish = if data.any_skip_trait(**trait_) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | / quote! { [INFO] [stdout] 63 | | #self_pattern => { [INFO] [stdout] 64 | | let mut __builder = ::core::fmt::Formatter::debug_struct(__f, #debug_name); [INFO] [stdout] 65 | | #(::core::fmt::DebugStruct::field(&mut __builder, #debug_fields, #self_ident);)* [INFO] [stdout] 66 | | ::core::fmt::DebugStruct::#finish(&mut __builder) [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [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] 73 | / quote! { [INFO] [stdout] 74 | | #self_pattern => { [INFO] [stdout] 75 | | let mut __builder = ::core::fmt::Formatter::debug_tuple(__f, #debug_name); [INFO] [stdout] 76 | | #(::core::fmt::DebugTuple::field(&mut __builder, #self_ident);)* [INFO] [stdout] 77 | | ::core::fmt::DebugTuple::finish(&mut __builder) [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | } [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] = 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::Path` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trait_/default.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | let trait_path = trait_.path(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | [INFO] [stdout] 52 | quote! { #path { #(#fields: #trait_path::default()),* } } [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] 60 | quote! { #path(#(#fields),*) } [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] | [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::Path` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trait_/partial_eq.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | let trait_path = trait_.path(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | / quote! { [INFO] [stdout] 127 | | (#self_pattern, #other_pattern) => [INFO] [stdout] 128 | | true #(&& #trait_path::eq(#self_ident, #other_ident))*, [INFO] [stdout] 129 | | } [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] = 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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:469:8 [INFO] [stdout] | [INFO] [stdout] 464 | let attr = TokenStream::from(attr); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 465 | let mut original_input = TokenStream::from(original_input); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 469 | match syn::parse2::(input) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 `Result, syn::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:591:8 [INFO] [stdout] | [INFO] [stdout] 572 | let item = match syn::parse2::(input) { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 591 | match { Input::from_input(span, &item) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] warning: field `0` is never read [INFO] [stdout] --> src/data.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | Union(&'a Fields<'a>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 | Union(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `derive-where` (lib) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0877e23f54717c8c0d0b0a4c99daf80725913a2b6356245c998a41bde6475427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0877e23f54717c8c0d0b0a4c99daf80725913a2b6356245c998a41bde6475427", kill_on_drop: false }` [INFO] [stdout] 0877e23f54717c8c0d0b0a4c99daf80725913a2b6356245c998a41bde6475427