[INFO] fetching crate vigem-client 0.1.0... [INFO] checking vigem-client-0.1.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate vigem-client 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate vigem-client 0.1.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vigem-client 0.1.0 [INFO] finished tweaking crates.io crate vigem-client 0.1.0 [INFO] tweaked toml for crates.io crate vigem-client 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate vigem-client 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 11ae4c930a0d51de69693a72d785c84e17b1e7ac3877debe4416b4ea3ce6c88c [INFO] running `Command { std: "docker" "start" "-a" "11ae4c930a0d51de69693a72d785c84e17b1e7ac3877debe4416b4ea3ce6c88c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11ae4c930a0d51de69693a72d785c84e17b1e7ac3877debe4416b4ea3ce6c88c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ae4c930a0d51de69693a72d785c84e17b1e7ac3877debe4416b4ea3ce6c88c", kill_on_drop: false }` [INFO] [stdout] 11ae4c930a0d51de69693a72d785c84e17b1e7ac3877debe4416b4ea3ce6c88c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6723eff2daf31b336ce6658a6eca0b353ea42b424587e31390ba814461fdc598 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6723eff2daf31b336ce6658a6eca0b353ea42b424587e31390ba814461fdc598", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking vigem-client v0.1.0 (/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 `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 `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) -> 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 `CreateEventW` in this scope [INFO] [stdout] --> src/bus.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | 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: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[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/bus.rs:113:3 [INFO] [stdout] | [INFO] [stdout] 113 | 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:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | pub unsafe fn ioctl(&mut self, device: 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:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | 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:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | 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:137:3 [INFO] [stdout] | [INFO] [stdout] 137 | 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:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | 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:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | else { Err(GetLastError()) }; [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:149:3 [INFO] [stdout] | [INFO] [stdout] 149 | 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:168:41 [INFO] [stdout] | [INFO] [stdout] 168 | pub unsafe fn ioctl(&mut self, device: 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:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | 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:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | 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:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | 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:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | 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:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | else { Err(GetLastError()) }; [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:185:3 [INFO] [stdout] | [INFO] [stdout] 185 | 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:206:41 [INFO] [stdout] | [INFO] [stdout] 206 | pub unsafe fn ioctl(&mut self, device: 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:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | 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:209:23 [INFO] [stdout] | [INFO] [stdout] 209 | 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:211:3 [INFO] [stdout] | [INFO] [stdout] 211 | 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:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | 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:222:14 [INFO] [stdout] | [INFO] [stdout] 222 | else { Err(GetLastError()) }; [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:223:3 [INFO] [stdout] | [INFO] [stdout] 223 | 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:284:41 [INFO] [stdout] | [INFO] [stdout] 284 | pub unsafe fn ioctl(&mut self, device: 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:286:23 [INFO] [stdout] | [INFO] [stdout] 286 | 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:287:23 [INFO] [stdout] | [INFO] [stdout] 287 | 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:289:3 [INFO] [stdout] | [INFO] [stdout] 289 | 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:299:19 [INFO] [stdout] | [INFO] [stdout] 299 | 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:300:14 [INFO] [stdout] | [INFO] [stdout] 300 | else { Err(GetLastError()) }; [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:301:3 [INFO] [stdout] | [INFO] [stdout] 301 | 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/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: `` [INFO] [stdout] ... [INFO] [stdout] 53 | (*detail_data_ptr).cbSize = mem::size_of::() 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 for XGamepad { [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [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 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 for XGamepad { [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [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 for XGamepad { [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [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: aborting due to 98 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: could not compile `vigem-client` due to 99 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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) -> 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 `CreateEventW` in this scope [INFO] [stdout] --> src/bus.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | 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: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[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/bus.rs:113:3 [INFO] [stdout] | [INFO] [stdout] 113 | 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:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | pub unsafe fn ioctl(&mut self, device: 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:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | 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:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | 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:137:3 [INFO] [stdout] | [INFO] [stdout] 137 | 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:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | 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:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | else { Err(GetLastError()) }; [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:149:3 [INFO] [stdout] | [INFO] [stdout] 149 | 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:168:41 [INFO] [stdout] | [INFO] [stdout] 168 | pub unsafe fn ioctl(&mut self, device: 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:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | 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:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | 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:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | 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:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | 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:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | else { Err(GetLastError()) }; [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:185:3 [INFO] [stdout] | [INFO] [stdout] 185 | 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:206:41 [INFO] [stdout] | [INFO] [stdout] 206 | pub unsafe fn ioctl(&mut self, device: 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:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | 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:209:23 [INFO] [stdout] | [INFO] [stdout] 209 | 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:211:3 [INFO] [stdout] | [INFO] [stdout] 211 | 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:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | 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:222:14 [INFO] [stdout] | [INFO] [stdout] 222 | else { Err(GetLastError()) }; [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:223:3 [INFO] [stdout] | [INFO] [stdout] 223 | 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:284:41 [INFO] [stdout] | [INFO] [stdout] 284 | pub unsafe fn ioctl(&mut self, device: 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:286:23 [INFO] [stdout] | [INFO] [stdout] 286 | 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:287:23 [INFO] [stdout] | [INFO] [stdout] 287 | 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:289:3 [INFO] [stdout] | [INFO] [stdout] 289 | 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:299:19 [INFO] [stdout] | [INFO] [stdout] 299 | 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:300:14 [INFO] [stdout] | [INFO] [stdout] 300 | else { Err(GetLastError()) }; [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:301:3 [INFO] [stdout] | [INFO] [stdout] 301 | 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/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: `` [INFO] [stdout] ... [INFO] [stdout] 53 | (*detail_data_ptr).cbSize = mem::size_of::() 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] [stderr] error: build failed [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 for XGamepad { [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [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 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 for XGamepad { [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [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 for XGamepad { [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [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: aborting due to 98 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] running `Command { std: "docker" "inspect" "6723eff2daf31b336ce6658a6eca0b353ea42b424587e31390ba814461fdc598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6723eff2daf31b336ce6658a6eca0b353ea42b424587e31390ba814461fdc598", kill_on_drop: false }` [INFO] [stdout] 6723eff2daf31b336ce6658a6eca0b353ea42b424587e31390ba814461fdc598