[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 try#b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roblabla/hidapi-rs on toolchain b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "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-11/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" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 464c764e733e77b50c200b72703684e05b629708665b4d3cd7f75510d722f7e9 [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" "464c764e733e77b50c200b72703684e05b629708665b4d3cd7f75510d722f7e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "464c764e733e77b50c200b72703684e05b629708665b4d3cd7f75510d722f7e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464c764e733e77b50c200b72703684e05b629708665b4d3cd7f75510d722f7e9", kill_on_drop: false }` [INFO] [stdout] 464c764e733e77b50c200b72703684e05b629708665b4d3cd7f75510d722f7e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e941c858b993f54f1f8e5153fd0bf40f578f4fd1d303cafcddef12387909d6c4 [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" "e941c858b993f54f1f8e5153fd0bf40f578f4fd1d303cafcddef12387909d6c4", kill_on_drop: false }` [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" "e941c858b993f54f1f8e5153fd0bf40f578f4fd1d303cafcddef12387909d6c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e941c858b993f54f1f8e5153fd0bf40f578f4fd1d303cafcddef12387909d6c4", kill_on_drop: false }` [INFO] [stdout] e941c858b993f54f1f8e5153fd0bf40f578f4fd1d303cafcddef12387909d6c4