[INFO] fetching crate multi-input 0.0.1...
[INFO] checking multi-input-0.0.1 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate multi-input 0.0.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate multi-input 0.0.1 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "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-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 7 packages to latest compatible versions
[INFO] [stderr]       Adding user32-sys v0.1.3 (latest: v0.2.0)
[INFO] [stderr]       Adding winapi v0.2.8 (latest: v0.3.9)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29b0760115e096d9c710df4626dbcf6e0a85aa23a2cadb4555865f1657a03bc7
[INFO] running `Command { std: "docker" "start" "-a" "29b0760115e096d9c710df4626dbcf6e0a85aa23a2cadb4555865f1657a03bc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29b0760115e096d9c710df4626dbcf6e0a85aa23a2cadb4555865f1657a03bc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29b0760115e096d9c710df4626dbcf6e0a85aa23a2cadb4555865f1657a03bc7", kill_on_drop: false }`
[INFO] [stdout] 29b0760115e096d9c710df4626dbcf6e0a85aa23a2cadb4555865f1657a03bc7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c5a32108c420ca985cb8e8670ad9286a9a804668f6fcd99df345931279c219c1
[INFO] running `Command { std: "docker" "start" "-a" "c5a32108c420ca985cb8e8670ad9286a9a804668f6fcd99df345931279c219c1", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling user32-sys v0.1.3
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[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] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:100:9
[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] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:100:9
[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] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:100:9
[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] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:100:9
[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] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:100:9
[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] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:100:9
[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<RawEvent> {
[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] 22 |         let mut usage: Vec<USAGE> = garbage_vec(number_of_buttons as usize);
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn process_joystick_data<USAGE>(raw_data: &RAWHID, id: usize, hid_info: &mut JoystickInfo
[INFO] [stdout]    |                             +++++++
[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 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] 32 |                    transmute::<_, PCHAR>(raw_data.bRawData.as_ptr()),
[INFO] [stdout]    |                                   ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn process_joystick_data<PCHAR>(raw_data: &RAWHID, id: usize, hid_info: &mut JoystickInfo
[INFO] [stdout]    |                             +++++++
[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 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] 63 |             transmute::<_, PCHAR>(raw_data.bRawData.as_ptr()),
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn process_joystick_data<PCHAR>(raw_data: &RAWHID, id: usize, hid_info: &mut JoystickInfo
[INFO] [stdout]    |                             +++++++
[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 `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<RawEvent> {
[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 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[E0412]: cannot find type `RAWINPUTHEADER` in this scope
[INFO] [stdout]   --> src/rawinput.rs:40:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 mem::size_of::<RAWINPUTHEADER>() as UINT,
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn read_input_buffer<RAWINPUTHEADER>(event_queue: &mut VecDeque<RawEvent>, devices: &mut Devices) {
[INFO] [stdout]    |                     ++++++++++++++++
[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[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]   --> src/rawinput.rs:40:53
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 mem::size_of::<RAWINPUTHEADER>() as UINT,
[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[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[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[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 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[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[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 `RAWINPUTHEADER` in this scope
[INFO] [stdout]   --> src/rawinput.rs:50:32
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 mem::size_of::<RAWINPUTHEADER>() as UINT,
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn read_input_buffer<RAWINPUTHEADER>(event_queue: &mut VecDeque<RawEvent>, devices: &mut Devices) {
[INFO] [stdout]    |                     ++++++++++++++++
[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::<RAWINPUTHEADER>() as UINT,
[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 `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 `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 `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 `USAGE` in this scope
[INFO] [stdout]   --> src/joystick.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let mut usage: Vec<USAGE> = garbage_vec(number_of_buttons as usize);
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn process_joystick_data<USAGE>(raw_data: &RAWHID, id: usize, hid_info: &mut JoystickInfo
[INFO] [stdout]    |                             +++++++
[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 `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 `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[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 `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 `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] 32 |                    transmute::<_, PCHAR>(raw_data.bRawData.as_ptr()),
[INFO] [stdout]    |                                   ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn process_joystick_data<PCHAR>(raw_data: &RAWHID, id: usize, hid_info: &mut JoystickInfo
[INFO] [stdout]    |                             +++++++
[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 `RAWINPUTDEVICELIST` in this scope
[INFO] [stdout]    --> src/rawinput.rs:107:48
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let device_list_size =  mem::size_of::<RAWINPUTDEVICELIST>();
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn produce_raw_device_list<RAWINPUTDEVICELIST>() -> Devices {
[INFO] [stdout]     |                               ++++++++++++++++++++
[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[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 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 `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 `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 `RAWINPUTDEVICELIST` in this scope
[INFO] [stdout]    --> src/rawinput.rs:116:55
[INFO] [stdout]     |
[INFO] [stdout] 116 | ...                   mem::size_of::<RAWINPUTDEVICELIST>() as UINT);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn produce_raw_device_list<RAWINPUTDEVICELIST>() -> Devices {
[INFO] [stdout]     |                               ++++++++++++++++++++
[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::<RAWINPUTDEVICELIST>() 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 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 `PCHAR` in this scope
[INFO] [stdout]   --> src/joystick.rs:63:22
[INFO] [stdout]    |
[INFO] [stdout] 63 |             transmute::<_, PCHAR>(raw_data.bRawData.as_ptr()),
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn process_joystick_data<PCHAR>(raw_data: &RAWHID, id: usize, hid_info: &mut JoystickInfo
[INFO] [stdout]    |                             +++++++
[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[E0412]: cannot find type `RAWINPUTHEADER` in this scope
[INFO] [stdout]   --> src/rawinput.rs:40:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 mem::size_of::<RAWINPUTHEADER>() as UINT,
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn read_input_buffer<RAWINPUTHEADER>(event_queue: &mut VecDeque<RawEvent>, devices: &mut Devices) {
[INFO] [stdout]    |                     ++++++++++++++++
[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::<RAWINPUTHEADER>() 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[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] 50 |                 mem::size_of::<RAWINPUTHEADER>() as UINT,
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn read_input_buffer<RAWINPUTHEADER>(event_queue: &mut VecDeque<RawEvent>, devices: &mut Devices) {
[INFO] [stdout]    |                     ++++++++++++++++
[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::<RAWINPUTHEADER>() 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 `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 `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 `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 `RAWINPUTDEVICELIST` in this scope
[INFO] [stdout]    --> src/rawinput.rs:107:48
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let device_list_size =  mem::size_of::<RAWINPUTDEVICELIST>();
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn produce_raw_device_list<RAWINPUTDEVICELIST>() -> Devices {
[INFO] [stdout]     |                               ++++++++++++++++++++
[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<HANDLE, String> {
[INFO] [stdout]     |                                                       ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub unsafe fn raw_name_to_hid<HANDLE>(name: String) -> Result<HANDLE, String> {
[INFO] [stdout]     |                              ++++++++
[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[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[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[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[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[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope
[INFO] [stdout]    --> src/rawinput.rs:116:55
[INFO] [stdout]     |
[INFO] [stdout] 116 | ...                   mem::size_of::<RAWINPUTDEVICELIST>() as UINT);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn produce_raw_device_list<RAWINPUTDEVICELIST>() -> Devices {
[INFO] [stdout]     |                               ++++++++++++++++++++
[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[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]    --> src/rawinput.rs:116:80
[INFO] [stdout]     |
[INFO] [stdout] 116 | ...                   mem::size_of::<RAWINPUTDEVICELIST>() as UINT);
[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 `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 `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<String>
[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 `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 `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[E0412]: cannot find type `RID_DEVICE_INFO` in this scope
[INFO] [stdout]    --> src/rawinput.rs:218:47
[INFO] [stdout]     |
[INFO] [stdout] 218 |     let mut data_buffer_size = mem::size_of::<RID_DEVICE_INFO>() as u32;
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub unsafe fn get_device_info<RID_DEVICE_INFO>(handle: HANDLE, name: String, serial: Option<String>
[INFO] [stdout]     |                              +++++++++++++++++
[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[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 `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 `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 `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<HANDLE, String> {
[INFO] [stdout]     |                                                       ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub unsafe fn raw_name_to_hid<HANDLE>(name: String) -> Result<HANDLE, String> {
[INFO] [stdout]     |                              ++++++++
[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 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 `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 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[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[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[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 `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[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[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<String>
[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 `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 `HIDP_BUTTON_CAPS` in this scope
[INFO] [stdout]    --> src/rawinput.rs:263:40
[INFO] [stdout]     |
[INFO] [stdout] 263 |             let mut p_button_caps: Vec<HIDP_BUTTON_CAPS> =
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub unsafe fn get_device_info<HIDP_BUTTON_CAPS>(handle: HANDLE, name: String, serial: Option<String>
[INFO] [stdout]     |                              ++++++++++++++++++
[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] 218 |     let mut data_buffer_size = mem::size_of::<RID_DEVICE_INFO>() as u32;
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub unsafe fn get_device_info<RID_DEVICE_INFO>(handle: HANDLE, name: String, serial: Option<String>
[INFO] [stdout]     |                              +++++++++++++++++
[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[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 `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 `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 `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 `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[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope
[INFO] [stdout]    --> src/rawinput.rs:274:39
[INFO] [stdout]     |
[INFO] [stdout] 274 |             let mut p_value_caps: Vec<HIDP_VALUE_CAPS> =
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub unsafe fn get_device_info<HIDP_VALUE_CAPS>(handle: HANDLE, name: String, serial: Option<String>
[INFO] [stdout]     |                              +++++++++++++++++
[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[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[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 `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[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<String> {
[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 `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 `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<RawEvent> {
[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[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 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[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[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[E0412]: cannot find type `HIDP_BUTTON_CAPS` in this scope
[INFO] [stdout]    --> src/rawinput.rs:263:40
[INFO] [stdout]     |
[INFO] [stdout] 263 |             let mut p_button_caps: Vec<HIDP_BUTTON_CAPS> =
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub unsafe fn get_device_info<HIDP_BUTTON_CAPS>(handle: HANDLE, name: String, serial: Option<String>
[INFO] [stdout]     |                              ++++++++++++++++++
[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 `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[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[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[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[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 `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 `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[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[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope
[INFO] [stdout]    --> src/rawinput.rs:274:39
[INFO] [stdout]     |
[INFO] [stdout] 274 |             let mut p_value_caps: Vec<HIDP_VALUE_CAPS> =
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub unsafe fn get_device_info<HIDP_VALUE_CAPS>(handle: HANDLE, name: String, serial: Option<String>
[INFO] [stdout]     |                              +++++++++++++++++
[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[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[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[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[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 `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 `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[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 `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<String> {
[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[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<RawEvent> {
[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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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[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[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]  --> src/devices.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub handles: Vec<HANDLE>,
[INFO] [stdout]   |                      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct MouseInfo<HANDLE> {
[INFO] [stdout]   |                     ++++++++
[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[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[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[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/devices.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub handles: Vec<HANDLE>,
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct KeyboardInfo<HANDLE> {
[INFO] [stdout]    |                        ++++++++
[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[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[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[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/devices.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub handles: Vec<HANDLE>,
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct JoystickInfo<HANDLE> {
[INFO] [stdout]    |                        ++++++++
[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[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[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[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[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 `HIDP_BUTTON_CAPS` in this scope
[INFO] [stdout]   --> src/devices.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub button_caps: Vec<HIDP_BUTTON_CAPS>,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct JoystickInfo<HIDP_BUTTON_CAPS> {
[INFO] [stdout]    |                        ++++++++++++++++++
[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] 7 |     pub handles: Vec<HANDLE>,
[INFO] [stdout]   |                      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct MouseInfo<HANDLE> {
[INFO] [stdout]   |                     ++++++++
[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] 28 |     pub value_caps: Vec<HIDP_VALUE_CAPS>,
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct JoystickInfo<HIDP_VALUE_CAPS> {
[INFO] [stdout]    |                        +++++++++++++++++
[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] 15 |     pub handles: Vec<HANDLE>,
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct KeyboardInfo<HANDLE> {
[INFO] [stdout]    |                        ++++++++
[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:46:29
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub device_map: HashMap<HANDLE, usize>,
[INFO] [stdout]    |                             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Devices<HANDLE>{
[INFO] [stdout]    |                   ++++++++
[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] 23 |     pub handles: Vec<HANDLE>,
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct JoystickInfo<HANDLE> {
[INFO] [stdout]    |                        ++++++++
[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] 136 |     pub fn new (p_button_caps: Vec<HIDP_BUTTON_CAPS>, p_value_caps: Vec<HIDP_VALUE_CAPS>) -> JoystickState {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl<HIDP_BUTTON_CAPS> JoystickState {
[INFO] [stdout]     |     ++++++++++++++++++
[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_VALUE_CAPS` in this scope
[INFO] [stdout]    --> src/devices.rs:136:73
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn new (p_button_caps: Vec<HIDP_BUTTON_CAPS>, p_value_caps: Vec<HIDP_VALUE_CAPS>) -> JoystickState {
[INFO] [stdout]     |                                                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl<HIDP_VALUE_CAPS> JoystickState {
[INFO] [stdout]     |     +++++++++++++++++
[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 `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 `HIDP_BUTTON_CAPS` in this scope
[INFO] [stdout]   --> src/devices.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub button_caps: Vec<HIDP_BUTTON_CAPS>,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct JoystickInfo<HIDP_BUTTON_CAPS> {
[INFO] [stdout]    |                        ++++++++++++++++++
[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[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope
[INFO] [stdout]   --> src/devices.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub value_caps: Vec<HIDP_VALUE_CAPS>,
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct JoystickInfo<HIDP_VALUE_CAPS> {
[INFO] [stdout]    |                        +++++++++++++++++
[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 `HANDLE` in this scope
[INFO] [stdout]   --> src/devices.rs:46:29
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub device_map: HashMap<HANDLE, usize>,
[INFO] [stdout]    |                             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Devices<HANDLE>{
[INFO] [stdout]    |                   ++++++++
[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] 145 |             cbSize: (mem::size_of::<WNDCLASSEXW>()) as UINT,
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn setup_message_window<WNDCLASSEXW>() -> HWND{
[INFO] [stdout]     |                        +++++++++++++
[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] 136 |     pub fn new (p_button_caps: Vec<HIDP_BUTTON_CAPS>, p_value_caps: Vec<HIDP_VALUE_CAPS>) -> JoystickState {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl<HIDP_BUTTON_CAPS> JoystickState {
[INFO] [stdout]     |     ++++++++++++++++++
[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::<WNDCLASSEXW>()) 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] error[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope
[INFO] [stdout]    --> src/devices.rs:136:73
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn new (p_button_caps: Vec<HIDP_BUTTON_CAPS>, p_value_caps: Vec<HIDP_VALUE_CAPS>) -> JoystickState {
[INFO] [stdout]     |                                                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl<HIDP_VALUE_CAPS> JoystickState {
[INFO] [stdout]     |     +++++++++++++++++
[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[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 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[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[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] 185 |     let mut rid_vec: Vec<RAWINPUTDEVICE> = Vec::new();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 183 | fn register_devices<RAWINPUTDEVICE>( hwnd: HWND, reg_type: DeviceType,
[INFO] [stdout]     |                    ++++++++++++++++
[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[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stdout]    --> src/manager.rs:145:37
[INFO] [stdout]     |
[INFO] [stdout] 145 |             cbSize: (mem::size_of::<WNDCLASSEXW>()) as UINT,
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn setup_message_window<WNDCLASSEXW>() -> HWND{
[INFO] [stdout]     |                        +++++++++++++
[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 `UINT` in this scope
[INFO] [stdout]    --> src/manager.rs:145:56
[INFO] [stdout]     |
[INFO] [stdout] 145 |             cbSize: (mem::size_of::<WNDCLASSEXW>()) as UINT,
[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 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[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[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[E0412]: cannot find type `RAWINPUTDEVICE` in this scope
[INFO] [stdout]    --> src/manager.rs:216:28
[INFO] [stdout]     |
[INFO] [stdout] 216 |             mem::size_of::<RAWINPUTDEVICE>() as UINT,
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 183 | fn register_devices<RAWINPUTDEVICE>( hwnd: HWND, reg_type: DeviceType,
[INFO] [stdout]     |                    ++++++++++++++++
[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[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]    --> src/manager.rs:216:49
[INFO] [stdout]     |
[INFO] [stdout] 216 |             mem::size_of::<RAWINPUTDEVICE>() as UINT,
[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] 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] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope
[INFO] [stdout]    --> src/manager.rs:185:26
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let mut rid_vec: Vec<RAWINPUTDEVICE> = Vec::new();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 183 | fn register_devices<RAWINPUTDEVICE>( hwnd: HWND, reg_type: DeviceType,
[INFO] [stdout]     |                    ++++++++++++++++
[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[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] 216 |             mem::size_of::<RAWINPUTDEVICE>() as UINT,
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 183 | fn register_devices<RAWINPUTDEVICE>( hwnd: HWND, reg_type: DeviceType,
[INFO] [stdout]     |                    ++++++++++++++++
[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::<RAWINPUTDEVICE>() 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:37
[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/joystick.rs:48:37
[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:48
[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:44
[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:45
[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:54
[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:44
[INFO] [stdout]     |
[INFO] [stdout] 257 |             let mut caps: HIDP_CAPS = 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:34:48
[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:44
[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:45
[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:54
[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:44
[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 `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 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 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 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 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[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[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[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[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[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[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[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[E0599]: the method `len` exists for struct `Vec<MouseInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/rawinput.rs:144:72
[INFO] [stdout]     |
[INFO] [stdout] 144 | ...                   device_list.mice.len());
[INFO] [stdout]     |                                        ^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct MouseInfo {
[INFO] [stdout]     | -------------------- doesn't satisfy `devices::MouseInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::MouseInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<MouseInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/rawinput.rs:144:72
[INFO] [stdout]     |
[INFO] [stdout] 144 | ...                   device_list.mice.len());
[INFO] [stdout]     |                                        ^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct MouseInfo {
[INFO] [stdout]     | -------------------- doesn't satisfy `devices::MouseInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::MouseInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<MouseInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/rawinput.rs:145:42
[INFO] [stdout]     |
[INFO] [stdout] 145 |                         device_list.mice.push(info);
[INFO] [stdout]     |                                          ^^^^ method cannot be called on `Vec<MouseInfo>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct MouseInfo {
[INFO] [stdout]     | -------------------- doesn't satisfy `devices::MouseInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::MouseInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<MouseInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/rawinput.rs:145:42
[INFO] [stdout]     |
[INFO] [stdout] 145 |                         device_list.mice.push(info);
[INFO] [stdout]     |                                          ^^^^ method cannot be called on `Vec<MouseInfo>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct MouseInfo {
[INFO] [stdout]     | -------------------- doesn't satisfy `devices::MouseInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::MouseInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<KeyboardInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/rawinput.rs:154:77
[INFO] [stdout]     |
[INFO] [stdout] 154 | ...                   device_list.keyboards.len());
[INFO] [stdout]     |                                             ^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub struct KeyboardInfo {
[INFO] [stdout]     | ----------------------- doesn't satisfy `devices::KeyboardInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::KeyboardInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<KeyboardInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/rawinput.rs:154:77
[INFO] [stdout]     |
[INFO] [stdout] 154 | ...                   device_list.keyboards.len());
[INFO] [stdout]     |                                             ^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub struct KeyboardInfo {
[INFO] [stdout]     | ----------------------- doesn't satisfy `devices::KeyboardInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::KeyboardInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<KeyboardInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/rawinput.rs:155:47
[INFO] [stdout]     |
[INFO] [stdout] 155 |                         device_list.keyboards.push(info);
[INFO] [stdout]     |                                               ^^^^ method cannot be called on `Vec<KeyboardInfo>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub struct KeyboardInfo {
[INFO] [stdout]     | ----------------------- doesn't satisfy `devices::KeyboardInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::KeyboardInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<KeyboardInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/rawinput.rs:155:47
[INFO] [stdout]     |
[INFO] [stdout] 155 |                         device_list.keyboards.push(info);
[INFO] [stdout]     |                                               ^^^^ method cannot be called on `Vec<KeyboardInfo>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub struct KeyboardInfo {
[INFO] [stdout]     | ----------------------- doesn't satisfy `devices::KeyboardInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::KeyboardInfo: Sized`
[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 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[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] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/ffi/os_str.rs:143:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 190 |     match OsString::from_iter(name_slice).into_string(){
[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] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/ffi/os_str.rs:143:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 190 |     match OsString::from_iter(name_slice).into_string(){
[INFO] [stdout]     |                     ~~~~~~~~~
[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[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[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[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 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 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 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 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 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 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 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[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[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 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 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 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 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[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[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] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/ffi/os_str.rs:143:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 306 |         match OsString::from_iter(&string_buffer[0..128]).into_string() {
[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: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] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/ffi/os_str.rs:143:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 306 |         match OsString::from_iter(&string_buffer[0..128]).into_string() {
[INFO] [stdout]     |                         ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Vec<devices::MouseInfo>` is not an iterator
[INFO] [stdout]   --> src/devices.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |         for mouse in old_devices.mice {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ `Vec<devices::MouseInfo>` is not an iterator; try calling `.into_iter()` or `.iter()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `IntoIterator` is not implemented for `Vec<devices::MouseInfo>`
[INFO] [stdout]    = help: the following other types implement trait `IntoIterator`:
[INFO] [stdout]              &'a Vec<T, A>
[INFO] [stdout]              &'a mut Vec<T, A>
[INFO] [stdout]              Vec<T, A>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Vec<devices::MouseInfo>` is not an iterator
[INFO] [stdout]   --> src/devices.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |         for mouse in old_devices.mice {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ `Vec<devices::MouseInfo>` is not an iterator; try calling `.into_iter()` or `.iter()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `IntoIterator` is not implemented for `Vec<devices::MouseInfo>`
[INFO] [stdout]    = help: the following other types implement trait `IntoIterator`:
[INFO] [stdout]              &'a Vec<T, A>
[INFO] [stdout]              &'a mut Vec<T, A>
[INFO] [stdout]              Vec<T, A>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope
[INFO] [stdout]   --> src/devices.rs:73:44
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 pos_opt = new_devices.mice.iter().position(|x| x.serial == serial_opt);
[INFO] [stdout]    |                                            ^^^^ method not found in `Vec<MouseInfo>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<MouseInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/devices.rs:84:76
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct MouseInfo {
[INFO] [stdout]    | -------------------- doesn't satisfy `devices::MouseInfo: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 84 |                     new_devices.device_map.insert(handle, new_devices.mice.len());
[INFO] [stdout]    |                                                                            ^^^ private field, not a method
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `{type error}: Sized`
[INFO] [stdout]            which is required by `devices::MouseInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope
[INFO] [stdout]   --> src/devices.rs:73:44
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 pos_opt = new_devices.mice.iter().position(|x| x.serial == serial_opt);
[INFO] [stdout]    |                                            ^^^^ method not found in `Vec<MouseInfo>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<MouseInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/devices.rs:86:34
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct MouseInfo {
[INFO] [stdout]    | -------------------- doesn't satisfy `devices::MouseInfo: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 86 |                 new_devices.mice.push(mouse);
[INFO] [stdout]    |                                  ^^^^ method cannot be called on `Vec<MouseInfo>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `{type error}: Sized`
[INFO] [stdout]            which is required by `devices::MouseInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Vec<devices::KeyboardInfo>` is not an iterator
[INFO] [stdout]   --> src/devices.rs:89:25
[INFO] [stdout]    |
[INFO] [stdout] 89 |         for keyboard in old_devices.keyboards {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^ `Vec<devices::KeyboardInfo>` is not an iterator; try calling `.into_iter()` or `.iter()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `IntoIterator` is not implemented for `Vec<devices::KeyboardInfo>`
[INFO] [stdout]    = help: the following other types implement trait `IntoIterator`:
[INFO] [stdout]              &'a Vec<T, A>
[INFO] [stdout]              &'a mut Vec<T, A>
[INFO] [stdout]              Vec<T, A>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<MouseInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/devices.rs:84:76
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct MouseInfo {
[INFO] [stdout]    | -------------------- doesn't satisfy `devices::MouseInfo: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 84 |                     new_devices.device_map.insert(handle, new_devices.mice.len());
[INFO] [stdout]    |                                                                            ^^^ private field, not a method
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `{type error}: Sized`
[INFO] [stdout]            which is required by `devices::MouseInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<MouseInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/devices.rs:86:34
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct MouseInfo {
[INFO] [stdout]    | -------------------- doesn't satisfy `devices::MouseInfo: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 86 |                 new_devices.mice.push(mouse);
[INFO] [stdout]    |                                  ^^^^ method cannot be called on `Vec<MouseInfo>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `{type error}: Sized`
[INFO] [stdout]            which is required by `devices::MouseInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Vec<devices::KeyboardInfo>` is not an iterator
[INFO] [stdout]   --> src/devices.rs:89:25
[INFO] [stdout]    |
[INFO] [stdout] 89 |         for keyboard in old_devices.keyboards {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^ `Vec<devices::KeyboardInfo>` is not an iterator; try calling `.into_iter()` or `.iter()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `IntoIterator` is not implemented for `Vec<devices::KeyboardInfo>`
[INFO] [stdout]    = help: the following other types implement trait `IntoIterator`:
[INFO] [stdout]              &'a Vec<T, A>
[INFO] [stdout]              &'a mut Vec<T, A>
[INFO] [stdout]              Vec<T, A>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope
[INFO] [stdout]    --> src/devices.rs:100:49
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 pos_opt = new_devices.keyboards.iter().position(|x| x.serial == serial_opt);
[INFO] [stdout]     |                                                 ^^^^ method not found in `Vec<KeyboardInfo>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope
[INFO] [stdout]    --> src/devices.rs:100:49
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 pos_opt = new_devices.keyboards.iter().position(|x| x.serial == serial_opt);
[INFO] [stdout]     |                                                 ^^^^ method not found in `Vec<KeyboardInfo>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<KeyboardInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/devices.rs:111:81
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub struct KeyboardInfo {
[INFO] [stdout]     | ----------------------- doesn't satisfy `devices::KeyboardInfo: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 111 |                     new_devices.device_map.insert(handle, new_devices.keyboards.len());
[INFO] [stdout]     |                                                                                 ^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::KeyboardInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<KeyboardInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/devices.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub struct KeyboardInfo {
[INFO] [stdout]     | ----------------------- doesn't satisfy `devices::KeyboardInfo: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 113 |                 new_devices.keyboards.push(keyboard);
[INFO] [stdout]     |                                       ^^^^ method cannot be called on `Vec<KeyboardInfo>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::KeyboardInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<KeyboardInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/devices.rs:111:81
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub struct KeyboardInfo {
[INFO] [stdout]     | ----------------------- doesn't satisfy `devices::KeyboardInfo: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 111 |                     new_devices.device_map.insert(handle, new_devices.keyboards.len());
[INFO] [stdout]     |                                                                                 ^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::KeyboardInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<KeyboardInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/devices.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub struct KeyboardInfo {
[INFO] [stdout]     | ----------------------- doesn't satisfy `devices::KeyboardInfo: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 113 |                 new_devices.keyboards.push(keyboard);
[INFO] [stdout]     |                                       ^^^^ method cannot be called on `Vec<KeyboardInfo>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::KeyboardInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result<Devices, &str>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/manager.rs:71:62
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     {devices = register_devices(hwnd, thing).unwrap();
[INFO] [stdout]    |                                                              ^^^^^^ method cannot be called on `Result<Devices, &str>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/devices.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Devices{
[INFO] [stdout]    | ------------------ doesn't satisfy `devices::Devices: Sized`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `{type error}: Sized`
[INFO] [stdout]            which is required by `devices::Devices: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result<Devices, &str>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/manager.rs:71:62
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     {devices = register_devices(hwnd, thing).unwrap();
[INFO] [stdout]    |                                                              ^^^^^^ method cannot be called on `Result<Devices, &str>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/devices.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Devices{
[INFO] [stdout]    | ------------------ doesn't satisfy `devices::Devices: Sized`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `{type error}: Sized`
[INFO] [stdout]            which is required by `devices::Devices: Sized`
[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[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[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[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[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 `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 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 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[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[E0599]: the method `clone` exists for struct `Vec<MouseInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/manager.rs:227:31
[INFO] [stdout]     |
[INFO] [stdout] 227 |     for mouse in devices.mice.clone() {
[INFO] [stdout]     |                               ^^^^^ method cannot be called on `Vec<MouseInfo>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct MouseInfo {
[INFO] [stdout]     | -------------------- doesn't satisfy `devices::MouseInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `devices::MouseInfo: Sized`
[INFO] [stdout]             which is required by `Vec<devices::MouseInfo>: Clone`
[INFO] [stdout] note: the trait `Sized` must be implemented
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/marker.rs:145:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `clone` exists for struct `Vec<MouseInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/manager.rs:227:31
[INFO] [stdout]     |
[INFO] [stdout] 227 |     for mouse in devices.mice.clone() {
[INFO] [stdout]     |                               ^^^^^ method cannot be called on `Vec<MouseInfo>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct MouseInfo {
[INFO] [stdout]     | -------------------- doesn't satisfy `devices::MouseInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `devices::MouseInfo: Sized`
[INFO] [stdout]             which is required by `Vec<devices::MouseInfo>: Clone`
[INFO] [stdout] note: the trait `Sized` must be implemented
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/marker.rs:145:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `clone` exists for struct `Vec<KeyboardInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/manager.rs:232:39
[INFO] [stdout]     |
[INFO] [stdout] 232 |     for keyboard in devices.keyboards.clone() {
[INFO] [stdout]     |                                       ^^^^^ method cannot be called on `Vec<KeyboardInfo>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub struct KeyboardInfo {
[INFO] [stdout]     | ----------------------- doesn't satisfy `devices::KeyboardInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `devices::KeyboardInfo: Sized`
[INFO] [stdout]             which is required by `Vec<devices::KeyboardInfo>: Clone`
[INFO] [stdout] note: the trait `Sized` must be implemented
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/marker.rs:145:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `clone` exists for struct `Vec<KeyboardInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/manager.rs:232:39
[INFO] [stdout]     |
[INFO] [stdout] 232 |     for keyboard in devices.keyboards.clone() {
[INFO] [stdout]     |                                       ^^^^^ method cannot be called on `Vec<KeyboardInfo>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub struct KeyboardInfo {
[INFO] [stdout]     | ----------------------- doesn't satisfy `devices::KeyboardInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `devices::KeyboardInfo: Sized`
[INFO] [stdout]             which is required by `Vec<devices::KeyboardInfo>: Clone`
[INFO] [stdout] note: the trait `Sized` must be implemented
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/marker.rs:145:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<MouseInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/manager.rs:248:38
[INFO] [stdout]     |
[INFO] [stdout] 248 |         number_of_mice: devices.mice.len(),
[INFO] [stdout]     |                                      ^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct MouseInfo {
[INFO] [stdout]     | -------------------- doesn't satisfy `devices::MouseInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::MouseInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<KeyboardInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/manager.rs:249:48
[INFO] [stdout]     |
[INFO] [stdout] 249 |         number_of_keyboards: devices.keyboards.len(),
[INFO] [stdout]     |                                                ^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub struct KeyboardInfo {
[INFO] [stdout]     | ----------------------- doesn't satisfy `devices::KeyboardInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::KeyboardInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<MouseInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/manager.rs:248:38
[INFO] [stdout]     |
[INFO] [stdout] 248 |         number_of_mice: devices.mice.len(),
[INFO] [stdout]     |                                      ^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct MouseInfo {
[INFO] [stdout]     | -------------------- doesn't satisfy `devices::MouseInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::MouseInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<KeyboardInfo>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/manager.rs:249:48
[INFO] [stdout]     |
[INFO] [stdout] 249 |         number_of_keyboards: devices.keyboards.len(),
[INFO] [stdout]     |                                                ^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/devices.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub struct KeyboardInfo {
[INFO] [stdout]     | ----------------------- doesn't satisfy `devices::KeyboardInfo: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `devices::KeyboardInfo: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 192 previous errors; 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 192 previous errors; 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `multi-input` (lib) due to 193 previous errors; 19 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `multi-input` (lib test) due to 193 previous errors; 19 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c5a32108c420ca985cb8e8670ad9286a9a804668f6fcd99df345931279c219c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5a32108c420ca985cb8e8670ad9286a9a804668f6fcd99df345931279c219c1", kill_on_drop: false }`
[INFO] [stdout] c5a32108c420ca985cb8e8670ad9286a9a804668f6fcd99df345931279c219c1
