[INFO] cloning repository https://github.com/code0100fun/rs-vr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/code0100fun/rs-vr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcode0100fun%2Frs-vr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcode0100fun%2Frs-vr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 192196a66aa4fd2470bb48d510976937f8889c5b [INFO] checking code0100fun/rs-vr/192196a66aa4fd2470bb48d510976937f8889c5b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcode0100fun%2Frs-vr" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/code0100fun/rs-vr on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/code0100fun/rs-vr [INFO] finished tweaking git repo https://github.com/code0100fun/rs-vr [INFO] tweaked toml for git repo https://github.com/code0100fun/rs-vr written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/code0100fun/rs-vr 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libbluetooth v0.1.0 [INFO] [stderr] Downloaded winbluetooth v0.1.0 [INFO] [stderr] Downloaded io_bluetooth v0.1.0 [INFO] [stderr] Downloaded nix v0.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 192735678f64c740463af6d42f6ba51d2411dfa6988c51d82b2e7313c1ef0b78 [INFO] running `Command { std: "docker" "start" "-a" "192735678f64c740463af6d42f6ba51d2411dfa6988c51d82b2e7313c1ef0b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "192735678f64c740463af6d42f6ba51d2411dfa6988c51d82b2e7313c1ef0b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "192735678f64c740463af6d42f6ba51d2411dfa6988c51d82b2e7313c1ef0b78", kill_on_drop: false }` [INFO] [stdout] 192735678f64c740463af6d42f6ba51d2411dfa6988c51d82b2e7313c1ef0b78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8171a2ddedc282e6e6240c9ab1ef99f02e1c0d1de957b9cc8142ccb692e8b64e [INFO] running `Command { std: "docker" "start" "-a" "8171a2ddedc282e6e6240c9ab1ef99f02e1c0d1de957b9cc8142ccb692e8b64e", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking hid-rs v0.1.0 (/opt/rustwide/workdir/lib/hid_rs) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> lib/hid_rs/src/usb/device/info/iter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::setupapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> lib/hid_rs/src/usb/device/info/sys.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::setupapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> lib/hid_rs/src/usb/device/info/sys.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::handleapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> lib/hid_rs/src/usb/device/info/sys.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::hidsdi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> lib/hid_rs/src/usb/device/info/sys.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::shared::guiddef::{GUID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> lib/hid_rs/src/usb/device/info/sys.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::shared::minwindef::{TRUE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> lib/hid_rs/src/usb/hid.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> lib/hid_rs/src/usb/device.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::{TRUE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> lib/hid_rs/src/usb/device.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::handleapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> lib/hid_rs/src/usb/device.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winnt::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> lib/hid_rs/src/usb/device.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::fileapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> lib/hid_rs/src/usb/device.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winbase::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> lib/hid_rs/src/usb/hid.rs:30:78 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn hid_get_feature_report(handle: HANDLE, data: &mut [u8]) -> io::Result<(u32)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - pub fn hid_get_feature_report(handle: HANDLE, data: &mut [u8]) -> io::Result<(u32)> { [INFO] [stdout] 30 + pub fn hid_get_feature_report(handle: HANDLE, data: &mut [u8]) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hid-rs` (lib) due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8171a2ddedc282e6e6240c9ab1ef99f02e1c0d1de957b9cc8142ccb692e8b64e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8171a2ddedc282e6e6240c9ab1ef99f02e1c0d1de957b9cc8142ccb692e8b64e", kill_on_drop: false }` [INFO] [stdout] 8171a2ddedc282e6e6240c9ab1ef99f02e1c0d1de957b9cc8142ccb692e8b64e