[INFO] fetching crate ad-astra-export 1.0.0... [INFO] checking ad-astra-export-1.0.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate ad-astra-export 1.0.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate ad-astra-export 1.0.0 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 ad-astra-export 1.0.0 [INFO] finished tweaking crates.io crate ad-astra-export 1.0.0 [INFO] tweaked toml for crates.io crate ad-astra-export 1.0.0 written to /workspace/builds/worker-3-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 29 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 03c3743c8d2680cb994186bd333539d12dda79520ae27b7cca5111617ff07b7f [INFO] running `Command { std: "docker" "start" "-a" "03c3743c8d2680cb994186bd333539d12dda79520ae27b7cca5111617ff07b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03c3743c8d2680cb994186bd333539d12dda79520ae27b7cca5111617ff07b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03c3743c8d2680cb994186bd333539d12dda79520ae27b7cca5111617ff07b7f", kill_on_drop: false }` [INFO] [stdout] 03c3743c8d2680cb994186bd333539d12dda79520ae27b7cca5111617ff07b7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 38de1beb6640bd35abcee9a5118a9f677b6ea87b1956a4260dac3d10f3074d83 [INFO] running `Command { std: "docker" "start" "-a" "38de1beb6640bd35abcee9a5118a9f677b6ea87b1956a4260dac3d10f3074d83", kill_on_drop: false }` [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.210 [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 toml v0.8.19 [INFO] [stderr] Checking cargo_toml v0.20.5 [INFO] [stderr] Checking ad-astra-export v1.0.0 (/opt/rustwide/workdir) [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/utils/invoke.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 343 | function_generics: PathArguments, [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | let mut arguments_downcast = Vec::with_capacity(arguments_count); [INFO] [stdout] | ---------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 385 | let core = function_span.face_core(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 386 | [INFO] [stdout] 387 | let arity_check = quote_spanned!(function_span=> [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 406 | let function = match (self_type, trait_type) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 425 | let application = quote_spanned!(output_span=> [INFO] [stdout] | _____________________^^^^^^^^^^^___- [INFO] [stdout] | |___________________________________| [INFO] [stdout] | | [INFO] [stdout] 426 | | let result: #output = #function(#( [INFO] [stdout] 427 | | #arguments_list [INFO] [stdout] 428 | | ),*); [INFO] [stdout] 429 | | ); [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] 430 | [INFO] [stdout] 431 | / quote_spanned!(function_span=> { [INFO] [stdout] 432 | | #arity_check [INFO] [stdout] 433 | | [INFO] [stdout] 434 | | #( [INFO] [stdout] ... | [INFO] [stdout] 440 | | #core::runtime::Cell::give(origin, result) [INFO] [stdout] 441 | | }) [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] 451 | let application = quote_spanned!(output_span=> [INFO] [stdout] | ___________________________________- [INFO] [stdout] | |___________________________________| [INFO] [stdout] 452 | | let result: #output = #function(receiver, #( [INFO] [stdout] 453 | | #arguments_list [INFO] [stdout] 454 | | ),*); [INFO] [stdout] 455 | | ); [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] 456 | [INFO] [stdout] 457 | / quote_spanned!(function_span=> { [INFO] [stdout] 458 | | #arity_check [INFO] [stdout] 459 | | [INFO] [stdout] 460 | | let receiver = #core::runtime::Cell::take::<#function_type>( [INFO] [stdout] ... | [INFO] [stdout] 475 | | #core::runtime::Cell::give(origin, result) [INFO] [stdout] 476 | | }) [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] 488 | let application = quote_spanned!(output_span=> [INFO] [stdout] | ___________________________________- [INFO] [stdout] | |___________________________________| [INFO] [stdout] 489 | | let result: #output = #function(receiver, #( [INFO] [stdout] 490 | | #arguments_list [INFO] [stdout] 491 | | ),*); [INFO] [stdout] 492 | | ); [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] 509 | / quote_spanned!(function_span=> { [INFO] [stdout] 510 | | #arity_check [INFO] [stdout] 511 | | [INFO] [stdout] 512 | | let receiver = #core::runtime::Cell::take::<#function_type>( [INFO] [stdout] ... | [INFO] [stdout] 543 | | ) [INFO] [stdout] 544 | | }) [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] = 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/utils/invoke.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 343 | function_generics: PathArguments, [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | let mut arguments_downcast = Vec::with_capacity(arguments_count); [INFO] [stdout] | ---------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 385 | let core = function_span.face_core(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 386 | [INFO] [stdout] 387 | let arity_check = quote_spanned!(function_span=> [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 406 | let function = match (self_type, trait_type) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 425 | let application = quote_spanned!(output_span=> [INFO] [stdout] | _____________________^^^^^^^^^^^___- [INFO] [stdout] | |___________________________________| [INFO] [stdout] | | [INFO] [stdout] 426 | | let result: #output = #function(#( [INFO] [stdout] 427 | | #arguments_list [INFO] [stdout] 428 | | ),*); [INFO] [stdout] 429 | | ); [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] 430 | [INFO] [stdout] 431 | / quote_spanned!(function_span=> { [INFO] [stdout] 432 | | #arity_check [INFO] [stdout] 433 | | [INFO] [stdout] 434 | | #( [INFO] [stdout] ... | [INFO] [stdout] 440 | | #core::runtime::Cell::give(origin, result) [INFO] [stdout] 441 | | }) [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] 451 | let application = quote_spanned!(output_span=> [INFO] [stdout] | ___________________________________- [INFO] [stdout] | |___________________________________| [INFO] [stdout] 452 | | let result: #output = #function(receiver, #( [INFO] [stdout] 453 | | #arguments_list [INFO] [stdout] 454 | | ),*); [INFO] [stdout] 455 | | ); [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] 456 | [INFO] [stdout] 457 | / quote_spanned!(function_span=> { [INFO] [stdout] 458 | | #arity_check [INFO] [stdout] 459 | | [INFO] [stdout] 460 | | let receiver = #core::runtime::Cell::take::<#function_type>( [INFO] [stdout] ... | [INFO] [stdout] 475 | | #core::runtime::Cell::give(origin, result) [INFO] [stdout] 476 | | }) [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] 488 | let application = quote_spanned!(output_span=> [INFO] [stdout] | ___________________________________- [INFO] [stdout] | |___________________________________| [INFO] [stdout] 489 | | let result: #output = #function(receiver, #( [INFO] [stdout] 490 | | #arguments_list [INFO] [stdout] 491 | | ),*); [INFO] [stdout] 492 | | ); [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] 509 | / quote_spanned!(function_span=> { [INFO] [stdout] 510 | | #arity_check [INFO] [stdout] 511 | | [INFO] [stdout] 512 | | let receiver = #core::runtime::Cell::take::<#function_type>( [INFO] [stdout] ... | [INFO] [stdout] 543 | | ) [INFO] [stdout] 544 | | }) [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] = 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 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ad-astra-export` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ad-astra-export` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "38de1beb6640bd35abcee9a5118a9f677b6ea87b1956a4260dac3d10f3074d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38de1beb6640bd35abcee9a5118a9f677b6ea87b1956a4260dac3d10f3074d83", kill_on_drop: false }` [INFO] [stdout] 38de1beb6640bd35abcee9a5118a9f677b6ea87b1956a4260dac3d10f3074d83