[INFO] fetching crate flapigen 0.7.0... [INFO] checking flapigen-0.7.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate flapigen 0.7.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate flapigen 0.7.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 flapigen 0.7.0 [INFO] finished tweaking crates.io crate flapigen 0.7.0 [INFO] tweaked toml for crates.io crate flapigen 0.7.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 66 packages to latest compatible versions [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding jni-sys v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding pulldown-cmark v0.9.6 (available: v0.12.1) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding smol_str v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding strum v0.24.1 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d89bb1b2ea3dc3d6c87d5c74626d3bcfd33562ded81de2bcb790ccee8188a42a [INFO] running `Command { std: "docker" "start" "-a" "d89bb1b2ea3dc3d6c87d5c74626d3bcfd33562ded81de2bcb790ccee8188a42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d89bb1b2ea3dc3d6c87d5c74626d3bcfd33562ded81de2bcb790ccee8188a42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d89bb1b2ea3dc3d6c87d5c74626d3bcfd33562ded81de2bcb790ccee8188a42a", kill_on_drop: false }` [INFO] [stdout] d89bb1b2ea3dc3d6c87d5c74626d3bcfd33562ded81de2bcb790ccee8188a42a [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d45e78d9cb896e4e18cdf8a8492d84f102c9c60dd34428db552cf8e1ed5660a [INFO] running `Command { std: "docker" "start" "-a" "5d45e78d9cb896e4e18cdf8a8492d84f102c9c60dd34428db552cf8e1ed5660a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling flapigen v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking strum v0.24.1 [INFO] [stdout] error: this value of type `(Vec, bool)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/code_parse.rs:583:21 [INFO] [stdout] | [INFO] [stdout] 581 | fn try_from(x: syn::Signature) -> std::result::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] 582 | Ok(crate::types::FnDecl { [INFO] [stdout] 583 | inputs: parse_fn_args(x.inputs)?.0, [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 `(Vec, bool)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/code_parse.rs:583:21 [INFO] [stdout] | [INFO] [stdout] 581 | fn try_from(x: syn::Signature) -> std::result::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] 582 | Ok(crate::types::FnDecl { [INFO] [stdout] 583 | inputs: parse_fn_args(x.inputs)?.0, [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<(syn::Type, TokenStream2)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/python/mod.rs:568:44 [INFO] [stdout] | [INFO] [stdout] 557 | rust_call: TokenStream, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 568 | } else if let Some((ty, conversion)) = if_exported_class_generate_return_conversion( [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 569 | | rust_type, [INFO] [stdout] 570 | | conv_map, [INFO] [stdout] 571 | | &rust_call, [INFO] [stdout] 572 | | method_span, [INFO] [stdout] 573 | | src_id, [INFO] [stdout] 574 | | )? { [INFO] [stdout] | |______^ [INFO] [stdout] ... [INFO] [stdout] 681 | parse_type! {( #( #types, )* )}, [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] 682 | / quote! { [INFO] [stdout] 683 | | { [INFO] [stdout] 684 | | let tuple = #rust_call; [INFO] [stdout] 685 | | ( [INFO] [stdout] ... | [INFO] [stdout] 688 | | } [INFO] [stdout] 689 | | }, [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] ::: src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | ($($tt:tt)*) => {{ [INFO] [stdout] | ______________________- [INFO] [stdout] 11 | | let ty: syn::Type = syn::parse_quote! { $($tt)* }; [INFO] [stdout] 12 | | ty [INFO] [stdout] 13 | | }} [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<(syn::Type, TokenStream2)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/python/mod.rs:568:44 [INFO] [stdout] | [INFO] [stdout] 557 | rust_call: TokenStream, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 568 | } else if let Some((ty, conversion)) = if_exported_class_generate_return_conversion( [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 569 | | rust_type, [INFO] [stdout] 570 | | conv_map, [INFO] [stdout] 571 | | &rust_call, [INFO] [stdout] 572 | | method_span, [INFO] [stdout] 573 | | src_id, [INFO] [stdout] 574 | | )? { [INFO] [stdout] | |______^ [INFO] [stdout] ... [INFO] [stdout] 681 | parse_type! {( #( #types, )* )}, [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] 682 | / quote! { [INFO] [stdout] 683 | | { [INFO] [stdout] 684 | | let tuple = #rust_call; [INFO] [stdout] 685 | | ( [INFO] [stdout] ... | [INFO] [stdout] 688 | | } [INFO] [stdout] 689 | | }, [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] ::: src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | ($($tt:tt)*) => {{ [INFO] [stdout] | ______________________- [INFO] [stdout] 11 | | let ty: syn::Type = syn::parse_quote! { $($tt)* }; [INFO] [stdout] 12 | | ty [INFO] [stdout] 13 | | }} [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 `subst_map::TyParamsSubstMap<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/typemap/ast/tests.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 417 | let ty1: Type = syn::parse_str( [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 431 | let ty2: Type = syn::parse_str( [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 449 | let mut subst_map = TyParamsSubstMap::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | ($($tt:tt)*) => {{ [INFO] [stdout] | ______________________- [INFO] [stdout] | |______________________| [INFO] [stdout] 11 | | let ty: syn::Type = syn::parse_quote! { $($tt)* }; [INFO] [stdout] 12 | | ty [INFO] [stdout] 13 | | }} [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] [stderr] error: could not compile `flapigen` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flapigen` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "5d45e78d9cb896e4e18cdf8a8492d84f102c9c60dd34428db552cf8e1ed5660a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d45e78d9cb896e4e18cdf8a8492d84f102c9c60dd34428db552cf8e1ed5660a", kill_on_drop: false }` [INFO] [stdout] 5d45e78d9cb896e4e18cdf8a8492d84f102c9c60dd34428db552cf8e1ed5660a