[INFO] fetching crate mem_dbg-derive 0.1.6... [INFO] checking mem_dbg-derive-0.1.6 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate mem_dbg-derive 0.1.6 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate mem_dbg-derive 0.1.6 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 mem_dbg-derive 0.1.6 [INFO] finished tweaking crates.io crate mem_dbg-derive 0.1.6 [INFO] tweaked toml for crates.io crate mem_dbg-derive 0.1.6 written to /workspace/builds/worker-1-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 4 packages to latest compatible versions [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 76108433b2c703565064f25f36e924d852e8c84d9e74026332d677a3ec2b6eef [INFO] running `Command { std: "docker" "start" "-a" "76108433b2c703565064f25f36e924d852e8c84d9e74026332d677a3ec2b6eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76108433b2c703565064f25f36e924d852e8c84d9e74026332d677a3ec2b6eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76108433b2c703565064f25f36e924d852e8c84d9e74026332d677a3ec2b6eef", kill_on_drop: false }` [INFO] [stdout] 76108433b2c703565064f25f36e924d852e8c84d9e74026332d677a3ec2b6eef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3442c0a74b4ae5e31abb29b0cda2d19a3c7f2dabd3272b50705c7c64a0c6eb7b [INFO] running `Command { std: "docker" "start" "-a" "3442c0a74b4ae5e31abb29b0cda2d19a3c7f2dabd3272b50705c7c64a0c6eb7b", kill_on_drop: false }` [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking mem_dbg-derive v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `DataStruct` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 32 | let mut 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] | 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] 33 | [INFO] [stdout] 34 | let input_ident = input.ident; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let mut where_clause = where_clause.unwrap().clone(); // We just created it [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let copy_type: syn::Expr = if is_copy_type { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Data::Struct(s) => { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 74 | / quote! { [INFO] [stdout] 75 | | #[automatically_derived] [INFO] [stdout] 76 | | impl #impl_generics mem_dbg::CopyType for #input_ident #ty_generics #where_clause [INFO] [stdout] 77 | | { [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [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] 151 | / quote! { [INFO] [stdout] 152 | | #[automatically_derived] [INFO] [stdout] 153 | | impl #impl_generics mem_dbg::CopyType for #input_ident #ty_generics #where_clause [INFO] [stdout] 154 | | { [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] 168 | | } [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 `DataStruct` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 32 | let mut 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] | 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] 33 | [INFO] [stdout] 34 | let input_ident = input.ident; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let mut where_clause = where_clause.unwrap().clone(); // We just created it [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let copy_type: syn::Expr = if is_copy_type { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Data::Struct(s) => { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 74 | / quote! { [INFO] [stdout] 75 | | #[automatically_derived] [INFO] [stdout] 76 | | impl #impl_generics mem_dbg::CopyType for #input_ident #ty_generics #where_clause [INFO] [stdout] 77 | | { [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [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] 151 | / quote! { [INFO] [stdout] 152 | | #[automatically_derived] [INFO] [stdout] 153 | | impl #impl_generics mem_dbg::CopyType for #input_ident #ty_generics #where_clause [INFO] [stdout] 154 | | { [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] 168 | | } [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 `DataStruct` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 184 | let mut 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] | 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] 185 | [INFO] [stdout] 186 | let input_ident = input.ident; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | let mut where_clause = where_clause.unwrap().clone(); // We just created it [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | Data::Struct(s) => { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 227 | / quote! { [INFO] [stdout] 228 | | #[automatically_derived] [INFO] [stdout] 229 | | impl #impl_generics mem_dbg::MemDbgImpl for #input_ident #ty_generics #where_clause { [INFO] [stdout] 230 | | #[inline(always)] [INFO] [stdout] ... | [INFO] [stdout] 263 | | } [INFO] [stdout] 264 | | } [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] 371 | variants_code.push(quote!{{ [INFO] [stdout] | ____________________________________- [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] 372 | | _memdbg_writer.write_char(#arrow)?; [INFO] [stdout] 373 | | _memdbg_writer.write_char('╴')?; [INFO] [stdout] 374 | | _memdbg_writer.write_str(#variant_name)?; [INFO] [stdout] ... | [INFO] [stdout] 408 | | [INFO] [stdout] 409 | | }}); [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] 412 | / quote! { [INFO] [stdout] 413 | | #[automatically_derived] [INFO] [stdout] 414 | | impl #impl_generics mem_dbg::MemDbgImpl for #input_ident #ty_generics #where_clause { [INFO] [stdout] 415 | | #[inline(always)] [INFO] [stdout] ... | [INFO] [stdout] 450 | | } [INFO] [stdout] 451 | | } [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: this value of type `DataStruct` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 184 | let mut 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] | 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] 185 | [INFO] [stdout] 186 | let input_ident = input.ident; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | let mut where_clause = where_clause.unwrap().clone(); // We just created it [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | Data::Struct(s) => { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 227 | / quote! { [INFO] [stdout] 228 | | #[automatically_derived] [INFO] [stdout] 229 | | impl #impl_generics mem_dbg::MemDbgImpl for #input_ident #ty_generics #where_clause { [INFO] [stdout] 230 | | #[inline(always)] [INFO] [stdout] ... | [INFO] [stdout] 263 | | } [INFO] [stdout] 264 | | } [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] 371 | variants_code.push(quote!{{ [INFO] [stdout] | ____________________________________- [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] | |____________________________________| [INFO] [stdout] 372 | | _memdbg_writer.write_char(#arrow)?; [INFO] [stdout] 373 | | _memdbg_writer.write_char('╴')?; [INFO] [stdout] 374 | | _memdbg_writer.write_str(#variant_name)?; [INFO] [stdout] ... | [INFO] [stdout] 408 | | [INFO] [stdout] 409 | | }}); [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] 412 | / quote! { [INFO] [stdout] 413 | | #[automatically_derived] [INFO] [stdout] 414 | | impl #impl_generics mem_dbg::MemDbgImpl for #input_ident #ty_generics #where_clause { [INFO] [stdout] 415 | | #[inline(always)] [INFO] [stdout] ... | [INFO] [stdout] 450 | | } [INFO] [stdout] 451 | | } [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mem_dbg-derive` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mem_dbg-derive` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "3442c0a74b4ae5e31abb29b0cda2d19a3c7f2dabd3272b50705c7c64a0c6eb7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3442c0a74b4ae5e31abb29b0cda2d19a3c7f2dabd3272b50705c7c64a0c6eb7b", kill_on_drop: false }` [INFO] [stdout] 3442c0a74b4ae5e31abb29b0cda2d19a3c7f2dabd3272b50705c7c64a0c6eb7b