[INFO] cloning repository https://github.com/westonkelliher/XboxControllerKeyboard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/westonkelliher/XboxControllerKeyboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwestonkelliher%2FXboxControllerKeyboard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwestonkelliher%2FXboxControllerKeyboard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 931f377daa490c2e1d5e0d49c002ec46dd81e882 [INFO] testing westonkelliher/XboxControllerKeyboard against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwestonkelliher%2FXboxControllerKeyboard" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 77% (322/416) Updating files: 78% (325/416) Updating files: 79% (329/416) Updating files: 80% (333/416) Updating files: 81% (337/416) Updating files: 82% (342/416) Updating files: 83% (346/416) Updating files: 84% (350/416) Updating files: 85% (354/416) Updating files: 86% (358/416) Updating files: 86% (361/416) Updating files: 87% (362/416) Updating files: 88% (367/416) Updating files: 89% (371/416) Updating files: 90% (375/416) Updating files: 91% (379/416) Updating files: 92% (383/416) Updating files: 93% (387/416) Updating files: 94% (392/416) Updating files: 95% (396/416) Updating files: 96% (400/416) Updating files: 97% (404/416) Updating files: 98% (408/416) Updating files: 99% (412/416) Updating files: 100% (416/416) Updating files: 100% (416/416), done. [INFO] validating manifest of git repo https://github.com/westonkelliher/XboxControllerKeyboard on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/westonkelliher/XboxControllerKeyboard [INFO] finished tweaking git repo https://github.com/westonkelliher/XboxControllerKeyboard [INFO] tweaked toml for git repo https://github.com/westonkelliher/XboxControllerKeyboard written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/westonkelliher/XboxControllerKeyboard already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 061e35bd6fba526705e6062a55822ed448f8df5ffdb885d630c3668a49b32f28 [INFO] running `Command { std: "docker" "start" "-a" "061e35bd6fba526705e6062a55822ed448f8df5ffdb885d630c3668a49b32f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "061e35bd6fba526705e6062a55822ed448f8df5ffdb885d630c3668a49b32f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "061e35bd6fba526705e6062a55822ed448f8df5ffdb885d630c3668a49b32f28", kill_on_drop: false }` [INFO] [stdout] 061e35bd6fba526705e6062a55822ed448f8df5ffdb885d630c3668a49b32f28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 054b867e11a0c1634348f7b83701cc30d1770a9675a3df924e767ed5cd18de11 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "054b867e11a0c1634348f7b83701cc30d1770a9675a3df924e767ed5cd18de11", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling bit-set v0.2.0 [INFO] [stderr] Compiling libusb-sys v0.2.3 [INFO] [stderr] Compiling enigo v0.0.13 [INFO] [stderr] Compiling libusb v0.3.0 [INFO] [stderr] Compiling XKey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/xkey/xboxcontroller.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | if (self.dpad_state() == DPadState::Neutral && [INFO] [stdout] | ^ [INFO] [stdout] 173 | self.stick_r.state() == StickState::Neutral) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 ~ if self.dpad_state() == DPadState::Neutral && [INFO] [stdout] 173 ~ self.stick_r.state() == StickState::Neutral { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/xkey/xboxcontroller.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | else if (self.dpad_state() != DPadState::Neutral && [INFO] [stdout] | ^ [INFO] [stdout] 260 | self.stick_r.state() == StickState::Neutral) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 259 ~ else if self.dpad_state() != DPadState::Neutral && [INFO] [stdout] 260 ~ self.stick_r.state() == StickState::Neutral { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `enigo::Key::Super`: now renamed to Meta [INFO] [stdout] --> src/xkey.rs:103:71 [INFO] [stdout] | [INFO] [stdout] 103 | if self.controller_data.is_super() { self.enigo.key_down(Key::Super); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `enigo::Key::Super`: now renamed to Meta [INFO] [stdout] --> src/xkey.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | self.enigo.key_up(Key::Super); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExternCrate` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:541:5 [INFO] [stdout] | [INFO] [stdout] 541 | ExternCrate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mod` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:542:5 [INFO] [stdout] | [INFO] [stdout] 542 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Use` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:543:5 [INFO] [stdout] | [INFO] [stdout] 543 | Use, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Const` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:544:5 [INFO] [stdout] | [INFO] [stdout] 544 | Const, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pub` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:545:5 [INFO] [stdout] | [INFO] [stdout] 545 | Pub, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Let` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:546:5 [INFO] [stdout] | [INFO] [stdout] 546 | Let, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fn` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | Fn, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Struct` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | Struct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Enum` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 551 | Enum, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Impl` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | Impl, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ForIn` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | ForIn, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Match` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:554:5 [INFO] [stdout] | [INFO] [stdout] 554 | Match, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WindowLeft` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 558 | WindowLeft, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WindowRight` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 559 | WindowRight, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WindowDragLeft` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:560:5 [INFO] [stdout] | [INFO] [stdout] 560 | WindowDragLeft, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WindowDragRight` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:561:5 [INFO] [stdout] | [INFO] [stdout] 561 | WindowDragRight, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WindowScreenFull` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:562:5 [INFO] [stdout] | [INFO] [stdout] 562 | WindowScreenFull, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WindowScreenLeft` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:563:5 [INFO] [stdout] | [INFO] [stdout] 563 | WindowScreenLeft, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WindowScreenRight` [INFO] [stdout] --> src/xkey/xboxcontroller.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | WindowScreenRight, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Macro` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/xkey/xboxcontroller.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Clone, PartialEq, Hash, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/xkey.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | panic!(msg); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 190 | panic!("{}", msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `XKey` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `xkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.XKey.f6b539bf-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050.50saztkrczw9ijc2.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenigo-039f242eff8dd375.rlib" "/opt/rustwide/target/debug/deps/liblibusb-87fbbd7b0c21ade0.rlib" "/opt/rustwide/target/debug/deps/liblibusb_sys-ce063a7428552d5b.rlib" "/opt/rustwide/target/debug/deps/liblibc-39adb4095911a593.rlib" "/opt/rustwide/target/debug/deps/libbit_set-75e39ff4b72ecd61.rlib" "/opt/rustwide/target/debug/deps/libbit_vec-8da370c5aa9cae0b.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lxdo" "-ldl" "-lusb-1.0" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/XKey-83983f06eb0ea050" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lxdo [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `XKey` due to 2 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "054b867e11a0c1634348f7b83701cc30d1770a9675a3df924e767ed5cd18de11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "054b867e11a0c1634348f7b83701cc30d1770a9675a3df924e767ed5cd18de11", kill_on_drop: false }` [INFO] [stdout] 054b867e11a0c1634348f7b83701cc30d1770a9675a3df924e767ed5cd18de11