[INFO] fetching crate vigem-client 0.1.1...
[INFO] checking vigem-client-0.1.1 against 1.55.0 for beta-1.56-3
[INFO] extracting crate vigem-client 0.1.1 into /workspace/builds/worker-25/source
[INFO] validating manifest of crates.io crate vigem-client 0.1.1 on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate vigem-client 0.1.1
[INFO] finished tweaking crates.io crate vigem-client 0.1.1
[INFO] tweaked toml for crates.io crate vigem-client 0.1.1 written to /workspace/builds/worker-25/source/Cargo.toml
[INFO] crate crates.io crate vigem-client 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d9f142d04f215eb5898499ff8929a18f175f5163ab8d8d02c2e78d536f894346
[INFO] running `Command { std: "docker" "start" "-a" "d9f142d04f215eb5898499ff8929a18f175f5163ab8d8d02c2e78d536f894346", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d9f142d04f215eb5898499ff8929a18f175f5163ab8d8d02c2e78d536f894346", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9f142d04f215eb5898499ff8929a18f175f5163ab8d8d02c2e78d536f894346", kill_on_drop: false }`
[INFO] [stdout] d9f142d04f215eb5898499ff8929a18f175f5163ab8d8d02c2e78d536f894346
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 71783d348d00b06620248cfe3e4646f80562cfdddde0c87a1e75f61cd9b36880
[INFO] running `Command { std: "docker" "start" "-a" "71783d348d00b06620248cfe3e4646f80562cfdddde0c87a1e75f61cd9b36880", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking vigem-client v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/bus.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::handleapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/bus.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::ioapiset::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/bus.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::minwinbase::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/bus.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::synchapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/bus.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::errhandlingapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/bus.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::ntdef::HANDLE;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/bus.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shared::guiddef::GUID;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/event.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::handleapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/event.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::synchapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/event.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::ntdef::HANDLE;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/client.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::os::windows::io::AsRawHandle;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/client.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::handleapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/client.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::setupapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/client.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::fileapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/client.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::winnt::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/client.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::winbase::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/client.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::errhandlingapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/client.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::ntdef::HANDLE;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/x360.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::xinput::XINPUT_GAMEPAD;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::shared`
[INFO] [stdout]  --> src/x360.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::winerror;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/bus.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::handleapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/bus.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::ioapiset::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/bus.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::minwinbase::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/bus.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::synchapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/bus.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::errhandlingapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/bus.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::ntdef::HANDLE;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/bus.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shared::guiddef::GUID;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/event.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::handleapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/event.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::synchapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/event.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::ntdef::HANDLE;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/client.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::os::windows::io::AsRawHandle;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/client.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::handleapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/client.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::setupapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/client.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::fileapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/client.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::winnt::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/client.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::winbase::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/client.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::errhandlingapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/client.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::ntdef::HANDLE;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/x360.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::xinput::XINPUT_GAMEPAD;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::shared`
[INFO] [stdout]  --> src/x360.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::winerror;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]   --> src/bus.rs:12:31
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub static GUID_DEVINTERFACE: GUID = GUID {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GUID` in this scope
[INFO] [stdout]   --> src/bus.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub static GUID_DEVINTERFACE: GUID = GUID {
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/bus.rs:43:41
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub unsafe fn ioctl(&mut self, device: HANDLE) -> bool {
[INFO] [stdout]    |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stdout]   --> src/bus.rs:45:23
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut overlapped: OVERLAPPED = mem::zeroed();
[INFO] [stdout]    |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventW` in this scope
[INFO] [stdout]   --> src/bus.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |         overlapped.hEvent = CreateEventW(ptr::null_mut(), 0, 0, ptr::null());
[INFO] [stdout]    |                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope
[INFO] [stdout]   --> src/bus.rs:48:3
[INFO] [stdout]    |
[INFO] [stdout] 48 |         DeviceIoControl(
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope
[INFO] [stdout]   --> src/bus.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let result = GetOverlappedResult(device, &mut overlapped, &mut transferred, 1);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/bus.rs:59:3
[INFO] [stdout]    |
[INFO] [stdout] 59 |         CloseHandle(overlapped.hEvent);
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/bus.rs:95:41
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]    |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/bus.rs:95:56
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]    |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stdout]   --> src/bus.rs:97:23
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let mut overlapped: OVERLAPPED = mem::zeroed();
[INFO] [stdout]    |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope
[INFO] [stdout]    --> src/bus.rs:100:3
[INFO] [stdout]     |
[INFO] [stdout] 100 |         DeviceIoControl(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope
[INFO] [stdout]    --> src/bus.rs:110:19
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let result = if GetOverlappedResult(device, &mut overlapped, &mut transferred, 1) != 0 { Ok(()) }
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/bus.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 |         else { Err(GetLastError()) };
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:131:41
[INFO] [stdout]     |
[INFO] [stdout] 131 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:131:56
[INFO] [stdout]     |
[INFO] [stdout] 131 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stdout]    --> src/bus.rs:133:23
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let mut overlapped: OVERLAPPED = mem::zeroed();
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope
[INFO] [stdout]    --> src/bus.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout] 136 |         DeviceIoControl(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope
[INFO] [stdout]    --> src/bus.rs:146:19
[INFO] [stdout]     |
[INFO] [stdout] 146 |         let result = if GetOverlappedResult(device, &mut overlapped, &mut transferred, 1) != 0 { Ok(()) }
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/bus.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |         else { Err(GetLastError()) };
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:166:41
[INFO] [stdout]     |
[INFO] [stdout] 166 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:166:56
[INFO] [stdout]     |
[INFO] [stdout] 166 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stdout]    --> src/bus.rs:168:23
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let mut overlapped: OVERLAPPED = mem::zeroed();
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope
[INFO] [stdout]    --> src/bus.rs:171:3
[INFO] [stdout]     |
[INFO] [stdout] 171 |         DeviceIoControl(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope
[INFO] [stdout]    --> src/bus.rs:181:19
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let result = if GetOverlappedResult(device, &mut overlapped, &mut transferred, 1) != 0 { Ok(()) }
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/bus.rs:182:14
[INFO] [stdout]     |
[INFO] [stdout] 182 |         else { Err(GetLastError()) };
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:203:41
[INFO] [stdout]     |
[INFO] [stdout] 203 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:203:56
[INFO] [stdout]     |
[INFO] [stdout] 203 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stdout]    --> src/bus.rs:205:23
[INFO] [stdout]     |
[INFO] [stdout] 205 |         let mut overlapped: OVERLAPPED = mem::zeroed();
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope
[INFO] [stdout]    --> src/bus.rs:208:3
[INFO] [stdout]     |
[INFO] [stdout] 208 |         DeviceIoControl(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope
[INFO] [stdout]    --> src/bus.rs:218:19
[INFO] [stdout]     |
[INFO] [stdout] 218 |         let result = if GetOverlappedResult(device, &mut overlapped, &mut transferred, 1) != 0 { Ok(()) }
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/bus.rs:219:14
[INFO] [stdout]     |
[INFO] [stdout] 219 |         else { Err(GetLastError()) };
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:279:41
[INFO] [stdout]     |
[INFO] [stdout] 279 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:279:56
[INFO] [stdout]     |
[INFO] [stdout] 279 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stdout]    --> src/bus.rs:281:23
[INFO] [stdout]     |
[INFO] [stdout] 281 |         let mut overlapped: OVERLAPPED = mem::zeroed();
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope
[INFO] [stdout]    --> src/bus.rs:284:3
[INFO] [stdout]     |
[INFO] [stdout] 284 |         DeviceIoControl(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope
[INFO] [stdout]    --> src/bus.rs:294:19
[INFO] [stdout]     |
[INFO] [stdout] 294 |         let result = if GetOverlappedResult(device, &mut overlapped, &mut transferred, 1) != 0 { Ok(()) }
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/bus.rs:295:14
[INFO] [stdout]     |
[INFO] [stdout] 295 |         else { Err(GetLastError()) };
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]  --> src/event.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub(crate) handle: HANDLE,
[INFO] [stdout]   |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventW` in this scope
[INFO] [stdout]   --> src/event.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |             let handle = CreateEventW(ptr::null_mut(), manual_reset as i32, initial_state as i32, ptr::null());
[INFO] [stdout]    |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/event.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |         unsafe { CloseHandle(self.handle) };
[INFO] [stdout]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/client.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub(crate) device: HANDLE,
[INFO] [stdout]    |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DATA` in this scope
[INFO] [stdout]   --> src/client.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 |             let mut device_interface_data: SP_DEVICE_INTERFACE_DATA = mem::zeroed();
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsW` in this scope
[INFO] [stdout]   --> src/client.rs:30:26
[INFO] [stdout]    |
[INFO] [stdout] 30 |             let device_info_set = SetupDiGetClassDevsW(
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIGCF_PRESENT` in this scope
[INFO] [stdout]   --> src/client.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 DIGCF_PRESENT | DIGCF_DEVICEINTERFACE);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIGCF_DEVICEINTERFACE` in this scope
[INFO] [stdout]   --> src/client.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 DIGCF_PRESENT | DIGCF_DEVICEINTERFACE);
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]   --> src/client.rs:36:26
[INFO] [stdout]    |
[INFO] [stdout] 36 |             if device_info_set == INVALID_HANDLE_VALUE {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/client.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 return Err(Error::WinError(GetLastError()));
[INFO] [stdout]    |                                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiEnumDeviceInterfaces` in this scope
[INFO] [stdout]   --> src/client.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |             while SetupDiEnumDeviceInterfaces(
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PSP_DEVICE_INTERFACE_DETAIL_DATA_W` in this scope
[INFO] [stdout]   --> src/client.rs:52:62
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let detail_data_ptr = detail_data_buffer.as_mut_ptr() as PSP_DEVICE_INTERFACE_DETAIL_DATA_W;
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DETAIL_DATA_W` in this scope
[INFO] [stdout]   --> src/client.rs:53:48
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Client {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<SP_DEVICE_INTERFACE_DETAIL_DATA_W>`
[INFO] [stdout] ...
[INFO] [stdout] 53 |                 (*detail_data_ptr).cbSize = mem::size_of::<SP_DEVICE_INTERFACE_DETAIL_DATA_W>() as u32;
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInterfaceDetailW` in this scope
[INFO] [stdout]   --> src/client.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 if SetupDiGetDeviceInterfaceDetailW(
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/client.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     error = Error::WinError(GetLastError());
[INFO] [stdout]    |                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileW` in this scope
[INFO] [stdout]   --> src/client.rs:71:18
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 let device = CreateFileW(
[INFO] [stdout]    |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope
[INFO] [stdout]   --> src/client.rs:73:6
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     GENERIC_READ | GENERIC_WRITE,
[INFO] [stdout]    |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope
[INFO] [stdout]   --> src/client.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     GENERIC_READ | GENERIC_WRITE,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope
[INFO] [stdout]   --> src/client.rs:74:6
[INFO] [stdout]    |
[INFO] [stdout] 74 |                     FILE_SHARE_READ | FILE_SHARE_WRITE,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope
[INFO] [stdout]   --> src/client.rs:74:24
[INFO] [stdout]    |
[INFO] [stdout] 74 |                     FILE_SHARE_READ | FILE_SHARE_WRITE,
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope
[INFO] [stdout]   --> src/client.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     OPEN_EXISTING,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in this scope
[INFO] [stdout]   --> src/client.rs:77:6
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     FILE_ATTRIBUTE_NORMAL | FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH | FILE_FLAG_OVERLAPPED,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_NO_BUFFERING` in this scope
[INFO] [stdout]   --> src/client.rs:77:30
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     FILE_ATTRIBUTE_NORMAL | FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH | FILE_FLAG_OVERLAPPED,
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_WRITE_THROUGH` in this scope
[INFO] [stdout]   --> src/client.rs:77:55
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     FILE_ATTRIBUTE_NORMAL | FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH | FILE_FLAG_OVERLAPPED,
[INFO] [stdout]    |                                                                      ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_OVERLAPPED` in this scope
[INFO] [stdout]   --> src/client.rs:77:81
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     FILE_ATTRIBUTE_NORMAL | FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH | FILE_FLAG_OVERLAPPED,
[INFO] [stdout]    |                                                                                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]   --> src/client.rs:80:18
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 if device == INVALID_HANDLE_VALUE {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/client.rs:81:37
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     error = Error::BusAccessFailed(GetLastError());
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiDestroyDeviceInfoList` in this scope
[INFO] [stdout]   --> src/client.rs:87:6
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     SetupDiDestroyDeviceInfoList(device_info_set);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/client.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 CloseHandle(device);
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiDestroyDeviceInfoList` in this scope
[INFO] [stdout]   --> src/client.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 |             SetupDiDestroyDeviceInfoList(device_info_set);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawHandle` in this scope
[INFO] [stdout]    --> src/client.rs:105:6
[INFO] [stdout]     |
[INFO] [stdout] 105 | impl AsRawHandle for Client {
[INFO] [stdout]     |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/client.rs:106:29
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn as_raw_handle(&self) -> HANDLE {
[INFO] [stdout]     |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/client.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 |             CloseHandle(self.device);
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:150:11
[INFO] [stdout]     |
[INFO] [stdout] 150 | impl From<XINPUT_GAMEPAD> for XGamepad {
[INFO] [stdout]     |     -     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: you might be missing a type parameter: `<XINPUT_GAMEPAD>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:152:19
[INFO] [stdout]     |
[INFO] [stdout] 152 |     fn from(gamepad: XINPUT_GAMEPAD) -> Self {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:156:25
[INFO] [stdout]     |
[INFO] [stdout] 156 | impl From<XGamepad> for XINPUT_GAMEPAD {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:158:31
[INFO] [stdout]     |
[INFO] [stdout] 158 |     fn from(report: XGamepad) -> XINPUT_GAMEPAD {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | impl AsRef<XINPUT_GAMEPAD> for XGamepad {
[INFO] [stdout]     |     -      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: you might be missing a type parameter: `<XINPUT_GAMEPAD>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:164:23
[INFO] [stdout]     |
[INFO] [stdout] 164 |     fn as_ref(&self) -> &XINPUT_GAMEPAD {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:168:12
[INFO] [stdout]     |
[INFO] [stdout] 168 | impl AsMut<XINPUT_GAMEPAD> for XGamepad {
[INFO] [stdout]     |     -      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: you might be missing a type parameter: `<XINPUT_GAMEPAD>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:170:31
[INFO] [stdout]     |
[INFO] [stdout] 170 |     fn as_mut(&mut self) -> &mut XINPUT_GAMEPAD {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]   --> src/bus.rs:12:31
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub static GUID_DEVINTERFACE: GUID = GUID {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GUID` in this scope
[INFO] [stdout]   --> src/bus.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub static GUID_DEVINTERFACE: GUID = GUID {
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/bus.rs:43:41
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub unsafe fn ioctl(&mut self, device: HANDLE) -> bool {
[INFO] [stdout]    |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stdout]   --> src/bus.rs:45:23
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut overlapped: OVERLAPPED = mem::zeroed();
[INFO] [stdout]    |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventW` in this scope
[INFO] [stdout]   --> src/bus.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |         overlapped.hEvent = CreateEventW(ptr::null_mut(), 0, 0, ptr::null());
[INFO] [stdout]    |                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope
[INFO] [stdout]   --> src/bus.rs:48:3
[INFO] [stdout]    |
[INFO] [stdout] 48 |         DeviceIoControl(
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope
[INFO] [stdout]   --> src/bus.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let result = GetOverlappedResult(device, &mut overlapped, &mut transferred, 1);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/bus.rs:59:3
[INFO] [stdout]    |
[INFO] [stdout] 59 |         CloseHandle(overlapped.hEvent);
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/bus.rs:95:41
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]    |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/bus.rs:95:56
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]    |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stdout]   --> src/bus.rs:97:23
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let mut overlapped: OVERLAPPED = mem::zeroed();
[INFO] [stdout]    |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope
[INFO] [stdout]    --> src/bus.rs:100:3
[INFO] [stdout]     |
[INFO] [stdout] 100 |         DeviceIoControl(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope
[INFO] [stdout]    --> src/bus.rs:110:19
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let result = if GetOverlappedResult(device, &mut overlapped, &mut transferred, 1) != 0 { Ok(()) }
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/bus.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 |         else { Err(GetLastError()) };
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:131:41
[INFO] [stdout]     |
[INFO] [stdout] 131 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:131:56
[INFO] [stdout]     |
[INFO] [stdout] 131 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stdout]    --> src/bus.rs:133:23
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let mut overlapped: OVERLAPPED = mem::zeroed();
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope
[INFO] [stdout]    --> src/bus.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout] 136 |         DeviceIoControl(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope
[INFO] [stdout]    --> src/bus.rs:146:19
[INFO] [stdout]     |
[INFO] [stdout] 146 |         let result = if GetOverlappedResult(device, &mut overlapped, &mut transferred, 1) != 0 { Ok(()) }
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/bus.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |         else { Err(GetLastError()) };
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:166:41
[INFO] [stdout]     |
[INFO] [stdout] 166 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:166:56
[INFO] [stdout]     |
[INFO] [stdout] 166 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stdout]    --> src/bus.rs:168:23
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let mut overlapped: OVERLAPPED = mem::zeroed();
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope
[INFO] [stdout]    --> src/bus.rs:171:3
[INFO] [stdout]     |
[INFO] [stdout] 171 |         DeviceIoControl(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope
[INFO] [stdout]    --> src/bus.rs:181:19
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let result = if GetOverlappedResult(device, &mut overlapped, &mut transferred, 1) != 0 { Ok(()) }
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/bus.rs:182:14
[INFO] [stdout]     |
[INFO] [stdout] 182 |         else { Err(GetLastError()) };
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:203:41
[INFO] [stdout]     |
[INFO] [stdout] 203 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:203:56
[INFO] [stdout]     |
[INFO] [stdout] 203 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stdout]    --> src/bus.rs:205:23
[INFO] [stdout]     |
[INFO] [stdout] 205 |         let mut overlapped: OVERLAPPED = mem::zeroed();
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope
[INFO] [stdout]    --> src/bus.rs:208:3
[INFO] [stdout]     |
[INFO] [stdout] 208 |         DeviceIoControl(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope
[INFO] [stdout]    --> src/bus.rs:218:19
[INFO] [stdout]     |
[INFO] [stdout] 218 |         let result = if GetOverlappedResult(device, &mut overlapped, &mut transferred, 1) != 0 { Ok(()) }
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/bus.rs:219:14
[INFO] [stdout]     |
[INFO] [stdout] 219 |         else { Err(GetLastError()) };
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:279:41
[INFO] [stdout]     |
[INFO] [stdout] 279 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/bus.rs:279:56
[INFO] [stdout]     |
[INFO] [stdout] 279 |     pub unsafe fn ioctl(&mut self, device: HANDLE, event: HANDLE) -> Result<(), u32> {
[INFO] [stdout]     |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stdout]    --> src/bus.rs:281:23
[INFO] [stdout]     |
[INFO] [stdout] 281 |         let mut overlapped: OVERLAPPED = mem::zeroed();
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope
[INFO] [stdout]    --> src/bus.rs:284:3
[INFO] [stdout]     |
[INFO] [stdout] 284 |         DeviceIoControl(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope
[INFO] [stdout]    --> src/bus.rs:294:19
[INFO] [stdout]     |
[INFO] [stdout] 294 |         let result = if GetOverlappedResult(device, &mut overlapped, &mut transferred, 1) != 0 { Ok(()) }
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/bus.rs:295:14
[INFO] [stdout]     |
[INFO] [stdout] 295 |         else { Err(GetLastError()) };
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]  --> src/event.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub(crate) handle: HANDLE,
[INFO] [stdout]   |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventW` in this scope
[INFO] [stdout]   --> src/event.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |             let handle = CreateEventW(ptr::null_mut(), manual_reset as i32, initial_state as i32, ptr::null());
[INFO] [stdout]    |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/event.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |         unsafe { CloseHandle(self.handle) };
[INFO] [stdout]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 99 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/client.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub(crate) device: HANDLE,
[INFO] [stdout]    |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DATA` in this scope
[INFO] [stdout]   --> src/client.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 |             let mut device_interface_data: SP_DEVICE_INTERFACE_DATA = mem::zeroed();
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsW` in this scope
[INFO] [stdout]   --> src/client.rs:30:26
[INFO] [stdout]    |
[INFO] [stdout] 30 |             let device_info_set = SetupDiGetClassDevsW(
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIGCF_PRESENT` in this scope
[INFO] [stdout]   --> src/client.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 DIGCF_PRESENT | DIGCF_DEVICEINTERFACE);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIGCF_DEVICEINTERFACE` in this scope
[INFO] [stdout]   --> src/client.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 DIGCF_PRESENT | DIGCF_DEVICEINTERFACE);
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]   --> src/client.rs:36:26
[INFO] [stdout]    |
[INFO] [stdout] 36 |             if device_info_set == INVALID_HANDLE_VALUE {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/client.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 return Err(Error::WinError(GetLastError()));
[INFO] [stdout]    |                                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiEnumDeviceInterfaces` in this scope
[INFO] [stdout]   --> src/client.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |             while SetupDiEnumDeviceInterfaces(
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PSP_DEVICE_INTERFACE_DETAIL_DATA_W` in this scope
[INFO] [stdout]   --> src/client.rs:52:62
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let detail_data_ptr = detail_data_buffer.as_mut_ptr() as PSP_DEVICE_INTERFACE_DETAIL_DATA_W;
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DETAIL_DATA_W` in this scope
[INFO] [stdout]   --> src/client.rs:53:48
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Client {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<SP_DEVICE_INTERFACE_DETAIL_DATA_W>`
[INFO] [stdout] ...
[INFO] [stdout] 53 |                 (*detail_data_ptr).cbSize = mem::size_of::<SP_DEVICE_INTERFACE_DETAIL_DATA_W>() as u32;
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInterfaceDetailW` in this scope
[INFO] [stdout]   --> src/client.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 if SetupDiGetDeviceInterfaceDetailW(
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/client.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     error = Error::WinError(GetLastError());
[INFO] [stdout]    |                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileW` in this scope
[INFO] [stdout]   --> src/client.rs:71:18
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 let device = CreateFileW(
[INFO] [stdout]    |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope
[INFO] [stdout]   --> src/client.rs:73:6
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     GENERIC_READ | GENERIC_WRITE,
[INFO] [stdout]    |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope
[INFO] [stdout]   --> src/client.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     GENERIC_READ | GENERIC_WRITE,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope
[INFO] [stdout]   --> src/client.rs:74:6
[INFO] [stdout]    |
[INFO] [stdout] 74 |                     FILE_SHARE_READ | FILE_SHARE_WRITE,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope
[INFO] [stdout]   --> src/client.rs:74:24
[INFO] [stdout]    |
[INFO] [stdout] 74 |                     FILE_SHARE_READ | FILE_SHARE_WRITE,
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope
[INFO] [stdout]   --> src/client.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     OPEN_EXISTING,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in this scope
[INFO] [stdout]   --> src/client.rs:77:6
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     FILE_ATTRIBUTE_NORMAL | FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH | FILE_FLAG_OVERLAPPED,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_NO_BUFFERING` in this scope
[INFO] [stdout]   --> src/client.rs:77:30
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     FILE_ATTRIBUTE_NORMAL | FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH | FILE_FLAG_OVERLAPPED,
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_WRITE_THROUGH` in this scope
[INFO] [stdout]   --> src/client.rs:77:55
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     FILE_ATTRIBUTE_NORMAL | FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH | FILE_FLAG_OVERLAPPED,
[INFO] [stdout]    |                                                                      ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_OVERLAPPED` in this scope
[INFO] [stdout]   --> src/client.rs:77:81
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     FILE_ATTRIBUTE_NORMAL | FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH | FILE_FLAG_OVERLAPPED,
[INFO] [stdout]    |                                                                                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]   --> src/client.rs:80:18
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 if device == INVALID_HANDLE_VALUE {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/client.rs:81:37
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     error = Error::BusAccessFailed(GetLastError());
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiDestroyDeviceInfoList` in this scope
[INFO] [stdout]   --> src/client.rs:87:6
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     SetupDiDestroyDeviceInfoList(device_info_set);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/client.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 CloseHandle(device);
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiDestroyDeviceInfoList` in this scope
[INFO] [stdout]   --> src/client.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 |             SetupDiDestroyDeviceInfoList(device_info_set);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawHandle` in this scope
[INFO] [stdout]    --> src/client.rs:105:6
[INFO] [stdout]     |
[INFO] [stdout] 105 | impl AsRawHandle for Client {
[INFO] [stdout]     |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/client.rs:106:29
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn as_raw_handle(&self) -> HANDLE {
[INFO] [stdout]     |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/client.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 |             CloseHandle(self.device);
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:150:11
[INFO] [stdout]     |
[INFO] [stdout] 150 | impl From<XINPUT_GAMEPAD> for XGamepad {
[INFO] [stdout]     |     -     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: you might be missing a type parameter: `<XINPUT_GAMEPAD>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:152:19
[INFO] [stdout]     |
[INFO] [stdout] 152 |     fn from(gamepad: XINPUT_GAMEPAD) -> Self {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:156:25
[INFO] [stdout]     |
[INFO] [stdout] 156 | impl From<XGamepad> for XINPUT_GAMEPAD {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:158:31
[INFO] [stdout]     |
[INFO] [stdout] 158 |     fn from(report: XGamepad) -> XINPUT_GAMEPAD {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | impl AsRef<XINPUT_GAMEPAD> for XGamepad {
[INFO] [stdout]     |     -      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: you might be missing a type parameter: `<XINPUT_GAMEPAD>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:164:23
[INFO] [stdout]     |
[INFO] [stdout] 164 |     fn as_ref(&self) -> &XINPUT_GAMEPAD {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:168:12
[INFO] [stdout]     |
[INFO] [stdout] 168 | impl AsMut<XINPUT_GAMEPAD> for XGamepad {
[INFO] [stdout]     |     -      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: you might be missing a type parameter: `<XINPUT_GAMEPAD>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `XINPUT_GAMEPAD` in this scope
[INFO] [stdout]    --> src/x360.rs:170:31
[INFO] [stdout]     |
[INFO] [stdout] 170 |     fn as_mut(&mut self) -> &mut XINPUT_GAMEPAD {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vigem-client` due to 100 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 99 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "71783d348d00b06620248cfe3e4646f80562cfdddde0c87a1e75f61cd9b36880", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71783d348d00b06620248cfe3e4646f80562cfdddde0c87a1e75f61cd9b36880", kill_on_drop: false }`
[INFO] [stdout] 71783d348d00b06620248cfe3e4646f80562cfdddde0c87a1e75f61cd9b36880
