[INFO] crate vmulti-client 0.2.0 is already in cache [INFO] checking vmulti-client-0.2.0 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate vmulti-client 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate vmulti-client 0.2.0 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate vmulti-client 0.2.0 [INFO] finished tweaking crates.io crate vmulti-client 0.2.0 [INFO] tweaked toml for crates.io crate vmulti-client 0.2.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate vmulti-client 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8f04f2df8b0d126b8969097f435ef821426a01501cbf913c22e70e37d9e1354e [INFO] running `"docker" "start" "-a" "8f04f2df8b0d126b8969097f435ef821426a01501cbf913c22e70e37d9e1354e"` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking vmulti-client v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/device.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::guiddef::GUID; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/device.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::hidpi::{HidP_GetCaps, PHIDP_PREPARSED_DATA}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/device.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::hidpi::{HIDP_CAPS, HIDP_STATUS_SUCCESS}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/device.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::hidsdi::{HidD_GetAttributes, HidD_GetHidGuid}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/device.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::hidsdi::{HidD_GetPreparsedData, HIDD_ATTRIBUTES}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/device.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::minwindef::DWORD; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/device.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shared::ntdef::{HANDLE, PVOID, ULONG}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/device.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::cfgmgr32::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/device.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::um::fileapi::OPEN_EXISTING; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/device.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::um::fileapi::{CreateFileA, WriteFile}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/device.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/device.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | use winapi::um::winnt::FILE_SHARE_WRITE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/device.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | use winapi::um::winnt::GENERIC_WRITE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/display.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::minwindef::BOOL; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/display.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::minwindef::LPARAM; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/display.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::windef::HDC; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/display.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::windef::HMONITOR; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/display.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::windef::LPRECT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/display.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::windef::RECT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/display.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::winuser::MONITORINFO; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/display.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winuser::{EnumDisplayMonitors, GetMonitorInfoW}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/device.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::guiddef::GUID; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/device.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::hidpi::{HidP_GetCaps, PHIDP_PREPARSED_DATA}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/device.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::hidpi::{HIDP_CAPS, HIDP_STATUS_SUCCESS}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/device.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::hidsdi::{HidD_GetAttributes, HidD_GetHidGuid}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/device.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::hidsdi::{HidD_GetPreparsedData, HIDD_ATTRIBUTES}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/device.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::minwindef::DWORD; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/device.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shared::ntdef::{HANDLE, PVOID, ULONG}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/device.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::cfgmgr32::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/device.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::um::fileapi::OPEN_EXISTING; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/device.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::um::fileapi::{CreateFileA, WriteFile}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/device.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/device.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | use winapi::um::winnt::FILE_SHARE_WRITE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/device.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | use winapi::um::winnt::GENERIC_WRITE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/display.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::minwindef::BOOL; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/display.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::minwindef::LPARAM; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/display.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::windef::HDC; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/display.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::windef::HMONITOR; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/display.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::windef::LPRECT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/display.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::windef::RECT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/display.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::winuser::MONITORINFO; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/display.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winuser::{EnumDisplayMonitors, GetMonitorInfoW}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/keyboard.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::ctypes::c_void; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/mouse.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::ctypes::c_void; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/keyboard.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::ctypes::c_void; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/mouse.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::ctypes::c_void; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/device.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | handle: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/device.rs:44:44 [INFO] [stderr] | [INFO] [stderr] 44 | pub(crate) fn send_report(&self, data: PVOID) -> bool { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/device.rs:45:47 [INFO] [stderr] | [INFO] [stderr] 43 | impl Device { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 44 | pub(crate) fn send_report(&self, data: PVOID) -> bool { [INFO] [stderr] 45 | let mut bytes_written = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WriteFile` in this scope [INFO] [stderr] --> src/device.rs:48:20 [INFO] [stderr] | [INFO] [stderr] 48 | return WriteFile( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stderr] --> src/device.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | CloseHandle(self.handle); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GUID` in this scope [INFO] [stderr] --> src/device.rs:68:40 [INFO] [stderr] | [INFO] [stderr] 67 | pub(crate) fn find_device() -> Result { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 68 | let mut maybe_guid = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetHidGuid` in this scope [INFO] [stderr] --> src/device.rs:70:14 [INFO] [stderr] | [INFO] [stderr] 70 | unsafe { HidD_GetHidGuid(maybe_guid.as_mut_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GUID` in this scope [INFO] [stderr] --> src/device.rs:77:33 [INFO] [stderr] | [INFO] [stderr] 77 | unsafe fn find_handle(mut guid: GUID) -> Result { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/device.rs:77:49 [INFO] [stderr] | [INFO] [stderr] 77 | unsafe fn find_handle(mut guid: GUID) -> Result { [INFO] [stderr] | - ^^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/device.rs:78:64 [INFO] [stderr] | [INFO] [stderr] 77 | unsafe fn find_handle(mut guid: GUID) -> Result { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 78 | let mut maybe_device_interface_list_length = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Get_Device_Interface_List_SizeA` in this scope [INFO] [stderr] --> src/device.rs:80:38 [INFO] [stderr] | [INFO] [stderr] 80 | let interface_list_size_result = CM_Get_Device_Interface_List_SizeA( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CM_GET_DEVICE_INTERFACE_LIST_PRESENT` in this scope [INFO] [stderr] --> src/device.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | CM_GET_DEVICE_INTERFACE_LIST_PRESENT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CR_SUCCESS` in this scope [INFO] [stderr] --> src/device.rs:87:38 [INFO] [stderr] | [INFO] [stderr] 87 | if interface_list_size_result != CR_SUCCESS { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Get_Device_Interface_ListW` in this scope [INFO] [stderr] --> src/device.rs:100:33 [INFO] [stderr] | [INFO] [stderr] 100 | let interface_list_result = CM_Get_Device_Interface_ListW( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CM_GET_DEVICE_INTERFACE_LIST_PRESENT` in this scope [INFO] [stderr] --> src/device.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | CM_GET_DEVICE_INTERFACE_LIST_PRESENT as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CR_SUCCESS` in this scope [INFO] [stderr] --> src/device.rs:108:33 [INFO] [stderr] | [INFO] [stderr] 108 | if interface_list_result != CR_SUCCESS { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stderr] --> src/device.rs:120:22 [INFO] [stderr] | [INFO] [stderr] 120 | let handle = CreateFileA( [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stderr] --> src/device.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | GENERIC_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stderr] --> src/device.rs:123:13 [INFO] [stderr] | [INFO] [stderr] 123 | FILE_SHARE_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stderr] --> src/device.rs:125:13 [INFO] [stderr] | [INFO] [stderr] 125 | OPEN_EXISTING, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/device.rs:130:22 [INFO] [stderr] | [INFO] [stderr] 130 | if handle == INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stderr] --> src/device.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | CloseHandle(handle); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/device.rs:150:33 [INFO] [stderr] | [INFO] [stderr] 150 | unsafe fn is_our_device(handle: HANDLE) -> bool { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDD_ATTRIBUTES` in this scope [INFO] [stderr] --> src/device.rs:151:46 [INFO] [stderr] | [INFO] [stderr] 150 | unsafe fn is_our_device(handle: HANDLE) -> bool { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 151 | let mut maybe_attributes = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetAttributes` in this scope [INFO] [stderr] --> src/device.rs:153:8 [INFO] [stderr] | [INFO] [stderr] 153 | if HidD_GetAttributes(handle, maybe_attributes.as_mut_ptr()) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHIDP_PREPARSED_DATA` in this scope [INFO] [stderr] --> src/device.rs:171:39 [INFO] [stderr] | [INFO] [stderr] 150 | unsafe fn is_our_device(handle: HANDLE) -> bool { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 171 | let mut maybe_ppd = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetPreparsedData` in this scope [INFO] [stderr] --> src/device.rs:173:8 [INFO] [stderr] | [INFO] [stderr] 173 | if HidD_GetPreparsedData(handle, maybe_ppd.as_mut_ptr()) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_CAPS` in this scope [INFO] [stderr] --> src/device.rs:177:40 [INFO] [stderr] | [INFO] [stderr] 150 | unsafe fn is_our_device(handle: HANDLE) -> bool { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 177 | let mut maybe_caps = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_GetCaps` in this scope [INFO] [stderr] --> src/device.rs:179:27 [INFO] [stderr] | [INFO] [stderr] 179 | let get_caps_result = HidP_GetCaps(maybe_ppd.assume_init(), maybe_caps.as_mut_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HIDP_STATUS_SUCCESS` in this scope [INFO] [stderr] --> src/device.rs:181:27 [INFO] [stderr] | [INFO] [stderr] 181 | if get_caps_result != HIDP_STATUS_SUCCESS { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope [INFO] [stderr] --> src/display.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | EnumDisplayMonitors( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/display.rs:44:14 [INFO] [stderr] | [INFO] [stderr] 44 | monitor: HMONITOR, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/display.rs:45:11 [INFO] [stderr] | [INFO] [stderr] 45 | _hdc: HDC, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stderr] --> src/display.rs:46:15 [INFO] [stderr] | [INFO] [stderr] 46 | rect_ptr: LPRECT, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/display.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | dw_data: LPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/display.rs:48:6 [INFO] [stderr] | [INFO] [stderr] 48 | ) -> BOOL { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MONITORINFO` in this scope [INFO] [stderr] --> src/display.rs:52:28 [INFO] [stderr] | [INFO] [stderr] 52 | let mut monitor_info = MONITORINFO { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/display.rs:54:20 [INFO] [stderr] | [INFO] [stderr] 54 | rcMonitor: RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/display.rs:60:17 [INFO] [stderr] | [INFO] [stderr] 60 | rcWork: RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MONITORINFO` in this scope [INFO] [stderr] --> src/display.rs:69:37 [INFO] [stderr] | [INFO] [stderr] 43 | unsafe extern "system" fn display_info_callback( [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 69 | monitor_info.cbSize = size_of::() as u32; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stderr] --> src/display.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | GetMonitorInfoW(monitor, &mut monitor_info); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/device.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | handle: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/device.rs:44:44 [INFO] [stderr] | [INFO] [stderr] 44 | pub(crate) fn send_report(&self, data: PVOID) -> bool { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/device.rs:45:47 [INFO] [stderr] | [INFO] [stderr] 43 | impl Device { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 44 | pub(crate) fn send_report(&self, data: PVOID) -> bool { [INFO] [stderr] 45 | let mut bytes_written = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WriteFile` in this scope [INFO] [stderr] --> src/device.rs:48:20 [INFO] [stderr] | [INFO] [stderr] 48 | return WriteFile( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stderr] --> src/device.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | CloseHandle(self.handle); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GUID` in this scope [INFO] [stderr] --> src/device.rs:68:40 [INFO] [stderr] | [INFO] [stderr] 67 | pub(crate) fn find_device() -> Result { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 68 | let mut maybe_guid = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetHidGuid` in this scope [INFO] [stderr] --> src/device.rs:70:14 [INFO] [stderr] | [INFO] [stderr] 70 | unsafe { HidD_GetHidGuid(maybe_guid.as_mut_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GUID` in this scope [INFO] [stderr] --> src/device.rs:77:33 [INFO] [stderr] | [INFO] [stderr] 77 | unsafe fn find_handle(mut guid: GUID) -> Result { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/device.rs:77:49 [INFO] [stderr] | [INFO] [stderr] 77 | unsafe fn find_handle(mut guid: GUID) -> Result { [INFO] [stderr] | - ^^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/device.rs:78:64 [INFO] [stderr] | [INFO] [stderr] 77 | unsafe fn find_handle(mut guid: GUID) -> Result { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 78 | let mut maybe_device_interface_list_length = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Get_Device_Interface_List_SizeA` in this scope [INFO] [stderr] --> src/device.rs:80:38 [INFO] [stderr] | [INFO] [stderr] 80 | let interface_list_size_result = CM_Get_Device_Interface_List_SizeA( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CM_GET_DEVICE_INTERFACE_LIST_PRESENT` in this scope [INFO] [stderr] --> src/device.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | CM_GET_DEVICE_INTERFACE_LIST_PRESENT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CR_SUCCESS` in this scope [INFO] [stderr] --> src/device.rs:87:38 [INFO] [stderr] | [INFO] [stderr] 87 | if interface_list_size_result != CR_SUCCESS { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Get_Device_Interface_ListW` in this scope [INFO] [stderr] --> src/device.rs:100:33 [INFO] [stderr] | [INFO] [stderr] 100 | let interface_list_result = CM_Get_Device_Interface_ListW( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CM_GET_DEVICE_INTERFACE_LIST_PRESENT` in this scope [INFO] [stderr] --> src/device.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | CM_GET_DEVICE_INTERFACE_LIST_PRESENT as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CR_SUCCESS` in this scope [INFO] [stderr] --> src/device.rs:108:33 [INFO] [stderr] | [INFO] [stderr] 108 | if interface_list_result != CR_SUCCESS { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stderr] --> src/device.rs:120:22 [INFO] [stderr] | [INFO] [stderr] 120 | let handle = CreateFileA( [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stderr] --> src/device.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | GENERIC_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stderr] --> src/device.rs:123:13 [INFO] [stderr] | [INFO] [stderr] 123 | FILE_SHARE_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stderr] --> src/device.rs:125:13 [INFO] [stderr] | [INFO] [stderr] 125 | OPEN_EXISTING, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/device.rs:130:22 [INFO] [stderr] | [INFO] [stderr] 130 | if handle == INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stderr] --> src/device.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | CloseHandle(handle); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/device.rs:150:33 [INFO] [stderr] | [INFO] [stderr] 150 | unsafe fn is_our_device(handle: HANDLE) -> bool { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDD_ATTRIBUTES` in this scope [INFO] [stderr] --> src/device.rs:151:46 [INFO] [stderr] | [INFO] [stderr] 150 | unsafe fn is_our_device(handle: HANDLE) -> bool { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 151 | let mut maybe_attributes = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetAttributes` in this scope [INFO] [stderr] --> src/device.rs:153:8 [INFO] [stderr] | [INFO] [stderr] 153 | if HidD_GetAttributes(handle, maybe_attributes.as_mut_ptr()) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHIDP_PREPARSED_DATA` in this scope [INFO] [stderr] --> src/device.rs:171:39 [INFO] [stderr] | [INFO] [stderr] 150 | unsafe fn is_our_device(handle: HANDLE) -> bool { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 171 | let mut maybe_ppd = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetPreparsedData` in this scope [INFO] [stderr] --> src/device.rs:173:8 [INFO] [stderr] | [INFO] [stderr] 173 | if HidD_GetPreparsedData(handle, maybe_ppd.as_mut_ptr()) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_CAPS` in this scope [INFO] [stderr] --> src/device.rs:177:40 [INFO] [stderr] | [INFO] [stderr] 150 | unsafe fn is_our_device(handle: HANDLE) -> bool { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 177 | let mut maybe_caps = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_GetCaps` in this scope [INFO] [stderr] --> src/device.rs:179:27 [INFO] [stderr] | [INFO] [stderr] 179 | let get_caps_result = HidP_GetCaps(maybe_ppd.assume_init(), maybe_caps.as_mut_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HIDP_STATUS_SUCCESS` in this scope [INFO] [stderr] --> src/device.rs:181:27 [INFO] [stderr] | [INFO] [stderr] 181 | if get_caps_result != HIDP_STATUS_SUCCESS { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope [INFO] [stderr] --> src/display.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | EnumDisplayMonitors( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/display.rs:44:14 [INFO] [stderr] | [INFO] [stderr] 44 | monitor: HMONITOR, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/display.rs:45:11 [INFO] [stderr] | [INFO] [stderr] 45 | _hdc: HDC, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stderr] --> src/display.rs:46:15 [INFO] [stderr] | [INFO] [stderr] 46 | rect_ptr: LPRECT, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/display.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | dw_data: LPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/display.rs:48:6 [INFO] [stderr] | [INFO] [stderr] 48 | ) -> BOOL { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MONITORINFO` in this scope [INFO] [stderr] --> src/display.rs:52:28 [INFO] [stderr] | [INFO] [stderr] 52 | let mut monitor_info = MONITORINFO { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/display.rs:54:20 [INFO] [stderr] | [INFO] [stderr] 54 | rcMonitor: RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/display.rs:60:17 [INFO] [stderr] | [INFO] [stderr] 60 | rcWork: RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MONITORINFO` in this scope [INFO] [stderr] --> src/display.rs:69:37 [INFO] [stderr] | [INFO] [stderr] 43 | unsafe extern "system" fn display_info_callback( [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 69 | monitor_info.cbSize = size_of::() as u32; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stderr] --> src/display.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | GetMonitorInfoW(monitor, &mut monitor_info); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u16` is invalid [INFO] [stderr] --> src/mouse.rs:132:17 [INFO] [stderr] | [INFO] [stderr] 132 | let x = ((click.x as u32 + offset_x) as f64 * self.mouse_x_coord_per_pixel) as u16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u16` is invalid [INFO] [stderr] --> src/mouse.rs:133:17 [INFO] [stderr] | [INFO] [stderr] 133 | let y = ((click.y as u32 + offset_y) as f64 * self.mouse_y_coord_per_pixel) as u16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u16` is invalid [INFO] [stderr] --> src/mouse.rs:132:17 [INFO] [stderr] | [INFO] [stderr] 132 | let x = ((click.x as u32 + offset_x) as f64 * self.mouse_x_coord_per_pixel) as u16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u16` is invalid [INFO] [stderr] --> src/mouse.rs:133:17 [INFO] [stderr] | [INFO] [stderr] 133 | let y = ((click.y as u32 + offset_y) as f64 * self.mouse_y_coord_per_pixel) as u16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 66 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: aborting due to 66 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `vmulti-client`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `vmulti-client`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8f04f2df8b0d126b8969097f435ef821426a01501cbf913c22e70e37d9e1354e"` [INFO] running `"docker" "rm" "-f" "8f04f2df8b0d126b8969097f435ef821426a01501cbf913c22e70e37d9e1354e"` [INFO] [stdout] 8f04f2df8b0d126b8969097f435ef821426a01501cbf913c22e70e37d9e1354e