[INFO] crate multi-input 0.0.1 is already in cache [INFO] extracting crate multi-input 0.0.1 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/multi-input/0.0.1 [INFO] extracting crate multi-input 0.0.1 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/multi-input/0.0.1 [INFO] validating manifest of multi-input-0.0.1 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of multi-input-0.0.1 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing multi-input-0.0.1 [INFO] finished frobbing multi-input-0.0.1 [INFO] frobbed toml for multi-input-0.0.1 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/multi-input/0.0.1/Cargo.toml [INFO] started frobbing multi-input-0.0.1 [INFO] finished frobbing multi-input-0.0.1 [INFO] frobbed toml for multi-input-0.0.1 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/multi-input/0.0.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking multi-input-0.0.1 against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-2/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/multi-input/0.0.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d944862a31bc67d53ac9be7ba09d9c515cdfaf56a9043c7604cb1f2783d89228 [INFO] running `"docker" "start" "-a" "d944862a31bc67d53ac9be7ba09d9c515cdfaf56a9043c7604cb1f2783d89228"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling hid-sys v0.2.0 [INFO] [stderr] Compiling user32-sys v0.1.3 [INFO] [stderr] Checking multi-input v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/rawinput.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/rawinput.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/manager.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/rawinput.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/rawinput.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/manager.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWMOUSE` in this scope [INFO] [stderr] --> src/mouse.rs:18:38 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn process_mouse_data(raw_data: &RAWMOUSE, id: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_MOUSE_LEFT_BUTTON_DOWN` in this scope [INFO] [stderr] --> src/mouse.rs:22:18 [INFO] [stderr] | [INFO] [stderr] 22 | if buttons & RI_MOUSE_LEFT_BUTTON_DOWN != 0{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_MOUSE_LEFT_BUTTON_UP` in this scope [INFO] [stderr] --> src/mouse.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | if buttons & RI_MOUSE_LEFT_BUTTON_UP != 0{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_MOUSE_RIGHT_BUTTON_DOWN` in this scope [INFO] [stderr] --> src/mouse.rs:28:18 [INFO] [stderr] | [INFO] [stderr] 28 | if buttons & RI_MOUSE_RIGHT_BUTTON_DOWN != 0{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_MOUSE_RIGHT_BUTTON_UP` in this scope [INFO] [stderr] --> src/mouse.rs:31:18 [INFO] [stderr] | [INFO] [stderr] 31 | if buttons & RI_MOUSE_RIGHT_BUTTON_UP != 0{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_MOUSE_MIDDLE_BUTTON_DOWN` in this scope [INFO] [stderr] --> src/mouse.rs:34:18 [INFO] [stderr] | [INFO] [stderr] 34 | if buttons & RI_MOUSE_MIDDLE_BUTTON_DOWN != 0{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_MOUSE_MIDDLE_BUTTON_UP` in this scope [INFO] [stderr] --> src/mouse.rs:37:18 [INFO] [stderr] | [INFO] [stderr] 37 | if buttons & RI_MOUSE_MIDDLE_BUTTON_UP != 0{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_MOUSE_WHEEL` in this scope [INFO] [stderr] --> src/mouse.rs:52:18 [INFO] [stderr] | [INFO] [stderr] 52 | if buttons & RI_MOUSE_WHEEL != 0{ [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWHID` in this scope [INFO] [stderr] --> src/joystick.rs:15:41 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn process_joystick_data(raw_data: &RAWHID, id: usize, hid_info: &mut JoystickInfo [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/joystick.rs:20:32 [INFO] [stderr] | [INFO] [stderr] 20 | let number_of_buttons: ULONG = [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/joystick.rs:21:82 [INFO] [stderr] | [INFO] [stderr] 21 | (button_caps.Range().UsageMax - button_caps.Range().UsageMin + 1) as ULONG; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `USAGE` in this scope [INFO] [stderr] --> src/joystick.rs:22:28 [INFO] [stderr] | [INFO] [stderr] 22 | let mut usage: Vec = garbage_vec(number_of_buttons as usize); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/joystick.rs:23:36 [INFO] [stderr] | [INFO] [stderr] 23 | let mut number_of_presses: ULONG = number_of_buttons; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HidP_GetUsages` in this scope [INFO] [stderr] --> src/joystick.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | HidP_GetUsages(HidP_Input, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope [INFO] [stderr] --> src/joystick.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | HidP_GetUsages(HidP_Input, [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/joystick.rs:31:68 [INFO] [stderr] | [INFO] [stderr] 31 | hid_info.preparsed_data.as_mut_ptr() as PHIDP_PREPARSED_DATA, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PCHAR` in this scope [INFO] [stderr] --> src/joystick.rs:32:29 [INFO] [stderr] | [INFO] [stderr] 32 | transmute::<_, PCHAR>(raw_data.bRawData.as_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/joystick.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | ) == HIDP_STATUS_SUCCESS [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/joystick.rs:48:24 [INFO] [stderr] | [INFO] [stderr] 48 | let mut value: ULONG = mem::uninitialized(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HidP_GetUsageValue` in this scope [INFO] [stderr] --> src/joystick.rs:56:17 [INFO] [stderr] | [INFO] [stderr] 56 | HidP_GetUsageValue( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope [INFO] [stderr] --> src/joystick.rs:57:21 [INFO] [stderr] | [INFO] [stderr] 57 | HidP_Input, [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/joystick.rs:62:61 [INFO] [stderr] | [INFO] [stderr] 62 | hid_info.preparsed_data.as_mut_ptr() as PHIDP_PREPARSED_DATA, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PCHAR` in this scope [INFO] [stderr] --> src/joystick.rs:63:22 [INFO] [stderr] | [INFO] [stderr] 63 | transmute::<_, PCHAR>(raw_data.bRawData.as_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/joystick.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | ) == HIDP_STATUS_SUCCESS [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/joystick.rs:101:44 [INFO] [stderr] | [INFO] [stderr] 101 | hatswitch = match value as LONG - value_caps.LogicalMin { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stderr] --> src/rawinput.rs:22:41 [INFO] [stderr] | [INFO] [stderr] 22 | let dw_size = (*(*array_ptr as *mut RAWINPUT)).header.dwSize; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:35:30 [INFO] [stderr] | [INFO] [stderr] 35 | let mut buffer_size: UINT = 0; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputBuffer` in this scope [INFO] [stderr] --> src/rawinput.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | GetRawInputBuffer( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope [INFO] [stderr] --> src/rawinput.rs:40:32 [INFO] [stderr] | [INFO] [stderr] 40 | mem::size_of::() as UINT, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:40:53 [INFO] [stderr] | [INFO] [stderr] 40 | mem::size_of::() as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT` in this scope [INFO] [stderr] --> src/rawinput.rs:41:22 [INFO] [stderr] | [INFO] [stderr] 41 | ) as INT; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT` in this scope [INFO] [stderr] --> src/rawinput.rs:43:32 [INFO] [stderr] | [INFO] [stderr] 43 | if numberofelements as INT == -1 { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputBuffer` in this scope [INFO] [stderr] --> src/rawinput.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | GetRawInputBuffer( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PRAWINPUT` in this scope [INFO] [stderr] --> src/rawinput.rs:49:45 [INFO] [stderr] | [INFO] [stderr] 49 | array_alloc.as_mut_ptr() as PRAWINPUT, &mut buffer_size, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope [INFO] [stderr] --> src/rawinput.rs:50:32 [INFO] [stderr] | [INFO] [stderr] 50 | mem::size_of::() as UINT, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:50:53 [INFO] [stderr] | [INFO] [stderr] 50 | mem::size_of::() as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT` in this scope [INFO] [stderr] --> src/rawinput.rs:51:22 [INFO] [stderr] | [INFO] [stderr] 51 | ) as INT; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT` in this scope [INFO] [stderr] --> src/rawinput.rs:53:32 [INFO] [stderr] | [INFO] [stderr] 53 | if numberofelements as INT == -1{ [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stderr] --> src/rawinput.rs:61:47 [INFO] [stderr] | [INFO] [stderr] 61 | let header = (*(array_ptr as *mut RAWINPUT)).header; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stderr] --> src/rawinput.rs:62:49 [INFO] [stderr] | [INFO] [stderr] 62 | let raw_input = *(array_ptr as *mut RAWINPUT); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:106:30 [INFO] [stderr] | [INFO] [stderr] 106 | let mut num_devices: UINT = 0; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope [INFO] [stderr] --> src/rawinput.rs:107:48 [INFO] [stderr] | [INFO] [stderr] 107 | let device_list_size = mem::size_of::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputDeviceList` in this scope [INFO] [stderr] --> src/rawinput.rs:108:26 [INFO] [stderr] | [INFO] [stderr] 108 | let mut result = GetRawInputDeviceList(ptr::null_mut(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:110:68 [INFO] [stderr] | [INFO] [stderr] 110 | device_list_size as UINT); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:111:31 [INFO] [stderr] | [INFO] [stderr] 111 | if result == -1i32 as UINT{ [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputDeviceList` in this scope [INFO] [stderr] --> src/rawinput.rs:114:18 [INFO] [stderr] | [INFO] [stderr] 114 | result = GetRawInputDeviceList(buffer.as_mut_ptr() as *mut RAWINPUTDEVICELIST, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope [INFO] [stderr] --> src/rawinput.rs:114:68 [INFO] [stderr] | [INFO] [stderr] 114 | result = GetRawInputDeviceList(buffer.as_mut_ptr() as *mut RAWINPUTDEVICELIST, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope [INFO] [stderr] --> src/rawinput.rs:116:55 [INFO] [stderr] | [INFO] [stderr] 116 | mem::size_of::() as UINT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:116:80 [INFO] [stderr] | [INFO] [stderr] 116 | mem::size_of::() as UINT); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:117:31 [INFO] [stderr] | [INFO] [stderr] 117 | if result == -1i32 as UINT{ [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope [INFO] [stderr] --> src/rawinput.rs:124:43 [INFO] [stderr] | [INFO] [stderr] 124 | ).as_mut_ptr() as *const RAWINPUTDEVICELIST; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/rawinput.rs:179:49 [INFO] [stderr] | [INFO] [stderr] 179 | pub unsafe fn raw_handle_to_name(device_handle: HANDLE) -> String { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:181:31 [INFO] [stderr] | [INFO] [stderr] 181 | let mut name_buffer_size: UINT = 1024; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputDeviceInfoW` in this scope [INFO] [stderr] --> src/rawinput.rs:182:20 [INFO] [stderr] | [INFO] [stderr] 182 | let result_2 = GetRawInputDeviceInfoW(device_handle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RIDI_DEVICENAME` in this scope [INFO] [stderr] --> src/rawinput.rs:183:43 [INFO] [stderr] | [INFO] [stderr] 183 | RIDI_DEVICENAME, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/rawinput.rs:184:71 [INFO] [stderr] | [INFO] [stderr] 184 | name_buffer.as_mut_ptr() as LPVOID, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:186:29 [INFO] [stderr] | [INFO] [stderr] 186 | if result_2 == -1i32 as UINT{ [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/rawinput.rs:196:55 [INFO] [stderr] | [INFO] [stderr] 196 | pub unsafe fn raw_name_to_hid(name: String) -> Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateFileW` in this scope [INFO] [stderr] --> src/rawinput.rs:200:22 [INFO] [stderr] | [INFO] [stderr] 200 | let hid_handle = CreateFileW(classname.as_mut_ptr(), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stderr] --> src/rawinput.rs:202:34 [INFO] [stderr] | [INFO] [stderr] 202 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stderr] --> src/rawinput.rs:202:52 [INFO] [stderr] | [INFO] [stderr] 202 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stderr] --> src/rawinput.rs:204:34 [INFO] [stderr] | [INFO] [stderr] 204 | 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/rawinput.rs:207:22 [INFO] [stderr] | [INFO] [stderr] 207 | if hid_handle != INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/rawinput.rs:215:39 [INFO] [stderr] | [INFO] [stderr] 215 | pub unsafe fn get_device_info(handle: HANDLE, name: String, serial: Option [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stderr] --> src/rawinput.rs:217:27 [INFO] [stderr] | [INFO] [stderr] 217 | let mut data_buffer: [RID_DEVICE_INFO; 1] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stderr] --> src/rawinput.rs:218:47 [INFO] [stderr] | [INFO] [stderr] 218 | let mut data_buffer_size = mem::size_of::() as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputDeviceInfoW` in this scope [INFO] [stderr] --> src/rawinput.rs:220:18 [INFO] [stderr] | [INFO] [stderr] 220 | let result = GetRawInputDeviceInfoW(handle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RIDI_DEVICEINFO` in this scope [INFO] [stderr] --> src/rawinput.rs:221:40 [INFO] [stderr] | [INFO] [stderr] 221 | RIDI_DEVICEINFO, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/rawinput.rs:222:68 [INFO] [stderr] | [INFO] [stderr] 222 | data_buffer.as_mut_ptr() as LPVOID, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT` in this scope [INFO] [stderr] --> src/rawinput.rs:224:23 [INFO] [stderr] | [INFO] [stderr] 224 | assert!(result as INT != -1); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:246:42 [INFO] [stderr] | [INFO] [stderr] 246 | let mut preparsed_data_size: UINT = 1024; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputDeviceInfoW` in this scope [INFO] [stderr] --> src/rawinput.rs:247:21 [INFO] [stderr] | [INFO] [stderr] 247 | assert!(GetRawInputDeviceInfoW(handle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RIDI_PREPARSEDDATA` in this scope [INFO] [stderr] --> src/rawinput.rs:248:44 [INFO] [stderr] | [INFO] [stderr] 248 | RIDI_PREPARSEDDATA, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputDeviceInfoW` in this scope [INFO] [stderr] --> src/rawinput.rs:253:17 [INFO] [stderr] | [INFO] [stderr] 253 | GetRawInputDeviceInfoW(handle, RIDI_PREPARSEDDATA, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RIDI_PREPARSEDDATA` in this scope [INFO] [stderr] --> src/rawinput.rs:253:48 [INFO] [stderr] | [INFO] [stderr] 253 | GetRawInputDeviceInfoW(handle, RIDI_PREPARSEDDATA, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/rawinput.rs:255:43 [INFO] [stderr] | [INFO] [stderr] 255 | as LPVOID, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_CAPS` in this scope [INFO] [stderr] --> src/rawinput.rs:257:27 [INFO] [stderr] | [INFO] [stderr] 257 | let mut caps: HIDP_CAPS = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HidP_GetCaps` in this scope [INFO] [stderr] --> src/rawinput.rs:258:21 [INFO] [stderr] | [INFO] [stderr] 258 | assert!(HidP_GetCaps(preparsed_data.as_mut_ptr() as PHIDP_PREPARSED_DATA, [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/rawinput.rs:258:65 [INFO] [stderr] | [INFO] [stderr] 258 | assert!(HidP_GetCaps(preparsed_data.as_mut_ptr() as PHIDP_PREPARSED_DATA, [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/rawinput.rs:260:24 [INFO] [stderr] | [INFO] [stderr] 260 | == HIDP_STATUS_SUCCESS ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_BUTTON_CAPS` in this scope [INFO] [stderr] --> src/rawinput.rs:263:40 [INFO] [stderr] | [INFO] [stderr] 263 | let mut p_button_caps: Vec = [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HidP_GetButtonCaps` in this scope [INFO] [stderr] --> src/rawinput.rs:267:17 [INFO] [stderr] | [INFO] [stderr] 267 | HidP_GetButtonCaps(HidP_Input, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope [INFO] [stderr] --> src/rawinput.rs:267:36 [INFO] [stderr] | [INFO] [stderr] 267 | HidP_GetButtonCaps(HidP_Input, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHIDP_BUTTON_CAPS` in this scope [INFO] [stderr] --> src/rawinput.rs:268:66 [INFO] [stderr] | [INFO] [stderr] 268 | p_button_caps.as_mut_ptr() as PHIDP_BUTTON_CAPS, [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/rawinput.rs:270:67 [INFO] [stderr] | [INFO] [stderr] 270 | preparsed_data.as_mut_ptr() as PHIDP_PREPARSED_DATA) [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/rawinput.rs:271:24 [INFO] [stderr] | [INFO] [stderr] 271 | == HIDP_STATUS_SUCCESS); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope [INFO] [stderr] --> src/rawinput.rs:274:39 [INFO] [stderr] | [INFO] [stderr] 274 | let mut p_value_caps: Vec = [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HidP_GetValueCaps` in this scope [INFO] [stderr] --> src/rawinput.rs:278:17 [INFO] [stderr] | [INFO] [stderr] 278 | HidP_GetValueCaps(HidP_Input, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope [INFO] [stderr] --> src/rawinput.rs:278:35 [INFO] [stderr] | [INFO] [stderr] 278 | HidP_GetValueCaps(HidP_Input, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHIDP_VALUE_CAPS` in this scope [INFO] [stderr] --> src/rawinput.rs:279:64 [INFO] [stderr] | [INFO] [stderr] 279 | p_value_caps.as_mut_ptr() as PHIDP_VALUE_CAPS, [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/rawinput.rs:281:66 [INFO] [stderr] | [INFO] [stderr] 281 | preparsed_data.as_mut_ptr() as PHIDP_PREPARSED_DATA) [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/rawinput.rs:282:24 [INFO] [stderr] | [INFO] [stderr] 282 | == HIDP_STATUS_SUCCESS); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/rawinput.rs:300:41 [INFO] [stderr] | [INFO] [stderr] 300 | pub unsafe fn get_serial_number(handle: HANDLE) -> Option { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HidD_GetSerialNumberString` in this scope [INFO] [stderr] --> src/rawinput.rs:303:18 [INFO] [stderr] | [INFO] [stderr] 303 | let result = HidD_GetSerialNumberString( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/rawinput.rs:304:47 [INFO] [stderr] | [INFO] [stderr] 304 | handle, string_buffer.as_mut_ptr() as PVOID, string_buffer_size); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWKEYBOARD` in this scope [INFO] [stderr] --> src/keyboard.rs:10:41 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn process_keyboard_data(raw_data: &RAWKEYBOARD, id: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_KEY_BREAK` in this scope [INFO] [stderr] --> src/keyboard.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | if flags & RI_KEY_BREAK != 0 { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_KEY_E0` in this scope [INFO] [stderr] --> src/keyboard.rs:23:16 [INFO] [stderr] | [INFO] [stderr] 23 | if flags & RI_KEY_E0 == 0 { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_SHIFT` in this scope [INFO] [stderr] --> src/keyboard.rs:29:15 [INFO] [stderr] | [INFO] [stderr] 29 | if key == VK_SHIFT { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stderr] --> src/keyboard.rs:32:15 [INFO] [stderr] | [INFO] [stderr] 32 | if key == VK_CONTROL && key_pos == KeyPos::Left { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stderr] --> src/keyboard.rs:35:15 [INFO] [stderr] | [INFO] [stderr] 35 | if key == VK_CONTROL && key_pos == KeyPos::Right { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_MENU` in this scope [INFO] [stderr] --> src/keyboard.rs:38:15 [INFO] [stderr] | [INFO] [stderr] 38 | if key == VK_MENU && key_pos == KeyPos::Left { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_MENU` in this scope [INFO] [stderr] --> src/keyboard.rs:41:15 [INFO] [stderr] | [INFO] [stderr] 41 | if key == VK_MENU && key_pos == KeyPos::Right { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stderr] --> src/keyboard.rs:44:15 [INFO] [stderr] | [INFO] [stderr] 44 | if key == VK_ESCAPE { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_RETURN` in this scope [INFO] [stderr] --> src/keyboard.rs:47:15 [INFO] [stderr] | [INFO] [stderr] 47 | if key == VK_RETURN { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_BACK` in this scope [INFO] [stderr] --> src/keyboard.rs:50:15 [INFO] [stderr] | [INFO] [stderr] 50 | if key == VK_BACK { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_LEFT` in this scope [INFO] [stderr] --> src/keyboard.rs:53:15 [INFO] [stderr] | [INFO] [stderr] 53 | if key == VK_LEFT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_RIGHT` in this scope [INFO] [stderr] --> src/keyboard.rs:56:15 [INFO] [stderr] | [INFO] [stderr] 56 | if key == VK_RIGHT { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_UP` in this scope [INFO] [stderr] --> src/keyboard.rs:59:15 [INFO] [stderr] | [INFO] [stderr] 59 | if key == VK_UP { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_DOWN` in this scope [INFO] [stderr] --> src/keyboard.rs:62:15 [INFO] [stderr] | [INFO] [stderr] 62 | if key == VK_DOWN { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_SPACE` in this scope [INFO] [stderr] --> src/keyboard.rs:65:15 [INFO] [stderr] | [INFO] [stderr] 65 | if key == VK_SPACE { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_LCONTROL` in this scope [INFO] [stderr] --> src/keyboard.rs:68:15 [INFO] [stderr] | [INFO] [stderr] 68 | if key == VK_LCONTROL { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_RCONTROL` in this scope [INFO] [stderr] --> src/keyboard.rs:71:15 [INFO] [stderr] | [INFO] [stderr] 71 | if key == VK_RCONTROL { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_LMENU` in this scope [INFO] [stderr] --> src/keyboard.rs:74:15 [INFO] [stderr] | [INFO] [stderr] 74 | if key == VK_LMENU { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_RMENU` in this scope [INFO] [stderr] --> src/keyboard.rs:77:15 [INFO] [stderr] | [INFO] [stderr] 77 | if key == VK_RMENU { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_CAPITAL` in this scope [INFO] [stderr] --> src/keyboard.rs:188:15 [INFO] [stderr] | [INFO] [stderr] 188 | if key == VK_CAPITAL { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_PAUSE` in this scope [INFO] [stderr] --> src/keyboard.rs:191:15 [INFO] [stderr] | [INFO] [stderr] 191 | if key == VK_PAUSE { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_NEXT` in this scope [INFO] [stderr] --> src/keyboard.rs:194:15 [INFO] [stderr] | [INFO] [stderr] 194 | if key == VK_NEXT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_PRIOR` in this scope [INFO] [stderr] --> src/keyboard.rs:197:15 [INFO] [stderr] | [INFO] [stderr] 197 | if key == VK_PRIOR { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_SNAPSHOT` in this scope [INFO] [stderr] --> src/keyboard.rs:200:15 [INFO] [stderr] | [INFO] [stderr] 200 | if key == VK_SNAPSHOT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_INSERT` in this scope [INFO] [stderr] --> src/keyboard.rs:203:15 [INFO] [stderr] | [INFO] [stderr] 203 | if key == VK_INSERT { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_END` in this scope [INFO] [stderr] --> src/keyboard.rs:206:15 [INFO] [stderr] | [INFO] [stderr] 206 | if key == VK_END { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_HOME` in this scope [INFO] [stderr] --> src/keyboard.rs:209:15 [INFO] [stderr] | [INFO] [stderr] 209 | if key == VK_HOME { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_DELETE` in this scope [INFO] [stderr] --> src/keyboard.rs:212:15 [INFO] [stderr] | [INFO] [stderr] 212 | if key == VK_DELETE { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_ADD` in this scope [INFO] [stderr] --> src/keyboard.rs:215:15 [INFO] [stderr] | [INFO] [stderr] 215 | if key == VK_ADD { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_SUBTRACT` in this scope [INFO] [stderr] --> src/keyboard.rs:218:15 [INFO] [stderr] | [INFO] [stderr] 218 | if key == VK_SUBTRACT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_MULTIPLY` in this scope [INFO] [stderr] --> src/keyboard.rs:221:15 [INFO] [stderr] | [INFO] [stderr] 221 | if key == VK_MULTIPLY { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_DIVIDE` in this scope [INFO] [stderr] --> src/keyboard.rs:224:15 [INFO] [stderr] | [INFO] [stderr] 224 | if key == VK_DIVIDE { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_SEPARATOR` in this scope [INFO] [stderr] --> src/keyboard.rs:227:15 [INFO] [stderr] | [INFO] [stderr] 227 | if key == VK_SEPARATOR { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_DECIMAL` in this scope [INFO] [stderr] --> src/keyboard.rs:230:15 [INFO] [stderr] | [INFO] [stderr] 230 | if key == VK_DECIMAL { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/devices.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | pub handles: Vec, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stderr] --> src/devices.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | pub info: RID_DEVICE_INFO, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/devices.rs:15:22 [INFO] [stderr] | [INFO] [stderr] 15 | pub handles: Vec, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stderr] --> src/devices.rs:17:15 [INFO] [stderr] | [INFO] [stderr] 17 | pub info: RID_DEVICE_INFO, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/devices.rs:23:22 [INFO] [stderr] | [INFO] [stderr] 23 | pub handles: Vec, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stderr] --> src/devices.rs:25:15 [INFO] [stderr] | [INFO] [stderr] 25 | pub info: RID_DEVICE_INFO, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_CAPS` in this scope [INFO] [stderr] --> src/devices.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | pub caps: HIDP_CAPS, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_BUTTON_CAPS` in this scope [INFO] [stderr] --> src/devices.rs:27:26 [INFO] [stderr] | [INFO] [stderr] 27 | pub button_caps: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope [INFO] [stderr] --> src/devices.rs:28:25 [INFO] [stderr] | [INFO] [stderr] 28 | pub value_caps: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/devices.rs:46:29 [INFO] [stderr] | [INFO] [stderr] 46 | pub device_map: HashMap, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_BUTTON_CAPS` in this scope [INFO] [stderr] --> src/devices.rs:136:36 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn new (p_button_caps: Vec, p_value_caps: Vec) -> JoystickState { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope [INFO] [stderr] --> src/devices.rs:136:73 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn new (p_button_caps: Vec, p_value_caps: Vec) -> JoystickState { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/manager.rs:133:30 [INFO] [stderr] | [INFO] [stderr] 133 | fn setup_message_window() -> HWND{ [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/manager.rs:134:15 [INFO] [stderr] | [INFO] [stderr] 134 | let hwnd: HWND; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/manager.rs:136:25 [INFO] [stderr] | [INFO] [stderr] 136 | let hinstance = GetModuleHandleW(ptr::null()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/manager.rs:144:20 [INFO] [stderr] | [INFO] [stderr] 144 | let wcex = WNDCLASSEXW{ [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/manager.rs:145:37 [INFO] [stderr] | [INFO] [stderr] 145 | cbSize: (mem::size_of::()) as UINT, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/manager.rs:145:56 [INFO] [stderr] | [INFO] [stderr] 145 | cbSize: (mem::size_of::()) as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DefWindowProcW` in this scope [INFO] [stderr] --> src/manager.rs:153:31 [INFO] [stderr] | [INFO] [stderr] 153 | lpfnWndProc: Some(DefWindowProcW), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/manager.rs:158:17 [INFO] [stderr] | [INFO] [stderr] 158 | let a = RegisterClassExW(&wcex); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/manager.rs:163:16 [INFO] [stderr] | [INFO] [stderr] 163 | hwnd = CreateWindowExW(0, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/manager.rs:167:32 [INFO] [stderr] | [INFO] [stderr] 167 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/manager.rs:168:32 [INFO] [stderr] | [INFO] [stderr] 168 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/manager.rs:169:32 [INFO] [stderr] | [INFO] [stderr] 169 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/manager.rs:170:32 [INFO] [stderr] | [INFO] [stderr] 170 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HWND_MESSAGE` in this scope [INFO] [stderr] --> src/manager.rs:171:32 [INFO] [stderr] | [INFO] [stderr] 171 | HWND_MESSAGE, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/manager.rs:183:28 [INFO] [stderr] | [INFO] [stderr] 183 | fn register_devices( hwnd: HWND, reg_type: DeviceType, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stderr] --> src/manager.rs:185:26 [INFO] [stderr] | [INFO] [stderr] 185 | let mut rid_vec: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stderr] --> src/manager.rs:187:19 [INFO] [stderr] | [INFO] [stderr] 187 | let rid = RAWINPUTDEVICE { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RIDEV_INPUTSINK` in this scope [INFO] [stderr] --> src/manager.rs:190:15 [INFO] [stderr] | [INFO] [stderr] 190 | dwFlags: RIDEV_INPUTSINK, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stderr] --> src/manager.rs:196:19 [INFO] [stderr] | [INFO] [stderr] 196 | let rid = RAWINPUTDEVICE { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RIDEV_INPUTSINK` in this scope [INFO] [stderr] --> src/manager.rs:199:15 [INFO] [stderr] | [INFO] [stderr] 199 | dwFlags: RIDEV_INPUTSINK, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stderr] --> src/manager.rs:205:19 [INFO] [stderr] | [INFO] [stderr] 205 | let rid = RAWINPUTDEVICE { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RIDEV_INPUTSINK` in this scope [INFO] [stderr] --> src/manager.rs:208:15 [INFO] [stderr] | [INFO] [stderr] 208 | dwFlags: RIDEV_INPUTSINK, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterRawInputDevices` in this scope [INFO] [stderr] --> src/manager.rs:214:12 [INFO] [stderr] | [INFO] [stderr] 214 | if RegisterRawInputDevices( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/manager.rs:215:48 [INFO] [stderr] | [INFO] [stderr] 215 | rid_vec.as_ptr(), rid_vec.len() as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stderr] --> src/manager.rs:216:28 [INFO] [stderr] | [INFO] [stderr] 216 | mem::size_of::() as UINT, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/manager.rs:216:49 [INFO] [stderr] | [INFO] [stderr] 216 | mem::size_of::() as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/mouse.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/joystick.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hid::*` [INFO] [stderr] --> src/joystick.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use hid::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/rawinput.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/rawinput.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `kernel32::*` [INFO] [stderr] --> src/rawinput.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use kernel32::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hid::*` [INFO] [stderr] --> src/rawinput.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use hid::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStringExt` [INFO] [stderr] --> src/rawinput.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/rawinput.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/keyboard.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/devices.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/manager.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/manager.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `kernel32::*` [INFO] [stderr] --> src/manager.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use kernel32::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/manager.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWMOUSE` in this scope [INFO] [stderr] --> src/mouse.rs:18:38 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn process_mouse_data(raw_data: &RAWMOUSE, id: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_MOUSE_LEFT_BUTTON_DOWN` in this scope [INFO] [stderr] --> src/mouse.rs:22:18 [INFO] [stderr] | [INFO] [stderr] 22 | if buttons & RI_MOUSE_LEFT_BUTTON_DOWN != 0{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_MOUSE_LEFT_BUTTON_UP` in this scope [INFO] [stderr] --> src/mouse.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | if buttons & RI_MOUSE_LEFT_BUTTON_UP != 0{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_MOUSE_RIGHT_BUTTON_DOWN` in this scope [INFO] [stderr] --> src/mouse.rs:28:18 [INFO] [stderr] | [INFO] [stderr] 28 | if buttons & RI_MOUSE_RIGHT_BUTTON_DOWN != 0{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_MOUSE_RIGHT_BUTTON_UP` in this scope [INFO] [stderr] --> src/mouse.rs:31:18 [INFO] [stderr] | [INFO] [stderr] 31 | if buttons & RI_MOUSE_RIGHT_BUTTON_UP != 0{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_MOUSE_MIDDLE_BUTTON_DOWN` in this scope [INFO] [stderr] --> src/mouse.rs:34:18 [INFO] [stderr] | [INFO] [stderr] 34 | if buttons & RI_MOUSE_MIDDLE_BUTTON_DOWN != 0{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_MOUSE_MIDDLE_BUTTON_UP` in this scope [INFO] [stderr] --> src/mouse.rs:37:18 [INFO] [stderr] | [INFO] [stderr] 37 | if buttons & RI_MOUSE_MIDDLE_BUTTON_UP != 0{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_MOUSE_WHEEL` in this scope [INFO] [stderr] --> src/mouse.rs:52:18 [INFO] [stderr] | [INFO] [stderr] 52 | if buttons & RI_MOUSE_WHEEL != 0{ [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWHID` in this scope [INFO] [stderr] --> src/joystick.rs:15:41 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn process_joystick_data(raw_data: &RAWHID, id: usize, hid_info: &mut JoystickInfo [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/joystick.rs:20:32 [INFO] [stderr] | [INFO] [stderr] 20 | let number_of_buttons: ULONG = [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/joystick.rs:21:82 [INFO] [stderr] | [INFO] [stderr] 21 | (button_caps.Range().UsageMax - button_caps.Range().UsageMin + 1) as ULONG; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `USAGE` in this scope [INFO] [stderr] --> src/joystick.rs:22:28 [INFO] [stderr] | [INFO] [stderr] 22 | let mut usage: Vec = garbage_vec(number_of_buttons as usize); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/joystick.rs:23:36 [INFO] [stderr] | [INFO] [stderr] 23 | let mut number_of_presses: ULONG = number_of_buttons; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HidP_GetUsages` in this scope [INFO] [stderr] --> src/joystick.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | HidP_GetUsages(HidP_Input, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope [INFO] [stderr] --> src/joystick.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | HidP_GetUsages(HidP_Input, [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/joystick.rs:31:68 [INFO] [stderr] | [INFO] [stderr] 31 | hid_info.preparsed_data.as_mut_ptr() as PHIDP_PREPARSED_DATA, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PCHAR` in this scope [INFO] [stderr] --> src/joystick.rs:32:29 [INFO] [stderr] | [INFO] [stderr] 32 | transmute::<_, PCHAR>(raw_data.bRawData.as_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/joystick.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | ) == HIDP_STATUS_SUCCESS [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/joystick.rs:48:24 [INFO] [stderr] | [INFO] [stderr] 48 | let mut value: ULONG = mem::uninitialized(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HidP_GetUsageValue` in this scope [INFO] [stderr] --> src/joystick.rs:56:17 [INFO] [stderr] | [INFO] [stderr] 56 | HidP_GetUsageValue( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope [INFO] [stderr] --> src/joystick.rs:57:21 [INFO] [stderr] | [INFO] [stderr] 57 | HidP_Input, [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/joystick.rs:62:61 [INFO] [stderr] | [INFO] [stderr] 62 | hid_info.preparsed_data.as_mut_ptr() as PHIDP_PREPARSED_DATA, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PCHAR` in this scope [INFO] [stderr] --> src/joystick.rs:63:22 [INFO] [stderr] | [INFO] [stderr] 63 | transmute::<_, PCHAR>(raw_data.bRawData.as_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/joystick.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | ) == HIDP_STATUS_SUCCESS [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/joystick.rs:101:44 [INFO] [stderr] | [INFO] [stderr] 101 | hatswitch = match value as LONG - value_caps.LogicalMin { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stderr] --> src/rawinput.rs:22:41 [INFO] [stderr] | [INFO] [stderr] 22 | let dw_size = (*(*array_ptr as *mut RAWINPUT)).header.dwSize; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:35:30 [INFO] [stderr] | [INFO] [stderr] 35 | let mut buffer_size: UINT = 0; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputBuffer` in this scope [INFO] [stderr] --> src/rawinput.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | GetRawInputBuffer( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope [INFO] [stderr] --> src/rawinput.rs:40:32 [INFO] [stderr] | [INFO] [stderr] 40 | mem::size_of::() as UINT, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:40:53 [INFO] [stderr] | [INFO] [stderr] 40 | mem::size_of::() as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT` in this scope [INFO] [stderr] --> src/rawinput.rs:41:22 [INFO] [stderr] | [INFO] [stderr] 41 | ) as INT; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT` in this scope [INFO] [stderr] --> src/rawinput.rs:43:32 [INFO] [stderr] | [INFO] [stderr] 43 | if numberofelements as INT == -1 { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputBuffer` in this scope [INFO] [stderr] --> src/rawinput.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | GetRawInputBuffer( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PRAWINPUT` in this scope [INFO] [stderr] --> src/rawinput.rs:49:45 [INFO] [stderr] | [INFO] [stderr] 49 | array_alloc.as_mut_ptr() as PRAWINPUT, &mut buffer_size, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope [INFO] [stderr] --> src/rawinput.rs:50:32 [INFO] [stderr] | [INFO] [stderr] 50 | mem::size_of::() as UINT, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:50:53 [INFO] [stderr] | [INFO] [stderr] 50 | mem::size_of::() as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT` in this scope [INFO] [stderr] --> src/rawinput.rs:51:22 [INFO] [stderr] | [INFO] [stderr] 51 | ) as INT; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT` in this scope [INFO] [stderr] --> src/rawinput.rs:53:32 [INFO] [stderr] | [INFO] [stderr] 53 | if numberofelements as INT == -1{ [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stderr] --> src/rawinput.rs:61:47 [INFO] [stderr] | [INFO] [stderr] 61 | let header = (*(array_ptr as *mut RAWINPUT)).header; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stderr] --> src/rawinput.rs:62:49 [INFO] [stderr] | [INFO] [stderr] 62 | let raw_input = *(array_ptr as *mut RAWINPUT); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:106:30 [INFO] [stderr] | [INFO] [stderr] 106 | let mut num_devices: UINT = 0; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope [INFO] [stderr] --> src/rawinput.rs:107:48 [INFO] [stderr] | [INFO] [stderr] 107 | let device_list_size = mem::size_of::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputDeviceList` in this scope [INFO] [stderr] --> src/rawinput.rs:108:26 [INFO] [stderr] | [INFO] [stderr] 108 | let mut result = GetRawInputDeviceList(ptr::null_mut(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:110:68 [INFO] [stderr] | [INFO] [stderr] 110 | device_list_size as UINT); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:111:31 [INFO] [stderr] | [INFO] [stderr] 111 | if result == -1i32 as UINT{ [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputDeviceList` in this scope [INFO] [stderr] --> src/rawinput.rs:114:18 [INFO] [stderr] | [INFO] [stderr] 114 | result = GetRawInputDeviceList(buffer.as_mut_ptr() as *mut RAWINPUTDEVICELIST, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope [INFO] [stderr] --> src/rawinput.rs:114:68 [INFO] [stderr] | [INFO] [stderr] 114 | result = GetRawInputDeviceList(buffer.as_mut_ptr() as *mut RAWINPUTDEVICELIST, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope [INFO] [stderr] --> src/rawinput.rs:116:55 [INFO] [stderr] | [INFO] [stderr] 116 | mem::size_of::() as UINT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:116:80 [INFO] [stderr] | [INFO] [stderr] 116 | mem::size_of::() as UINT); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:117:31 [INFO] [stderr] | [INFO] [stderr] 117 | if result == -1i32 as UINT{ [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope [INFO] [stderr] --> src/rawinput.rs:124:43 [INFO] [stderr] | [INFO] [stderr] 124 | ).as_mut_ptr() as *const RAWINPUTDEVICELIST; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/rawinput.rs:179:49 [INFO] [stderr] | [INFO] [stderr] 179 | pub unsafe fn raw_handle_to_name(device_handle: HANDLE) -> String { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:181:31 [INFO] [stderr] | [INFO] [stderr] 181 | let mut name_buffer_size: UINT = 1024; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputDeviceInfoW` in this scope [INFO] [stderr] --> src/rawinput.rs:182:20 [INFO] [stderr] | [INFO] [stderr] 182 | let result_2 = GetRawInputDeviceInfoW(device_handle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RIDI_DEVICENAME` in this scope [INFO] [stderr] --> src/rawinput.rs:183:43 [INFO] [stderr] | [INFO] [stderr] 183 | RIDI_DEVICENAME, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/rawinput.rs:184:71 [INFO] [stderr] | [INFO] [stderr] 184 | name_buffer.as_mut_ptr() as LPVOID, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:186:29 [INFO] [stderr] | [INFO] [stderr] 186 | if result_2 == -1i32 as UINT{ [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/rawinput.rs:196:55 [INFO] [stderr] | [INFO] [stderr] 196 | pub unsafe fn raw_name_to_hid(name: String) -> Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateFileW` in this scope [INFO] [stderr] --> src/rawinput.rs:200:22 [INFO] [stderr] | [INFO] [stderr] 200 | let hid_handle = CreateFileW(classname.as_mut_ptr(), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stderr] --> src/rawinput.rs:202:34 [INFO] [stderr] | [INFO] [stderr] 202 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stderr] --> src/rawinput.rs:202:52 [INFO] [stderr] | [INFO] [stderr] 202 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stderr] --> src/rawinput.rs:204:34 [INFO] [stderr] | [INFO] [stderr] 204 | 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/rawinput.rs:207:22 [INFO] [stderr] | [INFO] [stderr] 207 | if hid_handle != INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/rawinput.rs:215:39 [INFO] [stderr] | [INFO] [stderr] 215 | pub unsafe fn get_device_info(handle: HANDLE, name: String, serial: Option [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stderr] --> src/rawinput.rs:217:27 [INFO] [stderr] | [INFO] [stderr] 217 | let mut data_buffer: [RID_DEVICE_INFO; 1] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stderr] --> src/rawinput.rs:218:47 [INFO] [stderr] | [INFO] [stderr] 218 | let mut data_buffer_size = mem::size_of::() as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputDeviceInfoW` in this scope [INFO] [stderr] --> src/rawinput.rs:220:18 [INFO] [stderr] | [INFO] [stderr] 220 | let result = GetRawInputDeviceInfoW(handle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RIDI_DEVICEINFO` in this scope [INFO] [stderr] --> src/rawinput.rs:221:40 [INFO] [stderr] | [INFO] [stderr] 221 | RIDI_DEVICEINFO, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/rawinput.rs:222:68 [INFO] [stderr] | [INFO] [stderr] 222 | data_buffer.as_mut_ptr() as LPVOID, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT` in this scope [INFO] [stderr] --> src/rawinput.rs:224:23 [INFO] [stderr] | [INFO] [stderr] 224 | assert!(result as INT != -1); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/rawinput.rs:246:42 [INFO] [stderr] | [INFO] [stderr] 246 | let mut preparsed_data_size: UINT = 1024; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputDeviceInfoW` in this scope [INFO] [stderr] --> src/rawinput.rs:247:21 [INFO] [stderr] | [INFO] [stderr] 247 | assert!(GetRawInputDeviceInfoW(handle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RIDI_PREPARSEDDATA` in this scope [INFO] [stderr] --> src/rawinput.rs:248:44 [INFO] [stderr] | [INFO] [stderr] 248 | RIDI_PREPARSEDDATA, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRawInputDeviceInfoW` in this scope [INFO] [stderr] --> src/rawinput.rs:253:17 [INFO] [stderr] | [INFO] [stderr] 253 | GetRawInputDeviceInfoW(handle, RIDI_PREPARSEDDATA, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RIDI_PREPARSEDDATA` in this scope [INFO] [stderr] --> src/rawinput.rs:253:48 [INFO] [stderr] | [INFO] [stderr] 253 | GetRawInputDeviceInfoW(handle, RIDI_PREPARSEDDATA, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/rawinput.rs:255:43 [INFO] [stderr] | [INFO] [stderr] 255 | as LPVOID, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_CAPS` in this scope [INFO] [stderr] --> src/rawinput.rs:257:27 [INFO] [stderr] | [INFO] [stderr] 257 | let mut caps: HIDP_CAPS = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HidP_GetCaps` in this scope [INFO] [stderr] --> src/rawinput.rs:258:21 [INFO] [stderr] | [INFO] [stderr] 258 | assert!(HidP_GetCaps(preparsed_data.as_mut_ptr() as PHIDP_PREPARSED_DATA, [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/rawinput.rs:258:65 [INFO] [stderr] | [INFO] [stderr] 258 | assert!(HidP_GetCaps(preparsed_data.as_mut_ptr() as PHIDP_PREPARSED_DATA, [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/rawinput.rs:260:24 [INFO] [stderr] | [INFO] [stderr] 260 | == HIDP_STATUS_SUCCESS ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_BUTTON_CAPS` in this scope [INFO] [stderr] --> src/rawinput.rs:263:40 [INFO] [stderr] | [INFO] [stderr] 263 | let mut p_button_caps: Vec = [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HidP_GetButtonCaps` in this scope [INFO] [stderr] --> src/rawinput.rs:267:17 [INFO] [stderr] | [INFO] [stderr] 267 | HidP_GetButtonCaps(HidP_Input, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope [INFO] [stderr] --> src/rawinput.rs:267:36 [INFO] [stderr] | [INFO] [stderr] 267 | HidP_GetButtonCaps(HidP_Input, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHIDP_BUTTON_CAPS` in this scope [INFO] [stderr] --> src/rawinput.rs:268:66 [INFO] [stderr] | [INFO] [stderr] 268 | p_button_caps.as_mut_ptr() as PHIDP_BUTTON_CAPS, [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/rawinput.rs:270:67 [INFO] [stderr] | [INFO] [stderr] 270 | preparsed_data.as_mut_ptr() as PHIDP_PREPARSED_DATA) [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/rawinput.rs:271:24 [INFO] [stderr] | [INFO] [stderr] 271 | == HIDP_STATUS_SUCCESS); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope [INFO] [stderr] --> src/rawinput.rs:274:39 [INFO] [stderr] | [INFO] [stderr] 274 | let mut p_value_caps: Vec = [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HidP_GetValueCaps` in this scope [INFO] [stderr] --> src/rawinput.rs:278:17 [INFO] [stderr] | [INFO] [stderr] 278 | HidP_GetValueCaps(HidP_Input, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HidP_Input` in this scope [INFO] [stderr] --> src/rawinput.rs:278:35 [INFO] [stderr] | [INFO] [stderr] 278 | HidP_GetValueCaps(HidP_Input, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHIDP_VALUE_CAPS` in this scope [INFO] [stderr] --> src/rawinput.rs:279:64 [INFO] [stderr] | [INFO] [stderr] 279 | p_value_caps.as_mut_ptr() as PHIDP_VALUE_CAPS, [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/rawinput.rs:281:66 [INFO] [stderr] | [INFO] [stderr] 281 | preparsed_data.as_mut_ptr() as PHIDP_PREPARSED_DATA) [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/rawinput.rs:282:24 [INFO] [stderr] | [INFO] [stderr] 282 | == HIDP_STATUS_SUCCESS); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/rawinput.rs:300:41 [INFO] [stderr] | [INFO] [stderr] 300 | pub unsafe fn get_serial_number(handle: HANDLE) -> Option { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `HidD_GetSerialNumberString` in this scope [INFO] [stderr] --> src/rawinput.rs:303:18 [INFO] [stderr] | [INFO] [stderr] 303 | let result = HidD_GetSerialNumberString( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/rawinput.rs:304:47 [INFO] [stderr] | [INFO] [stderr] 304 | handle, string_buffer.as_mut_ptr() as PVOID, string_buffer_size); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWKEYBOARD` in this scope [INFO] [stderr] --> src/keyboard.rs:10:41 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn process_keyboard_data(raw_data: &RAWKEYBOARD, id: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_KEY_BREAK` in this scope [INFO] [stderr] --> src/keyboard.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | if flags & RI_KEY_BREAK != 0 { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RI_KEY_E0` in this scope [INFO] [stderr] --> src/keyboard.rs:23:16 [INFO] [stderr] | [INFO] [stderr] 23 | if flags & RI_KEY_E0 == 0 { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_SHIFT` in this scope [INFO] [stderr] --> src/keyboard.rs:29:15 [INFO] [stderr] | [INFO] [stderr] 29 | if key == VK_SHIFT { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stderr] --> src/keyboard.rs:32:15 [INFO] [stderr] | [INFO] [stderr] 32 | if key == VK_CONTROL && key_pos == KeyPos::Left { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stderr] --> src/keyboard.rs:35:15 [INFO] [stderr] | [INFO] [stderr] 35 | if key == VK_CONTROL && key_pos == KeyPos::Right { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_MENU` in this scope [INFO] [stderr] --> src/keyboard.rs:38:15 [INFO] [stderr] | [INFO] [stderr] 38 | if key == VK_MENU && key_pos == KeyPos::Left { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_MENU` in this scope [INFO] [stderr] --> src/keyboard.rs:41:15 [INFO] [stderr] | [INFO] [stderr] 41 | if key == VK_MENU && key_pos == KeyPos::Right { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stderr] --> src/keyboard.rs:44:15 [INFO] [stderr] | [INFO] [stderr] 44 | if key == VK_ESCAPE { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_RETURN` in this scope [INFO] [stderr] --> src/keyboard.rs:47:15 [INFO] [stderr] | [INFO] [stderr] 47 | if key == VK_RETURN { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_BACK` in this scope [INFO] [stderr] --> src/keyboard.rs:50:15 [INFO] [stderr] | [INFO] [stderr] 50 | if key == VK_BACK { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_LEFT` in this scope [INFO] [stderr] --> src/keyboard.rs:53:15 [INFO] [stderr] | [INFO] [stderr] 53 | if key == VK_LEFT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_RIGHT` in this scope [INFO] [stderr] --> src/keyboard.rs:56:15 [INFO] [stderr] | [INFO] [stderr] 56 | if key == VK_RIGHT { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_UP` in this scope [INFO] [stderr] --> src/keyboard.rs:59:15 [INFO] [stderr] | [INFO] [stderr] 59 | if key == VK_UP { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_DOWN` in this scope [INFO] [stderr] --> src/keyboard.rs:62:15 [INFO] [stderr] | [INFO] [stderr] 62 | if key == VK_DOWN { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_SPACE` in this scope [INFO] [stderr] --> src/keyboard.rs:65:15 [INFO] [stderr] | [INFO] [stderr] 65 | if key == VK_SPACE { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_LCONTROL` in this scope [INFO] [stderr] --> src/keyboard.rs:68:15 [INFO] [stderr] | [INFO] [stderr] 68 | if key == VK_LCONTROL { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_RCONTROL` in this scope [INFO] [stderr] --> src/keyboard.rs:71:15 [INFO] [stderr] | [INFO] [stderr] 71 | if key == VK_RCONTROL { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_LMENU` in this scope [INFO] [stderr] --> src/keyboard.rs:74:15 [INFO] [stderr] | [INFO] [stderr] 74 | if key == VK_LMENU { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_RMENU` in this scope [INFO] [stderr] --> src/keyboard.rs:77:15 [INFO] [stderr] | [INFO] [stderr] 77 | if key == VK_RMENU { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_CAPITAL` in this scope [INFO] [stderr] --> src/keyboard.rs:188:15 [INFO] [stderr] | [INFO] [stderr] 188 | if key == VK_CAPITAL { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_PAUSE` in this scope [INFO] [stderr] --> src/keyboard.rs:191:15 [INFO] [stderr] | [INFO] [stderr] 191 | if key == VK_PAUSE { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_NEXT` in this scope [INFO] [stderr] --> src/keyboard.rs:194:15 [INFO] [stderr] | [INFO] [stderr] 194 | if key == VK_NEXT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_PRIOR` in this scope [INFO] [stderr] --> src/keyboard.rs:197:15 [INFO] [stderr] | [INFO] [stderr] 197 | if key == VK_PRIOR { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_SNAPSHOT` in this scope [INFO] [stderr] --> src/keyboard.rs:200:15 [INFO] [stderr] | [INFO] [stderr] 200 | if key == VK_SNAPSHOT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_INSERT` in this scope [INFO] [stderr] --> src/keyboard.rs:203:15 [INFO] [stderr] | [INFO] [stderr] 203 | if key == VK_INSERT { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_END` in this scope [INFO] [stderr] --> src/keyboard.rs:206:15 [INFO] [stderr] | [INFO] [stderr] 206 | if key == VK_END { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_HOME` in this scope [INFO] [stderr] --> src/keyboard.rs:209:15 [INFO] [stderr] | [INFO] [stderr] 209 | if key == VK_HOME { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_DELETE` in this scope [INFO] [stderr] --> src/keyboard.rs:212:15 [INFO] [stderr] | [INFO] [stderr] 212 | if key == VK_DELETE { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_ADD` in this scope [INFO] [stderr] --> src/keyboard.rs:215:15 [INFO] [stderr] | [INFO] [stderr] 215 | if key == VK_ADD { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_SUBTRACT` in this scope [INFO] [stderr] --> src/keyboard.rs:218:15 [INFO] [stderr] | [INFO] [stderr] 218 | if key == VK_SUBTRACT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_MULTIPLY` in this scope [INFO] [stderr] --> src/keyboard.rs:221:15 [INFO] [stderr] | [INFO] [stderr] 221 | if key == VK_MULTIPLY { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_DIVIDE` in this scope [INFO] [stderr] --> src/keyboard.rs:224:15 [INFO] [stderr] | [INFO] [stderr] 224 | if key == VK_DIVIDE { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_SEPARATOR` in this scope [INFO] [stderr] --> src/keyboard.rs:227:15 [INFO] [stderr] | [INFO] [stderr] 227 | if key == VK_SEPARATOR { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VK_DECIMAL` in this scope [INFO] [stderr] --> src/keyboard.rs:230:15 [INFO] [stderr] | [INFO] [stderr] 230 | if key == VK_DECIMAL { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/devices.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | pub handles: Vec, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stderr] --> src/devices.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | pub info: RID_DEVICE_INFO, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/devices.rs:15:22 [INFO] [stderr] | [INFO] [stderr] 15 | pub handles: Vec, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stderr] --> src/devices.rs:17:15 [INFO] [stderr] | [INFO] [stderr] 17 | pub info: RID_DEVICE_INFO, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/devices.rs:23:22 [INFO] [stderr] | [INFO] [stderr] 23 | pub handles: Vec, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stderr] --> src/devices.rs:25:15 [INFO] [stderr] | [INFO] [stderr] 25 | pub info: RID_DEVICE_INFO, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_CAPS` in this scope [INFO] [stderr] --> src/devices.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | pub caps: HIDP_CAPS, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_BUTTON_CAPS` in this scope [INFO] [stderr] --> src/devices.rs:27:26 [INFO] [stderr] | [INFO] [stderr] 27 | pub button_caps: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope [INFO] [stderr] --> src/devices.rs:28:25 [INFO] [stderr] | [INFO] [stderr] 28 | pub value_caps: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/devices.rs:46:29 [INFO] [stderr] | [INFO] [stderr] 46 | pub device_map: HashMap, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_BUTTON_CAPS` in this scope [INFO] [stderr] --> src/devices.rs:136:36 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn new (p_button_caps: Vec, p_value_caps: Vec) -> JoystickState { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope [INFO] [stderr] --> src/devices.rs:136:73 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn new (p_button_caps: Vec, p_value_caps: Vec) -> JoystickState { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/manager.rs:133:30 [INFO] [stderr] | [INFO] [stderr] 133 | fn setup_message_window() -> HWND{ [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/manager.rs:134:15 [INFO] [stderr] | [INFO] [stderr] 134 | let hwnd: HWND; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/manager.rs:136:25 [INFO] [stderr] | [INFO] [stderr] 136 | let hinstance = GetModuleHandleW(ptr::null()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/manager.rs:144:20 [INFO] [stderr] | [INFO] [stderr] 144 | let wcex = WNDCLASSEXW{ [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/manager.rs:145:37 [INFO] [stderr] | [INFO] [stderr] 145 | cbSize: (mem::size_of::()) as UINT, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/manager.rs:145:56 [INFO] [stderr] | [INFO] [stderr] 145 | cbSize: (mem::size_of::()) as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DefWindowProcW` in this scope [INFO] [stderr] --> src/manager.rs:153:31 [INFO] [stderr] | [INFO] [stderr] 153 | lpfnWndProc: Some(DefWindowProcW), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/manager.rs:158:17 [INFO] [stderr] | [INFO] [stderr] 158 | let a = RegisterClassExW(&wcex); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/manager.rs:163:16 [INFO] [stderr] | [INFO] [stderr] 163 | hwnd = CreateWindowExW(0, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/manager.rs:167:32 [INFO] [stderr] | [INFO] [stderr] 167 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/manager.rs:168:32 [INFO] [stderr] | [INFO] [stderr] 168 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/manager.rs:169:32 [INFO] [stderr] | [INFO] [stderr] 169 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/manager.rs:170:32 [INFO] [stderr] | [INFO] [stderr] 170 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HWND_MESSAGE` in this scope [INFO] [stderr] --> src/manager.rs:171:32 [INFO] [stderr] | [INFO] [stderr] 171 | HWND_MESSAGE, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/manager.rs:183:28 [INFO] [stderr] | [INFO] [stderr] 183 | fn register_devices( hwnd: HWND, reg_type: DeviceType, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stderr] --> src/manager.rs:185:26 [INFO] [stderr] | [INFO] [stderr] 185 | let mut rid_vec: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stderr] --> src/manager.rs:187:19 [INFO] [stderr] | [INFO] [stderr] 187 | let rid = RAWINPUTDEVICE { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RIDEV_INPUTSINK` in this scope [INFO] [stderr] --> src/manager.rs:190:15 [INFO] [stderr] | [INFO] [stderr] 190 | dwFlags: RIDEV_INPUTSINK, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stderr] --> src/manager.rs:196:19 [INFO] [stderr] | [INFO] [stderr] 196 | let rid = RAWINPUTDEVICE { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RIDEV_INPUTSINK` in this scope [INFO] [stderr] --> src/manager.rs:199:15 [INFO] [stderr] | [INFO] [stderr] 199 | dwFlags: RIDEV_INPUTSINK, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stderr] --> src/manager.rs:205:19 [INFO] [stderr] | [INFO] [stderr] 205 | let rid = RAWINPUTDEVICE { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RIDEV_INPUTSINK` in this scope [INFO] [stderr] --> src/manager.rs:208:15 [INFO] [stderr] | [INFO] [stderr] 208 | dwFlags: RIDEV_INPUTSINK, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterRawInputDevices` in this scope [INFO] [stderr] --> src/manager.rs:214:12 [INFO] [stderr] | [INFO] [stderr] 214 | if RegisterRawInputDevices( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/manager.rs:215:48 [INFO] [stderr] | [INFO] [stderr] 215 | rid_vec.as_ptr(), rid_vec.len() as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stderr] --> src/manager.rs:216:28 [INFO] [stderr] | [INFO] [stderr] 216 | mem::size_of::() as UINT, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/manager.rs:216:49 [INFO] [stderr] | [INFO] [stderr] 216 | mem::size_of::() as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/mouse.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/joystick.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hid::*` [INFO] [stderr] --> src/joystick.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use hid::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/rawinput.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/rawinput.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `kernel32::*` [INFO] [stderr] --> src/rawinput.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use kernel32::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hid::*` [INFO] [stderr] --> src/rawinput.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use hid::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStringExt` [INFO] [stderr] --> src/rawinput.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/rawinput.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/keyboard.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/devices.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/manager.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/manager.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `kernel32::*` [INFO] [stderr] --> src/manager.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use kernel32::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/manager.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for type `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/rawinput.rs:190:21 [INFO] [stderr] | [INFO] [stderr] 190 | match OsString::from_wide(name_slice).into_string(){ [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/rawinput.rs:198:33 [INFO] [stderr] | [INFO] [stderr] 198 | let mut classname = os_name.encode_wide().chain(Some(0).into_iter()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for type `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/rawinput.rs:306:25 [INFO] [stderr] | [INFO] [stderr] 306 | match OsString::from_wide(&string_buffer[0..128]).into_string() { [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for type `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/rawinput.rs:190:21 [INFO] [stderr] | [INFO] [stderr] 190 | match OsString::from_wide(name_slice).into_string(){ [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/rawinput.rs:198:33 [INFO] [stderr] | [INFO] [stderr] 198 | let mut classname = os_name.encode_wide().chain(Some(0).into_iter()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for type `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/rawinput.rs:306:25 [INFO] [stderr] | [INFO] [stderr] 306 | match OsString::from_wide(&string_buffer[0..128]).into_string() { [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/manager.rs:141:50 [INFO] [stderr] | [INFO] [stderr] 141 | OsStr::new("RawInput Hidden Window").encode_wide().chain(Some(0).into_iter()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 175 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `multi-input`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/manager.rs:141:50 [INFO] [stderr] | [INFO] [stderr] 141 | OsStr::new("RawInput Hidden Window").encode_wide().chain(Some(0).into_iter()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 175 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `multi-input`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d944862a31bc67d53ac9be7ba09d9c515cdfaf56a9043c7604cb1f2783d89228"` [INFO] running `"docker" "rm" "-f" "d944862a31bc67d53ac9be7ba09d9c515cdfaf56a9043c7604cb1f2783d89228"` [INFO] [stdout] d944862a31bc67d53ac9be7ba09d9c515cdfaf56a9043c7604cb1f2783d89228