[INFO] cloning repository https://github.com/esjeon/evenger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/esjeon/evenger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesjeon%2Fevenger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesjeon%2Fevenger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94e338066da4f1bb82ed2bc2951921eedd44bf15 [INFO] checking esjeon/evenger against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesjeon%2Fevenger" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/esjeon/evenger on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/esjeon/evenger [INFO] finished tweaking git repo https://github.com/esjeon/evenger [INFO] tweaked toml for git repo https://github.com/esjeon/evenger written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/esjeon/evenger 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clang-sys v0.28.1 [INFO] [stderr] Downloaded which v2.0.1 [INFO] [stderr] Downloaded cexpr v0.3.5 [INFO] [stderr] Downloaded backtrace v0.3.37 [INFO] [stderr] Downloaded evdev-sys v0.2.0 [INFO] [stderr] Downloaded bindgen v0.51.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cdd4dd21600c518b3dde24cb76105e51154526ec01dd0806ea01e9fe3c0087d [INFO] running `Command { std: "docker" "start" "-a" "3cdd4dd21600c518b3dde24cb76105e51154526ec01dd0806ea01e9fe3c0087d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cdd4dd21600c518b3dde24cb76105e51154526ec01dd0806ea01e9fe3c0087d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cdd4dd21600c518b3dde24cb76105e51154526ec01dd0806ea01e9fe3c0087d", kill_on_drop: false }` [INFO] [stdout] 3cdd4dd21600c518b3dde24cb76105e51154526ec01dd0806ea01e9fe3c0087d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab2de5e6f708c4e344d5e38d301eeeb41caa5993de934850c7b86da35fd5a99d [INFO] running `Command { std: "docker" "start" "-a" "ab2de5e6f708c4e344d5e38d301eeeb41caa5993de934850c7b86da35fd5a99d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling bindgen v0.51.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling evdev-sys v0.2.0 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling backtrace v0.3.37 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling evenger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/evdev.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | InputEvent(std::mem::uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/evdev.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | InputEvent(std::mem::uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/evenger/srcdev.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | _ => return None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/evenger/srcdev.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 135 | Modifier::Key(code, true) => (EV_KEY, code, 1), [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 136 | Modifier::Key(code, false) => (EV_KEY, code, 0), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] 137 | Modifier::Led(code, true) => (EV_LED, code, 1), [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 138 | Modifier::Led(code, false) => (EV_LED, code, 0), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 141 | _ => return None, [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/evenger/srcdev.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | _ => return None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/evenger/srcdev.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 135 | Modifier::Key(code, true) => (EV_KEY, code, 1), [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 136 | Modifier::Key(code, false) => (EV_KEY, code, 0), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] 137 | Modifier::Led(code, true) => (EV_LED, code, 1), [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 138 | Modifier::Led(code, false) => (EV_LED, code, 0), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 141 | _ => return None, [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `srcdev_id` is never read [INFO] [stdout] --> src/evenger/srcdev.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Event { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 21 | srcdev_id: DeviceId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Switch` is never constructed [INFO] [stdout] --> src/evenger/srcdev.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Modifier { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | Switch(u32, bool), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifier` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test_modifier` is never used [INFO] [stdout] --> src/evenger/srcdev.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl SourceDeviceSet { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn test_modifier(&self, device: Option, modf: Modifier) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `srcdev_id` is never used [INFO] [stdout] --> src/evenger/srcdev.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl Event { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn srcdev_id(&self) -> DeviceId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `srcdev_id` is never read [INFO] [stdout] --> src/evenger/srcdev.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Event { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 21 | srcdev_id: DeviceId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/evenger/destdev.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DestinationDevice { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 8 | id: DeviceId, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Switch` is never constructed [INFO] [stdout] --> src/evenger/srcdev.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Modifier { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | Switch(u32, bool), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifier` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RelativeMove`, `KeyUp`, and `KeyDown` are never constructed [INFO] [stdout] --> src/evenger/destdev.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 16 | RelativeMove { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | KeyUp(u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | KeyDown(u32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test_modifier` is never used [INFO] [stdout] --> src/evenger/srcdev.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl SourceDeviceSet { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn test_modifier(&self, device: Option, modf: Modifier) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `perform_action`, and `sync` are never used [INFO] [stdout] --> src/evenger/destdev.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl DestinationDevice { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn id(&self) -> DeviceId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn perform_action(&self, action: Action) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn sync(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `srcdev_id` is never used [INFO] [stdout] --> src/evenger/srcdev.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl Event { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn srcdev_id(&self) -> DeviceId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `phase` and `action` are never read [INFO] [stdout] --> src/evenger/rule.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ActionRule { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | phase: ActionRulePhase, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | action: Action, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionRule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/evenger/destdev.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DestinationDevice { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 8 | id: DeviceId, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PreAction`, `PeriAction`, and `PostAction` are never constructed [INFO] [stdout] --> src/evenger/rule.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum ActionRulePhase { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 32 | PreAction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | PeriAction, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | PostAction, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionRulePhase` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RelativeMove`, `KeyUp`, and `KeyDown` are never constructed [INFO] [stdout] --> src/evenger/destdev.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 16 | RelativeMove { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | KeyUp(u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | KeyDown(u32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evdev.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | Sync(InputEvent), [INFO] [stdout] | ---- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | Sync(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `perform_action`, and `sync` are never used [INFO] [stdout] --> src/evenger/destdev.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl DestinationDevice { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn id(&self) -> DeviceId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn perform_action(&self, action: Action) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn sync(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `phase` and `action` are never read [INFO] [stdout] --> src/evenger/rule.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ActionRule { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | phase: ActionRulePhase, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | action: Action, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionRule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PreAction`, `PeriAction`, and `PostAction` are never constructed [INFO] [stdout] --> src/evenger/rule.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum ActionRulePhase { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 32 | PreAction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | PeriAction, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | PostAction, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionRulePhase` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evdev.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | Sync(InputEvent), [INFO] [stdout] | ---- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | Sync(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `evdev_sys::input_event` does not permit being left uninitialized [INFO] [stdout] --> src/evdev.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | InputEvent(std::mem::uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `evdev_sys::input_event` does not permit being left uninitialized [INFO] [stdout] --> src/evdev.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | InputEvent(std::mem::uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.5, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ab2de5e6f708c4e344d5e38d301eeeb41caa5993de934850c7b86da35fd5a99d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2de5e6f708c4e344d5e38d301eeeb41caa5993de934850c7b86da35fd5a99d", kill_on_drop: false }` [INFO] [stdout] ab2de5e6f708c4e344d5e38d301eeeb41caa5993de934850c7b86da35fd5a99d [INFO] checking esjeon/evenger against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesjeon%2Fevenger" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/esjeon/evenger on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/esjeon/evenger [INFO] finished tweaking git repo https://github.com/esjeon/evenger [INFO] tweaked toml for git repo https://github.com/esjeon/evenger written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/esjeon/evenger 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0b647760c1f3c4deb2074f601c66dd08ab8e55a28bc5eb741c32015dee39ce4 [INFO] running `Command { std: "docker" "start" "-a" "f0b647760c1f3c4deb2074f601c66dd08ab8e55a28bc5eb741c32015dee39ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0b647760c1f3c4deb2074f601c66dd08ab8e55a28bc5eb741c32015dee39ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0b647760c1f3c4deb2074f601c66dd08ab8e55a28bc5eb741c32015dee39ce4", kill_on_drop: false }` [INFO] [stdout] f0b647760c1f3c4deb2074f601c66dd08ab8e55a28bc5eb741c32015dee39ce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03819cf8382ee2d5f9794c3d7fdb7b27ea5e4dbfeac3150ad9a09a3256f6de39 [INFO] running `Command { std: "docker" "start" "-a" "03819cf8382ee2d5f9794c3d7fdb7b27ea5e4dbfeac3150ad9a09a3256f6de39", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bindgen v0.51.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling evdev-sys v0.2.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling backtrace v0.3.37 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling evenger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/evdev.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | InputEvent(std::mem::uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/evdev.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | InputEvent(std::mem::uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/evenger/srcdev.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | _ => return None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/evenger/srcdev.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 135 | Modifier::Key(code, true) => (EV_KEY, code, 1), [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 136 | Modifier::Key(code, false) => (EV_KEY, code, 0), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] 137 | Modifier::Led(code, true) => (EV_LED, code, 1), [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 138 | Modifier::Led(code, false) => (EV_LED, code, 0), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 141 | _ => return None, [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/evenger/srcdev.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | _ => return None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/evenger/srcdev.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 135 | Modifier::Key(code, true) => (EV_KEY, code, 1), [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 136 | Modifier::Key(code, false) => (EV_KEY, code, 0), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] 137 | Modifier::Led(code, true) => (EV_LED, code, 1), [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 138 | Modifier::Led(code, false) => (EV_LED, code, 0), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 141 | _ => return None, [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `srcdev_id` is never read [INFO] [stdout] --> src/evenger/srcdev.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Event { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 21 | srcdev_id: DeviceId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Switch` is never constructed [INFO] [stdout] --> src/evenger/srcdev.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Modifier { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | Switch(u32, bool), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifier` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test_modifier` is never used [INFO] [stdout] --> src/evenger/srcdev.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl SourceDeviceSet { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn test_modifier(&self, device: Option, modf: Modifier) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `srcdev_id` is never used [INFO] [stdout] --> src/evenger/srcdev.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl Event { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn srcdev_id(&self) -> DeviceId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/evenger/destdev.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DestinationDevice { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 8 | id: DeviceId, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RelativeMove`, `KeyUp`, and `KeyDown` are never constructed [INFO] [stdout] --> src/evenger/destdev.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 16 | RelativeMove { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | KeyUp(u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | KeyDown(u32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `perform_action`, and `sync` are never used [INFO] [stdout] --> src/evenger/destdev.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl DestinationDevice { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn id(&self) -> DeviceId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn perform_action(&self, action: Action) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn sync(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `phase` and `action` are never read [INFO] [stdout] --> src/evenger/rule.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ActionRule { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | phase: ActionRulePhase, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | action: Action, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionRule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PreAction`, `PeriAction`, and `PostAction` are never constructed [INFO] [stdout] --> src/evenger/rule.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum ActionRulePhase { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 32 | PreAction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | PeriAction, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | PostAction, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionRulePhase` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evdev.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | Sync(InputEvent), [INFO] [stdout] | ---- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | Sync(()), [INFO] [stdout] | ~~ [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/evenger/evenger.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 20 | let muxer = Muxer::new() [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let destdev = DestinationDevice::new(Rc::new("output".to_string())) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(Evenger { [INFO] [stdout] | ____________^ [INFO] [stdout] 27 | | muxer, [INFO] [stdout] 28 | | srcdevs: SourceDeviceSet::new(), [INFO] [stdout] 29 | | destdev, [INFO] [stdout] 30 | | }) [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] = 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/evenger/evenger.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 21 | .map_err(|e| Error::Description("muxer".into(), Box::new(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/evenger/evenger.rs:24:63 [INFO] [stdout] | [INFO] [stdout] 24 | .map_err(|e| Error::Description("destdev".into(), Box::new(e)))?; [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/evenger/srcdev.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn open>(id: DeviceId, devpath: P) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let dev = Device::new_from_fd(fd)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(SourceDevice { id, dev }) [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/evenger/destdev.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 46 | let mut dev = Device::new().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let uidev = UInputDevice::new_from_device(dev)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Ok(DestinationDevice { [INFO] [stdout] | ____________^ [INFO] [stdout] 79 | | id, [INFO] [stdout] 80 | | uidev, [INFO] [stdout] 81 | | components, [INFO] [stdout] 82 | | should_sync: Cell::from(false), [INFO] [stdout] 83 | | }) [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] [INFO] [stdout] [INFO] [stdout] warning: the type `evdev_sys::input_event` does not permit being left uninitialized [INFO] [stdout] --> src/evdev.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | InputEvent(std::mem::uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `srcdev_id` is never read [INFO] [stdout] --> src/evenger/srcdev.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Event { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 21 | srcdev_id: DeviceId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Switch` is never constructed [INFO] [stdout] --> src/evenger/srcdev.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Modifier { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | Switch(u32, bool), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifier` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test_modifier` is never used [INFO] [stdout] --> src/evenger/srcdev.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl SourceDeviceSet { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn test_modifier(&self, device: Option, modf: Modifier) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `srcdev_id` is never used [INFO] [stdout] --> src/evenger/srcdev.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl Event { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn srcdev_id(&self) -> DeviceId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/evenger/destdev.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DestinationDevice { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 8 | id: DeviceId, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RelativeMove`, `KeyUp`, and `KeyDown` are never constructed [INFO] [stdout] --> src/evenger/destdev.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 16 | RelativeMove { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | KeyUp(u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | KeyDown(u32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `perform_action`, and `sync` are never used [INFO] [stdout] --> src/evenger/destdev.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl DestinationDevice { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn id(&self) -> DeviceId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn perform_action(&self, action: Action) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn sync(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `phase` and `action` are never read [INFO] [stdout] --> src/evenger/rule.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ActionRule { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | phase: ActionRulePhase, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | action: Action, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionRule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PreAction`, `PeriAction`, and `PostAction` are never constructed [INFO] [stdout] --> src/evenger/rule.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum ActionRulePhase { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 32 | PreAction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | PeriAction, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | PostAction, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionRulePhase` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evdev.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | Sync(InputEvent), [INFO] [stdout] | ---- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | Sync(()), [INFO] [stdout] | ~~ [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/evenger/evenger.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 20 | let muxer = Muxer::new() [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let destdev = DestinationDevice::new(Rc::new("output".to_string())) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(Evenger { [INFO] [stdout] | ____________^ [INFO] [stdout] 27 | | muxer, [INFO] [stdout] 28 | | srcdevs: SourceDeviceSet::new(), [INFO] [stdout] 29 | | destdev, [INFO] [stdout] 30 | | }) [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] = 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/evenger/evenger.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 21 | .map_err(|e| Error::Description("muxer".into(), Box::new(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/evenger/evenger.rs:24:63 [INFO] [stdout] | [INFO] [stdout] 24 | .map_err(|e| Error::Description("destdev".into(), Box::new(e)))?; [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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: aborting due to 5 previous errors; 13 warnings emitted [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/evenger/srcdev.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn open>(id: DeviceId, devpath: P) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let dev = Device::new_from_fd(fd)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(SourceDevice { id, dev }) [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/evenger/destdev.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 46 | let mut dev = Device::new().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let uidev = UInputDevice::new_from_device(dev)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Ok(DestinationDevice { [INFO] [stdout] | ____________^ [INFO] [stdout] 79 | | id, [INFO] [stdout] 80 | | uidev, [INFO] [stdout] 81 | | components, [INFO] [stdout] 82 | | should_sync: Cell::from(false), [INFO] [stdout] 83 | | }) [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] [INFO] [stdout] [INFO] [stdout] warning: the type `evdev_sys::input_event` does not permit being left uninitialized [INFO] [stdout] --> src/evdev.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | InputEvent(std::mem::uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `evenger` (bin "evenger" test) due to 6 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `evenger` (bin "evenger") due to 6 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "03819cf8382ee2d5f9794c3d7fdb7b27ea5e4dbfeac3150ad9a09a3256f6de39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03819cf8382ee2d5f9794c3d7fdb7b27ea5e4dbfeac3150ad9a09a3256f6de39", kill_on_drop: false }` [INFO] [stdout] 03819cf8382ee2d5f9794c3d7fdb7b27ea5e4dbfeac3150ad9a09a3256f6de39