[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 try#50f413885985a8b0a0b6ca0766a0aedd45304953 for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs" "/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/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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/roblabla/hidapi-rs on toolchain 50f413885985a8b0a0b6ca0766a0aedd45304953
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8212964836fddf311c610f390fa0a40dc279227211b9b7772ea93e14ff64e7ff
[INFO] running `Command { std: "docker" "start" "-a" "8212964836fddf311c610f390fa0a40dc279227211b9b7772ea93e14ff64e7ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8212964836fddf311c610f390fa0a40dc279227211b9b7772ea93e14ff64e7ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8212964836fddf311c610f390fa0a40dc279227211b9b7772ea93e14ff64e7ff", kill_on_drop: false }`
[INFO] [stdout] 8212964836fddf311c610f390fa0a40dc279227211b9b7772ea93e14ff64e7ff
[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" "-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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4e5fbf6f9dee1d6bf99c773316cd5036a3f73504506c11fe704177d99d5b4fa
[INFO] running `Command { std: "docker" "start" "-a" "c4e5fbf6f9dee1d6bf99c773316cd5036a3f73504506c11fe704177d99d5b4fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking regex-syntax v0.6.21
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking widestring v0.4.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking bit_field v0.10.1
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]     Checking ioctl-sys v0.6.0
[INFO] [stderr]     Checking humantime v2.0.1
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking aho-corasick v0.7.15
[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 3.81s
[INFO] running `Command { std: "docker" "inspect" "c4e5fbf6f9dee1d6bf99c773316cd5036a3f73504506c11fe704177d99d5b4fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4e5fbf6f9dee1d6bf99c773316cd5036a3f73504506c11fe704177d99d5b4fa", kill_on_drop: false }`
[INFO] [stdout] c4e5fbf6f9dee1d6bf99c773316cd5036a3f73504506c11fe704177d99d5b4fa
