[INFO] cloning repository https://github.com/roblabla/hidapi-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roblabla/hidapi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 940569a8d0c3114434162fd56f1c8ed2474cd45e
[INFO] checking roblabla/hidapi-rs against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/roblabla/hidapi-rs
[INFO] finished tweaking git repo https://github.com/roblabla/hidapi-rs
[INFO] tweaked toml for git repo https://github.com/roblabla/hidapi-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/roblabla/hidapi-rs on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/roblabla/hidapi-rs 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/roblabla/core-foundation-rs`
[INFO] [stderr]     Updating git repository `https://github.com/roblabla/io-kit-rs`
[INFO] [stderr]     Updating git repository `https://github.com/roblabla/mach`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bitfield v0.13.2
[INFO] [stderr]   Downloaded ioctl-sys v0.6.0
[INFO] [stderr]   Downloaded widestring v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 47f0d6d5dfdb774d846609ea37aec84a758cf2c1610398e8a1d86ce55f072145
[INFO] running `Command { std: "docker" "start" "-a" "47f0d6d5dfdb774d846609ea37aec84a758cf2c1610398e8a1d86ce55f072145", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "47f0d6d5dfdb774d846609ea37aec84a758cf2c1610398e8a1d86ce55f072145", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47f0d6d5dfdb774d846609ea37aec84a758cf2c1610398e8a1d86ce55f072145", kill_on_drop: false }`
[INFO] [stdout] 47f0d6d5dfdb774d846609ea37aec84a758cf2c1610398e8a1d86ce55f072145
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9f3d21892f37eca17987ef7ba9d7ead2aca56b61497fc36394232399d1e6a8f
[INFO] running `Command { std: "docker" "start" "-a" "e9f3d21892f37eca17987ef7ba9d7ead2aca56b61497fc36394232399d1e6a8f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]     Checking regex-syntax v0.6.21
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]     Checking bit_field v0.10.1
[INFO] [stderr]     Checking widestring v0.4.0
[INFO] [stderr]     Checking humantime v2.0.1
[INFO] [stderr]     Checking ioctl-sys v0.6.0
[INFO] [stderr]     Checking hidapi-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/os/linux.rs:36:36
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn read_timeout(&mut self, data: &mut [u8], milliseconds: u32) -> HidResult<usize> {
[INFO] [stdout]    |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `milliseconds`
[INFO] [stdout]   --> src/os/linux.rs:36:53
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn read_timeout(&mut self, data: &mut [u8], milliseconds: u32) -> HidResult<usize> {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_milliseconds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/os/linux.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Err(err) => Err(HidError::HidApiErrorWithCause {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/os/linux.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Err(err) => Err(HidError::HidApiErrorWithCause {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> src/os/linux.rs:68:43
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn get_manufacturer_string(&self, string: &mut [u16]) -> HidResult<()> {
[INFO] [stdout]    |                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> src/os/linux.rs:72:38
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn get_product_string(&self, string: &mut [u16]) -> HidResult<()> {
[INFO] [stdout]    |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> src/os/linux.rs:76:44
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn get_serial_number_string(&self, string: &mut [u16]) -> HidResult<()> {
[INFO] [stdout]    |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string_index`
[INFO] [stdout]   --> src/os/linux.rs:80:38
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn get_indexed_string(&self, string_index: i32, string: &mut [u16]) -> HidResult<()> {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> src/os/linux.rs:80:57
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn get_indexed_string(&self, string_index: i32, string: &mut [u16]) -> HidResult<()> {
[INFO] [stdout]    |                                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `canon_child`
[INFO] [stdout]    --> src/os/linux.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let canon_child = child.canonicalize();
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canon_child`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/os/linux.rs:295:75
[INFO] [stdout]     |
[INFO] [stdout] 295 |             if let Some(devinfo) = self.devinfo_usages.as_mut().and_then(|mut v| v.next()) {
[INFO] [stdout]     |                                                                           ----^
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vendor_id`
[INFO] [stdout]    --> src/os/linux.rs:325:22
[INFO] [stdout]     |
[INFO] [stdout] 325 | pub fn hid_enumerate(vendor_id: u16, product_id: u16) -> impl Iterator<Item = crate::DeviceInfo> {
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vendor_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `product_id`
[INFO] [stdout]    --> src/os/linux.rs:325:38
[INFO] [stdout]     |
[INFO] [stdout] 325 | pub fn hid_enumerate(vendor_id: u16, product_id: u16) -> impl Iterator<Item = crate::DeviceInfo> {
[INFO] [stdout]     |                                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/os/linux.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 |     let mut desc_size = 0;
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/os/linux.rs:356:20
[INFO] [stdout]     |
[INFO] [stdout] 356 |         .any(|(ty, item)| ty == HidTy::Global(HidGlobal::ReportId));
[INFO] [stdout]     |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `desc_size`
[INFO] [stdout]    --> src/os/linux.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 |     let mut desc_size = 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desc_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/lib.rs:198:8
[INFO] [stdout]     |
[INFO] [stdout] 197 | impl DeviceInfo {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 198 |     fn new() -> DeviceInfo {
[INFO] [stdout]     |        ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `uses_numbered_reports` is never read
[INFO] [stdout]   --> src/os/linux.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct HidDevice {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     uses_numbered_reports: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pos` is never read
[INFO] [stdout]    --> src/os/linux.rs:143:5
[INFO] [stdout]     |
[INFO] [stdout] 141 | struct UsagesIter<T> {
[INFO] [stdout]     |        ---------- field in this struct
[INFO] [stdout] 142 |     hid_items: HidItemIterator<T>,
[INFO] [stdout] 143 |     pos: usize,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hidiocgrdescsize` is never used
[INFO] [stdout]    --> src/os/linux.rs:389:4
[INFO] [stdout]     |
[INFO] [stdout] 389 | fn hidiocgrdescsize<F: AsRawFd>(f: &F) -> Result<c_int, io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/os/linux/hid.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 |     LongItem(Vec<u8>)
[INFO] [stdout]     |     -------- ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 118 -     LongItem(Vec<u8>)
[INFO] [stdout] 118 +     LongItem(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking regex v1.4.2
[INFO] [stderr]     Checking env_logger v0.8.2
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/os/linux.rs:36:36
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn read_timeout(&mut self, data: &mut [u8], milliseconds: u32) -> HidResult<usize> {
[INFO] [stdout]    |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `milliseconds`
[INFO] [stdout]   --> src/os/linux.rs:36:53
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn read_timeout(&mut self, data: &mut [u8], milliseconds: u32) -> HidResult<usize> {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_milliseconds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/os/linux.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Err(err) => Err(HidError::HidApiErrorWithCause {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/os/linux.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Err(err) => Err(HidError::HidApiErrorWithCause {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> src/os/linux.rs:68:43
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn get_manufacturer_string(&self, string: &mut [u16]) -> HidResult<()> {
[INFO] [stdout]    |                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> src/os/linux.rs:72:38
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn get_product_string(&self, string: &mut [u16]) -> HidResult<()> {
[INFO] [stdout]    |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> src/os/linux.rs:76:44
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn get_serial_number_string(&self, string: &mut [u16]) -> HidResult<()> {
[INFO] [stdout]    |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string_index`
[INFO] [stdout]   --> src/os/linux.rs:80:38
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn get_indexed_string(&self, string_index: i32, string: &mut [u16]) -> HidResult<()> {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> src/os/linux.rs:80:57
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn get_indexed_string(&self, string_index: i32, string: &mut [u16]) -> HidResult<()> {
[INFO] [stdout]    |                                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `canon_child`
[INFO] [stdout]    --> src/os/linux.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let canon_child = child.canonicalize();
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canon_child`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/os/linux.rs:295:75
[INFO] [stdout]     |
[INFO] [stdout] 295 |             if let Some(devinfo) = self.devinfo_usages.as_mut().and_then(|mut v| v.next()) {
[INFO] [stdout]     |                                                                           ----^
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vendor_id`
[INFO] [stdout]    --> src/os/linux.rs:325:22
[INFO] [stdout]     |
[INFO] [stdout] 325 | pub fn hid_enumerate(vendor_id: u16, product_id: u16) -> impl Iterator<Item = crate::DeviceInfo> {
[INFO] [stdout]     |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vendor_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `product_id`
[INFO] [stdout]    --> src/os/linux.rs:325:38
[INFO] [stdout]     |
[INFO] [stdout] 325 | pub fn hid_enumerate(vendor_id: u16, product_id: u16) -> impl Iterator<Item = crate::DeviceInfo> {
[INFO] [stdout]     |                                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/os/linux.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 |     let mut desc_size = 0;
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/os/linux.rs:356:20
[INFO] [stdout]     |
[INFO] [stdout] 356 |         .any(|(ty, item)| ty == HidTy::Global(HidGlobal::ReportId));
[INFO] [stdout]     |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `desc_size`
[INFO] [stdout]    --> src/os/linux.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 |     let mut desc_size = 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desc_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/lib.rs:198:8
[INFO] [stdout]     |
[INFO] [stdout] 197 | impl DeviceInfo {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 198 |     fn new() -> DeviceInfo {
[INFO] [stdout]     |        ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `uses_numbered_reports` is never read
[INFO] [stdout]   --> src/os/linux.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct HidDevice {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     uses_numbered_reports: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pos` is never read
[INFO] [stdout]    --> src/os/linux.rs:143:5
[INFO] [stdout]     |
[INFO] [stdout] 141 | struct UsagesIter<T> {
[INFO] [stdout]     |        ---------- field in this struct
[INFO] [stdout] 142 |     hid_items: HidItemIterator<T>,
[INFO] [stdout] 143 |     pos: usize,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hidiocgrdescsize` is never used
[INFO] [stdout]    --> src/os/linux.rs:389:4
[INFO] [stdout]     |
[INFO] [stdout] 389 | fn hidiocgrdescsize<F: AsRawFd>(f: &F) -> Result<c_int, io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/os/linux/hid.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 |     LongItem(Vec<u8>)
[INFO] [stdout]     |     -------- ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 118 -     LongItem(Vec<u8>)
[INFO] [stdout] 118 +     LongItem(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.29s
[INFO] running `Command { std: "docker" "inspect" "e9f3d21892f37eca17987ef7ba9d7ead2aca56b61497fc36394232399d1e6a8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9f3d21892f37eca17987ef7ba9d7ead2aca56b61497fc36394232399d1e6a8f", kill_on_drop: false }`
[INFO] [stdout] e9f3d21892f37eca17987ef7ba9d7ead2aca56b61497fc36394232399d1e6a8f
