[INFO] fetching crate kfl-derive 0.1.0... [INFO] checking kfl-derive-0.1.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate kfl-derive 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate kfl-derive 0.1.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 kfl-derive 0.1.0 [INFO] finished tweaking crates.io crate kfl-derive 0.1.0 [INFO] tweaked toml for crates.io crate kfl-derive 0.1.0 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 53 packages to latest compatible versions [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding terminal_size v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [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] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `kfl_derive` library target) [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] ee4c40c4200a69b24e8f9014ef806dfce1c534144fd80ae22d5105eddabf268c [INFO] running `Command { std: "docker" "start" "-a" "ee4c40c4200a69b24e8f9014ef806dfce1c534144fd80ae22d5105eddabf268c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee4c40c4200a69b24e8f9014ef806dfce1c534144fd80ae22d5105eddabf268c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee4c40c4200a69b24e8f9014ef806dfce1c534144fd80ae22d5105eddabf268c", kill_on_drop: false }` [INFO] [stdout] ee4c40c4200a69b24e8f9014ef806dfce1c534144fd80ae22d5105eddabf268c [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] ed2958b64ee3aa1a0ba6b4148474a88882789e2efd97d580597a54aaf7151e0a [INFO] running `Command { std: "docker" "start" "-a" "ed2958b64ee3aa1a0ba6b4148474a88882789e2efd97d580597a54aaf7151e0a", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `kfl_derive` library target) [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Checking supports-color v3.0.1 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking kfl-derive v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 60 | let item = syn::parse_macro_input!(input as Definition); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | match emit_decode(&item) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 69 | let item = syn::parse_macro_input!(input as Definition); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | match emit_decode_partial(&item) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 78 | let item = syn::parse_macro_input!(input as Scalar); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | match emit_decode_scalar(&item) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 87 | let item = syn::parse_macro_input!(input as Definition); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | match emit_encode(&item) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 96 | let item = syn::parse_macro_input!(input as Definition); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | match emit_encode_partial(&item) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 105 | let item = syn::parse_macro_input!(input as Scalar); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | match emit_encode_scalar(&item) { [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] warning: field `unwrap` is never read [INFO] [stdout] --> src/definition.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Child { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 108 | pub unwrap: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span_type` is never read [INFO] [stdout] --> src/definition.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct TraitProps { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 123 | pub span_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraitProps` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trait_props` is never read [INFO] [stdout] --> src/definition.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct Struct { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 127 | pub ident: syn::Ident, [INFO] [stdout] 128 | pub trait_props: TraitProps, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trait_props` and `generics` are never read [INFO] [stdout] --> src/definition.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct NewType { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 153 | pub ident: syn::Ident, [INFO] [stdout] 154 | pub trait_props: TraitProps, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 155 | pub generics: syn::Generics, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trait_props` is never read [INFO] [stdout] --> src/definition.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Enum { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 165 | pub ident: syn::Ident, [INFO] [stdout] 166 | pub trait_props: TraitProps, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kfl-derive` (lib) due to 7 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ed2958b64ee3aa1a0ba6b4148474a88882789e2efd97d580597a54aaf7151e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed2958b64ee3aa1a0ba6b4148474a88882789e2efd97d580597a54aaf7151e0a", kill_on_drop: false }` [INFO] [stdout] ed2958b64ee3aa1a0ba6b4148474a88882789e2efd97d580597a54aaf7151e0a