[INFO] fetching crate dhc 0.2.1...
[INFO] checking dhc-0.2.1 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate dhc 0.2.1 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate dhc 0.2.1 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dhc 0.2.1
[INFO] finished tweaking crates.io crate dhc 0.2.1
[INFO] tweaked toml for crates.io crate dhc 0.2.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 99 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding cfg-if v0.1.10 (latest: v1.0.0)
[INFO] [stderr]       Adding cloudabi v0.0.3 (latest: v0.1.0)
[INFO] [stderr]       Adding crossbeam v0.2.12 (latest: v0.8.4)
[INFO] [stderr]       Adding lock_api v0.3.4 (latest: v0.4.12)
[INFO] [stderr]       Adding log v0.3.9 (latest: v0.4.21)
[INFO] [stderr]       Adding parking_lot v0.9.0 (latest: v0.12.2)
[INFO] [stderr]       Adding parking_lot_core v0.6.3 (latest: v0.9.10)
[INFO] [stderr]       Adding redox_syscall v0.1.57 (latest: v0.5.1)
[INFO] [stderr]       Adding rustc_version v0.2.3 (latest: v0.4.0)
[INFO] [stderr]       Adding semver v0.9.0 (latest: v1.0.22)
[INFO] [stderr]       Adding semver-parser v0.7.0 (latest: v0.10.2)
[INFO] [stderr]       Adding slog v1.7.1 (latest: v2.7.0)
[INFO] [stderr]       Adding slog-stdlog v3.0.5 (latest: v4.1.1)
[INFO] [stderr]       Adding smallvec v0.6.14 (latest: v1.13.2)
[INFO] [stderr]       Adding thread_local v0.3.6 (latest: v1.1.8)
[INFO] [stderr]       Adding toml v0.5.11 (latest: v0.8.12)
[INFO] [stderr]       Adding triple_buffer v5.0.6 (latest: v7.0.0)
[INFO] [stderr]       Adding vergen v3.2.0 (latest: v8.3.1)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded slog-stream v1.2.1
[INFO] [stderr]   Downloaded slog v2.7.0
[INFO] [stderr]   Downloaded triple_buffer v5.0.6
[INFO] [stderr]   Downloaded twoway v0.2.2
[INFO] [stderr]   Downloaded unchecked-index v0.2.2
[INFO] [stderr]   Downloaded vergen v3.2.0
[INFO] [stderr]   Downloaded log-panics v2.1.0
[INFO] [stderr]   Downloaded rusty-xinput v1.3.0
[INFO] [stderr]   Downloaded slog-scope v4.4.0
[INFO] [stderr]   Downloaded slog-stdlog v3.0.5
[INFO] [stderr]   Downloaded slog-extra v0.1.2
[INFO] [stderr]   Downloaded slog-term v2.9.1
[INFO] [stderr]   Downloaded cache-padded v1.3.0
[INFO] [stderr]   Downloaded hwndloop v0.1.5
[INFO] [stderr]   Downloaded slog v1.7.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3aa02281c82baf361b3a576119db11d47f91971eb6a06c8802187e4df0508f20
[INFO] running `Command { std: "docker" "start" "-a" "3aa02281c82baf361b3a576119db11d47f91971eb6a06c8802187e4df0508f20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3aa02281c82baf361b3a576119db11d47f91971eb6a06c8802187e4df0508f20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3aa02281c82baf361b3a576119db11d47f91971eb6a06c8802187e4df0508f20", kill_on_drop: false }`
[INFO] [stdout] 3aa02281c82baf361b3a576119db11d47f91971eb6a06c8802187e4df0508f20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5d35be4579ab23d9e9672fdd6d63c1ea8d2832f20f66a25bf067f34253f27f8
[INFO] running `Command { std: "docker" "start" "-a" "f5d35be4579ab23d9e9672fdd6d63c1ea8d2832f20f66a25bf067f34253f27f8", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling semver v1.0.22
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling slog v2.7.0
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking slog v1.7.1
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking slog-scope v4.4.0
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking slog-extra v0.1.2
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking term v0.7.0
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking is-terminal v0.4.12
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking cache-padded v1.3.0
[INFO] [stderr]     Checking crossbeam v0.2.12
[INFO] [stderr]     Checking unchecked-index v0.2.2
[INFO] [stderr]     Checking triple_buffer v5.0.6
[INFO] [stderr]     Checking hwndloop v0.1.5
[INFO] [stderr]     Checking slog-stream v1.2.1
[INFO] [stderr]     Checking rusty-xinput v1.3.0
[INFO] [stderr]     Checking log-panics v2.1.0
[INFO] [stderr]     Checking slog-stdlog v3.0.5
[INFO] [stderr]     Checking twoway v0.2.2
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]    Compiling vergen v3.2.0
[INFO] [stderr]     Checking slog-term v2.9.1
[INFO] [stderr]    Compiling dhc v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]     Checking serde v1.0.200
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::shared::minwindef::MAX_PATH;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/lib.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::libloaderapi::{GetModuleFileNameW, GetModuleHandleW};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/logger.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::consoleapi::AllocConsole;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/input/mod.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/input/mod.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shared::ntdef::HANDLE;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/input/mod.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::windef::HWND;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/mod.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::processthreadsapi::{GetCurrentThread, SetThreadPriority};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/mod.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::winbase::THREAD_PRIORITY_HIGHEST;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/mod.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::winuser::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::shared::minwindef::MAX_PATH;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/input/hid.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::hidpi::{
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/input/hid.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::hidpi::{
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/lib.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::libloaderapi::{GetModuleFileNameW, GetModuleHandleW};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::shared::hidpi::{HIDP_CAPS, HIDP_LINK_COLLECTION_NODE, HIDP_VALUE_CAPS, PHIDP_PREPARSED_DATA};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::shared::hidsdi::{
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/logger.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::consoleapi::AllocConsole;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use winapi::shared::minwindef::UINT;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/input/mod.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use winapi::shared::ntdef::{HANDLE, NTSTATUS};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/input/mod.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shared::ntdef::HANDLE;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/input/mod.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::windef::HWND;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/mod.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::processthreadsapi::{GetCurrentThread, SetThreadPriority};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/mod.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::winbase::THREAD_PRIORITY_HIGHEST;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/mod.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::winuser::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/input/hid.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::hidpi::{
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/input/hid.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::hidpi::{
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::shared::hidpi::{HIDP_CAPS, HIDP_LINK_COLLECTION_NODE, HIDP_VALUE_CAPS, PHIDP_PREPARSED_DATA};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::shared::hidsdi::{
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use winapi::shared::minwindef::UINT;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use winapi::shared::ntdef::{HANDLE, NTSTATUS};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 | use winapi::um::fileapi::{CreateFileA, OPEN_EXISTING};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | use winapi::um::handleapi::INVALID_HANDLE_VALUE;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | use winapi::um::winnt::{FILE_SHARE_READ, FILE_SHARE_WRITE};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 | use winapi::um::fileapi::{CreateFileA, OPEN_EXISTING};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 | use winapi::um::winuser::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/input/xinput.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::shared::minwindef::MAX_PATH;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | use winapi::um::handleapi::INVALID_HANDLE_VALUE;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/input/xinput.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::sysinfoapi::GetSystemDirectoryW;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | use winapi::um::winnt::{FILE_SHARE_READ, FILE_SHARE_WRITE};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/input/hid.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 | use winapi::um::winuser::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/input/xinput.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::shared::minwindef::MAX_PATH;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/input/xinput.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::sysinfoapi::GetSystemDirectoryW;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rusty_xinput::XInputHandle`
[INFO] [stdout]  --> src/input/xinput.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rusty_xinput::XInputHandle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `XInputHandle` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rusty_xinput::XInputHandle`
[INFO] [stdout]  --> src/input/xinput.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rusty_xinput::XInputHandle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `XInputHandle` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope
[INFO] [stdout]    --> src/input/hid.rs:366:44
[INFO] [stdout]     |
[INFO] [stdout] 366 |     RIDI_DEVICEINFO => std::mem::size_of::<RID_DEVICE_INFO>(),
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 364 | fn get_rawinput_device_info_impl<RID_DEVICE_INFO>(device_id: RawInputDeviceId, cmd: UINT) -> Vec<u8> {
[INFO] [stdout]     |                                 +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RIDI_DEVICENAME` in this scope
[INFO] [stdout]    --> src/input/hid.rs:385:61
[INFO] [stdout]     |
[INFO] [stdout] 385 |   let mut result = get_rawinput_device_info_impl(device_id, RIDI_DEVICENAME);
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope
[INFO] [stdout]    --> src/input/hid.rs:396:61
[INFO] [stdout]     |
[INFO] [stdout] 396 | fn get_rawinput_device_info(device_id: RawInputDeviceId) -> RID_DEVICE_INFO {
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RIDI_DEVICEINFO` in this scope
[INFO] [stdout]    --> src/input/hid.rs:397:56
[INFO] [stdout]     |
[INFO] [stdout] 397 |   let bytes = get_rawinput_device_info_impl(device_id, RIDI_DEVICEINFO);
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope
[INFO] [stdout]    --> src/input/hid.rs:400:55
[INFO] [stdout]     |
[INFO] [stdout] 400 |     std::ptr::read_unaligned(bytes.as_ptr() as *const RID_DEVICE_INFO)
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope
[INFO] [stdout]    --> src/input/hid.rs:366:44
[INFO] [stdout]     |
[INFO] [stdout] 366 |     RIDI_DEVICEINFO => std::mem::size_of::<RID_DEVICE_INFO>(),
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 364 | fn get_rawinput_device_info_impl<RID_DEVICE_INFO>(device_id: RawInputDeviceId, cmd: UINT) -> Vec<u8> {
[INFO] [stdout]     |                                 +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RIM_TYPEHID` in this scope
[INFO] [stdout]    --> src/input/hid.rs:538:14
[INFO] [stdout]     |
[INFO] [stdout] 538 |   assert_eq!(RIM_TYPEHID, info.dwType);
[INFO] [stdout]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RAWHID` in this scope
[INFO] [stdout]    --> src/input/mod.rs:125:38
[INFO] [stdout]     |
[INFO] [stdout] 125 |   fn handle_input(&mut self, input: &RAWHID) {
[INFO] [stdout]     |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RIDI_DEVICENAME` in this scope
[INFO] [stdout]    --> src/input/hid.rs:385:61
[INFO] [stdout]     |
[INFO] [stdout] 385 |   let mut result = get_rawinput_device_info_impl(device_id, RIDI_DEVICENAME);
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HwndLoopCallbacks` in this scope
[INFO] [stdout]    --> src/input/mod.rs:148:6
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl HwndLoopCallbacks<RawInputCommand> for RawInputManager {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_INPUT` in this scope
[INFO] [stdout]    --> src/input/mod.rs:154:15
[INFO] [stdout]     |
[INFO] [stdout] 154 |     if msg == WM_INPUT {
[INFO] [stdout]     |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope
[INFO] [stdout]    --> src/input/hid.rs:396:61
[INFO] [stdout]     |
[INFO] [stdout] 396 | fn get_rawinput_device_info(device_id: RawInputDeviceId) -> RID_DEVICE_INFO {
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope
[INFO] [stdout]    --> src/input/mod.rs:155:43
[INFO] [stdout]     |
[INFO] [stdout] 155 |       self.handle_device_input(hwnd, l as HRAWINPUT);
[INFO] [stdout]     |                                           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_INPUT_DEVICE_CHANGE` in this scope
[INFO] [stdout]    --> src/input/mod.rs:156:22
[INFO] [stdout]     |
[INFO] [stdout] 156 |     } else if msg == WM_INPUT_DEVICE_CHANGE {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GIDC_ARRIVAL` in this scope
[INFO] [stdout]    --> src/input/mod.rs:158:15
[INFO] [stdout]     |
[INFO] [stdout] 158 |       if w == GIDC_ARRIVAL as usize {
[INFO] [stdout]     |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RIDI_DEVICEINFO` in this scope
[INFO] [stdout]    --> src/input/hid.rs:397:56
[INFO] [stdout]     |
[INFO] [stdout] 397 |   let bytes = get_rawinput_device_info_impl(device_id, RIDI_DEVICEINFO);
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GIDC_REMOVAL` in this scope
[INFO] [stdout]    --> src/input/mod.rs:160:22
[INFO] [stdout]     |
[INFO] [stdout] 160 |       } else if w == GIDC_REMOVAL as usize {
[INFO] [stdout]     |                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope
[INFO] [stdout]    --> src/input/mod.rs:203:15
[INFO] [stdout]     |
[INFO] [stdout] 203 |     let rid = RAWINPUTDEVICE {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RIDEV_INPUTSINK` in this scope
[INFO] [stdout]    --> src/input/mod.rs:206:16
[INFO] [stdout]     |
[INFO] [stdout] 206 |       dwFlags: RIDEV_INPUTSINK | RIDEV_DEVNOTIFY,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RIDEV_DEVNOTIFY` in this scope
[INFO] [stdout]    --> src/input/mod.rs:206:34
[INFO] [stdout]     |
[INFO] [stdout] 206 |       dwFlags: RIDEV_INPUTSINK | RIDEV_DEVNOTIFY,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope
[INFO] [stdout]    --> src/input/hid.rs:400:55
[INFO] [stdout]     |
[INFO] [stdout] 400 |     std::ptr::read_unaligned(bytes.as_ptr() as *const RID_DEVICE_INFO)
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope
[INFO] [stdout]    --> src/input/mod.rs:209:80
[INFO] [stdout]     |
[INFO] [stdout] 209 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stdout]     |                                                                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 192 | impl<RAWINPUTDEVICE> RawInputManager {
[INFO] [stdout]     |     ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RIM_TYPEHID` in this scope
[INFO] [stdout]    --> src/input/hid.rs:538:14
[INFO] [stdout]     |
[INFO] [stdout] 538 |   assert_eq!(RIM_TYPEHID, info.dwType);
[INFO] [stdout]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope
[INFO] [stdout]    --> src/input/mod.rs:220:15
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let rid = RAWINPUTDEVICE {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RAWHID` in this scope
[INFO] [stdout]    --> src/input/mod.rs:125:38
[INFO] [stdout]     |
[INFO] [stdout] 125 |   fn handle_input(&mut self, input: &RAWHID) {
[INFO] [stdout]     |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RIDEV_REMOVE` in this scope
[INFO] [stdout]    --> src/input/mod.rs:223:16
[INFO] [stdout]     |
[INFO] [stdout] 223 |       dwFlags: RIDEV_REMOVE,
[INFO] [stdout]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `HwndLoopCallbacks` in this scope
[INFO] [stdout]    --> src/input/mod.rs:148:6
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl HwndLoopCallbacks<RawInputCommand> for RawInputManager {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_INPUT` in this scope
[INFO] [stdout]    --> src/input/mod.rs:154:15
[INFO] [stdout]     |
[INFO] [stdout] 154 |     if msg == WM_INPUT {
[INFO] [stdout]     |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope
[INFO] [stdout]    --> src/input/mod.rs:226:80
[INFO] [stdout]     |
[INFO] [stdout] 226 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stdout]     |                                                                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 192 | impl<RAWINPUTDEVICE> RawInputManager {
[INFO] [stdout]     |     ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope
[INFO] [stdout]    --> src/input/mod.rs:243:61
[INFO] [stdout]     |
[INFO] [stdout] 243 |   fn handle_device_input(&mut self, _hwnd: HWND, hrawinput: HRAWINPUT) {
[INFO] [stdout]     |                                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope
[INFO] [stdout]    --> src/input/mod.rs:155:43
[INFO] [stdout]     |
[INFO] [stdout] 155 |       self.handle_device_input(hwnd, l as HRAWINPUT);
[INFO] [stdout]     |                                           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RID_INPUT` in this scope
[INFO] [stdout]    --> src/input/mod.rs:250:9
[INFO] [stdout]     |
[INFO] [stdout] 250 |         RID_INPUT,
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_INPUT_DEVICE_CHANGE` in this scope
[INFO] [stdout]    --> src/input/mod.rs:156:22
[INFO] [stdout]     |
[INFO] [stdout] 156 |     } else if msg == WM_INPUT_DEVICE_CHANGE {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GIDC_ARRIVAL` in this scope
[INFO] [stdout]    --> src/input/mod.rs:158:15
[INFO] [stdout]     |
[INFO] [stdout] 158 |       if w == GIDC_ARRIVAL as usize {
[INFO] [stdout]     |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope
[INFO] [stdout]    --> src/input/mod.rs:253:29
[INFO] [stdout]     |
[INFO] [stdout] 253 |         std::mem::size_of::<RAWINPUTHEADER>() as UINT,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 192 | impl<RAWINPUTHEADER> RawInputManager {
[INFO] [stdout]     |     ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GIDC_REMOVAL` in this scope
[INFO] [stdout]    --> src/input/mod.rs:160:22
[INFO] [stdout]     |
[INFO] [stdout] 160 |       } else if w == GIDC_REMOVAL as usize {
[INFO] [stdout]     |                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope
[INFO] [stdout]    --> src/input/mod.rs:203:15
[INFO] [stdout]     |
[INFO] [stdout] 203 |     let rid = RAWINPUTDEVICE {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope
[INFO] [stdout]    --> src/input/mod.rs:262:73
[INFO] [stdout]     |
[INFO] [stdout] 262 |     let rawinput = unsafe { *(&buffer as *const AlignedBuffer as *const RAWINPUT) };
[INFO] [stdout]     |                                                                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RIM_TYPEHID` in this scope
[INFO] [stdout]    --> src/input/mod.rs:270:16
[INFO] [stdout]     |
[INFO] [stdout] 270 |     assert_eq!(RIM_TYPEHID, rawinput.header.dwType);
[INFO] [stdout]     |                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RIDEV_INPUTSINK` in this scope
[INFO] [stdout]    --> src/input/mod.rs:206:16
[INFO] [stdout]     |
[INFO] [stdout] 206 |       dwFlags: RIDEV_INPUTSINK | RIDEV_DEVNOTIFY,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HwndLoop` in this scope
[INFO] [stdout]    --> src/input/mod.rs:390:14
[INFO] [stdout]     |
[INFO] [stdout] 390 |   eventloop: HwndLoop<RawInputCommand>,
[INFO] [stdout]     |              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RIDEV_DEVNOTIFY` in this scope
[INFO] [stdout]    --> src/input/mod.rs:206:34
[INFO] [stdout]     |
[INFO] [stdout] 206 |       dwFlags: RIDEV_INPUTSINK | RIDEV_DEVNOTIFY,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope
[INFO] [stdout]    --> src/input/mod.rs:209:80
[INFO] [stdout]     |
[INFO] [stdout] 209 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stdout]     |                                                                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 192 | impl<RAWINPUTDEVICE> RawInputManager {
[INFO] [stdout]     |     ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope
[INFO] [stdout]    --> src/input/mod.rs:220:15
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let rid = RAWINPUTDEVICE {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RIDEV_REMOVE` in this scope
[INFO] [stdout]    --> src/input/mod.rs:223:16
[INFO] [stdout]     |
[INFO] [stdout] 223 |       dwFlags: RIDEV_REMOVE,
[INFO] [stdout]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope
[INFO] [stdout]    --> src/input/mod.rs:226:80
[INFO] [stdout]     |
[INFO] [stdout] 226 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stdout]     |                                                                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 192 | impl<RAWINPUTDEVICE> RawInputManager {
[INFO] [stdout]     |     ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope
[INFO] [stdout]    --> src/input/mod.rs:243:61
[INFO] [stdout]     |
[INFO] [stdout] 243 |   fn handle_device_input(&mut self, _hwnd: HWND, hrawinput: HRAWINPUT) {
[INFO] [stdout]     |                                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RID_INPUT` in this scope
[INFO] [stdout]    --> src/input/mod.rs:250:9
[INFO] [stdout]     |
[INFO] [stdout] 250 |         RID_INPUT,
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope
[INFO] [stdout]    --> src/input/mod.rs:253:29
[INFO] [stdout]     |
[INFO] [stdout] 253 |         std::mem::size_of::<RAWINPUTHEADER>() as UINT,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 192 | impl<RAWINPUTHEADER> RawInputManager {
[INFO] [stdout]     |     ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope
[INFO] [stdout]    --> src/input/mod.rs:262:73
[INFO] [stdout]     |
[INFO] [stdout] 262 |     let rawinput = unsafe { *(&buffer as *const AlignedBuffer as *const RAWINPUT) };
[INFO] [stdout]     |                                                                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RIM_TYPEHID` in this scope
[INFO] [stdout]    --> src/input/mod.rs:270:16
[INFO] [stdout]     |
[INFO] [stdout] 270 |     assert_eq!(RIM_TYPEHID, rawinput.header.dwType);
[INFO] [stdout]     |                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hwndloop::*`
[INFO] [stdout]   --> src/input/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use hwndloop::*;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HwndLoop` in this scope
[INFO] [stdout]    --> src/input/mod.rs:390:14
[INFO] [stdout]     |
[INFO] [stdout] 390 |   eventloop: HwndLoop<RawInputCommand>,
[INFO] [stdout]     |              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hwndloop::*`
[INFO] [stdout]   --> src/input/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use hwndloop::*;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/input/mod.rs:245:41
[INFO] [stdout]     |
[INFO] [stdout] 245 |     let mut buffer = unsafe { std::mem::uninitialized::<AlignedBuffer>() };
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/input/hid.rs:150:39
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let mut caps = unsafe { std::mem::uninitialized() };
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/input/mod.rs:245:41
[INFO] [stdout]     |
[INFO] [stdout] 245 |     let mut buffer = unsafe { std::mem::uninitialized::<AlignedBuffer>() };
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/input/hid.rs:150:39
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let mut caps = unsafe { std::mem::uninitialized() };
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/input/hid.rs:121:30
[INFO] [stdout]     |
[INFO] [stdout] 121 |   fn cause(&self) -> Option<&std::error::Error> {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 |   fn cause(&self) -> Option<&dyn std::error::Error> {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HwndLoop`
[INFO] [stdout]    --> src/input/mod.rs:400:18
[INFO] [stdout]     |
[INFO] [stdout] 400 |       eventloop: HwndLoop::new(Box::new(manager)),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `HwndLoop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoA` in this scope
[INFO] [stdout]    --> src/input/hid.rs:369:25
[INFO] [stdout]     |
[INFO] [stdout] 369 |       let rc = unsafe { GetRawInputDeviceInfoA(device_id.as_handle(), cmd, std::ptr::null_mut(), &mut received_size) };
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `RawInputDeviceId`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/input/mod.rs:48:1
[INFO] [stdout]     |
[INFO] [stdout] 48  | pub struct RawInputDeviceId(pub u64);
[INFO] [stdout]     | ------------------------------------- similarly named tuple struct `RawInputDeviceId` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoA` in this scope
[INFO] [stdout]    --> src/input/hid.rs:378:21
[INFO] [stdout]     |
[INFO] [stdout] 378 |   let rc = unsafe { GetRawInputDeviceInfoA(device_id.as_handle(), cmd, ptr, &mut dummy) };
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `RawInputDeviceId`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/input/mod.rs:48:1
[INFO] [stdout]     |
[INFO] [stdout] 48  | pub struct RawInputDeviceId(pub u64);
[INFO] [stdout]     | ------------------------------------- similarly named tuple struct `RawInputDeviceId` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope
[INFO] [stdout]    --> src/input/mod.rs:166:14
[INFO] [stdout]     |
[INFO] [stdout] 166 |     unsafe { DefWindowProcA(hwnd, msg, w, l) }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope
[INFO] [stdout]    --> src/input/mod.rs:209:27
[INFO] [stdout]     |
[INFO] [stdout] 209 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope
[INFO] [stdout]    --> src/input/mod.rs:226:27
[INFO] [stdout]     |
[INFO] [stdout] 226 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputData` in this scope
[INFO] [stdout]    --> src/input/mod.rs:248:7
[INFO] [stdout]     |
[INFO] [stdout] 248 |       GetRawInputData(
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 56 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/input/hid.rs:121:30
[INFO] [stdout]     |
[INFO] [stdout] 121 |   fn cause(&self) -> Option<&std::error::Error> {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 |   fn cause(&self) -> Option<&dyn std::error::Error> {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dhc` (lib test) due to 57 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HwndLoop`
[INFO] [stdout]    --> src/input/mod.rs:400:18
[INFO] [stdout]     |
[INFO] [stdout] 400 |       eventloop: HwndLoop::new(Box::new(manager)),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `HwndLoop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoA` in this scope
[INFO] [stdout]    --> src/input/hid.rs:369:25
[INFO] [stdout]     |
[INFO] [stdout] 369 |       let rc = unsafe { GetRawInputDeviceInfoA(device_id.as_handle(), cmd, std::ptr::null_mut(), &mut received_size) };
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `RawInputDeviceId`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/input/mod.rs:48:1
[INFO] [stdout]     |
[INFO] [stdout] 48  | pub struct RawInputDeviceId(pub u64);
[INFO] [stdout]     | ------------------------------------- similarly named tuple struct `RawInputDeviceId` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoA` in this scope
[INFO] [stdout]    --> src/input/hid.rs:378:21
[INFO] [stdout]     |
[INFO] [stdout] 378 |   let rc = unsafe { GetRawInputDeviceInfoA(device_id.as_handle(), cmd, ptr, &mut dummy) };
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `RawInputDeviceId`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/input/mod.rs:48:1
[INFO] [stdout]     |
[INFO] [stdout] 48  | pub struct RawInputDeviceId(pub u64);
[INFO] [stdout]     | ------------------------------------- similarly named tuple struct `RawInputDeviceId` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope
[INFO] [stdout]    --> src/input/mod.rs:166:14
[INFO] [stdout]     |
[INFO] [stdout] 166 |     unsafe { DefWindowProcA(hwnd, msg, w, l) }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope
[INFO] [stdout]    --> src/input/mod.rs:209:27
[INFO] [stdout]     |
[INFO] [stdout] 209 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope
[INFO] [stdout]    --> src/input/mod.rs:226:27
[INFO] [stdout]     |
[INFO] [stdout] 226 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputData` in this scope
[INFO] [stdout]    --> src/input/mod.rs:248:7
[INFO] [stdout]     |
[INFO] [stdout] 248 |       GetRawInputData(
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 56 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dhc` (lib) due to 57 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f5d35be4579ab23d9e9672fdd6d63c1ea8d2832f20f66a25bf067f34253f27f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5d35be4579ab23d9e9672fdd6d63c1ea8d2832f20f66a25bf067f34253f27f8", kill_on_drop: false }`
[INFO] [stdout] f5d35be4579ab23d9e9672fdd6d63c1ea8d2832f20f66a25bf067f34253f27f8
