[INFO] fetching crate kanata-parser 0.171.1... [INFO] checking kanata-parser-0.171.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate kanata-parser 0.171.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate kanata-parser 0.171.1 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 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-3-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] Updating crates.io index [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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 599f5b70ef81c83bc7546f5eb539a39abb262b50c4649c6473d5a12c9f2d28b9 [INFO] running `Command { std: "docker" "start" "-a" "599f5b70ef81c83bc7546f5eb539a39abb262b50c4649c6473d5a12c9f2d28b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "599f5b70ef81c83bc7546f5eb539a39abb262b50c4649c6473d5a12c9f2d28b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "599f5b70ef81c83bc7546f5eb539a39abb262b50c4649c6473d5a12c9f2d28b9", kill_on_drop: false }` [INFO] [stdout] 599f5b70ef81c83bc7546f5eb539a39abb262b50c4649c6473d5a12c9f2d28b9 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbccfaaa9e64973191d053e559e6a9e58de35632a57c29f8e388ec2d8ba0ea7f [INFO] running `Command { std: "docker" "start" "-a" "cbccfaaa9e64973191d053e559e6a9e58de35632a57c29f8e388ec2d8ba0ea7f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling kanata-keyberon-macros v0.2.0 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking patricia_tree v0.8.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking supports-unicode v2.1.0 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Checking supports-hyperlinks v2.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking kanata-keyberon v0.171.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking kanata-parser v0.171.1 (/opt/rustwide/workdir) [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] 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] warning: 4 warnings emitted [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" "cbccfaaa9e64973191d053e559e6a9e58de35632a57c29f8e388ec2d8ba0ea7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbccfaaa9e64973191d053e559e6a9e58de35632a57c29f8e388ec2d8ba0ea7f", kill_on_drop: false }` [INFO] [stdout] cbccfaaa9e64973191d053e559e6a9e58de35632a57c29f8e388ec2d8ba0ea7f