[INFO] fetching crate retrofit_codegen 0.4.0... [INFO] checking retrofit_codegen-0.4.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate retrofit_codegen 0.4.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate retrofit_codegen 0.4.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 retrofit_codegen 0.4.0 [INFO] finished tweaking crates.io crate retrofit_codegen 0.4.0 [INFO] tweaked toml for crates.io crate retrofit_codegen 0.4.0 written to /workspace/builds/worker-7-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 4 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 144414dba91c820d8701351889dc5636d91f1fadbd7c65858604fa25d88321d0 [INFO] running `Command { std: "docker" "start" "-a" "144414dba91c820d8701351889dc5636d91f1fadbd7c65858604fa25d88321d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "144414dba91c820d8701351889dc5636d91f1fadbd7c65858604fa25d88321d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "144414dba91c820d8701351889dc5636d91f1fadbd7c65858604fa25d88321d0", kill_on_drop: false }` [INFO] [stdout] 144414dba91c820d8701351889dc5636d91f1fadbd7c65858604fa25d88321d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 23a84b5f4938bb0e0958d738392d65d1c7b4e2789c31bcd7d29f102a9e327626 [INFO] running `Command { std: "docker" "start" "-a" "23a84b5f4938bb0e0958d738392d65d1c7b4e2789c31bcd7d29f102a9e327626", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v1.0.109 [INFO] [stderr] Checking retrofit_codegen v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `TokenStream2` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/routes.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 5 | _header: proc_macro::TokenStream, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 10 | let mut stream_iter = stream.into_iter(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | let stream = match stream_iter.next().unwrap() { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let route_names: Vec = parse_stream( [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let state: proc_macro2::TokenStream = state.parse().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | proc_macro::TokenStream::from(quote! { [INFO] [stdout] | ___________________________________________- [INFO] [stdout] | |___________________________________________| [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 46 | | mod #module_name { [INFO] [stdout] 47 | | #[cfg(feature = "server")] [INFO] [stdout] 48 | | pub fn routes() -> axum::Router<#state> { [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | }) [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] 56 | } [INFO] [stdout] 57 | None => proc_macro::TokenStream::from(quote! { [INFO] [stdout] | _______________________________________________- [INFO] [stdout] | |_______________________________________________| [INFO] [stdout] | |_______________________________________________| [INFO] [stdout] 58 | | mod #module_name { [INFO] [stdout] 59 | | #[cfg(feature = "server")] [INFO] [stdout] 60 | | pub fn routes() -> axum::Router { [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | }), [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `TokenStream2` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/routes.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 5 | _header: proc_macro::TokenStream, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 10 | let mut stream_iter = stream.into_iter(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | let stream = match stream_iter.next().unwrap() { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let route_names: Vec = parse_stream( [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let state: proc_macro2::TokenStream = state.parse().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | proc_macro::TokenStream::from(quote! { [INFO] [stdout] | ___________________________________________- [INFO] [stdout] | |___________________________________________| [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 46 | | mod #module_name { [INFO] [stdout] 47 | | #[cfg(feature = "server")] [INFO] [stdout] 48 | | pub fn routes() -> axum::Router<#state> { [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | }) [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] 56 | } [INFO] [stdout] 57 | None => proc_macro::TokenStream::from(quote! { [INFO] [stdout] | _______________________________________________- [INFO] [stdout] | |_______________________________________________| [INFO] [stdout] | |_______________________________________________| [INFO] [stdout] 58 | | mod #module_name { [INFO] [stdout] 59 | | #[cfg(feature = "server")] [INFO] [stdout] 60 | | pub fn routes() -> axum::Router { [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | }), [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `TokenStream2` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/routes.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 72 | let stream = proc_macro2::TokenStream::from(stream); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let route_names: Vec = parse_stream( [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let state: proc_macro2::TokenStream = state.parse().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 94 | proc_macro::TokenStream::from(quote! { [INFO] [stdout] | ___________________________________________- [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 95 | | #[cfg(feature = "server")] [INFO] [stdout] 96 | | pub fn routes() -> axum::Router<#state> { [INFO] [stdout] 97 | | axum::Router::new() [INFO] [stdout] ... | [INFO] [stdout] 101 | | #stream [INFO] [stdout] 102 | | }) [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] 103 | } [INFO] [stdout] 104 | None => proc_macro::TokenStream::from(quote! { [INFO] [stdout] | _______________________________________________- [INFO] [stdout] | |_______________________________________________| [INFO] [stdout] 105 | | #[cfg(feature = "server")] [INFO] [stdout] 106 | | pub fn routes() -> axum::Router { [INFO] [stdout] 107 | | axum::Router::new() [INFO] [stdout] ... | [INFO] [stdout] 111 | | #stream [INFO] [stdout] 112 | | }), [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] = 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 `TokenStream2` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/routes.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 72 | let stream = proc_macro2::TokenStream::from(stream); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let route_names: Vec = parse_stream( [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let state: proc_macro2::TokenStream = state.parse().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 94 | proc_macro::TokenStream::from(quote! { [INFO] [stdout] | ___________________________________________- [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 95 | | #[cfg(feature = "server")] [INFO] [stdout] 96 | | pub fn routes() -> axum::Router<#state> { [INFO] [stdout] 97 | | axum::Router::new() [INFO] [stdout] ... | [INFO] [stdout] 101 | | #stream [INFO] [stdout] 102 | | }) [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] 103 | } [INFO] [stdout] 104 | None => proc_macro::TokenStream::from(quote! { [INFO] [stdout] | _______________________________________________- [INFO] [stdout] | |_______________________________________________| [INFO] [stdout] 105 | | #[cfg(feature = "server")] [INFO] [stdout] 106 | | pub fn routes() -> axum::Router { [INFO] [stdout] 107 | | axum::Router::new() [INFO] [stdout] ... | [INFO] [stdout] 111 | | #stream [INFO] [stdout] 112 | | }), [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] = 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] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `retrofit_codegen` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `retrofit_codegen` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "23a84b5f4938bb0e0958d738392d65d1c7b4e2789c31bcd7d29f102a9e327626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a84b5f4938bb0e0958d738392d65d1c7b4e2789c31bcd7d29f102a9e327626", kill_on_drop: false }` [INFO] [stdout] 23a84b5f4938bb0e0958d738392d65d1c7b4e2789c31bcd7d29f102a9e327626