[INFO] fetching crate kbt 2.1.0... [INFO] checking kbt-2.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate kbt 2.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate kbt 2.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kbt 2.1.0 [INFO] finished tweaking crates.io crate kbt 2.1.0 [INFO] tweaked toml for crates.io crate kbt 2.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate kbt 2.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ca96e110ab673a3930545683c052f910465d6be542a147fe1b98171f4b3620f [INFO] running `Command { std: "docker" "start" "-a" "0ca96e110ab673a3930545683c052f910465d6be542a147fe1b98171f4b3620f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ca96e110ab673a3930545683c052f910465d6be542a147fe1b98171f4b3620f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ca96e110ab673a3930545683c052f910465d6be542a147fe1b98171f4b3620f", kill_on_drop: false }` [INFO] [stdout] 0ca96e110ab673a3930545683c052f910465d6be542a147fe1b98171f4b3620f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e74dd8281b96b9091a21f4d486d08d4c04ce1a52ca7a9a15d72530151ed77c6 [INFO] running `Command { std: "docker" "start" "-a" "2e74dd8281b96b9091a21f4d486d08d4c04ce1a52ca7a9a15d72530151ed77c6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking clap_builder v4.4.12 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling device_query_revamped v2.2.1 [INFO] [stderr] Checking lru v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking ratatui v0.25.0 [INFO] [stderr] Checking clap v4.4.13 [INFO] [stderr] Checking kbt v2.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `rows_count` is never read [INFO] [stdout] --> src/model.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct KeyboardLayout { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub rows_count: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/model.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct KbtError { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 131 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KbtError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 62 | let (sender, receiver): (Sender, Receiver) = channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let (_up_guard, _down_guard) = GenericKeyBackend::subscribe(&sender); [INFO] [stdout] | --------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let handle = thread::spawn(move || listen_for_control(sender)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let initial_app = App { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | match handle.join() { [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: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rows_count` is never read [INFO] [stdout] --> src/model.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct KeyboardLayout { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub rows_count: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/model.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct KbtError { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 131 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KbtError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 62 | let (sender, receiver): (Sender, Receiver) = channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let (_up_guard, _down_guard) = GenericKeyBackend::subscribe(&sender); [INFO] [stdout] | --------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let handle = thread::spawn(move || listen_for_control(sender)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let initial_app = App { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | match handle.join() { [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: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kbt` (bin "kbt" test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kbt` (bin "kbt") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2e74dd8281b96b9091a21f4d486d08d4c04ce1a52ca7a9a15d72530151ed77c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e74dd8281b96b9091a21f4d486d08d4c04ce1a52ca7a9a15d72530151ed77c6", kill_on_drop: false }` [INFO] [stdout] 2e74dd8281b96b9091a21f4d486d08d4c04ce1a52ca7a9a15d72530151ed77c6