[INFO] fetching crate ktrl 0.1.8... [INFO] checking ktrl-0.1.8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ktrl 0.1.8 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate ktrl 0.1.8 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 ktrl 0.1.8 [INFO] finished tweaking crates.io crate ktrl 0.1.8 [INFO] tweaked toml for crates.io crate ktrl 0.1.8 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate ktrl 0.1.8 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 36eb8c3419a1b970bd00e23ebfd6b44aabbe7e8b89f667450e00ca1831ca2c7a [INFO] running `Command { std: "docker" "start" "-a" "36eb8c3419a1b970bd00e23ebfd6b44aabbe7e8b89f667450e00ca1831ca2c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36eb8c3419a1b970bd00e23ebfd6b44aabbe7e8b89f667450e00ca1831ca2c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36eb8c3419a1b970bd00e23ebfd6b44aabbe7e8b89f667450e00ca1831ca2c7a", kill_on_drop: false }` [INFO] [stdout] 36eb8c3419a1b970bd00e23ebfd6b44aabbe7e8b89f667450e00ca1831ca2c7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 17fdebefbf6a12ea6fb6da831cac93d509a4fba2be81c9e9205f7726411cfdca [INFO] running `Command { std: "docker" "start" "-a" "17fdebefbf6a12ea6fb6da831cac93d509a4fba2be81c9e9205f7726411cfdca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ioctl-sys v0.5.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking base64 v0.12.1 [INFO] [stderr] Checking inner v0.1.1 [INFO] [stderr] Compiling evdev-sys v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking uinput-sys v0.1.7 [INFO] [stderr] Checking evdev-rs v0.4.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking simplelog v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking ron v0.6.0 [INFO] [stderr] Checking ktrl v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::actions::tap_hold::TapHoldState` [INFO] [stdout] --> src/layers.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crate::actions::tap_hold::TapHoldState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actions::tap_hold::TapHoldState` [INFO] [stdout] --> src/layers.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crate::actions::tap_hold::TapHoldState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `assets_path`, `ipc_port`, `ipc_msg`, and `notify_port` are never read [INFO] [stdout] --> src/ktrl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct KtrlArgs { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub assets_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | pub ipc_port: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | pub ipc_msg: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | pub notify_port: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/layers.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MergedKey { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 35 | pub code: KeyCode, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MergedKey` has derived impls for the traits `Debug` and `Clone`, but these are 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/actions/mod.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq, Deserialize)] [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/effects/mod.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Debug, PartialEq, Eq, Deserialize)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/kbd_in.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | let kbd_in_file = File::open(dev_path)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mut kbd_in_dev = Device::new_from_fd(kbd_in_file)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | Ok(KbdIn { device: kbd_in_dev }) [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] = 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/kbd_out.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 33 | let mut uinput_out_file = OpenOptions::new() [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(KbdOut { [INFO] [stdout] | ____________^ [INFO] [stdout] 63 | | device: uinput_out_file, [INFO] [stdout] 64 | | }) [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/keys.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Deserialize)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/keys.rs:1172:30 [INFO] [stdout] | [INFO] [stdout] 1172 | #[derive(Copy, Clone, Debug, Deserialize, PartialEq, Eq)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/ktrl.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 50 | let kbd_out = match KbdOut::new() { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | Ok(kbd_out) => kbd_out, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let th_mgr = TapHoldMgr::new(cfg.tap_hold_wait_time); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let sticky = StickyState::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 78 | | kbd_in_path: args.kbd_path, [INFO] [stdout] 79 | | kbd_out, [INFO] [stdout] 80 | | l_mgr, [INFO] [stdout] ... | [INFO] [stdout] 86 | | dj, [INFO] [stdout] 87 | | }) [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 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ktrl` (bin "ktrl") due to 8 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `assets_path`, `ipc_port`, `ipc_msg`, and `notify_port` are never read [INFO] [stdout] --> src/ktrl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct KtrlArgs { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub assets_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | pub ipc_port: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | pub ipc_msg: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | pub notify_port: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/layers.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MergedKey { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 35 | pub code: KeyCode, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MergedKey` has derived impls for the traits `Debug` and `Clone`, but these are 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/actions/mod.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq, Deserialize)] [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/effects/mod.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Debug, PartialEq, Eq, Deserialize)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/kbd_in.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | let kbd_in_file = File::open(dev_path)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mut kbd_in_dev = Device::new_from_fd(kbd_in_file)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | Ok(KbdIn { device: kbd_in_dev }) [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] = 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/kbd_out.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 33 | let mut uinput_out_file = OpenOptions::new() [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(KbdOut { [INFO] [stdout] | ____________^ [INFO] [stdout] 63 | | device: uinput_out_file, [INFO] [stdout] 64 | | }) [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/keys.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Deserialize)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/keys.rs:1172:30 [INFO] [stdout] | [INFO] [stdout] 1172 | #[derive(Copy, Clone, Debug, Deserialize, PartialEq, Eq)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/ktrl.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 50 | let kbd_out = match KbdOut::new() { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | Ok(kbd_out) => kbd_out, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let th_mgr = TapHoldMgr::new(cfg.tap_hold_wait_time); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let sticky = StickyState::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 78 | | kbd_in_path: args.kbd_path, [INFO] [stdout] 79 | | kbd_out, [INFO] [stdout] 80 | | l_mgr, [INFO] [stdout] ... | [INFO] [stdout] 86 | | dj, [INFO] [stdout] 87 | | }) [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 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ktrl` (bin "ktrl" test) due to 8 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "17fdebefbf6a12ea6fb6da831cac93d509a4fba2be81c9e9205f7726411cfdca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17fdebefbf6a12ea6fb6da831cac93d509a4fba2be81c9e9205f7726411cfdca", kill_on_drop: false }` [INFO] [stdout] 17fdebefbf6a12ea6fb6da831cac93d509a4fba2be81c9e9205f7726411cfdca