[INFO] fetching crate dhc 0.2.1...
[INFO] checking dhc-0.2.1 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate dhc 0.2.1 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate dhc 0.2.1 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "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-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded vergen v3.2.0
[INFO] [stderr]   Downloaded rusty-xinput v1.3.0
[INFO] [stderr]   Downloaded slog-stdlog v3.0.5
[INFO] [stderr]   Downloaded slog-extra v0.1.2
[INFO] [stderr]   Downloaded crossbeam v0.2.12
[INFO] [stderr]   Downloaded slog-scope v4.4.0
[INFO] [stderr]   Downloaded triple_buffer v5.0.6
[INFO] [stderr]   Downloaded slog v2.7.0
[INFO] [stderr]   Downloaded slog-term v2.9.1
[INFO] [stderr]   Downloaded twoway v0.2.2
[INFO] [stderr]   Downloaded slog-stream v1.2.1
[INFO] [stderr]   Downloaded unchecked-index v0.2.2
[INFO] [stderr]   Downloaded slog v1.7.1
[INFO] [stderr]   Downloaded hwndloop v0.1.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f38608b11bd20985026e8b69c66d2bcf93238e490d23dff5f54dc366a698f85d
[INFO] running `Command { std: "docker" "start" "-a" "f38608b11bd20985026e8b69c66d2bcf93238e490d23dff5f54dc366a698f85d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f38608b11bd20985026e8b69c66d2bcf93238e490d23dff5f54dc366a698f85d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f38608b11bd20985026e8b69c66d2bcf93238e490d23dff5f54dc366a698f85d", kill_on_drop: false }`
[INFO] [stdout] f38608b11bd20985026e8b69c66d2bcf93238e490d23dff5f54dc366a698f85d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fe1e1b27279846232e277dacb36995d16fb3ea3526230fa9d536a35759501e8d
[INFO] running `Command { std: "docker" "start" "-a" "fe1e1b27279846232e277dacb36995d16fb3ea3526230fa9d536a35759501e8d", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling semver v1.0.22
[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 syn v2.0.52
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling time-macros v0.2.17
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking arc-swap v1.7.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking slog v1.7.1
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking slog-scope v4.4.0
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling chrono v0.4.35
[INFO] [stderr]     Checking slog-extra v0.1.2
[INFO] [stderr]     Checking term v0.7.0
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking is-terminal v0.4.12
[INFO] [stderr]     Checking unchecked-index v0.2.2
[INFO] [stderr]     Checking crossbeam v0.2.12
[INFO] [stderr]     Checking cache-padded v1.3.0
[INFO] [stderr]     Checking memchr v2.7.1
[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 log-panics v2.1.0
[INFO] [stderr]     Checking rusty-xinput v1.3.0
[INFO] [stderr]     Checking slog-stdlog v3.0.5
[INFO] [stderr]     Checking twoway v0.2.2
[INFO] [stderr]     Checking time v0.3.34
[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.197
[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/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: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[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/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: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[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[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[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 `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 `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 `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] 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] 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; 3 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; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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[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[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 `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 `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 `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] 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] 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; 3 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 test) due to 57 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fe1e1b27279846232e277dacb36995d16fb3ea3526230fa9d536a35759501e8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe1e1b27279846232e277dacb36995d16fb3ea3526230fa9d536a35759501e8d", kill_on_drop: false }`
[INFO] [stdout] fe1e1b27279846232e277dacb36995d16fb3ea3526230fa9d536a35759501e8d
