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