[INFO] cloning repository https://github.com/CheetahCyberBoi/gameput [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CheetahCyberBoi/gameput" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCheetahCyberBoi%2Fgameput", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCheetahCyberBoi%2Fgameput'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3cdef2ef77dcfd1f4dafd1eb56497fa01173e47a [INFO] building CheetahCyberBoi/gameput against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCheetahCyberBoi%2Fgameput" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CheetahCyberBoi/gameput [INFO] finished tweaking git repo https://github.com/CheetahCyberBoi/gameput [INFO] tweaked toml for git repo https://github.com/CheetahCyberBoi/gameput written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CheetahCyberBoi/gameput on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CheetahCyberBoi/gameput 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18b95a5b2d9e2a69b58df2a023f129dfc2cc8504443552d1e14abbb9f85c2175 [INFO] running `Command { std: "docker" "start" "-a" "18b95a5b2d9e2a69b58df2a023f129dfc2cc8504443552d1e14abbb9f85c2175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18b95a5b2d9e2a69b58df2a023f129dfc2cc8504443552d1e14abbb9f85c2175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b95a5b2d9e2a69b58df2a023f129dfc2cc8504443552d1e14abbb9f85c2175", kill_on_drop: false }` [INFO] [stdout] 18b95a5b2d9e2a69b58df2a023f129dfc2cc8504443552d1e14abbb9f85c2175 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15e91e45d79e5b6499b00e64b7bbcf2354f0bd7cdb25c05326d92b4343c7956e [INFO] running `Command { std: "docker" "start" "-a" "15e91e45d79e5b6499b00e64b7bbcf2354f0bd7cdb25c05326d92b4343c7956e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling memmap2 v0.9.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling gilrs v0.11.0 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling wayland-protocols v0.32.9 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling xkbcommon v0.8.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling toml_parser v1.0.1 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling better-panic v0.3.0 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.9 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling gilrs-core v0.6.4 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling wayland-protocols-misc v0.3.9 [INFO] [stderr] Compiling toml v0.9.4 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling enigo v0.5.0 [INFO] [stderr] Compiling gameput v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 43 | / loop { [INFO] [stdout] 44 | | let mut actions_this_iter: [bool; 6] = [false, false, false, false, false, false]; [INFO] [stdout] 45 | | // Read the controller's state [INFO] [stdout] 46 | | while let Some(Event { id, event, time, ..}) = gilrs.next_event() { [INFO] [stdout] ... | [INFO] [stdout] 74 | | buttons.perform_actions(&mut enigo, actions_this_iter)?; [INFO] [stdout] 75 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 76 | [INFO] [stdout] 77 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `active_gamepad` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut active_gamepad = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_active_gamepad` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `active_gamepad` is never read [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | active_gamepad = Some(id); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/buttons.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Buttons { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn new(north_key: Key, south_key: Key, east_key: Key, west_key: Key, right_trigger_key: Key, left_trigger_key: Key) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/octant.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum StickDir { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Northeast, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | Southeast, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | Northwest, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | Southwest, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StickDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Octant` is never constructed [INFO] [stdout] --> src/octant.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Octant { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 40s [INFO] running `Command { std: "docker" "inspect" "15e91e45d79e5b6499b00e64b7bbcf2354f0bd7cdb25c05326d92b4343c7956e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15e91e45d79e5b6499b00e64b7bbcf2354f0bd7cdb25c05326d92b4343c7956e", kill_on_drop: false }` [INFO] [stdout] 15e91e45d79e5b6499b00e64b7bbcf2354f0bd7cdb25c05326d92b4343c7956e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dcfe259ad6c94cf50837f0da6109ac3ba7d95eb5f0f3816351f6dd9d6f9fc17 [INFO] running `Command { std: "docker" "start" "-a" "6dcfe259ad6c94cf50837f0da6109ac3ba7d95eb5f0f3816351f6dd9d6f9fc17", kill_on_drop: false }` [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 43 | / loop { [INFO] [stdout] 44 | | let mut actions_this_iter: [bool; 6] = [false, false, false, false, false, false]; [INFO] [stdout] 45 | | // Read the controller's state [INFO] [stdout] 46 | | while let Some(Event { id, event, time, ..}) = gilrs.next_event() { [INFO] [stdout] ... | [INFO] [stdout] 74 | | buttons.perform_actions(&mut enigo, actions_this_iter)?; [INFO] [stdout] 75 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 76 | [INFO] [stdout] 77 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `active_gamepad` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut active_gamepad = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_active_gamepad` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `active_gamepad` is never read [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | active_gamepad = Some(id); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/buttons.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Buttons { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn new(north_key: Key, south_key: Key, east_key: Key, west_key: Key, right_trigger_key: Key, left_trigger_key: Key) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/octant.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum StickDir { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Northeast, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | Southeast, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | Northwest, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | Southwest, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StickDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Octant` is never constructed [INFO] [stdout] --> src/octant.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Octant { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gameput v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 43 | / loop { [INFO] [stdout] 44 | | let mut actions_this_iter: [bool; 6] = [false, false, false, false, false, false]; [INFO] [stdout] 45 | | // Read the controller's state [INFO] [stdout] 46 | | while let Some(Event { id, event, time, ..}) = gilrs.next_event() { [INFO] [stdout] ... | [INFO] [stdout] 74 | | buttons.perform_actions(&mut enigo, actions_this_iter)?; [INFO] [stdout] 75 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 76 | [INFO] [stdout] 77 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `active_gamepad` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut active_gamepad = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_active_gamepad` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `active_gamepad` is never read [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | active_gamepad = Some(id); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/buttons.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Buttons { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn new(north_key: Key, south_key: Key, east_key: Key, west_key: Key, right_trigger_key: Key, left_trigger_key: Key) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/octant.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum StickDir { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Northeast, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | Southeast, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | Northwest, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | Southwest, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StickDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Octant` is never constructed [INFO] [stdout] --> src/octant.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Octant { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "6dcfe259ad6c94cf50837f0da6109ac3ba7d95eb5f0f3816351f6dd9d6f9fc17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dcfe259ad6c94cf50837f0da6109ac3ba7d95eb5f0f3816351f6dd9d6f9fc17", kill_on_drop: false }` [INFO] [stdout] 6dcfe259ad6c94cf50837f0da6109ac3ba7d95eb5f0f3816351f6dd9d6f9fc17