[INFO] fetching crate cex_derive 0.5.2... [INFO] checking cex_derive-0.5.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate cex_derive 0.5.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate cex_derive 0.5.2 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 cex_derive 0.5.2 [INFO] finished tweaking crates.io crate cex_derive 0.5.2 [INFO] tweaked toml for crates.io crate cex_derive 0.5.2 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 7 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [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-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] 4b47e4ac4679cc7dac5690eb15e2acb7536cb63e46eaff3c870964a7822b4201 [INFO] running `Command { std: "docker" "start" "-a" "4b47e4ac4679cc7dac5690eb15e2acb7536cb63e46eaff3c870964a7822b4201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b47e4ac4679cc7dac5690eb15e2acb7536cb63e46eaff3c870964a7822b4201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b47e4ac4679cc7dac5690eb15e2acb7536cb63e46eaff3c870964a7822b4201", kill_on_drop: false }` [INFO] [stdout] 4b47e4ac4679cc7dac5690eb15e2acb7536cb63e46eaff3c870964a7822b4201 [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] 526bdaee13cb42c62cf0c87054fa715a2db72f43ed5524f820f2f3ed998fe1c3 [INFO] running `Command { std: "docker" "start" "-a" "526bdaee13cb42c62cf0c87054fa715a2db72f43ed5524f820f2f3ed998fe1c3", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking cex_derive v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Generics` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 82 | let input: DeriveInput = syn::parse( input ).unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let mut impl_generics = input.generics.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | let expanded = quote! { [INFO] [stdout] | ____________________________- [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] 112 | | impl #impl_generics cex::Logger for #name #ty_generics [INFO] [stdout] 113 | | where #(#variant_ty: cex::Logger),* [INFO] [stdout] 114 | | , Agent: LogAgent [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] 125 | | }; [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 `Generics` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 82 | let input: DeriveInput = syn::parse( input ).unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let mut impl_generics = input.generics.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | let expanded = quote! { [INFO] [stdout] | ____________________________- [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] 112 | | impl #impl_generics cex::Logger for #name #ty_generics [INFO] [stdout] 113 | | where #(#variant_ty: cex::Logger),* [INFO] [stdout] 114 | | , Agent: LogAgent [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] 125 | | }; [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 `syn::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | let mut ok = syn::parse::( ok ).expect("Result!( OkType ... )"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | let ty: Type = parse_quote_spanned!( mac.span() => Result<#ok, Enum!(#(#err),*)> ); [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 `syn::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | let mut ok = syn::parse::( ok ).expect("Result!( OkType ... )"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | let ty: Type = parse_quote_spanned!( mac.span() => Result<#ok, Enum!(#(#err),*)> ); [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 `Option<(TyPatAttr, usize)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | let mut ty_pat_attrs = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | Logger::None => quote_spanned! { match_span => [INFO] [stdout] | _________________________________________- [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 407 | | #[derive( ::enumx::Exchange )] [INFO] [stdout] 408 | | enum __CexAdhocEnum { [INFO] [stdout] 409 | | #( #checked_indices( #checked_types ), )* [INFO] [stdout] 410 | | #( #unexhausted_indices( #unexhausted_types ), )* [INFO] [stdout] 411 | | } [INFO] [stdout] 412 | | }, [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] 413 | Logger::Static => quote_spanned! { match_span => [INFO] [stdout] | ___________________________________________- [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 414 | | #[derive( ::enumx::Exchange, cex_derive::Logger )] [INFO] [stdout] 415 | | enum __CexAdhocEnum { [INFO] [stdout] 416 | | #( #checked_indices( cex::Log<#checked_types> ), )* [INFO] [stdout] 417 | | #( #unexhausted_indices( #unexhausted_types ), )* [INFO] [stdout] 418 | | } [INFO] [stdout] 419 | | }, [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] 420 | Logger::EnvOpt => quote_spanned! { match_span => [INFO] [stdout] | ___________________________________________- [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 421 | | #[derive( ::enumx::Exchange, cex_derive::Logger )] [INFO] [stdout] 422 | | enum __CexAdhocEnum { [INFO] [stdout] 423 | | #( #checked_indices( cex::Log<#checked_types, cex::Env>> ), )* [INFO] [stdout] 424 | | #( #unexhausted_indices( #unexhausted_types ), )* [INFO] [stdout] 425 | | } [INFO] [stdout] 426 | | }, [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 `Option<(TyPatAttr, usize)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | let mut ty_pat_attrs = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | Logger::None => quote_spanned! { match_span => [INFO] [stdout] | _________________________________________- [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 407 | | #[derive( ::enumx::Exchange )] [INFO] [stdout] 408 | | enum __CexAdhocEnum { [INFO] [stdout] 409 | | #( #checked_indices( #checked_types ), )* [INFO] [stdout] 410 | | #( #unexhausted_indices( #unexhausted_types ), )* [INFO] [stdout] 411 | | } [INFO] [stdout] 412 | | }, [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] 413 | Logger::Static => quote_spanned! { match_span => [INFO] [stdout] | ___________________________________________- [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 414 | | #[derive( ::enumx::Exchange, cex_derive::Logger )] [INFO] [stdout] 415 | | enum __CexAdhocEnum { [INFO] [stdout] 416 | | #( #checked_indices( cex::Log<#checked_types> ), )* [INFO] [stdout] 417 | | #( #unexhausted_indices( #unexhausted_types ), )* [INFO] [stdout] 418 | | } [INFO] [stdout] 419 | | }, [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] 420 | Logger::EnvOpt => quote_spanned! { match_span => [INFO] [stdout] | ___________________________________________- [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 421 | | #[derive( ::enumx::Exchange, cex_derive::Logger )] [INFO] [stdout] 422 | | enum __CexAdhocEnum { [INFO] [stdout] 423 | | #( #checked_indices( cex::Log<#checked_types, cex::Env>> ), )* [INFO] [stdout] 424 | | #( #unexhausted_indices( #unexhausted_types ), )* [INFO] [stdout] 425 | | } [INFO] [stdout] 426 | | }, [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cex_derive` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cex_derive` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "526bdaee13cb42c62cf0c87054fa715a2db72f43ed5524f820f2f3ed998fe1c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "526bdaee13cb42c62cf0c87054fa715a2db72f43ed5524f820f2f3ed998fe1c3", kill_on_drop: false }` [INFO] [stdout] 526bdaee13cb42c62cf0c87054fa715a2db72f43ed5524f820f2f3ed998fe1c3