[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] e8a996f9b0d1de7a1bbe816c74eb4537c3bf8161 [INFO] checking roblabla/hidapi-rs against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roblabla/hidapi-rs on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 330b36b0cdf3063cebfdd45dac6fcffae4b66c8abf508b007c66bf46c85d62f1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "330b36b0cdf3063cebfdd45dac6fcffae4b66c8abf508b007c66bf46c85d62f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "330b36b0cdf3063cebfdd45dac6fcffae4b66c8abf508b007c66bf46c85d62f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "330b36b0cdf3063cebfdd45dac6fcffae4b66c8abf508b007c66bf46c85d62f1", kill_on_drop: false }` [INFO] [stdout] 330b36b0cdf3063cebfdd45dac6fcffae4b66c8abf508b007c66bf46c85d62f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2f61254d1fafd1520e7fd356eb520e7f33233537ad73ac0b93d1bf8c5d11f4cf [INFO] running `Command { std: "docker" "start" "-a" "2f61254d1fafd1520e7fd356eb520e7f33233537ad73ac0b93d1bf8c5d11f4cf", kill_on_drop: false }` [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Checking hidapi-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `HidDevice` in this scope [INFO] [stdout] --> src/os/mod.rs:18:92 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn hid_open(vendor_id: u16, product_id: u16, serial_number: Option<&str>) -> HidResult [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use crate::HidDevice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in this scope [INFO] [stdout] --> src/os/mod.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | for cur_dev in hid_enumerate(vendor_id, product_id) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in this scope [INFO] [stdout] --> src/os/mod.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | return hid_open_path(&cur_dev.path); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in this scope [INFO] [stdout] --> src/os/mod.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | (None, _) => return hid_open_path(&cur_dev.path), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in module `os` [INFO] [stdout] --> src/lib.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | let device_list = os::hid_enumerate(0, 0).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in module `os` [INFO] [stdout] --> src/lib.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | let device_list = os::hid_enumerate(0, 0).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in module `os` [INFO] [stdout] --> src/lib.rs:94:36 [INFO] [stdout] | [INFO] [stdout] 94 | internal: Box::new(os::hid_open_path(device_path)?) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HidDevice` in module `os` [INFO] [stdout] --> src/lib.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | internal: Box [INFO] [stdout] | ^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HidDevice` in this scope [INFO] [stdout] --> src/os/mod.rs:18:92 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn hid_open(vendor_id: u16, product_id: u16, serial_number: Option<&str>) -> HidResult [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use crate::HidDevice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in this scope [INFO] [stdout] --> src/os/mod.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | for cur_dev in hid_enumerate(vendor_id, product_id) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in this scope [INFO] [stdout] --> src/os/mod.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | return hid_open_path(&cur_dev.path); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in this scope [INFO] [stdout] --> src/os/mod.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | (None, _) => return hid_open_path(&cur_dev.path), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in module `os` [INFO] [stdout] --> src/lib.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | let device_list = os::hid_enumerate(0, 0).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in module `os` [INFO] [stdout] --> src/lib.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | let device_list = os::hid_enumerate(0, 0).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in module `os` [INFO] [stdout] --> src/lib.rs:94:36 [INFO] [stdout] | [INFO] [stdout] 94 | internal: Box::new(os::hid_open_path(device_path)?) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HidDevice` in module `os` [INFO] [stdout] --> src/lib.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | internal: Box [INFO] [stdout] | ^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [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] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2f61254d1fafd1520e7fd356eb520e7f33233537ad73ac0b93d1bf8c5d11f4cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f61254d1fafd1520e7fd356eb520e7f33233537ad73ac0b93d1bf8c5d11f4cf", kill_on_drop: false }` [INFO] [stdout] 2f61254d1fafd1520e7fd356eb520e7f33233537ad73ac0b93d1bf8c5d11f4cf