[INFO] cloning repository https://github.com/Cedian03/okey
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cedian03/okey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCedian03%2Fokey", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCedian03%2Fokey'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9744fe8a18390702aa0afd48d4f10334d3c49baa
[INFO] checking Cedian03/okey against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCedian03%2Fokey" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Cedian03/okey
[INFO] finished tweaking git repo https://github.com/Cedian03/okey
[INFO] tweaked toml for git repo https://github.com/Cedian03/okey written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Cedian03/okey on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Cedian03/okey 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 931e2c7486775a49d20dffe294964347cb8137eb5883a577fd790bdf61aafb6f
[INFO] running `Command { std: "docker" "start" "-a" "931e2c7486775a49d20dffe294964347cb8137eb5883a577fd790bdf61aafb6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "931e2c7486775a49d20dffe294964347cb8137eb5883a577fd790bdf61aafb6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "931e2c7486775a49d20dffe294964347cb8137eb5883a577fd790bdf61aafb6f", kill_on_drop: false }`
[INFO] [stdout] 931e2c7486775a49d20dffe294964347cb8137eb5883a577fd790bdf61aafb6f
[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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 77430585aec6d74bf1bcad453c9209e6cb02a689bbe1a9ca4b6662128904a75d
[INFO] running `Command { std: "docker" "start" "-a" "77430585aec6d74bf1bcad453c9209e6cb02a689bbe1a9ca4b6662128904a75d", kill_on_drop: false }`
[INFO] [stderr]     Checking critical-section v1.2.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling heapless v0.8.0
[INFO] [stderr]    Compiling embedded-io-async v0.6.1
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]     Checking embedded-io v0.6.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]     Checking hash32 v0.3.1
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling bitfield v0.14.0
[INFO] [stderr]    Compiling embassy-sync v0.7.2
[INFO] [stderr]    Compiling litrs v1.0.0
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling embassy-time-driver v0.2.1
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling embedded-hal-async v1.0.0
[INFO] [stderr]    Compiling defmt-macros v1.0.1
[INFO] [stderr]     Checking encode_unicode v0.3.6
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]    Compiling defmt v1.0.1
[INFO] [stderr]    Compiling embassy-executor v0.9.1
[INFO] [stderr]     Checking embedded-hal v1.0.0
[INFO] [stderr]    Compiling usbd-hid-descriptors v0.8.2
[INFO] [stderr]     Checking embassy-futures v0.1.2
[INFO] [stderr]     Checking embassy-net-driver v0.2.0
[INFO] [stderr]    Compiling embassy-usb v0.5.1
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]     Checking embassy-usb-driver v0.2.0
[INFO] [stderr]     Checking embassy-executor-timer-queue v0.1.0
[INFO] [stderr]    Compiling document-features v0.2.12
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking static_cell v2.1.1
[INFO] [stderr]     Checking embassy-time v0.5.0
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]     Checking usb-device v0.3.2
[INFO] [stderr]     Checking embassy-net-driver-channel v0.3.2
[INFO] [stderr]     Checking ssmarshal v1.0.0
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling usbd-hid-macros v0.8.2
[INFO] [stderr]    Compiling defmt-parser v1.0.0
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking usbd-hid v0.8.2
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling embassy-executor-macros v0.7.0
[INFO] [stderr]     Checking okey v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `counter::Counter`
[INFO] [stdout]   --> src/scan/debounce/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use counter::Counter;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `direct::Direct`
[INFO] [stdout]  --> src/scan/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use direct::Direct;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `counter::Counter`
[INFO] [stdout]   --> src/scan/debounce/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use counter::Counter;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `direct::Direct`
[INFO] [stdout]  --> src/scan/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use direct::Direct;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn get_report(&mut self, id: ReportId, _buf: &mut [u8]) -> Option<usize> {
[INFO] [stdout]    |                              ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:22:30
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn set_report(&mut self, id: ReportId, _data: &[u8]) -> OutResponse {
[INFO] [stdout]    |                              ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:30:31
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn get_idle_ms(&mut self, id: Option<ReportId>) -> Option<u32> {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:38:31
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn set_idle_ms(&mut self, id: Option<ReportId>, duration_ms: u32) {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `duration_ms`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:38:53
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn set_idle_ms(&mut self, id: Option<ReportId>, duration_ms: u32) {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration_ms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enabled`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:50:27
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn enabled(&mut self, enabled: bool) {
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:61:29
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn addressed(&mut self, addr: u8) {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `configured`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:68:30
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn configured(&mut self, configured: bool) {
[INFO] [stdout]    |                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_configured`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `suspended`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:75:29
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn suspended(&mut self, suspended: bool) {
[INFO] [stdout]    |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_suspended`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enabled`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:82:41
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn remote_wakeup_enabled(&mut self, enabled: bool) {
[INFO] [stdout]    |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iface`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:89:41
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn set_alternate_setting(&mut self, iface: InterfaceNumber, alternate_setting: u8) {
[INFO] [stdout]    |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_iface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alternate_setting`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:89:65
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn set_alternate_setting(&mut self, iface: InterfaceNumber, alternate_setting: u8) {
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alternate_setting`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:96:31
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn control_out(&mut self, req: Request, _data: &[u8]) -> Option<OutResponse> {
[INFO] [stdout]    |                               ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/interface/usb/handlers.rs:104:37
[INFO] [stdout]     |
[INFO] [stdout] 104 |     fn control_in<'a>(&'a mut self, req: Request, _buf: &'a mut [u8]) -> Option<InResponse<'a>> {
[INFO] [stdout]     |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/interface/usb/handlers.rs:112:30
[INFO] [stdout]     |
[INFO] [stdout] 112 |     fn get_string(&mut self, index: StringIndex, lang_id: u16) -> Option<&str> {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lang_id`
[INFO] [stdout]    --> src/interface/usb/handlers.rs:112:50
[INFO] [stdout]     |
[INFO] [stdout] 112 |     fn get_string(&mut self, index: StringIndex, lang_id: u16) -> Option<&str> {
[INFO] [stdout]     |                                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lang_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/lib.rs:142:42
[INFO] [stdout]     |
[INFO] [stdout] 142 |     fn process_action_pressed(&mut self, x: u8, y: u8, action: Action) {
[INFO] [stdout]     |                                          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/lib.rs:142:49
[INFO] [stdout]     |
[INFO] [stdout] 142 |     fn process_action_pressed(&mut self, x: u8, y: u8, action: Action) {
[INFO] [stdout]     |                                                 ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/lib.rs:166:39
[INFO] [stdout]     |
[INFO] [stdout] 166 |     fn process_action_held(&mut self, x: u8, y: u8, action: Action) {
[INFO] [stdout]     |                                       ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/lib.rs:166:46
[INFO] [stdout]     |
[INFO] [stdout] 166 |     fn process_action_held(&mut self, x: u8, y: u8, action: Action) {
[INFO] [stdout]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/lib.rs:191:9
[INFO] [stdout]     |
[INFO] [stdout] 191 |         x: u8,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/lib.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 192 |         y: u8,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `duration`
[INFO] [stdout]    --> src/lib.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |         duration: Duration,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `WIDTH` and `HEIGHT` are never used
[INFO] [stdout]   --> src/map/layered.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<const W: usize, const H: usize, const D: usize> LayeredMap<W, H, D> {
[INFO] [stdout]    | ------------------------------------------------------------------------ associated constants in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     const WIDTH: u8 = W as u8;
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 18 |     const HEIGHT: u8 = H as u8;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Counter` is never constructed
[INFO] [stdout]  --> src/scan/debounce/counter.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Counter<S, const W: usize, const H: usize> {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/scan/debounce/counter.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<S, const W: usize, const H: usize> Counter<S, W, H> {
[INFO] [stdout]    | -------------------------------------------------------- associated function in this implementation
[INFO] [stdout] 12 |     pub const fn new(scanner: S) -> Self {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Direct` is never constructed
[INFO] [stdout]  --> src/scan/direct.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Direct<P, const N: usize> {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Infallible>
[INFO] [stdout]   --> src/scan/col2row.rs:38:29
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 buf[y][x] = row_pin.is_high().unwrap();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Infallible>
[INFO] [stdout]   --> src/scan/direct.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |             *dst = pin.is_high().unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Infallible>
[INFO] [stdout]   --> src/scan/row2col.rs:38:29
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 buf[y][x] = col_pin.is_high().unwrap();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `okey` (lib) due to 3 previous errors; 29 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn get_report(&mut self, id: ReportId, _buf: &mut [u8]) -> Option<usize> {
[INFO] [stdout]    |                              ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:22:30
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn set_report(&mut self, id: ReportId, _data: &[u8]) -> OutResponse {
[INFO] [stdout]    |                              ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:30:31
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn get_idle_ms(&mut self, id: Option<ReportId>) -> Option<u32> {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:38:31
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn set_idle_ms(&mut self, id: Option<ReportId>, duration_ms: u32) {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `duration_ms`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:38:53
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn set_idle_ms(&mut self, id: Option<ReportId>, duration_ms: u32) {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration_ms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enabled`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:50:27
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn enabled(&mut self, enabled: bool) {
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:61:29
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn addressed(&mut self, addr: u8) {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `configured`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:68:30
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn configured(&mut self, configured: bool) {
[INFO] [stdout]    |                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_configured`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `suspended`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:75:29
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn suspended(&mut self, suspended: bool) {
[INFO] [stdout]    |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_suspended`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enabled`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:82:41
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn remote_wakeup_enabled(&mut self, enabled: bool) {
[INFO] [stdout]    |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iface`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:89:41
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn set_alternate_setting(&mut self, iface: InterfaceNumber, alternate_setting: u8) {
[INFO] [stdout]    |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_iface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alternate_setting`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:89:65
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn set_alternate_setting(&mut self, iface: InterfaceNumber, alternate_setting: u8) {
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alternate_setting`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/interface/usb/handlers.rs:96:31
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn control_out(&mut self, req: Request, _data: &[u8]) -> Option<OutResponse> {
[INFO] [stdout]    |                               ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/interface/usb/handlers.rs:104:37
[INFO] [stdout]     |
[INFO] [stdout] 104 |     fn control_in<'a>(&'a mut self, req: Request, _buf: &'a mut [u8]) -> Option<InResponse<'a>> {
[INFO] [stdout]     |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/interface/usb/handlers.rs:112:30
[INFO] [stdout]     |
[INFO] [stdout] 112 |     fn get_string(&mut self, index: StringIndex, lang_id: u16) -> Option<&str> {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lang_id`
[INFO] [stdout]    --> src/interface/usb/handlers.rs:112:50
[INFO] [stdout]     |
[INFO] [stdout] 112 |     fn get_string(&mut self, index: StringIndex, lang_id: u16) -> Option<&str> {
[INFO] [stdout]     |                                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lang_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/lib.rs:142:42
[INFO] [stdout]     |
[INFO] [stdout] 142 |     fn process_action_pressed(&mut self, x: u8, y: u8, action: Action) {
[INFO] [stdout]     |                                          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/lib.rs:142:49
[INFO] [stdout]     |
[INFO] [stdout] 142 |     fn process_action_pressed(&mut self, x: u8, y: u8, action: Action) {
[INFO] [stdout]     |                                                 ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/lib.rs:166:39
[INFO] [stdout]     |
[INFO] [stdout] 166 |     fn process_action_held(&mut self, x: u8, y: u8, action: Action) {
[INFO] [stdout]     |                                       ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/lib.rs:166:46
[INFO] [stdout]     |
[INFO] [stdout] 166 |     fn process_action_held(&mut self, x: u8, y: u8, action: Action) {
[INFO] [stdout]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/lib.rs:191:9
[INFO] [stdout]     |
[INFO] [stdout] 191 |         x: u8,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/lib.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 192 |         y: u8,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `duration`
[INFO] [stdout]    --> src/lib.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |         duration: Duration,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `WIDTH` and `HEIGHT` are never used
[INFO] [stdout]   --> src/map/layered.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<const W: usize, const H: usize, const D: usize> LayeredMap<W, H, D> {
[INFO] [stdout]    | ------------------------------------------------------------------------ associated constants in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     const WIDTH: u8 = W as u8;
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 18 |     const HEIGHT: u8 = H as u8;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Counter` is never constructed
[INFO] [stdout]  --> src/scan/debounce/counter.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Counter<S, const W: usize, const H: usize> {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/scan/debounce/counter.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<S, const W: usize, const H: usize> Counter<S, W, H> {
[INFO] [stdout]    | -------------------------------------------------------- associated function in this implementation
[INFO] [stdout] 12 |     pub const fn new(scanner: S) -> Self {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Direct` is never constructed
[INFO] [stdout]  --> src/scan/direct.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Direct<P, const N: usize> {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Infallible>
[INFO] [stdout]   --> src/scan/col2row.rs:38:29
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 buf[y][x] = row_pin.is_high().unwrap();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Infallible>
[INFO] [stdout]   --> src/scan/direct.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |             *dst = pin.is_high().unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Infallible>
[INFO] [stdout]   --> src/scan/row2col.rs:38:29
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 buf[y][x] = col_pin.is_high().unwrap();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `okey` (lib test) due to 3 previous errors; 29 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "77430585aec6d74bf1bcad453c9209e6cb02a689bbe1a9ca4b6662128904a75d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77430585aec6d74bf1bcad453c9209e6cb02a689bbe1a9ca4b6662128904a75d", kill_on_drop: false }`
[INFO] [stdout] 77430585aec6d74bf1bcad453c9209e6cb02a689bbe1a9ca4b6662128904a75d
