[INFO] fetching crate kanata-parser 0.171.1... [INFO] checking kanata-parser-0.171.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate kanata-parser 0.171.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate kanata-parser 0.171.1 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 kanata-parser 0.171.1 [INFO] finished tweaking crates.io crate kanata-parser 0.171.1 [INFO] tweaked toml for crates.io crate kanata-parser 0.171.1 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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 86 packages to latest compatible versions [INFO] [stderr] Adding hash32 v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.8.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding miette v5.10.0 (available: v7.2.0) [INFO] [stderr] Adding miette-derive v5.10.0 (available: v7.2.0) [INFO] [stderr] Adding owo-colors v3.5.0 (available: v4.1.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding supports-color v2.1.0 (available: v3.0.1) [INFO] [stderr] Adding supports-hyperlinks v2.1.0 (available: v3.0.0) [INFO] [stderr] Adding supports-unicode v2.1.0 (available: v3.0.0) [INFO] [stderr] Adding terminal_size v0.1.17 (available: v0.4.0) [INFO] [stderr] Adding textwrap v0.15.2 (available: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df68d5b5b86781584f39ee33c415c84c43fdf4b810e188425919e6645c74e018 [INFO] running `Command { std: "docker" "start" "-a" "df68d5b5b86781584f39ee33c415c84c43fdf4b810e188425919e6645c74e018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df68d5b5b86781584f39ee33c415c84c43fdf4b810e188425919e6645c74e018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df68d5b5b86781584f39ee33c415c84c43fdf4b810e188425919e6645c74e018", kill_on_drop: false }` [INFO] [stdout] df68d5b5b86781584f39ee33c415c84c43fdf4b810e188425919e6645c74e018 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38c5e19c3a7523ae5cc80a8e6420740652d5d2d8ac1b113e6f8c65d9fbbadb66 [INFO] running `Command { std: "docker" "start" "-a" "38c5e19c3a7523ae5cc80a8e6420740652d5d2d8ac1b113e6f8c65d9fbbadb66", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling kanata-keyberon-macros v0.2.0 [INFO] [stderr] Checking supports-hyperlinks v2.1.0 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Checking supports-unicode v2.1.0 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking patricia_tree v0.8.0 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking kanata-keyberon v0.171.1 [INFO] [stderr] Checking kanata-parser v0.171.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stdout] warning: unexpected `cfg` condition value: `win_llhook_read_scancodes` [INFO] [stdout] --> src/cfg/mod.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | not(feature = "win_llhook_read_scancodes"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cmd`, `gui`, `interception_driver`, and `lsp` [INFO] [stdout] = help: consider adding `win_llhook_read_scancodes` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `win_sendinput_send_scancodes` [INFO] [stdout] --> src/cfg/mod.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | not(feature = "win_sendinput_send_scancodes") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cmd`, `gui`, `interception_driver`, and `lsp` [INFO] [stdout] = help: consider adding `win_sendinput_send_scancodes` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `win_llhook_read_scancodes` [INFO] [stdout] --> src/cfg/mod.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | feature = "win_llhook_read_scancodes", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cmd`, `gui`, `interception_driver`, and `lsp` [INFO] [stdout] = help: consider adding `win_llhook_read_scancodes` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `win_sendinput_send_scancodes` [INFO] [stdout] --> src/cfg/mod.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | feature = "win_sendinput_send_scancodes", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cmd`, `gui`, `interception_driver`, and `lsp` [INFO] [stdout] = help: consider adding `win_sendinput_send_scancodes` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `win_llhook_read_scancodes` [INFO] [stdout] --> src/cfg/mod.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | not(feature = "win_llhook_read_scancodes"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cmd`, `gui`, `interception_driver`, and `lsp` [INFO] [stdout] = help: consider adding `win_llhook_read_scancodes` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `win_sendinput_send_scancodes` [INFO] [stdout] --> src/cfg/mod.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | not(feature = "win_sendinput_send_scancodes") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cmd`, `gui`, `interception_driver`, and `lsp` [INFO] [stdout] = help: consider adding `win_sendinput_send_scancodes` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `win_llhook_read_scancodes` [INFO] [stdout] --> src/cfg/mod.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | feature = "win_llhook_read_scancodes", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cmd`, `gui`, `interception_driver`, and `lsp` [INFO] [stdout] = help: consider adding `win_llhook_read_scancodes` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `win_sendinput_send_scancodes` [INFO] [stdout] --> src/cfg/mod.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | feature = "win_sendinput_send_scancodes", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cmd`, `gui`, `interception_driver`, and `lsp` [INFO] [stdout] = help: consider adding `win_sendinput_send_scancodes` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/tests.rs:316:11 [INFO] [stdout] | [INFO] [stdout] 315 | let _lk = lock(&CFG_PARSE_LOCK); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 316 | match new_from_file(&std::path::PathBuf::from("./test_cfgs/nested_tap_hold.kbd")) [INFO] [stdout] | ___________^ [INFO] [stdout] 317 | | .map_err(|e| format!("{}", e.help().unwrap())) [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 `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/tests.rs:327:11 [INFO] [stdout] | [INFO] [stdout] 326 | let _lk = lock(&CFG_PARSE_LOCK); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 327 | match new_from_file(&std::path::PathBuf::from("./test_cfgs/ancestor_seq.kbd")) [INFO] [stdout] | ___________^ [INFO] [stdout] 328 | | .map_err(|e| format!("{e:?}")) [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 `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/tests.rs:338:11 [INFO] [stdout] | [INFO] [stdout] 337 | let _lk = lock(&CFG_PARSE_LOCK); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 338 | match new_from_file(&std::path::PathBuf::from("./test_cfgs/descendant_seq.kbd")) [INFO] [stdout] | ___________^ [INFO] [stdout] 339 | | .map_err(|e| format!("{e:?}")) [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 `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/tests.rs:349:11 [INFO] [stdout] | [INFO] [stdout] 348 | let _lk = lock(&CFG_PARSE_LOCK); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | match new_from_file(&std::path::PathBuf::from("./test_cfgs/bad_multi.kbd")) [INFO] [stdout] | ___________^ [INFO] [stdout] 350 | | .map_err(|e| format!("{}", e.help().unwrap())) [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 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kanata-parser` (lib test) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "38c5e19c3a7523ae5cc80a8e6420740652d5d2d8ac1b113e6f8c65d9fbbadb66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38c5e19c3a7523ae5cc80a8e6420740652d5d2d8ac1b113e6f8c65d9fbbadb66", kill_on_drop: false }` [INFO] [stdout] 38c5e19c3a7523ae5cc80a8e6420740652d5d2d8ac1b113e6f8c65d9fbbadb66