[INFO] fetching crate safer-ffi-gen-macro 0.9.2... [INFO] checking safer-ffi-gen-macro-0.9.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate safer-ffi-gen-macro 0.9.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate safer-ffi-gen-macro 0.9.2 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 safer-ffi-gen-macro 0.9.2 [INFO] finished tweaking crates.io crate safer-ffi-gen-macro 0.9.2 [INFO] tweaked toml for crates.io crate safer-ffi-gen-macro 0.9.2 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32d3421f725264860f2b50e259d6cc782760c02848875c545989d2effa9089e4 [INFO] running `Command { std: "docker" "start" "-a" "32d3421f725264860f2b50e259d6cc782760c02848875c545989d2effa9089e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32d3421f725264860f2b50e259d6cc782760c02848875c545989d2effa9089e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32d3421f725264860f2b50e259d6cc782760c02848875c545989d2effa9089e4", kill_on_drop: false }` [INFO] [stdout] 32d3421f725264860f2b50e259d6cc782760c02848875c545989d2effa9089e4 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8201de1a01b6f24d8b932f9dd2640364e4b2ce7d7cc8c5696b70c994764d11bb [INFO] running `Command { std: "docker" "start" "-a" "8201de1a01b6f24d8b932f9dd2640364e4b2ce7d7cc8c5696b70c994764d11bb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling assert2-macros v0.3.15 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking assert2 v0.3.15 [INFO] [stderr] Checking safer-ffi-gen-macro v0.9.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi_module.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 77 | let free_functions = self [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | let macro_name = specialization_macro_name(&type_prefix); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | / quote! { [INFO] [stdout] 151 | | #[macro_export] [INFO] [stdout] 152 | | macro_rules! #macro_name { [INFO] [stdout] 153 | | ($alias:ident = $ty:ty) => { [INFO] [stdout] ... | [INFO] [stdout] 156 | | } [INFO] [stdout] 157 | | } [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] | [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 `(bool, Option)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi_signature.rs:373:15 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn new(options: FfiSignatureOptions, function: ItemFn) -> Result { [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] 369 | let has_only_lifetime_params = has_only_lifetime_parameters(&function.sig.generics); [INFO] [stdout] 370 | let attrs = function.attrs.into_iter().filter(is_cfg).collect(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 371 | let signature = function.sig.try_into()?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 372 | [INFO] [stdout] 373 | match (has_only_lifetime_params, options.ffi_name) { [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 `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi_type.rs:365:25 [INFO] [stdout] | [INFO] [stdout] 365 | let function = new_ident( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | Some(quote! { [INFO] [stdout] | __________________________- [INFO] [stdout] 373 | | #(#cfg_attrs)* [INFO] [stdout] 374 | | #[::safer_ffi_gen::safer_ffi::ffi_export] [INFO] [stdout] 375 | | pub fn #function #impl_generics(x: &#ty #type_generics) -> ::core::option::Option<&#field_ty> #where_clause { [INFO] [stdout] ... | [INFO] [stdout] 381 | | } [INFO] [stdout] 382 | | }) [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::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi_module.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 77 | let free_functions = self [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | let macro_name = specialization_macro_name(&type_prefix); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | / quote! { [INFO] [stdout] 151 | | #[macro_export] [INFO] [stdout] 152 | | macro_rules! #macro_name { [INFO] [stdout] 153 | | ($alias:ident = $ty:ty) => { [INFO] [stdout] ... | [INFO] [stdout] 156 | | } [INFO] [stdout] 157 | | } [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] | [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `safer-ffi-gen-macro` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `(bool, Option)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi_signature.rs:373:15 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn new(options: FfiSignatureOptions, function: ItemFn) -> Result { [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] 369 | let has_only_lifetime_params = has_only_lifetime_parameters(&function.sig.generics); [INFO] [stdout] 370 | let attrs = function.attrs.into_iter().filter(is_cfg).collect(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 371 | let signature = function.sig.try_into()?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 372 | [INFO] [stdout] 373 | match (has_only_lifetime_params, options.ffi_name) { [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 `proc_macro2::Ident` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi_type.rs:365:25 [INFO] [stdout] | [INFO] [stdout] 365 | let function = new_ident( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | Some(quote! { [INFO] [stdout] | __________________________- [INFO] [stdout] 373 | | #(#cfg_attrs)* [INFO] [stdout] 374 | | #[::safer_ffi_gen::safer_ffi::ffi_export] [INFO] [stdout] 375 | | pub fn #function #impl_generics(x: &#ty #type_generics) -> ::core::option::Option<&#field_ty> #where_clause { [INFO] [stdout] ... | [INFO] [stdout] 381 | | } [INFO] [stdout] 382 | | }) [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 `safer-ffi-gen-macro` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "8201de1a01b6f24d8b932f9dd2640364e4b2ce7d7cc8c5696b70c994764d11bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8201de1a01b6f24d8b932f9dd2640364e4b2ce7d7cc8c5696b70c994764d11bb", kill_on_drop: false }` [INFO] [stdout] 8201de1a01b6f24d8b932f9dd2640364e4b2ce7d7cc8c5696b70c994764d11bb