[INFO] cloning repository https://github.com/mikepaggi/KeySwitch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikepaggi/KeySwitch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikepaggi%2FKeySwitch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikepaggi%2FKeySwitch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7b02c8b91988b5a98f68a53ed64f865bc366a1f3
[INFO] checking mikepaggi/KeySwitch against master#c756124775121dea0e640652c5ee3c89e3dd0eb4 for pr-154971-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikepaggi%2FKeySwitch" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/mikepaggi/KeySwitch
[INFO] finished tweaking git repo https://github.com/mikepaggi/KeySwitch
[INFO] tweaked toml for git repo https://github.com/mikepaggi/KeySwitch written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mikepaggi/KeySwitch on toolchain c756124775121dea0e640652c5ee3c89e3dd0eb4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mikepaggi/KeySwitch 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" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hidapi v2.6.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e2e202da2da27b0d4b973967d209baeec93291fc05845bea0ae082dda75a0031
[INFO] running `Command { std: "docker" "start" "-a" "e2e202da2da27b0d4b973967d209baeec93291fc05845bea0ae082dda75a0031", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2e202da2da27b0d4b973967d209baeec93291fc05845bea0ae082dda75a0031", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2e202da2da27b0d4b973967d209baeec93291fc05845bea0ae082dda75a0031", kill_on_drop: false }`
[INFO] [stdout] e2e202da2da27b0d4b973967d209baeec93291fc05845bea0ae082dda75a0031
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7c34878ef3c193cac9b39680eb46d5737e368eeedefc081d16cedd62ffe47676
[INFO] running `Command { std: "docker" "start" "-a" "7c34878ef3c193cac9b39680eb46d5737e368eeedefc081d16cedd62ffe47676", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking env_filter v1.0.0
[INFO] [stderr]     Checking env_logger v0.11.9
[INFO] [stderr]    Compiling hidapi v2.6.4
[INFO] [stderr]     Checking keyswitch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `hidapi::HidApi`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use hidapi::HidApi;
[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: `log::info`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use log::info;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hidapi::HidApi`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use hidapi::HidApi;
[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: `log::info`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use log::info;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `layout_override`
[INFO] [stdout]    --> src/main.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 |     let layout_override = parse_layout_override(&args);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout_override`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RAW_HID_USAGE_PAGE` is never used
[INFO] [stdout]   --> src/keychron.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const RAW_HID_USAGE_PAGE: u16 = 0xFF60;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_layout_to_device` is never used
[INFO] [stdout]   --> src/keychron.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn send_layout_to_device(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply_to_connected_keychrons` is never used
[INFO] [stdout]   --> src/keychron.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn apply_to_connected_keychrons(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `layout_override`
[INFO] [stdout]    --> src/main.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 |     let layout_override = parse_layout_override(&args);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout_override`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KEYCHRON_VID` is never used
[INFO] [stdout]   --> src/keychron.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const KEYCHRON_VID: u16 = 0x3434;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RAW_HID_USAGE_PAGE` is never used
[INFO] [stdout]   --> src/keychron.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const RAW_HID_USAGE_PAGE: u16 = 0xFF60;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `device_key` is never used
[INFO] [stdout]   --> src/keychron.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate) fn device_key(vid: u16, pid: u16, serial: Option<&str>) -> String {
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_layout_to_device` is never used
[INFO] [stdout]   --> src/keychron.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn send_layout_to_device(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply_to_connected_keychrons` is never used
[INFO] [stdout]   --> src/keychron.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn apply_to_connected_keychrons(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `poll_interval` is never used
[INFO] [stdout]    --> src/keychron.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn poll_interval() -> Duration {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RAW_EPSIZE` is never used
[INFO] [stdout]  --> src/via.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const RAW_EPSIZE: usize = 32;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COMMAND_START` is never used
[INFO] [stdout]  --> src/via.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const COMMAND_START: u8 = 0x00;
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ID_SET_KEYBOARD_VALUE` is never used
[INFO] [stdout]  --> src/via.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const ID_SET_KEYBOARD_VALUE: u8 = 0x03;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ID_LAYOUT_OPTIONS` is never used
[INFO] [stdout]  --> src/via.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const ID_LAYOUT_OPTIONS: u8 = 0x02;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_layout_options_report` is never used
[INFO] [stdout]   --> src/via.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn set_layout_options_report(layout: Layout) -> [u8; RAW_EPSIZE] {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_layout_options_response` is never used
[INFO] [stdout]   --> src/via.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn parse_layout_options_response(buf: &[u8; RAW_EPSIZE]) -> Option<Layout> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.07s
[INFO] running `Command { std: "docker" "inspect" "7c34878ef3c193cac9b39680eb46d5737e368eeedefc081d16cedd62ffe47676", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c34878ef3c193cac9b39680eb46d5737e368eeedefc081d16cedd62ffe47676", kill_on_drop: false }`
[INFO] [stdout] 7c34878ef3c193cac9b39680eb46d5737e368eeedefc081d16cedd62ffe47676
