[INFO] updating cached repository https://github.com/roblabla/hidapi-rs
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] e8a996f9b0d1de7a1bbe816c74eb4537c3bf8161
[INFO] checking roblabla/hidapi-rs against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs" "/workspace/builds/worker-14/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/roblabla/hidapi-rs on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-14/source/Cargo.toml
[INFO] crate git repo https://github.com/roblabla/hidapi-rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 901002ef79548cea0e2c3a4ccd32b9aff67928c55d1df429ab63f95ca5093ec4
[INFO] running `"docker" "start" "-a" "901002ef79548cea0e2c3a4ccd32b9aff67928c55d1df429ab63f95ca5093ec4"`
[INFO] [stderr]     Checking widestring v0.4.0
[INFO] [stderr]     Checking hidapi-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0412]: cannot find type `HidDevice` in this scope
[INFO] [stderr]   --> src/os/mod.rs:18:92
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub fn hid_open(vendor_id: u16, product_id: u16, serial_number: Option<&str>) -> HidResult<HidDevice>
[INFO] [stderr]    |                                                                                            ^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 11 | use crate::HidDevice;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub fn hid_open<HidDevice>(vendor_id: u16, product_id: u16, serial_number: Option<&str>) -> HidResult<HidDevice>
[INFO] [stderr]    |                ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `hid_enumerate` in this scope
[INFO] [stderr]   --> src/os/mod.rs:20:20
[INFO] [stderr]    |
[INFO] [stderr] 20 |     for cur_dev in hid_enumerate(vendor_id, product_id) {
[INFO] [stderr]    |                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `hid_open_path` in this scope
[INFO] [stderr]   --> src/os/mod.rs:24:28
[INFO] [stderr]    |
[INFO] [stderr] 24 |                     return hid_open_path(&cur_dev.path);
[INFO] [stderr]    |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `hid_open_path` in this scope
[INFO] [stderr]   --> src/os/mod.rs:26:37
[INFO] [stderr]    |
[INFO] [stderr] 26 |                 (None, _) => return hid_open_path(&cur_dev.path),
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `hid_enumerate` in module `os`
[INFO] [stderr]   --> src/lib.rs:63:31
[INFO] [stderr]    |
[INFO] [stderr] 63 |         let device_list = os::hid_enumerate(0, 0).collect::<Vec<DeviceInfo>>();
[INFO] [stderr]    |                               ^^^^^^^^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `hid_enumerate` in module `os`
[INFO] [stderr]   --> src/lib.rs:71:31
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let device_list = os::hid_enumerate(0, 0).collect::<Vec<DeviceInfo>>();
[INFO] [stderr]    |                               ^^^^^^^^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `hid_open_path` in module `os`
[INFO] [stderr]   --> src/lib.rs:94:36
[INFO] [stderr]    |
[INFO] [stderr] 94 |             internal: Box::new(os::hid_open_path(device_path)?)
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HidDevice` in module `os`
[INFO] [stderr]    --> src/lib.rs:100:23
[INFO] [stderr]     |
[INFO] [stderr] 100 |     internal: Box<os::HidDevice>
[INFO] [stderr]     |                       ^^^^^^^^^ not found in `os`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 2   | use crate::HidDevice;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HidDevice` in this scope
[INFO] [stderr]   --> src/os/mod.rs:18:92
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub fn hid_open(vendor_id: u16, product_id: u16, serial_number: Option<&str>) -> HidResult<HidDevice>
[INFO] [stderr]    |                                                                                            ^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 11 | use crate::HidDevice;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub fn hid_open<HidDevice>(vendor_id: u16, product_id: u16, serial_number: Option<&str>) -> HidResult<HidDevice>
[INFO] [stderr]    |                ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `hid_enumerate` in this scope
[INFO] [stderr]   --> src/os/mod.rs:20:20
[INFO] [stderr]    |
[INFO] [stderr] 20 |     for cur_dev in hid_enumerate(vendor_id, product_id) {
[INFO] [stderr]    |                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `hid_open_path` in this scope
[INFO] [stderr]   --> src/os/mod.rs:24:28
[INFO] [stderr]    |
[INFO] [stderr] 24 |                     return hid_open_path(&cur_dev.path);
[INFO] [stderr]    |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `hid_open_path` in this scope
[INFO] [stderr]   --> src/os/mod.rs:26:37
[INFO] [stderr]    |
[INFO] [stderr] 26 |                 (None, _) => return hid_open_path(&cur_dev.path),
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `hid_enumerate` in module `os`
[INFO] [stderr]   --> src/lib.rs:63:31
[INFO] [stderr]    |
[INFO] [stderr] 63 |         let device_list = os::hid_enumerate(0, 0).collect::<Vec<DeviceInfo>>();
[INFO] [stderr]    |                               ^^^^^^^^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `hid_enumerate` in module `os`
[INFO] [stderr]   --> src/lib.rs:71:31
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let device_list = os::hid_enumerate(0, 0).collect::<Vec<DeviceInfo>>();
[INFO] [stderr]    |                               ^^^^^^^^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `hid_open_path` in module `os`
[INFO] [stderr]   --> src/lib.rs:94:36
[INFO] [stderr]    |
[INFO] [stderr] 94 |             internal: Box::new(os::hid_open_path(device_path)?)
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HidDevice` in module `os`
[INFO] [stderr]    --> src/lib.rs:100:23
[INFO] [stderr]     |
[INFO] [stderr] 100 |     internal: Box<os::HidDevice>
[INFO] [stderr]     |                       ^^^^^^^^^ not found in `os`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 2   | use crate::HidDevice;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 8 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `hidapi-rs`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: aborting due to 8 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `hidapi-rs`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "901002ef79548cea0e2c3a4ccd32b9aff67928c55d1df429ab63f95ca5093ec4"`
[INFO] running `"docker" "rm" "-f" "901002ef79548cea0e2c3a4ccd32b9aff67928c55d1df429ab63f95ca5093ec4"`
[INFO] [stdout] 901002ef79548cea0e2c3a4ccd32b9aff67928c55d1df429ab63f95ca5093ec4
