[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] documenting code0100fun/rs-vr against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcode0100fun%2Frs-vr" "/workspace/builds/worker-39/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-39/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/code0100fun/rs-vr on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-39/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--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-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fd7c4e51b014bbe22d2a75c8c02d3240952bbc76d6e51cb061af59f3bac2613 [INFO] running `Command { std: "docker" "start" "-a" "6fd7c4e51b014bbe22d2a75c8c02d3240952bbc76d6e51cb061af59f3bac2613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fd7c4e51b014bbe22d2a75c8c02d3240952bbc76d6e51cb061af59f3bac2613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd7c4e51b014bbe22d2a75c8c02d3240952bbc76d6e51cb061af59f3bac2613", kill_on_drop: false }` [INFO] [stdout] 6fd7c4e51b014bbe22d2a75c8c02d3240952bbc76d6e51cb061af59f3bac2613 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80baa6478fe7bd69e2f86fa8bf408896e2d99dd9d43988e9ac2f2bbb29e39957 [INFO] running `Command { std: "docker" "start" "-a" "80baa6478fe7bd69e2f86fa8bf408896e2d99dd9d43988e9ac2f2bbb29e39957", 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 cfg-if v0.1.10 [INFO] [stderr] Checking void v1.0.2 [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[E0282]: type annotations needed [INFO] [stdout] --> lib/hid_rs/src/usb.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | device_info_set: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hid-rs` due to 14 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "80baa6478fe7bd69e2f86fa8bf408896e2d99dd9d43988e9ac2f2bbb29e39957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80baa6478fe7bd69e2f86fa8bf408896e2d99dd9d43988e9ac2f2bbb29e39957", kill_on_drop: false }` [INFO] [stdout] 80baa6478fe7bd69e2f86fa8bf408896e2d99dd9d43988e9ac2f2bbb29e39957