[INFO] crate dhc 0.2.1 is already in cache
[INFO] checking dhc-0.2.1 against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] extracting crate dhc 0.2.1 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate dhc 0.2.1 on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-7/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] a133c3ea536ad0c748ca2a69475fb22d9403f7181d405a427543ca6b15fe77ee
[INFO] running `"docker" "start" "-a" "a133c3ea536ad0c748ca2a69475fb22d9403f7181d405a427543ca6b15fe77ee"`
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]     Checking slog-scope v4.3.0
[INFO] [stderr]     Checking rusty-xinput v1.2.0
[INFO] [stderr]     Checking log-panics v2.0.0
[INFO] [stderr]     Checking twoway v0.2.1
[INFO] [stderr]     Checking triple_buffer v5.0.4
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]     Checking slog-term v2.5.0
[INFO] [stderr]     Checking toml v0.5.6
[INFO] [stderr]     Checking slog-stdlog v3.0.5
[INFO] [stderr]     Checking hwndloop v0.1.5
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling chrono v0.4.11
[INFO] [stderr]    Compiling vergen v3.1.0
[INFO] [stderr]    Compiling dhc v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/lib.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::shared::minwindef::MAX_PATH;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/lib.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::um::libloaderapi::{GetModuleFileNameW, GetModuleHandleW};
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/logger.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::um::consoleapi::AllocConsole;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/input/mod.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM};
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/input/mod.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::shared::ntdef::HANDLE;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/input/mod.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::shared::windef::HWND;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/mod.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::um::processthreadsapi::{GetCurrentThread, SetThreadPriority};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/mod.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::um::winbase::THREAD_PRIORITY_HIGHEST;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/mod.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::um::winuser::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/input/hid.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::shared::hidpi::{
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/input/hid.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::shared::hidpi::{
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:17:13
[INFO] [stderr]    |
[INFO] [stderr] 17 | use winapi::shared::hidpi::{HIDP_CAPS, HIDP_LINK_COLLECTION_NODE, HIDP_VALUE_CAPS, PHIDP_PREPARSED_DATA};
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::shared::hidsdi::{
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:22:13
[INFO] [stderr]    |
[INFO] [stderr] 22 | use winapi::shared::minwindef::UINT;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:23:13
[INFO] [stderr]    |
[INFO] [stderr] 23 | use winapi::shared::ntdef::{HANDLE, NTSTATUS};
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:24:13
[INFO] [stderr]    |
[INFO] [stderr] 24 | use winapi::um::fileapi::{CreateFileA, OPEN_EXISTING};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:25:13
[INFO] [stderr]    |
[INFO] [stderr] 25 | use winapi::um::handleapi::CloseHandle;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:26:13
[INFO] [stderr]    |
[INFO] [stderr] 26 | use winapi::um::handleapi::INVALID_HANDLE_VALUE;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:27:13
[INFO] [stderr]    |
[INFO] [stderr] 27 | use winapi::um::winnt::{FILE_SHARE_READ, FILE_SHARE_WRITE};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:28:13
[INFO] [stderr]    |
[INFO] [stderr] 28 | use winapi::um::winuser::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/input/xinput.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use winapi::shared::minwindef::MAX_PATH;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/input/xinput.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::um::sysinfoapi::GetSystemDirectoryW;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `rusty_xinput::XInputHandle`, `crate::input::DeviceDescription`, `crate::input::DeviceId`, `crate::input::DeviceType`, `crate::input::RawInputDeviceId`, `crate::input::XInputDeviceId`
[INFO] [stderr]   --> src/input/xinput.rs:4:5
[INFO] [stderr]    |
[INFO] [stderr] 4  | use rusty_xinput::XInputHandle;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `XInputHandle` in the root
[INFO] [stderr] ...
[INFO] [stderr] 7  | use crate::input::XInputDeviceId;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/input/hid.rs:31:20
[INFO] [stderr]    |
[INFO] [stderr] 31 | use crate::input::{DeviceDescription, DeviceId, DeviceType, RawInputDeviceId};
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/lib.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::shared::minwindef::MAX_PATH;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/lib.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::um::libloaderapi::{GetModuleFileNameW, GetModuleHandleW};
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/logger.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::um::consoleapi::AllocConsole;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/input/mod.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM};
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/input/mod.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::shared::ntdef::HANDLE;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/input/mod.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::shared::windef::HWND;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/mod.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::um::processthreadsapi::{GetCurrentThread, SetThreadPriority};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/mod.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::um::winbase::THREAD_PRIORITY_HIGHEST;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/mod.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::um::winuser::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/input/hid.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::shared::hidpi::{
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/input/hid.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::shared::hidpi::{
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:17:13
[INFO] [stderr]    |
[INFO] [stderr] 17 | use winapi::shared::hidpi::{HIDP_CAPS, HIDP_LINK_COLLECTION_NODE, HIDP_VALUE_CAPS, PHIDP_PREPARSED_DATA};
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::shared::hidsdi::{
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:22:13
[INFO] [stderr]    |
[INFO] [stderr] 22 | use winapi::shared::minwindef::UINT;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:23:13
[INFO] [stderr]    |
[INFO] [stderr] 23 | use winapi::shared::ntdef::{HANDLE, NTSTATUS};
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:24:13
[INFO] [stderr]    |
[INFO] [stderr] 24 | use winapi::um::fileapi::{CreateFileA, OPEN_EXISTING};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:25:13
[INFO] [stderr]    |
[INFO] [stderr] 25 | use winapi::um::handleapi::CloseHandle;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:26:13
[INFO] [stderr]    |
[INFO] [stderr] 26 | use winapi::um::handleapi::INVALID_HANDLE_VALUE;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:27:13
[INFO] [stderr]    |
[INFO] [stderr] 27 | use winapi::um::winnt::{FILE_SHARE_READ, FILE_SHARE_WRITE};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/input/hid.rs:28:13
[INFO] [stderr]    |
[INFO] [stderr] 28 | use winapi::um::winuser::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/input/xinput.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use winapi::shared::minwindef::MAX_PATH;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/input/xinput.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::um::sysinfoapi::GetSystemDirectoryW;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `rusty_xinput::XInputHandle`, `crate::input::DeviceDescription`, `crate::input::DeviceId`, `crate::input::DeviceType`, `crate::input::RawInputDeviceId`, `crate::input::XInputDeviceId`
[INFO] [stderr]   --> src/input/xinput.rs:4:5
[INFO] [stderr]    |
[INFO] [stderr] 4  | use rusty_xinput::XInputHandle;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `XInputHandle` in the root
[INFO] [stderr] ...
[INFO] [stderr] 7  | use crate::input::XInputDeviceId;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/input/hid.rs:31:20
[INFO] [stderr]    |
[INFO] [stderr] 31 | use crate::input::{DeviceDescription, DeviceId, DeviceType, RawInputDeviceId};
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HwndLoop`
[INFO] [stderr]    --> src/input/mod.rs:400:18
[INFO] [stderr]     |
[INFO] [stderr] 400 |       eventloop: HwndLoop::new(Box::new(manager)),
[INFO] [stderr]     |                  ^^^^^^^^ use of undeclared type or module `HwndLoop`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `AllocConsole` in this scope
[INFO] [stderr]   --> src/logger.rs:89:14
[INFO] [stderr]    |
[INFO] [stderr] 89 |     unsafe { AllocConsole() };
[INFO] [stderr]    |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PHIDP_PREPARSED_DATA` in this scope
[INFO] [stderr]   --> src/input/hid.rs:48:8
[INFO] [stderr]    |
[INFO] [stderr] 48 |   ptr: PHIDP_PREPARSED_DATA,
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_FreePreparsedData` in this scope
[INFO] [stderr]   --> src/input/hid.rs:55:14
[INFO] [stderr]    |
[INFO] [stderr] 55 |     unsafe { HidD_FreePreparsedData(self.raw()) };
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stderr]   --> src/input/hid.rs:80:11
[INFO] [stderr]    |
[INFO] [stderr] 80 |   Unknown(NTSTATUS),
[INFO] [stderr]    |           ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stderr]   --> src/input/hid.rs:84:22
[INFO] [stderr]    |
[INFO] [stderr] 84 |   fn from_code(code: NTSTATUS) -> HidPError {
[INFO] [stderr]    |                      ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stderr]    --> src/input/hid.rs:132:24
[INFO] [stderr]     |
[INFO] [stderr] 132 | fn hidp_result(status: NTSTATUS) -> Result<(), HidPError> {
[INFO] [stderr]     |                        ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `HIDP_STATUS_SUCCESS` in this scope
[INFO] [stderr]    --> src/input/hid.rs:133:16
[INFO] [stderr]     |
[INFO] [stderr] 133 |   if status == HIDP_STATUS_SUCCESS {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PHIDP_PREPARSED_DATA` in this scope
[INFO] [stderr]    --> src/input/hid.rs:141:20
[INFO] [stderr]     |
[INFO] [stderr] 141 |   pub fn new(data: PHIDP_PREPARSED_DATA) -> HidPreparsedData {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PHIDP_PREPARSED_DATA` in this scope
[INFO] [stderr]    --> src/input/hid.rs:145:24
[INFO] [stderr]     |
[INFO] [stderr] 145 |   pub fn raw(&self) -> PHIDP_PREPARSED_DATA {
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HIDP_CAPS` in this scope
[INFO] [stderr]    --> src/input/hid.rs:149:32
[INFO] [stderr]     |
[INFO] [stderr] 140 | impl HidPreparsedData {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<HIDP_CAPS>`
[INFO] [stderr] ...
[INFO] [stderr] 149 |   fn get_caps(&self) -> Result<HIDP_CAPS, HidPError> {
[INFO] [stderr]     |                                ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_GetCaps` in this scope
[INFO] [stderr]    --> src/input/hid.rs:151:23
[INFO] [stderr]     |
[INFO] [stderr] 151 |     let rc = unsafe { HidP_GetCaps(self.raw(), &mut caps) };
[INFO] [stderr]     |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope
[INFO] [stderr]    --> src/input/hid.rs:156:42
[INFO] [stderr]     |
[INFO] [stderr] 140 | impl HidPreparsedData {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<HIDP_VALUE_CAPS>`
[INFO] [stderr] ...
[INFO] [stderr] 156 |   fn get_value_caps(&self) -> Result<Vec<HIDP_VALUE_CAPS>, HidPError> {
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_GetValueCaps` in this scope
[INFO] [stderr]    --> src/input/hid.rs:161:16
[INFO] [stderr]     |
[INFO] [stderr] 161 |       let rc = HidP_GetValueCaps(HidP_Input, vec.as_mut_ptr(), &mut len, self.raw());
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope
[INFO] [stderr]    --> src/input/hid.rs:161:34
[INFO] [stderr]     |
[INFO] [stderr] 161 |       let rc = HidP_GetValueCaps(HidP_Input, vec.as_mut_ptr(), &mut len, self.raw());
[INFO] [stderr]     |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HIDP_LINK_COLLECTION_NODE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:171:53
[INFO] [stderr]     |
[INFO] [stderr] 140 | impl HidPreparsedData {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<HIDP_LINK_COLLECTION_NODE>`
[INFO] [stderr] ...
[INFO] [stderr] 171 |   fn get_link_collection_nodes(&self) -> Result<Vec<HIDP_LINK_COLLECTION_NODE>, HidPError> {
[INFO] [stderr]     |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_GetLinkCollectionNodes` in this scope
[INFO] [stderr]    --> src/input/hid.rs:175:16
[INFO] [stderr]     |
[INFO] [stderr] 175 |       let rc = HidP_GetLinkCollectionNodes(vec.as_mut_ptr(), &mut len, self.raw());
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_MaxUsageListLength` in this scope
[INFO] [stderr]    --> src/input/hid.rs:185:14
[INFO] [stderr]     |
[INFO] [stderr] 185 |     unsafe { HidP_MaxUsageListLength(HidP_Input, USAGE_PAGE_BUTTON, self.raw()) as usize }
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope
[INFO] [stderr]    --> src/input/hid.rs:185:38
[INFO] [stderr]     |
[INFO] [stderr] 185 |     unsafe { HidP_MaxUsageListLength(HidP_Input, USAGE_PAGE_BUTTON, self.raw()) as usize }
[INFO] [stderr]     |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_GetUsages` in this scope
[INFO] [stderr]    --> src/input/hid.rs:192:7
[INFO] [stderr]     |
[INFO] [stderr] 192 |       HidP_GetUsages(
[INFO] [stderr]     |       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope
[INFO] [stderr]    --> src/input/hid.rs:193:9
[INFO] [stderr]     |
[INFO] [stderr] 193 |         HidP_Input,
[INFO] [stderr]     |         ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_GetUsageValue` in this scope
[INFO] [stderr]    --> src/input/hid.rs:210:7
[INFO] [stderr]     |
[INFO] [stderr] 210 |       HidP_GetUsageValue(
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope
[INFO] [stderr]    --> src/input/hid.rs:211:9
[INFO] [stderr]     |
[INFO] [stderr] 211 |         HidP_Input,
[INFO] [stderr]     |         ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope
[INFO] [stderr]    --> src/input/hid.rs:233:19
[INFO] [stderr]     |
[INFO] [stderr] 230 | pub struct HidParser {
[INFO] [stderr]     |                     - help: you might be missing a type parameter: `<HIDP_VALUE_CAPS>`
[INFO] [stderr] ...
[INFO] [stderr] 233 |   value_caps: Vec<HIDP_VALUE_CAPS>,
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/input/hid.rs:364:68
[INFO] [stderr]     |
[INFO] [stderr] 364 | fn get_rawinput_device_info_impl(device_id: RawInputDeviceId, cmd: UINT) -> Vec<u8> {
[INFO] [stderr]     |                                                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope
[INFO] [stderr]    --> src/input/hid.rs:366:44
[INFO] [stderr]     |
[INFO] [stderr] 364 | fn get_rawinput_device_info_impl(device_id: RawInputDeviceId, cmd: UINT) -> Vec<u8> {
[INFO] [stderr]     |                                 - help: you might be missing a type parameter: `<RID_DEVICE_INFO>`
[INFO] [stderr] 365 |   let size = match cmd {
[INFO] [stderr] 366 |     RIDI_DEVICEINFO => std::mem::size_of::<RID_DEVICE_INFO>(),
[INFO] [stderr]     |                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoA` in this scope
[INFO] [stderr]    --> src/input/hid.rs:369:25
[INFO] [stderr]     |
[INFO] [stderr] 369 |       let rc = unsafe { GetRawInputDeviceInfoA(device_id.as_handle(), cmd, std::ptr::null_mut(), &mut received_size) };
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `RawInputDeviceId`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/input/mod.rs:48:1
[INFO] [stderr]     |
[INFO] [stderr] 48  | pub struct RawInputDeviceId(pub u64);
[INFO] [stderr]     | ------------------------------------- similarly named tuple struct `RawInputDeviceId` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoA` in this scope
[INFO] [stderr]    --> src/input/hid.rs:378:21
[INFO] [stderr]     |
[INFO] [stderr] 378 |   let rc = unsafe { GetRawInputDeviceInfoA(device_id.as_handle(), cmd, ptr, &mut dummy) };
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `RawInputDeviceId`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/input/mod.rs:48:1
[INFO] [stderr]     |
[INFO] [stderr] 48  | pub struct RawInputDeviceId(pub u64);
[INFO] [stderr]     | ------------------------------------- similarly named tuple struct `RawInputDeviceId` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RIDI_DEVICENAME` in this scope
[INFO] [stderr]    --> src/input/hid.rs:385:61
[INFO] [stderr]     |
[INFO] [stderr] 385 |   let mut result = get_rawinput_device_info_impl(device_id, RIDI_DEVICENAME);
[INFO] [stderr]     |                                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope
[INFO] [stderr]    --> src/input/hid.rs:396:61
[INFO] [stderr]     |
[INFO] [stderr] 396 | fn get_rawinput_device_info(device_id: RawInputDeviceId) -> RID_DEVICE_INFO {
[INFO] [stderr]     |                                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RIDI_DEVICEINFO` in this scope
[INFO] [stderr]    --> src/input/hid.rs:397:56
[INFO] [stderr]     |
[INFO] [stderr] 397 |   let bytes = get_rawinput_device_info_impl(device_id, RIDI_DEVICEINFO);
[INFO] [stderr]     |                                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope
[INFO] [stderr]    --> src/input/hid.rs:400:55
[INFO] [stderr]     |
[INFO] [stderr] 400 |     std::ptr::read_unaligned(bytes.as_ptr() as *const RID_DEVICE_INFO)
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:404:35
[INFO] [stderr]     |
[INFO] [stderr] 404 | fn hid_get_product_string(handle: HANDLE) -> Option<String> {
[INFO] [stderr]     |                                   ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetProductString` in this scope
[INFO] [stderr]    --> src/input/hid.rs:409:25
[INFO] [stderr]     |
[INFO] [stderr] 404 | fn hid_get_product_string(handle: HANDLE) -> Option<String> {
[INFO] [stderr]     | ----------------------------------------------------------- similarly named function `hid_get_product_string` defined here
[INFO] [stderr] ...
[INFO] [stderr] 409 |   let result = unsafe { HidD_GetProductString(handle, ptr, buf_size as u32) };
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `hid_get_product_string`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:423:40
[INFO] [stderr]     |
[INFO] [stderr] 423 | fn hid_get_manufacturer_string(handle: HANDLE) -> Option<String> {
[INFO] [stderr]     |                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetManufacturerString` in this scope
[INFO] [stderr]    --> src/input/hid.rs:428:25
[INFO] [stderr]     |
[INFO] [stderr] 423 | fn hid_get_manufacturer_string(handle: HANDLE) -> Option<String> {
[INFO] [stderr]     | ---------------------------------------------------------------- similarly named function `hid_get_manufacturer_string` defined here
[INFO] [stderr] ...
[INFO] [stderr] 428 |   let result = unsafe { HidD_GetManufacturerString(handle, ptr, buf_size as u32) };
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `hid_get_manufacturer_string`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:442:34
[INFO] [stderr]     |
[INFO] [stderr] 442 | fn hid_get_serial_number(handle: HANDLE) -> Option<String> {
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetSerialNumberString` in this scope
[INFO] [stderr]    --> src/input/hid.rs:447:25
[INFO] [stderr]     |
[INFO] [stderr] 447 |   let result = unsafe { HidD_GetSerialNumberString(handle, ptr, buf_size as u32) };
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:462:58
[INFO] [stderr]     |
[INFO] [stderr] 462 | fn open_rawinput_hid_device(path: CString) -> io::Result<HANDLE> {
[INFO] [stderr]     |                            -                             ^^^^^^ not found in this scope
[INFO] [stderr]     |                            |
[INFO] [stderr]     |                            help: you might be missing a type parameter: `<HANDLE>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope
[INFO] [stderr]    --> src/input/hid.rs:464:5
[INFO] [stderr]     |
[INFO] [stderr] 464 |     CreateFileA(
[INFO] [stderr]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope
[INFO] [stderr]    --> src/input/hid.rs:467:7
[INFO] [stderr]     |
[INFO] [stderr] 467 |       FILE_SHARE_READ | FILE_SHARE_WRITE,
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:467:25
[INFO] [stderr]     |
[INFO] [stderr] 467 |       FILE_SHARE_READ | FILE_SHARE_WRITE,
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `OPEN_EXISTING` in this scope
[INFO] [stderr]    --> src/input/hid.rs:469:7
[INFO] [stderr]     |
[INFO] [stderr] 469 |       OPEN_EXISTING,
[INFO] [stderr]     |       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:475:18
[INFO] [stderr]     |
[INFO] [stderr] 475 |   if hid_file == INVALID_HANDLE_VALUE {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:485:39
[INFO] [stderr]     |
[INFO] [stderr] 485 | fn get_rawinput_device_name(hid_file: HANDLE) -> String {
[INFO] [stderr]     |                                       ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:510:37
[INFO] [stderr]     |
[INFO] [stderr] 510 | fn hid_get_preparsed_data(hid_file: HANDLE) -> io::Result<HidPreparsedData> {
[INFO] [stderr]     |                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetPreparsedData` in this scope
[INFO] [stderr]    --> src/input/hid.rs:512:25
[INFO] [stderr]     |
[INFO] [stderr] 510 | fn hid_get_preparsed_data(hid_file: HANDLE) -> io::Result<HidPreparsedData> {
[INFO] [stderr]     | --------------------------------------------------------------------------- similarly named function `hid_get_preparsed_data` defined here
[INFO] [stderr] 511 |   let mut preparsed_data = std::ptr::null_mut();
[INFO] [stderr] 512 |   let result = unsafe { HidD_GetPreparsedData(hid_file, &mut preparsed_data) };
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `hid_get_preparsed_data`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]    --> src/input/hid.rs:536:12
[INFO] [stderr]     |
[INFO] [stderr] 536 |   unsafe { CloseHandle(hid_file) };
[INFO] [stderr]     |            ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RIM_TYPEHID` in this scope
[INFO] [stderr]    --> src/input/hid.rs:538:14
[INFO] [stderr]     |
[INFO] [stderr] 538 |   assert_eq!(RIM_TYPEHID, info.dwType);
[INFO] [stderr]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]   --> src/input/xinput.rs:14:36
[INFO] [stderr]    |
[INFO] [stderr] 14 |   let mut vec = Vec::with_capacity(MAX_PATH);
[INFO] [stderr]    |                                    ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemDirectoryW` in this scope
[INFO] [stderr]   --> src/input/xinput.rs:16:15
[INFO] [stderr]    |
[INFO] [stderr] 13 | fn get_system_directory() -> String {
[INFO] [stderr]    | ----------------------------------- similarly named function `get_system_directory` defined here
[INFO] [stderr] ...
[INFO] [stderr] 16 |     let len = GetSystemDirectoryW(vec.as_mut_ptr(), vec.capacity() as u32);
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_system_directory`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/input/mod.rs:51:29
[INFO] [stderr]    |
[INFO] [stderr] 51 |   pub fn as_handle(self) -> HANDLE {
[INFO] [stderr]    |                             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/input/mod.rs:52:15
[INFO] [stderr]    |
[INFO] [stderr] 52 |     self.0 as HANDLE
[INFO] [stderr]    |               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/input/mod.rs:55:30
[INFO] [stderr]    |
[INFO] [stderr] 55 |   pub fn from_handle(handle: HANDLE) -> RawInputDeviceId {
[INFO] [stderr]    |                              ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RAWHID` in this scope
[INFO] [stderr]    --> src/input/mod.rs:125:38
[INFO] [stderr]     |
[INFO] [stderr] 125 |   fn handle_input(&mut self, input: &RAWHID) {
[INFO] [stderr]     |                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `HwndLoopCallbacks` in this scope
[INFO] [stderr]    --> src/input/mod.rs:148:6
[INFO] [stderr]     |
[INFO] [stderr] 148 | impl HwndLoopCallbacks<RawInputCommand> for RawInputManager {
[INFO] [stderr]     |      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/input/mod.rs:149:31
[INFO] [stderr]     |
[INFO] [stderr] 149 |   fn set_up(&mut self, _hwnd: HWND) {
[INFO] [stderr]     |                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadPriority` in this scope
[INFO] [stderr]    --> src/input/mod.rs:150:14
[INFO] [stderr]     |
[INFO] [stderr] 150 |     unsafe { SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST as i32) };
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThread` in this scope
[INFO] [stderr]    --> src/input/mod.rs:150:32
[INFO] [stderr]     |
[INFO] [stderr] 150 |     unsafe { SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST as i32) };
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `THREAD_PRIORITY_HIGHEST` in this scope
[INFO] [stderr]    --> src/input/mod.rs:150:52
[INFO] [stderr]     |
[INFO] [stderr] 150 |     unsafe { SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST as i32) };
[INFO] [stderr]     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/input/mod.rs:153:38
[INFO] [stderr]     |
[INFO] [stderr] 153 |   fn handle_message(&mut self, hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT {
[INFO] [stderr]     |                                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:153:49
[INFO] [stderr]     |
[INFO] [stderr] 153 |   fn handle_message(&mut self, hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT {
[INFO] [stderr]     |                                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/input/mod.rs:153:58
[INFO] [stderr]     |
[INFO] [stderr] 153 |   fn handle_message(&mut self, hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT {
[INFO] [stderr]     |                                                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/input/mod.rs:153:69
[INFO] [stderr]     |
[INFO] [stderr] 153 |   fn handle_message(&mut self, hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT {
[INFO] [stderr]     |                                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:153:80
[INFO] [stderr]     |
[INFO] [stderr] 153 |   fn handle_message(&mut self, hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT {
[INFO] [stderr]     |                                                                                ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_INPUT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:154:15
[INFO] [stderr]     |
[INFO] [stderr] 154 |     if msg == WM_INPUT {
[INFO] [stderr]     |               ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRAWINPUT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:155:43
[INFO] [stderr]     |
[INFO] [stderr] 155 |       self.handle_device_input(hwnd, l as HRAWINPUT);
[INFO] [stderr]     |                                           ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_INPUT_DEVICE_CHANGE` in this scope
[INFO] [stderr]    --> src/input/mod.rs:156:22
[INFO] [stderr]     |
[INFO] [stderr] 156 |     } else if msg == WM_INPUT_DEVICE_CHANGE {
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/input/mod.rs:157:55
[INFO] [stderr]     |
[INFO] [stderr] 157 |       let device = RawInputDeviceId::from_handle(l as HANDLE);
[INFO] [stderr]     |                                                       ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GIDC_ARRIVAL` in this scope
[INFO] [stderr]    --> src/input/mod.rs:158:15
[INFO] [stderr]     |
[INFO] [stderr] 158 |       if w == GIDC_ARRIVAL as usize {
[INFO] [stderr]     |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GIDC_REMOVAL` in this scope
[INFO] [stderr]    --> src/input/mod.rs:160:22
[INFO] [stderr]     |
[INFO] [stderr] 160 |       } else if w == GIDC_REMOVAL as usize {
[INFO] [stderr]     |                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope
[INFO] [stderr]    --> src/input/mod.rs:166:14
[INFO] [stderr]     |
[INFO] [stderr] 166 |     unsafe { DefWindowProcA(hwnd, msg, w, l) }
[INFO] [stderr]     |              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/input/mod.rs:169:38
[INFO] [stderr]     |
[INFO] [stderr] 169 |   fn handle_command(&mut self, hwnd: HWND, cmd: RawInputCommand) {
[INFO] [stderr]     |                                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/input/mod.rs:202:48
[INFO] [stderr]     |
[INFO] [stderr] 202 |   fn cmd_register_device_type(&mut self, hwnd: HWND, device_type: RawInputDeviceType, reply: Sender<()>) {
[INFO] [stderr]     |                                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope
[INFO] [stderr]    --> src/input/mod.rs:203:15
[INFO] [stderr]     |
[INFO] [stderr] 203 |     let rid = RAWINPUTDEVICE {
[INFO] [stderr]     |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RIDEV_INPUTSINK` in this scope
[INFO] [stderr]    --> src/input/mod.rs:206:16
[INFO] [stderr]     |
[INFO] [stderr] 206 |       dwFlags: RIDEV_INPUTSINK | RIDEV_DEVNOTIFY,
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RIDEV_DEVNOTIFY` in this scope
[INFO] [stderr]    --> src/input/mod.rs:206:34
[INFO] [stderr]     |
[INFO] [stderr] 206 |       dwFlags: RIDEV_INPUTSINK | RIDEV_DEVNOTIFY,
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope
[INFO] [stderr]    --> src/input/mod.rs:209:27
[INFO] [stderr]     |
[INFO] [stderr] 209 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope
[INFO] [stderr]    --> src/input/mod.rs:209:80
[INFO] [stderr]     |
[INFO] [stderr] 192 | impl RawInputManager {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<RAWINPUTDEVICE>`
[INFO] [stderr] ...
[INFO] [stderr] 209 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stderr]     |                                                                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:209:101
[INFO] [stderr]     |
[INFO] [stderr] 209 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stderr]     |                                                                                                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/input/mod.rs:219:51
[INFO] [stderr]     |
[INFO] [stderr] 219 |   fn cmd_unregister_device_type(&mut self, _hwnd: HWND, device_type: RawInputDeviceType, reply: Sender<()>) {
[INFO] [stderr]     |                                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope
[INFO] [stderr]    --> src/input/mod.rs:220:15
[INFO] [stderr]     |
[INFO] [stderr] 220 |     let rid = RAWINPUTDEVICE {
[INFO] [stderr]     |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RIDEV_REMOVE` in this scope
[INFO] [stderr]    --> src/input/mod.rs:223:16
[INFO] [stderr]     |
[INFO] [stderr] 223 |       dwFlags: RIDEV_REMOVE,
[INFO] [stderr]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope
[INFO] [stderr]    --> src/input/mod.rs:226:27
[INFO] [stderr]     |
[INFO] [stderr] 226 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope
[INFO] [stderr]    --> src/input/mod.rs:226:80
[INFO] [stderr]     |
[INFO] [stderr] 192 | impl RawInputManager {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<RAWINPUTDEVICE>`
[INFO] [stderr] ...
[INFO] [stderr] 226 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stderr]     |                                                                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:226:101
[INFO] [stderr]     |
[INFO] [stderr] 226 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stderr]     |                                                                                                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/input/mod.rs:236:39
[INFO] [stderr]     |
[INFO] [stderr] 236 |   fn cmd_get_events(&mut self, _hwnd: HWND, reply: Sender<VecDeque<RawInputEvent>>) {
[INFO] [stderr]     |                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/input/mod.rs:243:44
[INFO] [stderr]     |
[INFO] [stderr] 243 |   fn handle_device_input(&mut self, _hwnd: HWND, hrawinput: HRAWINPUT) {
[INFO] [stderr]     |                                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRAWINPUT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:243:61
[INFO] [stderr]     |
[INFO] [stderr] 243 |   fn handle_device_input(&mut self, _hwnd: HWND, hrawinput: HRAWINPUT) {
[INFO] [stderr]     |                                                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputData` in this scope
[INFO] [stderr]    --> src/input/mod.rs:248:7
[INFO] [stderr]     |
[INFO] [stderr] 248 |       GetRawInputData(
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RID_INPUT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:250:9
[INFO] [stderr]     |
[INFO] [stderr] 250 |         RID_INPUT,
[INFO] [stderr]     |         ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope
[INFO] [stderr]    --> src/input/mod.rs:253:29
[INFO] [stderr]     |
[INFO] [stderr] 192 | impl RawInputManager {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<RAWINPUTHEADER>`
[INFO] [stderr] ...
[INFO] [stderr] 253 |         std::mem::size_of::<RAWINPUTHEADER>() as UINT,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:253:50
[INFO] [stderr]     |
[INFO] [stderr] 253 |         std::mem::size_of::<RAWINPUTHEADER>() as UINT,
[INFO] [stderr]     |                                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RAWINPUT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:262:73
[INFO] [stderr]     |
[INFO] [stderr] 262 |     let rawinput = unsafe { *(&buffer as *const AlignedBuffer as *const RAWINPUT) };
[INFO] [stderr]     |                                                                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RIM_TYPEHID` in this scope
[INFO] [stderr]    --> src/input/mod.rs:270:16
[INFO] [stderr]     |
[INFO] [stderr] 270 |     assert_eq!(RIM_TYPEHID, rawinput.header.dwType);
[INFO] [stderr]     |                ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HwndLoop` in this scope
[INFO] [stderr]    --> src/input/mod.rs:390:14
[INFO] [stderr]     |
[INFO] [stderr] 390 |   eventloop: HwndLoop<RawInputCommand>,
[INFO] [stderr]     |              ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]   --> src/lib.rs:49:26
[INFO] [stderr]    |
[INFO] [stderr] 49 |   let process = unsafe { GetModuleHandleW(std::ptr::null_mut()) };
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]   --> src/lib.rs:50:37
[INFO] [stderr]    |
[INFO] [stderr] 50 |   let mut path = Vec::with_capacity(MAX_PATH);
[INFO] [stderr]    |                                     ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameW` in this scope
[INFO] [stderr]   --> src/lib.rs:52:15
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let len = GetModuleFileNameW(process, path.as_mut_ptr(), MAX_PATH as u32);
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]   --> src/lib.rs:52:62
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let len = GetModuleFileNameW(process, path.as_mut_ptr(), MAX_PATH as u32);
[INFO] [stderr]    |                                                              ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `hwndloop::*`
[INFO] [stderr]   --> src/input/mod.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use hwndloop::*;
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/input/hid.rs:121:30
[INFO] [stderr]     |
[INFO] [stderr] 121 |   fn cause(&self) -> Option<&std::error::Error> {
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stderr]    --> src/input/mod.rs:245:31
[INFO] [stderr]     |
[INFO] [stderr] 245 |     let mut buffer = unsafe { std::mem::uninitialized::<AlignedBuffer>() };
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HwndLoop`
[INFO] [stderr]    --> src/input/mod.rs:400:18
[INFO] [stderr]     |
[INFO] [stderr] 400 |       eventloop: HwndLoop::new(Box::new(manager)),
[INFO] [stderr]     |                  ^^^^^^^^ use of undeclared type or module `HwndLoop`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stderr]    --> src/input/hid.rs:150:29
[INFO] [stderr]     |
[INFO] [stderr] 150 |     let mut caps = unsafe { std::mem::uninitialized() };
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 123 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: could not compile `dhc`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `AllocConsole` in this scope
[INFO] [stderr]   --> src/logger.rs:89:14
[INFO] [stderr]    |
[INFO] [stderr] 89 |     unsafe { AllocConsole() };
[INFO] [stderr]    |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PHIDP_PREPARSED_DATA` in this scope
[INFO] [stderr]   --> src/input/hid.rs:48:8
[INFO] [stderr]    |
[INFO] [stderr] 48 |   ptr: PHIDP_PREPARSED_DATA,
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_FreePreparsedData` in this scope
[INFO] [stderr]   --> src/input/hid.rs:55:14
[INFO] [stderr]    |
[INFO] [stderr] 55 |     unsafe { HidD_FreePreparsedData(self.raw()) };
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stderr]   --> src/input/hid.rs:80:11
[INFO] [stderr]    |
[INFO] [stderr] 80 |   Unknown(NTSTATUS),
[INFO] [stderr]    |           ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stderr]   --> src/input/hid.rs:84:22
[INFO] [stderr]    |
[INFO] [stderr] 84 |   fn from_code(code: NTSTATUS) -> HidPError {
[INFO] [stderr]    |                      ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stderr]    --> src/input/hid.rs:132:24
[INFO] [stderr]     |
[INFO] [stderr] 132 | fn hidp_result(status: NTSTATUS) -> Result<(), HidPError> {
[INFO] [stderr]     |                        ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `HIDP_STATUS_SUCCESS` in this scope
[INFO] [stderr]    --> src/input/hid.rs:133:16
[INFO] [stderr]     |
[INFO] [stderr] 133 |   if status == HIDP_STATUS_SUCCESS {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PHIDP_PREPARSED_DATA` in this scope
[INFO] [stderr]    --> src/input/hid.rs:141:20
[INFO] [stderr]     |
[INFO] [stderr] 141 |   pub fn new(data: PHIDP_PREPARSED_DATA) -> HidPreparsedData {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PHIDP_PREPARSED_DATA` in this scope
[INFO] [stderr]    --> src/input/hid.rs:145:24
[INFO] [stderr]     |
[INFO] [stderr] 145 |   pub fn raw(&self) -> PHIDP_PREPARSED_DATA {
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HIDP_CAPS` in this scope
[INFO] [stderr]    --> src/input/hid.rs:149:32
[INFO] [stderr]     |
[INFO] [stderr] 140 | impl HidPreparsedData {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<HIDP_CAPS>`
[INFO] [stderr] ...
[INFO] [stderr] 149 |   fn get_caps(&self) -> Result<HIDP_CAPS, HidPError> {
[INFO] [stderr]     |                                ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_GetCaps` in this scope
[INFO] [stderr]    --> src/input/hid.rs:151:23
[INFO] [stderr]     |
[INFO] [stderr] 151 |     let rc = unsafe { HidP_GetCaps(self.raw(), &mut caps) };
[INFO] [stderr]     |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope
[INFO] [stderr]    --> src/input/hid.rs:156:42
[INFO] [stderr]     |
[INFO] [stderr] 140 | impl HidPreparsedData {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<HIDP_VALUE_CAPS>`
[INFO] [stderr] ...
[INFO] [stderr] 156 |   fn get_value_caps(&self) -> Result<Vec<HIDP_VALUE_CAPS>, HidPError> {
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_GetValueCaps` in this scope
[INFO] [stderr]    --> src/input/hid.rs:161:16
[INFO] [stderr]     |
[INFO] [stderr] 161 |       let rc = HidP_GetValueCaps(HidP_Input, vec.as_mut_ptr(), &mut len, self.raw());
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope
[INFO] [stderr]    --> src/input/hid.rs:161:34
[INFO] [stderr]     |
[INFO] [stderr] 161 |       let rc = HidP_GetValueCaps(HidP_Input, vec.as_mut_ptr(), &mut len, self.raw());
[INFO] [stderr]     |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HIDP_LINK_COLLECTION_NODE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:171:53
[INFO] [stderr]     |
[INFO] [stderr] 140 | impl HidPreparsedData {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<HIDP_LINK_COLLECTION_NODE>`
[INFO] [stderr] ...
[INFO] [stderr] 171 |   fn get_link_collection_nodes(&self) -> Result<Vec<HIDP_LINK_COLLECTION_NODE>, HidPError> {
[INFO] [stderr]     |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_GetLinkCollectionNodes` in this scope
[INFO] [stderr]    --> src/input/hid.rs:175:16
[INFO] [stderr]     |
[INFO] [stderr] 175 |       let rc = HidP_GetLinkCollectionNodes(vec.as_mut_ptr(), &mut len, self.raw());
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_MaxUsageListLength` in this scope
[INFO] [stderr]    --> src/input/hid.rs:185:14
[INFO] [stderr]     |
[INFO] [stderr] 185 |     unsafe { HidP_MaxUsageListLength(HidP_Input, USAGE_PAGE_BUTTON, self.raw()) as usize }
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope
[INFO] [stderr]    --> src/input/hid.rs:185:38
[INFO] [stderr]     |
[INFO] [stderr] 185 |     unsafe { HidP_MaxUsageListLength(HidP_Input, USAGE_PAGE_BUTTON, self.raw()) as usize }
[INFO] [stderr]     |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_GetUsages` in this scope
[INFO] [stderr]    --> src/input/hid.rs:192:7
[INFO] [stderr]     |
[INFO] [stderr] 192 |       HidP_GetUsages(
[INFO] [stderr]     |       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope
[INFO] [stderr]    --> src/input/hid.rs:193:9
[INFO] [stderr]     |
[INFO] [stderr] 193 |         HidP_Input,
[INFO] [stderr]     |         ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_GetUsageValue` in this scope
[INFO] [stderr]    --> src/input/hid.rs:210:7
[INFO] [stderr]     |
[INFO] [stderr] 210 |       HidP_GetUsageValue(
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope
[INFO] [stderr]    --> src/input/hid.rs:211:9
[INFO] [stderr]     |
[INFO] [stderr] 211 |         HidP_Input,
[INFO] [stderr]     |         ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope
[INFO] [stderr]    --> src/input/hid.rs:233:19
[INFO] [stderr]     |
[INFO] [stderr] 230 | pub struct HidParser {
[INFO] [stderr]     |                     - help: you might be missing a type parameter: `<HIDP_VALUE_CAPS>`
[INFO] [stderr] ...
[INFO] [stderr] 233 |   value_caps: Vec<HIDP_VALUE_CAPS>,
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/input/hid.rs:364:68
[INFO] [stderr]     |
[INFO] [stderr] 364 | fn get_rawinput_device_info_impl(device_id: RawInputDeviceId, cmd: UINT) -> Vec<u8> {
[INFO] [stderr]     |                                                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope
[INFO] [stderr]    --> src/input/hid.rs:366:44
[INFO] [stderr]     |
[INFO] [stderr] 364 | fn get_rawinput_device_info_impl(device_id: RawInputDeviceId, cmd: UINT) -> Vec<u8> {
[INFO] [stderr]     |                                 - help: you might be missing a type parameter: `<RID_DEVICE_INFO>`
[INFO] [stderr] 365 |   let size = match cmd {
[INFO] [stderr] 366 |     RIDI_DEVICEINFO => std::mem::size_of::<RID_DEVICE_INFO>(),
[INFO] [stderr]     |                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoA` in this scope
[INFO] [stderr]    --> src/input/hid.rs:369:25
[INFO] [stderr]     |
[INFO] [stderr] 369 |       let rc = unsafe { GetRawInputDeviceInfoA(device_id.as_handle(), cmd, std::ptr::null_mut(), &mut received_size) };
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `RawInputDeviceId`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/input/mod.rs:48:1
[INFO] [stderr]     |
[INFO] [stderr] 48  | pub struct RawInputDeviceId(pub u64);
[INFO] [stderr]     | ------------------------------------- similarly named tuple struct `RawInputDeviceId` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoA` in this scope
[INFO] [stderr]    --> src/input/hid.rs:378:21
[INFO] [stderr]     |
[INFO] [stderr] 378 |   let rc = unsafe { GetRawInputDeviceInfoA(device_id.as_handle(), cmd, ptr, &mut dummy) };
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `RawInputDeviceId`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/input/mod.rs:48:1
[INFO] [stderr]     |
[INFO] [stderr] 48  | pub struct RawInputDeviceId(pub u64);
[INFO] [stderr]     | ------------------------------------- similarly named tuple struct `RawInputDeviceId` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RIDI_DEVICENAME` in this scope
[INFO] [stderr]    --> src/input/hid.rs:385:61
[INFO] [stderr]     |
[INFO] [stderr] 385 |   let mut result = get_rawinput_device_info_impl(device_id, RIDI_DEVICENAME);
[INFO] [stderr]     |                                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope
[INFO] [stderr]    --> src/input/hid.rs:396:61
[INFO] [stderr]     |
[INFO] [stderr] 396 | fn get_rawinput_device_info(device_id: RawInputDeviceId) -> RID_DEVICE_INFO {
[INFO] [stderr]     |                                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RIDI_DEVICEINFO` in this scope
[INFO] [stderr]    --> src/input/hid.rs:397:56
[INFO] [stderr]     |
[INFO] [stderr] 397 |   let bytes = get_rawinput_device_info_impl(device_id, RIDI_DEVICEINFO);
[INFO] [stderr]     |                                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope
[INFO] [stderr]    --> src/input/hid.rs:400:55
[INFO] [stderr]     |
[INFO] [stderr] 400 |     std::ptr::read_unaligned(bytes.as_ptr() as *const RID_DEVICE_INFO)
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:404:35
[INFO] [stderr]     |
[INFO] [stderr] 404 | fn hid_get_product_string(handle: HANDLE) -> Option<String> {
[INFO] [stderr]     |                                   ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetProductString` in this scope
[INFO] [stderr]    --> src/input/hid.rs:409:25
[INFO] [stderr]     |
[INFO] [stderr] 404 | fn hid_get_product_string(handle: HANDLE) -> Option<String> {
[INFO] [stderr]     | ----------------------------------------------------------- similarly named function `hid_get_product_string` defined here
[INFO] [stderr] ...
[INFO] [stderr] 409 |   let result = unsafe { HidD_GetProductString(handle, ptr, buf_size as u32) };
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `hid_get_product_string`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:423:40
[INFO] [stderr]     |
[INFO] [stderr] 423 | fn hid_get_manufacturer_string(handle: HANDLE) -> Option<String> {
[INFO] [stderr]     |                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetManufacturerString` in this scope
[INFO] [stderr]    --> src/input/hid.rs:428:25
[INFO] [stderr]     |
[INFO] [stderr] 423 | fn hid_get_manufacturer_string(handle: HANDLE) -> Option<String> {
[INFO] [stderr]     | ---------------------------------------------------------------- similarly named function `hid_get_manufacturer_string` defined here
[INFO] [stderr] ...
[INFO] [stderr] 428 |   let result = unsafe { HidD_GetManufacturerString(handle, ptr, buf_size as u32) };
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `hid_get_manufacturer_string`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:442:34
[INFO] [stderr]     |
[INFO] [stderr] 442 | fn hid_get_serial_number(handle: HANDLE) -> Option<String> {
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetSerialNumberString` in this scope
[INFO] [stderr]    --> src/input/hid.rs:447:25
[INFO] [stderr]     |
[INFO] [stderr] 447 |   let result = unsafe { HidD_GetSerialNumberString(handle, ptr, buf_size as u32) };
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:462:58
[INFO] [stderr]     |
[INFO] [stderr] 462 | fn open_rawinput_hid_device(path: CString) -> io::Result<HANDLE> {
[INFO] [stderr]     |                            -                             ^^^^^^ not found in this scope
[INFO] [stderr]     |                            |
[INFO] [stderr]     |                            help: you might be missing a type parameter: `<HANDLE>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope
[INFO] [stderr]    --> src/input/hid.rs:464:5
[INFO] [stderr]     |
[INFO] [stderr] 464 |     CreateFileA(
[INFO] [stderr]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope
[INFO] [stderr]    --> src/input/hid.rs:467:7
[INFO] [stderr]     |
[INFO] [stderr] 467 |       FILE_SHARE_READ | FILE_SHARE_WRITE,
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:467:25
[INFO] [stderr]     |
[INFO] [stderr] 467 |       FILE_SHARE_READ | FILE_SHARE_WRITE,
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `OPEN_EXISTING` in this scope
[INFO] [stderr]    --> src/input/hid.rs:469:7
[INFO] [stderr]     |
[INFO] [stderr] 469 |       OPEN_EXISTING,
[INFO] [stderr]     |       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:475:18
[INFO] [stderr]     |
[INFO] [stderr] 475 |   if hid_file == INVALID_HANDLE_VALUE {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:485:39
[INFO] [stderr]     |
[INFO] [stderr] 485 | fn get_rawinput_device_name(hid_file: HANDLE) -> String {
[INFO] [stderr]     |                                       ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/input/hid.rs:510:37
[INFO] [stderr]     |
[INFO] [stderr] 510 | fn hid_get_preparsed_data(hid_file: HANDLE) -> io::Result<HidPreparsedData> {
[INFO] [stderr]     |                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetPreparsedData` in this scope
[INFO] [stderr]    --> src/input/hid.rs:512:25
[INFO] [stderr]     |
[INFO] [stderr] 510 | fn hid_get_preparsed_data(hid_file: HANDLE) -> io::Result<HidPreparsedData> {
[INFO] [stderr]     | --------------------------------------------------------------------------- similarly named function `hid_get_preparsed_data` defined here
[INFO] [stderr] 511 |   let mut preparsed_data = std::ptr::null_mut();
[INFO] [stderr] 512 |   let result = unsafe { HidD_GetPreparsedData(hid_file, &mut preparsed_data) };
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `hid_get_preparsed_data`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]    --> src/input/hid.rs:536:12
[INFO] [stderr]     |
[INFO] [stderr] 536 |   unsafe { CloseHandle(hid_file) };
[INFO] [stderr]     |            ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RIM_TYPEHID` in this scope
[INFO] [stderr]    --> src/input/hid.rs:538:14
[INFO] [stderr]     |
[INFO] [stderr] 538 |   assert_eq!(RIM_TYPEHID, info.dwType);
[INFO] [stderr]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]   --> src/input/xinput.rs:14:36
[INFO] [stderr]    |
[INFO] [stderr] 14 |   let mut vec = Vec::with_capacity(MAX_PATH);
[INFO] [stderr]    |                                    ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemDirectoryW` in this scope
[INFO] [stderr]   --> src/input/xinput.rs:16:15
[INFO] [stderr]    |
[INFO] [stderr] 13 | fn get_system_directory() -> String {
[INFO] [stderr]    | ----------------------------------- similarly named function `get_system_directory` defined here
[INFO] [stderr] ...
[INFO] [stderr] 16 |     let len = GetSystemDirectoryW(vec.as_mut_ptr(), vec.capacity() as u32);
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_system_directory`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/input/mod.rs:51:29
[INFO] [stderr]    |
[INFO] [stderr] 51 |   pub fn as_handle(self) -> HANDLE {
[INFO] [stderr]    |                             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/input/mod.rs:52:15
[INFO] [stderr]    |
[INFO] [stderr] 52 |     self.0 as HANDLE
[INFO] [stderr]    |               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/input/mod.rs:55:30
[INFO] [stderr]    |
[INFO] [stderr] 55 |   pub fn from_handle(handle: HANDLE) -> RawInputDeviceId {
[INFO] [stderr]    |                              ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RAWHID` in this scope
[INFO] [stderr]    --> src/input/mod.rs:125:38
[INFO] [stderr]     |
[INFO] [stderr] 125 |   fn handle_input(&mut self, input: &RAWHID) {
[INFO] [stderr]     |                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `HwndLoopCallbacks` in this scope
[INFO] [stderr]    --> src/input/mod.rs:148:6
[INFO] [stderr]     |
[INFO] [stderr] 148 | impl HwndLoopCallbacks<RawInputCommand> for RawInputManager {
[INFO] [stderr]     |      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/input/mod.rs:149:31
[INFO] [stderr]     |
[INFO] [stderr] 149 |   fn set_up(&mut self, _hwnd: HWND) {
[INFO] [stderr]     |                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadPriority` in this scope
[INFO] [stderr]    --> src/input/mod.rs:150:14
[INFO] [stderr]     |
[INFO] [stderr] 150 |     unsafe { SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST as i32) };
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThread` in this scope
[INFO] [stderr]    --> src/input/mod.rs:150:32
[INFO] [stderr]     |
[INFO] [stderr] 150 |     unsafe { SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST as i32) };
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `THREAD_PRIORITY_HIGHEST` in this scope
[INFO] [stderr]    --> src/input/mod.rs:150:52
[INFO] [stderr]     |
[INFO] [stderr] 150 |     unsafe { SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST as i32) };
[INFO] [stderr]     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/input/mod.rs:153:38
[INFO] [stderr]     |
[INFO] [stderr] 153 |   fn handle_message(&mut self, hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT {
[INFO] [stderr]     |                                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:153:49
[INFO] [stderr]     |
[INFO] [stderr] 153 |   fn handle_message(&mut self, hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT {
[INFO] [stderr]     |                                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/input/mod.rs:153:58
[INFO] [stderr]     |
[INFO] [stderr] 153 |   fn handle_message(&mut self, hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT {
[INFO] [stderr]     |                                                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/input/mod.rs:153:69
[INFO] [stderr]     |
[INFO] [stderr] 153 |   fn handle_message(&mut self, hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT {
[INFO] [stderr]     |                                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:153:80
[INFO] [stderr]     |
[INFO] [stderr] 153 |   fn handle_message(&mut self, hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT {
[INFO] [stderr]     |                                                                                ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_INPUT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:154:15
[INFO] [stderr]     |
[INFO] [stderr] 154 |     if msg == WM_INPUT {
[INFO] [stderr]     |               ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRAWINPUT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:155:43
[INFO] [stderr]     |
[INFO] [stderr] 155 |       self.handle_device_input(hwnd, l as HRAWINPUT);
[INFO] [stderr]     |                                           ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_INPUT_DEVICE_CHANGE` in this scope
[INFO] [stderr]    --> src/input/mod.rs:156:22
[INFO] [stderr]     |
[INFO] [stderr] 156 |     } else if msg == WM_INPUT_DEVICE_CHANGE {
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/input/mod.rs:157:55
[INFO] [stderr]     |
[INFO] [stderr] 157 |       let device = RawInputDeviceId::from_handle(l as HANDLE);
[INFO] [stderr]     |                                                       ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GIDC_ARRIVAL` in this scope
[INFO] [stderr]    --> src/input/mod.rs:158:15
[INFO] [stderr]     |
[INFO] [stderr] 158 |       if w == GIDC_ARRIVAL as usize {
[INFO] [stderr]     |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GIDC_REMOVAL` in this scope
[INFO] [stderr]    --> src/input/mod.rs:160:22
[INFO] [stderr]     |
[INFO] [stderr] 160 |       } else if w == GIDC_REMOVAL as usize {
[INFO] [stderr]     |                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope
[INFO] [stderr]    --> src/input/mod.rs:166:14
[INFO] [stderr]     |
[INFO] [stderr] 166 |     unsafe { DefWindowProcA(hwnd, msg, w, l) }
[INFO] [stderr]     |              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/input/mod.rs:169:38
[INFO] [stderr]     |
[INFO] [stderr] 169 |   fn handle_command(&mut self, hwnd: HWND, cmd: RawInputCommand) {
[INFO] [stderr]     |                                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/input/mod.rs:202:48
[INFO] [stderr]     |
[INFO] [stderr] 202 |   fn cmd_register_device_type(&mut self, hwnd: HWND, device_type: RawInputDeviceType, reply: Sender<()>) {
[INFO] [stderr]     |                                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope
[INFO] [stderr]    --> src/input/mod.rs:203:15
[INFO] [stderr]     |
[INFO] [stderr] 203 |     let rid = RAWINPUTDEVICE {
[INFO] [stderr]     |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RIDEV_INPUTSINK` in this scope
[INFO] [stderr]    --> src/input/mod.rs:206:16
[INFO] [stderr]     |
[INFO] [stderr] 206 |       dwFlags: RIDEV_INPUTSINK | RIDEV_DEVNOTIFY,
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RIDEV_DEVNOTIFY` in this scope
[INFO] [stderr]    --> src/input/mod.rs:206:34
[INFO] [stderr]     |
[INFO] [stderr] 206 |       dwFlags: RIDEV_INPUTSINK | RIDEV_DEVNOTIFY,
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope
[INFO] [stderr]    --> src/input/mod.rs:209:27
[INFO] [stderr]     |
[INFO] [stderr] 209 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope
[INFO] [stderr]    --> src/input/mod.rs:209:80
[INFO] [stderr]     |
[INFO] [stderr] 192 | impl RawInputManager {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<RAWINPUTDEVICE>`
[INFO] [stderr] ...
[INFO] [stderr] 209 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stderr]     |                                                                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:209:101
[INFO] [stderr]     |
[INFO] [stderr] 209 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stderr]     |                                                                                                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/input/mod.rs:219:51
[INFO] [stderr]     |
[INFO] [stderr] 219 |   fn cmd_unregister_device_type(&mut self, _hwnd: HWND, device_type: RawInputDeviceType, reply: Sender<()>) {
[INFO] [stderr]     |                                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope
[INFO] [stderr]    --> src/input/mod.rs:220:15
[INFO] [stderr]     |
[INFO] [stderr] 220 |     let rid = RAWINPUTDEVICE {
[INFO] [stderr]     |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RIDEV_REMOVE` in this scope
[INFO] [stderr]    --> src/input/mod.rs:223:16
[INFO] [stderr]     |
[INFO] [stderr] 223 |       dwFlags: RIDEV_REMOVE,
[INFO] [stderr]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope
[INFO] [stderr]    --> src/input/mod.rs:226:27
[INFO] [stderr]     |
[INFO] [stderr] 226 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope
[INFO] [stderr]    --> src/input/mod.rs:226:80
[INFO] [stderr]     |
[INFO] [stderr] 192 | impl RawInputManager {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<RAWINPUTDEVICE>`
[INFO] [stderr] ...
[INFO] [stderr] 226 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stderr]     |                                                                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:226:101
[INFO] [stderr]     |
[INFO] [stderr] 226 |     let result = unsafe { RegisterRawInputDevices(&rid, 1, std::mem::size_of::<RAWINPUTDEVICE>() as UINT) };
[INFO] [stderr]     |                                                                                                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/input/mod.rs:236:39
[INFO] [stderr]     |
[INFO] [stderr] 236 |   fn cmd_get_events(&mut self, _hwnd: HWND, reply: Sender<VecDeque<RawInputEvent>>) {
[INFO] [stderr]     |                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/input/mod.rs:243:44
[INFO] [stderr]     |
[INFO] [stderr] 243 |   fn handle_device_input(&mut self, _hwnd: HWND, hrawinput: HRAWINPUT) {
[INFO] [stderr]     |                                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRAWINPUT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:243:61
[INFO] [stderr]     |
[INFO] [stderr] 243 |   fn handle_device_input(&mut self, _hwnd: HWND, hrawinput: HRAWINPUT) {
[INFO] [stderr]     |                                                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputData` in this scope
[INFO] [stderr]    --> src/input/mod.rs:248:7
[INFO] [stderr]     |
[INFO] [stderr] 248 |       GetRawInputData(
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RID_INPUT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:250:9
[INFO] [stderr]     |
[INFO] [stderr] 250 |         RID_INPUT,
[INFO] [stderr]     |         ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope
[INFO] [stderr]    --> src/input/mod.rs:253:29
[INFO] [stderr]     |
[INFO] [stderr] 192 | impl RawInputManager {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<RAWINPUTHEADER>`
[INFO] [stderr] ...
[INFO] [stderr] 253 |         std::mem::size_of::<RAWINPUTHEADER>() as UINT,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:253:50
[INFO] [stderr]     |
[INFO] [stderr] 253 |         std::mem::size_of::<RAWINPUTHEADER>() as UINT,
[INFO] [stderr]     |                                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RAWINPUT` in this scope
[INFO] [stderr]    --> src/input/mod.rs:262:73
[INFO] [stderr]     |
[INFO] [stderr] 262 |     let rawinput = unsafe { *(&buffer as *const AlignedBuffer as *const RAWINPUT) };
[INFO] [stderr]     |                                                                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `RIM_TYPEHID` in this scope
[INFO] [stderr]    --> src/input/mod.rs:270:16
[INFO] [stderr]     |
[INFO] [stderr] 270 |     assert_eq!(RIM_TYPEHID, rawinput.header.dwType);
[INFO] [stderr]     |                ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HwndLoop` in this scope
[INFO] [stderr]    --> src/input/mod.rs:390:14
[INFO] [stderr]     |
[INFO] [stderr] 390 |   eventloop: HwndLoop<RawInputCommand>,
[INFO] [stderr]     |              ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]   --> src/lib.rs:49:26
[INFO] [stderr]    |
[INFO] [stderr] 49 |   let process = unsafe { GetModuleHandleW(std::ptr::null_mut()) };
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]   --> src/lib.rs:50:37
[INFO] [stderr]    |
[INFO] [stderr] 50 |   let mut path = Vec::with_capacity(MAX_PATH);
[INFO] [stderr]    |                                     ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameW` in this scope
[INFO] [stderr]   --> src/lib.rs:52:15
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let len = GetModuleFileNameW(process, path.as_mut_ptr(), MAX_PATH as u32);
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]   --> src/lib.rs:52:62
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let len = GetModuleFileNameW(process, path.as_mut_ptr(), MAX_PATH as u32);
[INFO] [stderr]    |                                                              ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `hwndloop::*`
[INFO] [stderr]   --> src/input/mod.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use hwndloop::*;
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/input/hid.rs:121:30
[INFO] [stderr]     |
[INFO] [stderr] 121 |   fn cause(&self) -> Option<&std::error::Error> {
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stderr]    --> src/input/mod.rs:245:31
[INFO] [stderr]     |
[INFO] [stderr] 245 |     let mut buffer = unsafe { std::mem::uninitialized::<AlignedBuffer>() };
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stderr]    --> src/input/hid.rs:150:29
[INFO] [stderr]     |
[INFO] [stderr] 150 |     let mut caps = unsafe { std::mem::uninitialized() };
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 123 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: could not compile `dhc`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "a133c3ea536ad0c748ca2a69475fb22d9403f7181d405a427543ca6b15fe77ee"`
[INFO] running `"docker" "rm" "-f" "a133c3ea536ad0c748ca2a69475fb22d9403f7181d405a427543ca6b15fe77ee"`
[INFO] [stdout] a133c3ea536ad0c748ca2a69475fb22d9403f7181d405a427543ca6b15fe77ee
