[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 master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCedian03%2Fokey" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Cedian03/okey on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded static_cell v2.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f62ea3186565b42d739520d3615867f31594d4dea77ee65fec9938b15ab33d55 [INFO] running `Command { std: "docker" "start" "-a" "f62ea3186565b42d739520d3615867f31594d4dea77ee65fec9938b15ab33d55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f62ea3186565b42d739520d3615867f31594d4dea77ee65fec9938b15ab33d55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f62ea3186565b42d739520d3615867f31594d4dea77ee65fec9938b15ab33d55", kill_on_drop: false }` [INFO] [stdout] f62ea3186565b42d739520d3615867f31594d4dea77ee65fec9938b15ab33d55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d851e456cc575a3b4f825a4b91d206018d73a0acc276c448ddc7d5b28958f9f1 [INFO] running `Command { std: "docker" "start" "-a" "d851e456cc575a3b4f825a4b91d206018d73a0acc276c448ddc7d5b28958f9f1", kill_on_drop: false }` [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling serde v1.0.228 [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 litrs v1.0.0 [INFO] [stderr] Compiling embassy-sync v0.7.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling embassy-time-driver v0.2.1 [INFO] [stderr] Compiling usbd-hid-descriptors v0.8.2 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling embassy-usb v0.5.1 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embassy-futures v0.1.2 [INFO] [stderr] Checking embassy-net-driver v0.2.0 [INFO] [stderr] Compiling embassy-executor v0.9.1 [INFO] [stderr] Checking embassy-usb-driver v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [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] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking usb-device v0.3.2 [INFO] [stderr] Checking static_cell v2.1.1 [INFO] [stderr] Checking embassy-time v0.5.0 [INFO] [stderr] Checking embassy-net-driver-channel v0.3.2 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Checking ssmarshal v1.0.0 [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] Checking usbd-hid v0.8.2 [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [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 { [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) -> Option { [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, 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, 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 { [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> { [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: `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 { [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) -> Option { [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, 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, 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 { [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> { [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 LayeredMap { [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 { [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 Counter { [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 { [INFO] [stdout] | ^^^^^^ [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 LayeredMap { [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 { [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 Counter { [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 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.00s [INFO] running `Command { std: "docker" "inspect" "d851e456cc575a3b4f825a4b91d206018d73a0acc276c448ddc7d5b28958f9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d851e456cc575a3b4f825a4b91d206018d73a0acc276c448ddc7d5b28958f9f1", kill_on_drop: false }` [INFO] [stdout] d851e456cc575a3b4f825a4b91d206018d73a0acc276c448ddc7d5b28958f9f1