[INFO] fetching crate flapigen 0.7.0... [INFO] checking flapigen-0.7.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate flapigen 0.7.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate flapigen 0.7.0 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 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-3-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 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.77) [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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1e7263df0847502290c9fbe368433ca9e0334e1f784fb7b0fa5fd5ab87b2f7e [INFO] running `Command { std: "docker" "start" "-a" "e1e7263df0847502290c9fbe368433ca9e0334e1f784fb7b0fa5fd5ab87b2f7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1e7263df0847502290c9fbe368433ca9e0334e1f784fb7b0fa5fd5ab87b2f7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1e7263df0847502290c9fbe368433ca9e0334e1f784fb7b0fa5fd5ab87b2f7e", kill_on_drop: false }` [INFO] [stdout] e1e7263df0847502290c9fbe368433ca9e0334e1f784fb7b0fa5fd5ab87b2f7e [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef200bd5969725ebfbcd974dc50a79613597c5d69a12e3dbf7cc4ea3ad6ec4c4 [INFO] running `Command { std: "docker" "start" "-a" "ef200bd5969725ebfbcd974dc50a79613597c5d69a12e3dbf7cc4ea3ad6ec4c4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking regex v1.10.6 [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 `TypeConvCode` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/typemap/ast.rs:531:15 [INFO] [stdout] | [INFO] [stdout] 488 | pub(crate) fn code_for_conversion(&self, subst_map: TyParamsSubstMap) -> TypeConvCode { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 531 | ..self.code.clone() [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 `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] 446 | let t_id: Ident = parse_quote! { T }; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 447 | let e_id: Ident = parse_quote! { E }; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 448 | { [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: this value of type `typemap::TypeConvCode` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/typemap/ast.rs:531:15 [INFO] [stdout] | [INFO] [stdout] 488 | pub(crate) fn code_for_conversion(&self, subst_map: TyParamsSubstMap) -> TypeConvCode { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 531 | ..self.code.clone() [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flapigen` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flapigen` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "ef200bd5969725ebfbcd974dc50a79613597c5d69a12e3dbf7cc4ea3ad6ec4c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef200bd5969725ebfbcd974dc50a79613597c5d69a12e3dbf7cc4ea3ad6ec4c4", kill_on_drop: false }` [INFO] [stdout] ef200bd5969725ebfbcd974dc50a79613597c5d69a12e3dbf7cc4ea3ad6ec4c4