[INFO] fetching crate axum-codec-macros 0.0.10... [INFO] checking axum-codec-macros-0.0.10 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate axum-codec-macros 0.0.10 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate axum-codec-macros 0.0.10 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 axum-codec-macros 0.0.10 [INFO] finished tweaking crates.io crate axum-codec-macros 0.0.10 [INFO] tweaked toml for crates.io crate axum-codec-macros 0.0.10 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" "+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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c50383377ff4012cf9c8bf9b7c4550bd363195aa029937886d55f7ae3176e6e6 [INFO] running `Command { std: "docker" "start" "-a" "c50383377ff4012cf9c8bf9b7c4550bd363195aa029937886d55f7ae3176e6e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c50383377ff4012cf9c8bf9b7c4550bd363195aa029937886d55f7ae3176e6e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c50383377ff4012cf9c8bf9b7c4550bd363195aa029937886d55f7ae3176e6e6", kill_on_drop: false }` [INFO] [stdout] c50383377ff4012cf9c8bf9b7c4550bd363195aa029937886d55f7ae3176e6e6 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8727b7b6150f3a20e90c51a899fb47230127fdc199286b5276932be8bae07778 [INFO] running `Command { std: "docker" "start" "-a" "8727b7b6150f3a20e90c51a899fb47230127fdc199286b5276932be8bae07778", kill_on_drop: false }` [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking axum-codec-macros v0.0.10 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `run_ui_tests` in the crate root [INFO] [stdout] --> src/debug_handler.rs:905:9 [INFO] [stdout] | [INFO] [stdout] 905 | crate::run_ui_tests("debug_handler"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_ui_tests` in the crate root [INFO] [stdout] --> src/debug_handler.rs:910:9 [INFO] [stdout] | [INFO] [stdout] 910 | crate::run_ui_tests("debug_middleware"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in the crate root [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/debug_handler.rs:85:37 [INFO] [stdout] | [INFO] [stdout] 81 | let state_ty = state_ty.unwrap_or_else(|| syn::parse_quote!(())); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | [INFO] [stdout] 83 | let check_future_send = check_future_send(&item_fn, kind); [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | [INFO] [stdout] 85 | if let Some(check_input_order) = check_input_order(&item_fn, kind) { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/debug_handler.rs:701:26 [INFO] [stdout] | [INFO] [stdout] 654 | let declare_inputs = item_fn [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 672 | let make_value_name = format_ident!( [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 677 | let make = if item_fn.sig.asyncness.is_some() { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 699 | let name = format_ident!("__axum_macros_check_{}_into_response", item_fn.sig.ident); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | [INFO] [stdout] 701 | if let Some(receiver) = self_receiver(item_fn) { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/debug_handler.rs:767:26 [INFO] [stdout] | [INFO] [stdout] 758 | let name = format_ident!("__axum_macros_check_{}_future", item_fn.sig.ident); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 759 | [INFO] [stdout] 760 | let do_check = quote! { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 767 | if let Some(receiver) = self_receiver(item_fn) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 768 | / quote! { [INFO] [stdout] 769 | | #[allow(warnings)] [INFO] [stdout] 770 | | #[allow(unreachable_code)] [INFO] [stdout] 771 | | #[doc(hidden)] [INFO] [stdout] ... | [INFO] [stdout] 775 | | } [INFO] [stdout] 776 | | } [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] 777 | } else { [INFO] [stdout] 778 | / quote! { [INFO] [stdout] 779 | | #[allow(warnings)] [INFO] [stdout] 780 | | #[allow(unreachable_code)] [INFO] [stdout] 781 | | #[doc(hidden)] [INFO] [stdout] ... | [INFO] [stdout] 786 | | } [INFO] [stdout] 787 | | } [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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/debug_handler.rs:85:37 [INFO] [stdout] | [INFO] [stdout] 81 | let state_ty = state_ty.unwrap_or_else(|| syn::parse_quote!(())); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | [INFO] [stdout] 83 | let check_future_send = check_future_send(&item_fn, kind); [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | [INFO] [stdout] 85 | if let Some(check_input_order) = check_input_order(&item_fn, kind) { [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] [stderr] error: could not compile `axum-codec-macros` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/debug_handler.rs:701:26 [INFO] [stdout] | [INFO] [stdout] 654 | let declare_inputs = item_fn [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 672 | let make_value_name = format_ident!( [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 677 | let make = if item_fn.sig.asyncness.is_some() { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 699 | let name = format_ident!("__axum_macros_check_{}_into_response", item_fn.sig.ident); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | [INFO] [stdout] 701 | if let Some(receiver) = self_receiver(item_fn) { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/debug_handler.rs:767:26 [INFO] [stdout] | [INFO] [stdout] 758 | let name = format_ident!("__axum_macros_check_{}_future", item_fn.sig.ident); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 759 | [INFO] [stdout] 760 | let do_check = quote! { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 767 | if let Some(receiver) = self_receiver(item_fn) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 768 | / quote! { [INFO] [stdout] 769 | | #[allow(warnings)] [INFO] [stdout] 770 | | #[allow(unreachable_code)] [INFO] [stdout] 771 | | #[doc(hidden)] [INFO] [stdout] ... | [INFO] [stdout] 775 | | } [INFO] [stdout] 776 | | } [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] 777 | } else { [INFO] [stdout] 778 | / quote! { [INFO] [stdout] 779 | | #[allow(warnings)] [INFO] [stdout] 780 | | #[allow(unreachable_code)] [INFO] [stdout] 781 | | #[doc(hidden)] [INFO] [stdout] ... | [INFO] [stdout] 786 | | } [INFO] [stdout] 787 | | } [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-codec-macros` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "8727b7b6150f3a20e90c51a899fb47230127fdc199286b5276932be8bae07778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8727b7b6150f3a20e90c51a899fb47230127fdc199286b5276932be8bae07778", kill_on_drop: false }` [INFO] [stdout] 8727b7b6150f3a20e90c51a899fb47230127fdc199286b5276932be8bae07778