[INFO] fetching crate kanata-parser 0.171.1... [INFO] checking kanata-parser-0.171.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [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 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 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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 89 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hash32 v0.2.1 (latest: v0.3.1) [INFO] [stderr] Adding heapless v0.7.17 (latest: v0.8.0) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding miette v5.10.0 (latest: v7.2.0) [INFO] [stderr] Adding miette-derive v5.10.0 (latest: v7.2.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding owo-colors v3.5.0 (latest: v4.0.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding supports-color v2.1.0 (latest: v3.0.0) [INFO] [stderr] Adding supports-hyperlinks v2.1.0 (latest: v3.0.0) [INFO] [stderr] Adding supports-unicode v2.1.0 (latest: v3.0.0) [INFO] [stderr] Adding terminal_size v0.1.17 (latest: v0.3.0) [INFO] [stderr] Adding textwrap v0.15.2 (latest: v0.16.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db874b427332dda9f1667242737a4b36d42a8adeb1eb64da2e27e9877e8a770f [INFO] running `Command { std: "docker" "start" "-a" "db874b427332dda9f1667242737a4b36d42a8adeb1eb64da2e27e9877e8a770f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db874b427332dda9f1667242737a4b36d42a8adeb1eb64da2e27e9877e8a770f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db874b427332dda9f1667242737a4b36d42a8adeb1eb64da2e27e9877e8a770f", kill_on_drop: false }` [INFO] [stdout] db874b427332dda9f1667242737a4b36d42a8adeb1eb64da2e27e9877e8a770f [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d585a9f3cdb697ffbca58a854fc3a06c99569b696260427d1e7218190495440c [INFO] running `Command { std: "docker" "start" "-a" "d585a9f3cdb697ffbca58a854fc3a06c99569b696260427d1e7218190495440c", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking terminal_size v0.1.17 [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 spin v0.9.8 [INFO] [stderr] Compiling kanata-keyberon-macros v0.2.0 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Checking patricia_tree v0.8.0 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking kanata-keyberon v0.171.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking simplelog v0.12.2 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/mod.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 282 | let mut s = ParserState::default(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | let icfg = parse_cfg_raw_string( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 293 | let (layers, allocations) = icfg.klayers.get(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let mut layout = KanataLayout::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | Ok(Cfg { [INFO] [stdout] | ________^ [INFO] [stdout] 316 | | options: icfg.options, [INFO] [stdout] 317 | | mapped_keys: icfg.mapped_keys, [INFO] [stdout] 318 | | layer_info: icfg.layer_info, [INFO] [stdout] ... | [INFO] [stdout] 324 | | switch_max_key_timing, [INFO] [stdout] 325 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/mod.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 339 | let mut s = ParserState::default(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | let icfg = parse_cfg_raw(p, &mut s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 341 | let (layers, allocations) = icfg.klayers.get(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | let mut layout = KanataLayout::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | Ok(Cfg { [INFO] [stdout] | ________^ [INFO] [stdout] 364 | | options: icfg.options, [INFO] [stdout] 365 | | mapped_keys: icfg.mapped_keys, [INFO] [stdout] 366 | | layer_info: icfg.layer_info, [INFO] [stdout] ... | [INFO] [stdout] 372 | | switch_max_key_timing, [INFO] [stdout] 373 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/mod.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 417 | let mut loaded_files: HashSet = HashSet::default(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 462 | / parse_cfg_raw_string( [INFO] [stdout] 463 | | &text, [INFO] [stdout] 464 | | s, [INFO] [stdout] 465 | | p, [INFO] [stdout] ... | [INFO] [stdout] 468 | | env_vars, [INFO] [stdout] 469 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/mod.rs:865:8 [INFO] [stdout] | [INFO] [stdout] 639 | let (mut mapped_keys, mapping_order) = parse_defsrc(src_expr, &cfg)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 789 | let sequences = parse_sequences(&sequence_exprs, s)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 797 | let mut klayers = parse_layers(s, &mut mapped_keys, &cfg)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 827 | let chords_v2 = match chords_v2_exprs.len() { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 864 | let klayers = unsafe { KanataLayers::new(layers, s.a.clone()) }; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 865 | Ok(IntermediateCfg { [INFO] [stdout] | ________^ [INFO] [stdout] 866 | | options: cfg, [INFO] [stdout] 867 | | mapped_keys, [INFO] [stdout] 868 | | layer_info, [INFO] [stdout] ... | [INFO] [stdout] 872 | | chords_v2, [INFO] [stdout] 873 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/mod.rs:1063:8 [INFO] [stdout] | [INFO] [stdout] 1031 | let exprs = check_first_expr(expr.iter(), "defsrc")?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1032 | let mut mkeys = MappedKeys::default(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1063 | Ok((mkeys, ordered_codes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/mod.rs:3358:33 [INFO] [stdout] | [INFO] [stdout] 3358 | s.a.sref(s.a.sref_slice(CustomAction::SendArbitraryCode(code))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/alloc.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn sref(&self, v: T) -> &'static T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Box::leak(unsafe { Box::from_raw(p) }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/alloc.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) fn sref_vec(&self, v: Vec) -> &'static [T] { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | self.bref_slice(v.into_boxed_slice()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/alloc.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn sref_slice(&self, v: T) -> &'static [&'static T] { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | self.bref_slice(vec![self.sref(v)].into_boxed_slice()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/fake_key.rs:176:54 [INFO] [stdout] | [INFO] [stdout] 176 | .sref(Action::Custom(s.a.sref(s.a.sref_slice(match is_release { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 177 | | false => CustomAction::Delay(delay), [INFO] [stdout] 178 | | true => CustomAction::DelayOnRelease(delay), [INFO] [stdout] 179 | | }))))) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 10 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kanata-parser` (lib) due to 11 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/cfg/mod.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 282 | let mut s = ParserState::default(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | let icfg = parse_cfg_raw_string( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 293 | let (layers, allocations) = icfg.klayers.get(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let mut layout = KanataLayout::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | Ok(Cfg { [INFO] [stdout] | ________^ [INFO] [stdout] 316 | | options: icfg.options, [INFO] [stdout] 317 | | mapped_keys: icfg.mapped_keys, [INFO] [stdout] 318 | | layer_info: icfg.layer_info, [INFO] [stdout] ... | [INFO] [stdout] 324 | | switch_max_key_timing, [INFO] [stdout] 325 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/mod.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 339 | let mut s = ParserState::default(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | let icfg = parse_cfg_raw(p, &mut s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 341 | let (layers, allocations) = icfg.klayers.get(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | let mut layout = KanataLayout::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | Ok(Cfg { [INFO] [stdout] | ________^ [INFO] [stdout] 364 | | options: icfg.options, [INFO] [stdout] 365 | | mapped_keys: icfg.mapped_keys, [INFO] [stdout] 366 | | layer_info: icfg.layer_info, [INFO] [stdout] ... | [INFO] [stdout] 372 | | switch_max_key_timing, [INFO] [stdout] 373 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/mod.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 417 | let mut loaded_files: HashSet = HashSet::default(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 462 | / parse_cfg_raw_string( [INFO] [stdout] 463 | | &text, [INFO] [stdout] 464 | | s, [INFO] [stdout] 465 | | p, [INFO] [stdout] ... | [INFO] [stdout] 468 | | env_vars, [INFO] [stdout] 469 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/mod.rs:865:8 [INFO] [stdout] | [INFO] [stdout] 639 | let (mut mapped_keys, mapping_order) = parse_defsrc(src_expr, &cfg)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 789 | let sequences = parse_sequences(&sequence_exprs, s)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 797 | let mut klayers = parse_layers(s, &mut mapped_keys, &cfg)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 827 | let chords_v2 = match chords_v2_exprs.len() { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 864 | let klayers = unsafe { KanataLayers::new(layers, s.a.clone()) }; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 865 | Ok(IntermediateCfg { [INFO] [stdout] | ________^ [INFO] [stdout] 866 | | options: cfg, [INFO] [stdout] 867 | | mapped_keys, [INFO] [stdout] 868 | | layer_info, [INFO] [stdout] ... | [INFO] [stdout] 872 | | chords_v2, [INFO] [stdout] 873 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/mod.rs:1063:8 [INFO] [stdout] | [INFO] [stdout] 1031 | let exprs = check_first_expr(expr.iter(), "defsrc")?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1032 | let mut mkeys = MappedKeys::default(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1063 | Ok((mkeys, ordered_codes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/mod.rs:3358:33 [INFO] [stdout] | [INFO] [stdout] 3358 | s.a.sref(s.a.sref_slice(CustomAction::SendArbitraryCode(code))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/alloc.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn sref(&self, v: T) -> &'static T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Box::leak(unsafe { Box::from_raw(p) }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/alloc.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) fn sref_vec(&self, v: Vec) -> &'static [T] { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | self.bref_slice(v.into_boxed_slice()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/alloc.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn sref_slice(&self, v: T) -> &'static [&'static T] { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | self.bref_slice(vec![self.sref(v)].into_boxed_slice()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cfg/fake_key.rs:176:54 [INFO] [stdout] | [INFO] [stdout] 176 | .sref(Action::Custom(s.a.sref(s.a.sref_slice(match is_release { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 177 | | false => CustomAction::Delay(delay), [INFO] [stdout] 178 | | true => CustomAction::DelayOnRelease(delay), [INFO] [stdout] 179 | | }))))) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have 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 values have significant drop implementation and will 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] [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/cfg/tests.rs:327:11 [INFO] [stdout] | [INFO] [stdout] 326 | let _lk = lock(&CFG_PARSE_LOCK); [INFO] [stdout] | --- these values have significant drop implementation and will 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: these values and local bindings have 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 values have significant drop implementation and will 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: these values and local bindings have 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 values have significant drop implementation and will 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 14 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kanata-parser` (lib test) due to 15 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d585a9f3cdb697ffbca58a854fc3a06c99569b696260427d1e7218190495440c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d585a9f3cdb697ffbca58a854fc3a06c99569b696260427d1e7218190495440c", kill_on_drop: false }` [INFO] [stdout] d585a9f3cdb697ffbca58a854fc3a06c99569b696260427d1e7218190495440c