[INFO] cloning repository https://github.com/roblabla/hidapi-rs [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e8a996f9b0d1de7a1bbe816c74eb4537c3bf8161 [INFO] checking roblabla/hidapi-rs against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roblabla/hidapi-rs on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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-8/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] ae1d715ba3e834adc8e86563bf4064ad2bcebec3a3dec1110000c3f22d24a122 [INFO] running `"docker" "start" "-a" "ae1d715ba3e834adc8e86563bf4064ad2bcebec3a3dec1110000c3f22d24a122"` [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 [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] [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::>(); [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::>(); [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 [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 [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] [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::>(); [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::>(); [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 [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" "ae1d715ba3e834adc8e86563bf4064ad2bcebec3a3dec1110000c3f22d24a122"` [INFO] running `"docker" "rm" "-f" "ae1d715ba3e834adc8e86563bf4064ad2bcebec3a3dec1110000c3f22d24a122"` [INFO] [stdout] ae1d715ba3e834adc8e86563bf4064ad2bcebec3a3dec1110000c3f22d24a122