[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#d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roblabla/hidapi-rs on toolchain d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ioctl-sys v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c35cdffc8974a9be5ad685da8d3387e2c09d7592c3f4aee56cfad2facdeacf38 [INFO] running `Command { std: "docker" "start" "-a" "c35cdffc8974a9be5ad685da8d3387e2c09d7592c3f4aee56cfad2facdeacf38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c35cdffc8974a9be5ad685da8d3387e2c09d7592c3f4aee56cfad2facdeacf38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c35cdffc8974a9be5ad685da8d3387e2c09d7592c3f4aee56cfad2facdeacf38", kill_on_drop: false }` [INFO] [stdout] c35cdffc8974a9be5ad685da8d3387e2c09d7592c3f4aee56cfad2facdeacf38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40d34b3b0698ea433d8b93f9f3f9b9482f125fc6ac02ab642c25c7fef2c778fc [INFO] running `Command { std: "docker" "start" "-a" "40d34b3b0698ea433d8b93f9f3f9b9482f125fc6ac02ab642c25c7fef2c778fc", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking ioctl-sys v0.6.0 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking hidapi-rs v0.1.0 (/opt/rustwide/workdir) [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 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vendor_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [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 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [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 { [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desc_size` [INFO] [stdout] --> src/os/linux.rs:344:13 [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: 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: 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: 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)]` 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 { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 142 | hid_items: HidItemIterator, [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: &F) -> Result { [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) [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) [INFO] [stdout] 118 + LongItem(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetaUoNkEm" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regex` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "40d34b3b0698ea433d8b93f9f3f9b9482f125fc6ac02ab642c25c7fef2c778fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40d34b3b0698ea433d8b93f9f3f9b9482f125fc6ac02ab642c25c7fef2c778fc", kill_on_drop: false }` [INFO] [stdout] 40d34b3b0698ea433d8b93f9f3f9b9482f125fc6ac02ab642c25c7fef2c778fc