[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] testing CheetahCyberBoi/gameput against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCheetahCyberBoi%2Fgameput" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CheetahCyberBoi/gameput on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f6b04db2c71751a2efda9a9c96dce43ab80d2cecad1a30c020996a9fc47ae57b
[INFO] running `Command { std: "docker" "start" "-a" "f6b04db2c71751a2efda9a9c96dce43ab80d2cecad1a30c020996a9fc47ae57b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f6b04db2c71751a2efda9a9c96dce43ab80d2cecad1a30c020996a9fc47ae57b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6b04db2c71751a2efda9a9c96dce43ab80d2cecad1a30c020996a9fc47ae57b", kill_on_drop: false }`
[INFO] [stdout] f6b04db2c71751a2efda9a9c96dce43ab80d2cecad1a30c020996a9fc47ae57b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] fe1d5573ea43ed64dc2e5feb94e73fdfc1a450e30832c8e9cd9b132029d41546
[INFO] running `Command { std: "docker" "start" "-a" "fe1d5573ea43ed64dc2e5feb94e73fdfc1a450e30832c8e9cd9b132029d41546", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling wayland-sys v0.31.7
[INFO] [stderr]    Compiling cc v1.2.31
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling rustc-demangle v0.1.26
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling gilrs v0.11.0
[INFO] [stderr]    Compiling x11rb-protocol v0.13.1
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling unicode-width v0.2.0
[INFO] [stderr]    Compiling wayland-scanner v0.31.7
[INFO] [stderr]    Compiling humantime v2.2.0
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling clap_builder v4.5.42
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling toml_writer v1.0.2
[INFO] [stderr]    Compiling wayland-backend v0.3.11
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling memmap2 v0.9.7
[INFO] [stderr]    Compiling inotify v0.11.0
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling xkbcommon v0.8.0
[INFO] [stderr]    Compiling toml_parser v1.0.1
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling backtrace v0.3.75
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling better-panic v0.3.0
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling clap v4.5.42
[INFO] [stderr]    Compiling wayland-client v0.31.11
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling serde_with_macros v3.14.0
[INFO] [stderr]    Compiling wayland-protocols v0.32.9
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.7.0
[INFO] [stderr]    Compiling serde_spanned v1.0.0
[INFO] [stderr]    Compiling serde_with v3.14.0
[INFO] [stderr]    Compiling toml v0.9.4
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling gilrs-core v0.6.4
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling wayland-protocols-misc v0.3.9
[INFO] [stderr]    Compiling wayland-protocols-wlr v0.3.9
[INFO] [stderr]    Compiling pretty_env_logger v0.5.0
[INFO] [stderr]    Compiling x11rb v0.13.1
[INFO] [stderr]    Compiling enigo v0.5.0
[INFO] [stderr]    Compiling toml v0.8.23
[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:9
[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 1m 03s
[INFO] running `Command { std: "docker" "inspect" "fe1d5573ea43ed64dc2e5feb94e73fdfc1a450e30832c8e9cd9b132029d41546", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe1d5573ea43ed64dc2e5feb94e73fdfc1a450e30832c8e9cd9b132029d41546", kill_on_drop: false }`
[INFO] [stdout] fe1d5573ea43ed64dc2e5feb94e73fdfc1a450e30832c8e9cd9b132029d41546
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 8e34c31fca4f542f79c0df102fb4050d4a91c56bad3a6e7194d4c3ae6a0fa028
[INFO] running `Command { std: "docker" "start" "-a" "8e34c31fca4f542f79c0df102fb4050d4a91c56bad3a6e7194d4c3ae6a0fa028", 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:9
[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] [stderr]    Compiling gameput v0.0.1 (/opt/rustwide/workdir)
[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] [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:9
[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 0.75s
[INFO] running `Command { std: "docker" "inspect" "8e34c31fca4f542f79c0df102fb4050d4a91c56bad3a6e7194d4c3ae6a0fa028", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e34c31fca4f542f79c0df102fb4050d4a91c56bad3a6e7194d4c3ae6a0fa028", kill_on_drop: false }`
[INFO] [stdout] 8e34c31fca4f542f79c0df102fb4050d4a91c56bad3a6e7194d4c3ae6a0fa028
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 24a4a3911d68c78ae828d29137f9acef80211593773a3e70889e15124f85d754
[INFO] running `Command { std: "docker" "start" "-a" "24a4a3911d68c78ae828d29137f9acef80211593773a3e70889e15124f85d754", kill_on_drop: false }`
[INFO] [stderr] warning: unreachable expression
[INFO] [stderr]   --> src/lib.rs:77:5
[INFO] [stderr]    |
[INFO] [stderr] 43 | /     loop {
[INFO] [stderr] 44 | |         let mut actions_this_iter: [bool; 6] = [false, false, false, false, false, false];
[INFO] [stderr] 45 | |         // Read the controller's state
[INFO] [stderr] 46 | |         while let Some(Event { id, event, time, ..}) = gilrs.next_event() {
[INFO] [stderr] ...  |
[INFO] [stderr] 74 | |         buttons.perform_actions(&mut enigo, actions_this_iter)?;
[INFO] [stderr] 75 | |     }
[INFO] [stderr]    | |_____- any code following this expression is unreachable
[INFO] [stderr] 76 |
[INFO] [stderr] 77 |       Ok(())
[INFO] [stderr]    |       ^^^^^^ unreachable expression
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `active_gamepad` is assigned to, but never used
[INFO] [stderr]   --> src/lib.rs:42:9
[INFO] [stderr]    |
[INFO] [stderr] 42 |     let mut active_gamepad = None;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_active_gamepad` instead
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `active_gamepad` is never read
[INFO] [stderr]   --> src/lib.rs:66:13
[INFO] [stderr]    |
[INFO] [stderr] 66 |             active_gamepad = Some(id);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/buttons.rs:15:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl Buttons {
[INFO] [stderr]    | ------------ associated function in this implementation
[INFO] [stderr] 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] [stderr]    |            ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: multiple variants are never constructed
[INFO] [stderr]   --> src/octant.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr]  7 | pub enum StickDir {
[INFO] [stderr]    |          -------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 11 |     West,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 12 |     South,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 13 |     East,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 14 |     Northeast,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 15 |     Southeast,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 16 |     Northwest,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 17 |     Southwest,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `StickDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Octant` is never constructed
[INFO] [stderr]   --> src/octant.rs:53:12
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub struct Octant {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `gameput` (lib) generated 6 warnings
[INFO] [stderr] warning: `gameput` (lib test) generated 6 warnings (6 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/gameput/4c020a3a6a47e7fd/deps/gameput-4c020a3a6a47e7fd)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/gameput/6c77f3b5c23c92c9/deps/gameput-6c77f3b5c23c92c9)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests gameput
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "24a4a3911d68c78ae828d29137f9acef80211593773a3e70889e15124f85d754", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24a4a3911d68c78ae828d29137f9acef80211593773a3e70889e15124f85d754", kill_on_drop: false }`
[INFO] [stdout] 24a4a3911d68c78ae828d29137f9acef80211593773a3e70889e15124f85d754
