[INFO] cloning repository https://github.com/foriequal0/tpmiddle-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foriequal0/tpmiddle-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforiequal0%2Ftpmiddle-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforiequal0%2Ftpmiddle-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb776ff446faba8c912a07d753c9ec55d47bc57d [INFO] checking foriequal0/tpmiddle-rs against try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforiequal0%2Ftpmiddle-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foriequal0/tpmiddle-rs on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/foriequal0/tpmiddle-rs [INFO] finished tweaking git repo https://github.com/foriequal0/tpmiddle-rs [INFO] tweaked toml for git repo https://github.com/foriequal0/tpmiddle-rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/foriequal0/tpmiddle-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slog-stdlog v4.1.0 [INFO] [stderr] Downloaded slog-envlogger v2.2.0 [INFO] [stderr] Downloaded hidapi v1.2.3 [INFO] [stderr] Downloaded spin_sleep v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 446a5c8c0fe50a40fdb906c2aab66a27c54ce83c93f774538cf529612086a932 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "446a5c8c0fe50a40fdb906c2aab66a27c54ce83c93f774538cf529612086a932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "446a5c8c0fe50a40fdb906c2aab66a27c54ce83c93f774538cf529612086a932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "446a5c8c0fe50a40fdb906c2aab66a27c54ce83c93f774538cf529612086a932", kill_on_drop: false }` [INFO] [stdout] 446a5c8c0fe50a40fdb906c2aab66a27c54ce83c93f774538cf529612086a932 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4d3cfc81a3a8f758af1ced9c86e75349085f733509b89359fb93133e2964dead [INFO] running `Command { std: "docker" "start" "-a" "4d3cfc81a3a8f758af1ced9c86e75349085f733509b89359fb93133e2964dead", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking os_str_bytes v2.3.2 [INFO] [stderr] Checking spin_sleep v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Compiling field-offset v0.3.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking slog-stdlog v4.1.0 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Checking slog-async v2.5.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling hidapi v1.2.3 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num-integer v0.1.43 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking slog-term v2.6.0 [INFO] [stderr] Checking slog-envlogger v2.2.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking tpmiddle-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::{DWORD, LPARAM, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::ntdef::{HANDLE, NULL}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::sysinfoapi::GetTickCount; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/control.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/control.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::WHEEL_DELTA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/control.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | use winapi::um::winuser::MOUSEEVENTF_HWHEEL; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi` [INFO] [stdout] --> src/hook.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::_core::marker::PhantomData; [INFO] [stdout] | ^^^^^ could not find `_core` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/bt_wheel_blocker.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hook.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::{DWORD, HMODULE, LPARAM, LRESULT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hook.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ntdef::NULL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hook.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::windef::HHOOK; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hook.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hook.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/hook.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{DWORD, LPVOID, UINT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::ntdef::HANDLE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tpmiddle.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::{LPARAM, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tpmiddle.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tpmiddle.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::{HRAWINPUT, MOUSEEVENTF_HWHEEL, MOUSEEVENTF_WHEEL, WM_INPUT}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/window.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi` [INFO] [stdout] --> src/window.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::_core::marker::PhantomData; [INFO] [stdout] | ^^^^^ could not find `_core` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/input.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::basetsd::LONG_PTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::minwindef::{FALSE, LPARAM, LRESULT, TRUE, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::shared::ntdef::{LPCWSTR, NULL}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::wincon::GetConsoleWindow; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::shared::minwindef::{DWORD, LPARAM, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::ntdef::HANDLE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::um::processthreadsapi::{GetCurrentProcess, SetPriorityClass}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::um::winbase::HIGH_PRIORITY_CLASS; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::um::winuser::{GIDC_ARRIVAL, GIDC_REMOVAL, WM_INPUT_DEVICE_CHANGE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / c_try_ne!( [INFO] [stdout] 87 | | -1i32 as _, [INFO] [stdout] 88 | | GetRawInputDeviceList(NULL as _, &mut num_devices, SIZE) [INFO] [stdout] 89 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / c_try_ne!( [INFO] [stdout] 92 | | -1i32 as _, [INFO] [stdout] 93 | | GetRawInputDeviceList(devices.as_mut_ptr(), &mut num_devices, SIZE) [INFO] [stdout] 94 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / c_try_ne!( [INFO] [stdout] 105 | | -1i32 as _, [INFO] [stdout] 106 | | GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, NULL as _, &mut size) [INFO] [stdout] 107 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | / c_try_ne!( [INFO] [stdout] 110 | | -1i32 as _, [INFO] [stdout] 111 | | GetRawInputDeviceInfoW( [INFO] [stdout] 112 | | device.hDevice, [INFO] [stdout] ... | [INFO] [stdout] 116 | | ) [INFO] [stdout] 117 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ::winapi::shared::minwindef::{BOOL, FALSE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let hmod = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let hhook = c_try_nonnull!(SetWindowsHookExW(id_hook, lpfn, hmod, dw_thread_id))?; [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ::winapi::shared::minwindef::{BOOL, FALSE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / c_try_ne!( [INFO] [stdout] 144 | | (-1i32) as UINT, [INFO] [stdout] 145 | | GetRawInputDeviceInfoW( [INFO] [stdout] 146 | | handle, [INFO] [stdout] ... | [INFO] [stdout] 150 | | ) [INFO] [stdout] 151 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let hwnd = c_try_nonnull!(CreateWindowExW( [INFO] [stdout] | ____________________- [INFO] [stdout] 40 | | 0, [INFO] [stdout] 41 | | class.atom, [INFO] [stdout] 42 | | name.as_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 51 | | proc.as_mut() as *mut T as _, [INFO] [stdout] 52 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(err) = c_try_nonnull!(SetWindowLongPtrW( [INFO] [stdout] | ___________________________- [INFO] [stdout] 55 | | hwnd, [INFO] [stdout] 56 | | 0, [INFO] [stdout] 57 | | proc.as_mut() as *mut T as LONG_PTR [INFO] [stdout] 58 | | )) { [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ::winapi::shared::minwindef::{BOOL, FALSE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | let status = c_try_ne!(-1, GetMessageW(&mut message, self.hwnd, 0, 0))?; [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | class.hInstance = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | let atom = c_try_nonnull!(RegisterClassExW(&class))?; [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ::winapi::shared::minwindef::{BOOL, FALSE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / c_try!(RegisterRawInputDevices( [INFO] [stdout] 229 | | devices.as_ptr(), [INFO] [stdout] 230 | | devices.len() as _, [INFO] [stdout] 231 | | std::mem::size_of::() as _ [INFO] [stdout] 232 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / c_try!(RegisterRawInputDevices( [INFO] [stdout] 229 | | devices.as_ptr(), [INFO] [stdout] 230 | | devices.len() as _, [INFO] [stdout] 231 | | std::mem::size_of::() as _ [INFO] [stdout] 232 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ::winapi::shared::minwindef::{BOOL, FALSE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/window.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::ctypes::wchar_t; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::{DWORD, LPARAM, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::ntdef::{HANDLE, NULL}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::sysinfoapi::GetTickCount; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/control.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/control.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::WHEEL_DELTA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/control.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | use winapi::um::winuser::MOUSEEVENTF_HWHEEL; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi` [INFO] [stdout] --> src/hook.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::_core::marker::PhantomData; [INFO] [stdout] | ^^^^^ could not find `_core` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/bt_wheel_blocker.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hook.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::{DWORD, HMODULE, LPARAM, LRESULT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hook.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ntdef::NULL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hook.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::windef::HHOOK; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hook.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hook.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/hook.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{DWORD, LPVOID, UINT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::ntdef::HANDLE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tpmiddle.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::{LPARAM, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tpmiddle.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tpmiddle.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::{HRAWINPUT, MOUSEEVENTF_HWHEEL, MOUSEEVENTF_WHEEL, WM_INPUT}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/window.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi` [INFO] [stdout] --> src/window.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::_core::marker::PhantomData; [INFO] [stdout] | ^^^^^ could not find `_core` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/input.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::basetsd::LONG_PTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::minwindef::{FALSE, LPARAM, LRESULT, TRUE, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::shared::ntdef::{LPCWSTR, NULL}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::wincon::GetConsoleWindow; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::shared::minwindef::{DWORD, LPARAM, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::ntdef::HANDLE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::um::processthreadsapi::{GetCurrentProcess, SetPriorityClass}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::um::winbase::HIGH_PRIORITY_CLASS; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::um::winuser::{GIDC_ARRIVAL, GIDC_REMOVAL, WM_INPUT_DEVICE_CHANGE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / c_try_ne!( [INFO] [stdout] 87 | | -1i32 as _, [INFO] [stdout] 88 | | GetRawInputDeviceList(NULL as _, &mut num_devices, SIZE) [INFO] [stdout] 89 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / c_try_ne!( [INFO] [stdout] 92 | | -1i32 as _, [INFO] [stdout] 93 | | GetRawInputDeviceList(devices.as_mut_ptr(), &mut num_devices, SIZE) [INFO] [stdout] 94 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / c_try_ne!( [INFO] [stdout] 105 | | -1i32 as _, [INFO] [stdout] 106 | | GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, NULL as _, &mut size) [INFO] [stdout] 107 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | / c_try_ne!( [INFO] [stdout] 110 | | -1i32 as _, [INFO] [stdout] 111 | | GetRawInputDeviceInfoW( [INFO] [stdout] 112 | | device.hDevice, [INFO] [stdout] ... | [INFO] [stdout] 116 | | ) [INFO] [stdout] 117 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ::winapi::shared::minwindef::{BOOL, FALSE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let hmod = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let hhook = c_try_nonnull!(SetWindowsHookExW(id_hook, lpfn, hmod, dw_thread_id))?; [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ::winapi::shared::minwindef::{BOOL, FALSE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / c_try_ne!( [INFO] [stdout] 144 | | (-1i32) as UINT, [INFO] [stdout] 145 | | GetRawInputDeviceInfoW( [INFO] [stdout] 146 | | handle, [INFO] [stdout] ... | [INFO] [stdout] 150 | | ) [INFO] [stdout] 151 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let hwnd = c_try_nonnull!(CreateWindowExW( [INFO] [stdout] | ____________________- [INFO] [stdout] 40 | | 0, [INFO] [stdout] 41 | | class.atom, [INFO] [stdout] 42 | | name.as_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 51 | | proc.as_mut() as *mut T as _, [INFO] [stdout] 52 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(err) = c_try_nonnull!(SetWindowLongPtrW( [INFO] [stdout] | ___________________________- [INFO] [stdout] 55 | | hwnd, [INFO] [stdout] 56 | | 0, [INFO] [stdout] 57 | | proc.as_mut() as *mut T as LONG_PTR [INFO] [stdout] 58 | | )) { [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ::winapi::shared::minwindef::{BOOL, FALSE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | let status = c_try_ne!(-1, GetMessageW(&mut message, self.hwnd, 0, 0))?; [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | class.hInstance = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | let atom = c_try_nonnull!(RegisterClassExW(&class))?; [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ::winapi::shared::minwindef::{BOOL, FALSE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / c_try!(RegisterRawInputDevices( [INFO] [stdout] 229 | | devices.as_ptr(), [INFO] [stdout] 230 | | devices.len() as _, [INFO] [stdout] 231 | | std::mem::size_of::() as _ [INFO] [stdout] 232 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / c_try!(RegisterRawInputDevices( [INFO] [stdout] 229 | | devices.as_ptr(), [INFO] [stdout] 230 | | devices.len() as _, [INFO] [stdout] 231 | | std::mem::size_of::() as _ [INFO] [stdout] 232 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ::winapi::shared::minwindef::{BOOL, FALSE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/window.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::ctypes::wchar_t; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/bt_wheel_blocker.rs:209:58 [INFO] [stdout] | [INFO] [stdout] 209 | if data.time < DAY_MS && message.time >= DWORD::max_value() - DAY_MS { [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/bt_wheel_blocker.rs:211:22 [INFO] [stdout] | [INFO] [stdout] 211 | (DWORD::max_value() - message.time + data.time) as i32 [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/bt_wheel_blocker.rs:212:65 [INFO] [stdout] | [INFO] [stdout] 212 | } else if message.time < DAY_MS && data.time >= DWORD::max_value() - DAY_MS { [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/bt_wheel_blocker.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | -((DWORD::max_value() - data.time + message.time) as i32) [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/bt_wheel_blocker.rs:209:58 [INFO] [stdout] | [INFO] [stdout] 209 | if data.time < DAY_MS && message.time >= DWORD::max_value() - DAY_MS { [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/bt_wheel_blocker.rs:211:22 [INFO] [stdout] | [INFO] [stdout] 211 | (DWORD::max_value() - message.time + data.time) as i32 [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/bt_wheel_blocker.rs:212:65 [INFO] [stdout] | [INFO] [stdout] 212 | } else if message.time < DAY_MS && data.time >= DWORD::max_value() - DAY_MS { [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/bt_wheel_blocker.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | -((DWORD::max_value() - data.time + message.time) as i32) [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | target_device_handle: HANDLE, [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/bt_wheel_blocker.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn peek_message(&mut self, u_msg: UINT, l_param: LPARAM) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:42:58 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn peek_message(&mut self, u_msg: UINT, l_param: LPARAM) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_INPUT` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | if u_msg != WM_INPUT { [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/bt_wheel_blocker.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | const SIZE: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputData` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | let result = GetRawInputData( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RID_INPUT` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | RID_INPUT, [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/bt_wheel_blocker.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 41 | impl WheelBlocker { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 56 | std::mem::size_of::() as _, [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/bt_wheel_blocker.rs:61:53 [INFO] [stdout] | [INFO] [stdout] 61 | let raw = raw_buffer.as_ptr() as *const RAWINPUT; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIM_TYPEMOUSE` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | if header.dwType != RIM_TYPEMOUSE { [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/bt_wheel_blocker.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | if mouse.usButtonFlags & RI_MOUSE_WHEEL == 0x00 { [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/bt_wheel_blocker.rs:83:67 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_target_device_handle(target_device: &DeviceInfo) -> Result { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | const SIZE: UINT = std::mem::size_of::() as _; [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/bt_wheel_blocker.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | const SIZE: UINT = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / c_try_ne!( [INFO] [stdout] 87 | | -1i32 as _, [INFO] [stdout] 88 | | GetRawInputDeviceList(NULL as _, &mut num_devices, SIZE) [INFO] [stdout] 89 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceList` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | GetRawInputDeviceList(NULL as _, &mut num_devices, SIZE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | GetRawInputDeviceList(NULL as _, &mut num_devices, SIZE) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / c_try_ne!( [INFO] [stdout] 87 | | -1i32 as _, [INFO] [stdout] 88 | | GetRawInputDeviceList(NULL as _, &mut num_devices, SIZE) [INFO] [stdout] 89 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / c_try_ne!( [INFO] [stdout] 92 | | -1i32 as _, [INFO] [stdout] 93 | | GetRawInputDeviceList(devices.as_mut_ptr(), &mut num_devices, SIZE) [INFO] [stdout] 94 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceList` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | GetRawInputDeviceList(devices.as_mut_ptr(), &mut num_devices, SIZE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / c_try_ne!( [INFO] [stdout] 92 | | -1i32 as _, [INFO] [stdout] 93 | | GetRawInputDeviceList(devices.as_mut_ptr(), &mut num_devices, SIZE) [INFO] [stdout] 94 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / c_try_ne!( [INFO] [stdout] 105 | | -1i32 as _, [INFO] [stdout] 106 | | GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, NULL as _, &mut size) [INFO] [stdout] 107 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoW` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, NULL as _, &mut size) [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/bt_wheel_blocker.rs:106:52 [INFO] [stdout] | [INFO] [stdout] 106 | GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, NULL as _, &mut size) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:106:69 [INFO] [stdout] | [INFO] [stdout] 106 | GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, NULL as _, &mut size) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / c_try_ne!( [INFO] [stdout] 105 | | -1i32 as _, [INFO] [stdout] 106 | | GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, NULL as _, &mut size) [INFO] [stdout] 107 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | / c_try_ne!( [INFO] [stdout] 110 | | -1i32 as _, [INFO] [stdout] 111 | | GetRawInputDeviceInfoW( [INFO] [stdout] 112 | | device.hDevice, [INFO] [stdout] ... | [INFO] [stdout] 116 | | ) [INFO] [stdout] 117 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoW` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | GetRawInputDeviceInfoW( [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/bt_wheel_blocker.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | RIDI_DEVICENAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | / c_try_ne!( [INFO] [stdout] 110 | | -1i32 as _, [INFO] [stdout] 111 | | GetRawInputDeviceInfoW( [INFO] [stdout] 112 | | device.hDevice, [INFO] [stdout] ... | [INFO] [stdout] 116 | | ) [INFO] [stdout] 117 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | time: DWORD, [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/bt_wheel_blocker.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTickCount` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | time: unsafe { GetTickCount() }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/util.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let result: BOOL = $expr; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/util.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:192:49 [INFO] [stdout] | [INFO] [stdout] 192 | fn proc(&mut self, _n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> HookProcResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:192:66 [INFO] [stdout] | [INFO] [stdout] 192 | fn proc(&mut self, _n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> HookProcResult { [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/bt_wheel_blocker.rs:193:23 [INFO] [stdout] | [INFO] [stdout] 193 | if w_param as UINT != WM_MOUSEWHEEL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_MOUSEWHEEL` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | if w_param as UINT != WM_MOUSEWHEEL { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSLLHOOKSTRUCT` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:197:48 [INFO] [stdout] | [INFO] [stdout] 197 | let data = unsafe { *{ l_param as *mut MSLLHOOKSTRUCT } }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LLMHF_INJECTED` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | if data.flags & LLMHF_INJECTED != 0x00 || data.flags & LLMHF_LOWER_IL_INJECTED != 0x00 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LLMHF_LOWER_IL_INJECTED` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:198:64 [INFO] [stdout] | [INFO] [stdout] 198 | if data.flags & LLMHF_INJECTED != 0x00 || data.flags & LLMHF_LOWER_IL_INJECTED != 0x00 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | const DAY_MS: DWORD = 1000 * 60 * 60 * 24; [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/bt_wheel_blocker.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 241 | const WM_USER_QUIT: UINT = WM_USER + 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | const WM_USER_QUIT: UINT = WM_USER + 1; [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/bt_wheel_blocker.rs:246:16 [INFO] [stdout] | [INFO] [stdout] 246 | _hwnd: HWND, [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/bt_wheel_blocker.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 248 | _w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | _l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe { PostQuitMessage(0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | fn scroll(&self, event: DWORD, units: i8); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | fn scroll(&self, event: DWORD, delta: i8) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHEEL_DELTA` in this scope [INFO] [stdout] --> src/control.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | send_wheel(event, (delta as i32 * WHEEL_DELTA as i32) as _) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | fn scroll(&self, event: DWORD, delta: i8) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_HWHEEL` in this scope [INFO] [stdout] --> src/control.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | if event == MOUSEEVENTF_HWHEEL { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHEEL_DELTA` in this scope [INFO] [stdout] --> src/control.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | send_wheel(event, (delta as i32 * WHEEL_DELTA as i32) as _) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 138 | fn scroll(&self, event: DWORD, delta: i8) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | Scroll { event: DWORD, delta: i8 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | event: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:250:49 [INFO] [stdout] | [INFO] [stdout] 250 | fn feed(&mut self, now: Instant, event: DWORD, delta: i8) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHEEL_DELTA` in this scope [INFO] [stdout] --> src/control.rs:350:69 [INFO] [stdout] | [INFO] [stdout] 350 | let delta_f32 = scroll_direction * amount * WHEEL_DELTA as f32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:358:34 [INFO] [stdout] | [INFO] [stdout] 358 | delta as DWORD [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:379:16 [INFO] [stdout] | [INFO] [stdout] 379 | event: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:380:21 [INFO] [stdout] | [INFO] [stdout] 380 | mouse_data: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/hook.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub type HookProcResult = Result; [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/hook.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | fn proc(&mut self, n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> HookProcResult; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/hook.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 22 | fn proc(&mut self, n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> HookProcResult; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/hook.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::hid::fmt::string::lossy::char::methods::slice::iter::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/hook.rs:33:57 [INFO] [stdout] | [INFO] [stdout] 33 | extern "system" fn proc(n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/hook.rs:33:74 [INFO] [stdout] | [INFO] [stdout] 33 | extern "system" fn proc(n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/hook.rs:33:85 [INFO] [stdout] | [INFO] [stdout] 33 | extern "system" fn proc(n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WH_MOUSE_LL` in this scope [INFO] [stdout] --> src/hook.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | let entry = hooks.get_mut(&WH_MOUSE_LL).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallNextHookEx` in this scope [INFO] [stdout] --> src/hook.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { CallNextHookEx(entry.hhook, n_code, w_param, l_param) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallNextHookEx` in this scope [INFO] [stdout] --> src/hook.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | CallNextHookEx(entry.hhook, n_code, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WH_MOUSE_LL` in this scope [INFO] [stdout] --> src/hook.rs:48:51 [INFO] [stdout] | [INFO] [stdout] 48 | let register = register_hook_proc_context(WH_MOUSE_LL, hook_proc)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let hmod = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/hook.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | let hmod = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/hook.rs:49:52 [INFO] [stdout] | [INFO] [stdout] 49 | let hmod = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let hmod = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WH_MOUSE_LL` in this scope [INFO] [stdout] --> src/hook.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | let hook_handle = HookHandle::new(WH_MOUSE_LL, Some(proc), hmod, 0)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HHOOK` in this scope [INFO] [stdout] --> src/hook.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | hhook: HHOOK, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HOOKPROC` in this scope [INFO] [stdout] --> src/hook.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | fn new(id_hook: c_int, lpfn: HOOKPROC, hmod: HMODULE, dw_thread_id: DWORD) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/hook.rs:73:50 [INFO] [stdout] | [INFO] [stdout] 73 | fn new(id_hook: c_int, lpfn: HOOKPROC, hmod: HMODULE, dw_thread_id: DWORD) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/hook.rs:73:73 [INFO] [stdout] | [INFO] [stdout] 73 | fn new(id_hook: c_int, lpfn: HOOKPROC, hmod: HMODULE, dw_thread_id: DWORD) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let hhook = c_try_nonnull!(SetWindowsHookExW(id_hook, lpfn, hmod, dw_thread_id))?; [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowsHookExW` in this scope [INFO] [stdout] --> src/hook.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | let hhook = c_try_nonnull!(SetWindowsHookExW(id_hook, lpfn, hmod, dw_thread_id))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let hhook = c_try_nonnull!(SetWindowsHookExW(id_hook, lpfn, hmod, dw_thread_id))?; [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/util.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let result: BOOL = $expr; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnhookWindowsHookEx` in this scope [INFO] [stdout] --> src/hook.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/util.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HHOOK` in this scope [INFO] [stdout] --> src/hook.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | hhook: HHOOK, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HHOOK` in this scope [INFO] [stdout] --> src/hook.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | fn get_handle(mut self, hhook: HHOOK) -> HookProcHandle { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/input.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn send_click(button: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/input.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let mut input0: INPUT = Default::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/input.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | let mut input1: INPUT = Default::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope [INFO] [stdout] --> src/input.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | input0.type_ = INPUT_MOUSE; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope [INFO] [stdout] --> src/input.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | input1.type_ = INPUT_MOUSE; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_MIDDLEDOWN` in this scope [INFO] [stdout] --> src/input.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | mi0.dwFlags = MOUSEEVENTF_MIDDLEDOWN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_MIDDLEUP` in this scope [INFO] [stdout] --> src/input.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | mi1.dwFlags = MOUSEEVENTF_MIDDLEUP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_XDOWN` in this scope [INFO] [stdout] --> src/input.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | mi0.dwFlags = MOUSEEVENTF_XDOWN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_XUP` in this scope [INFO] [stdout] --> src/input.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | mi1.dwFlags = MOUSEEVENTF_XUP; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope [INFO] [stdout] --> src/input.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | SendInput( [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/input.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | input.len() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/input.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn send_click(button: DWORD) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 38 | std::mem::size_of::() as c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/input.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn send_wheel(event: DWORD, mouse_data: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/input.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn send_wheel(event: DWORD, mouse_data: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/input.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let mut input: INPUT = Default::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope [INFO] [stdout] --> src/input.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | input.type_ = INPUT_MOUSE; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope [INFO] [stdout] --> src/input.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | SendInput(1, &mut input, std::mem::size_of::() as c_int); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/input.rs:52:54 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn send_wheel(event: DWORD, mouse_data: DWORD) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 52 | SendInput(1, &mut input, std::mem::size_of::() as c_int); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO_HID` in this scope [INFO] [stdout] --> src/input.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl From<&RID_DEVICE_INFO_HID> for DeviceInfo { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO_HID` in this scope [INFO] [stdout] --> src/input.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | fn from(di: &RID_DEVICE_INFO_HID) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope [INFO] [stdout] --> src/input.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | l_param: HRAWINPUT, [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/input.rs:80:49 [INFO] [stdout] | [INFO] [stdout] 80 | const SIZE: usize = std::mem::size_of::() + 9; [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/input.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | let mut size = SIZE as UINT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputData` in this scope [INFO] [stdout] --> src/input.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | let result = GetRawInputData( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope [INFO] [stdout] --> src/input.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | l_param as HRAWINPUT, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RID_INPUT` in this scope [INFO] [stdout] --> src/input.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | RID_INPUT, [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/input.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | raw_buffer.as_mut_ptr() as LPVOID, [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/input.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 75 | impl Event { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 89 | std::mem::size_of::() as UINT, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/input.rs:89:58 [INFO] [stdout] | [INFO] [stdout] 89 | std::mem::size_of::() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/input.rs:91:40 [INFO] [stdout] | [INFO] [stdout] 91 | if result == (-1 as i32 as UINT) { [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/input.rs:94:53 [INFO] [stdout] | [INFO] [stdout] 94 | let raw = raw_buffer.as_ptr() as *const RAWINPUT; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIM_TYPEHID` in this scope [INFO] [stdout] --> src/input.rs:96:33 [INFO] [stdout] | [INFO] [stdout] 96 | if header.dwType != RIM_TYPEHID { [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/input.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_device_info(handle: HANDLE) -> Result { [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/input.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | let mut rid_device_info: RID_DEVICE_INFO = Default::default(); [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/input.rs:141:63 [INFO] [stdout] | [INFO] [stdout] 141 | let mut size = std::mem::size_of_val(&rid_device_info) as UINT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / c_try_ne!( [INFO] [stdout] 144 | | (-1i32) as UINT, [INFO] [stdout] 145 | | GetRawInputDeviceInfoW( [INFO] [stdout] 146 | | handle, [INFO] [stdout] ... | [INFO] [stdout] 150 | | ) [INFO] [stdout] 151 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoW` in this scope [INFO] [stdout] --> src/input.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | GetRawInputDeviceInfoW( [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/input.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | RIDI_DEVICEINFO, [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/input.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | &mut rid_device_info as *mut RID_DEVICE_INFO as LPVOID, [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/input.rs:148:61 [INFO] [stdout] | [INFO] [stdout] 148 | &mut rid_device_info as *mut RID_DEVICE_INFO as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/input.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | (-1i32) as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / c_try_ne!( [INFO] [stdout] 144 | | (-1i32) as UINT, [INFO] [stdout] 145 | | GetRawInputDeviceInfoW( [INFO] [stdout] 146 | | handle, [INFO] [stdout] ... | [INFO] [stdout] 150 | | ) [INFO] [stdout] 151 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIM_TYPEHID` in this scope [INFO] [stdout] --> src/input.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | rid_device_info.dwType == RIM_TYPEHID, [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/tpmiddle.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | _hwnd: HWND, [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/tpmiddle.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/tpmiddle.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | _w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/tpmiddle.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_INPUT` in this scope [INFO] [stdout] --> src/tpmiddle.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | if u_msg != WM_INPUT { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope [INFO] [stdout] --> src/tpmiddle.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | Event::from_raw_input(l_param as HRAWINPUT, self.listening_device_infos) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_WHEEL` in this scope [INFO] [stdout] --> src/tpmiddle.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | self.control.scroll(MOUSEEVENTF_WHEEL, dy); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_HWHEEL` in this scope [INFO] [stdout] --> src/tpmiddle.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | self.control.scroll(MOUSEEVENTF_HWHEEL, dx); [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/window.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/window.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::hid::fmt::string::lossy::char::methods::slice::iter::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let hwnd = c_try_nonnull!(CreateWindowExW( [INFO] [stdout] | ____________________- [INFO] [stdout] 40 | | 0, [INFO] [stdout] 41 | | class.atom, [INFO] [stdout] 42 | | name.as_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 51 | | proc.as_mut() as *mut T as _, [INFO] [stdout] 52 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/window.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | let hwnd = c_try_nonnull!(CreateWindowExW( [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/window.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | HWND_MESSAGE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/window.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | NULL as _, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/window.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | NULL as _, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let hwnd = c_try_nonnull!(CreateWindowExW( [INFO] [stdout] | ____________________- [INFO] [stdout] 40 | | 0, [INFO] [stdout] 41 | | class.atom, [INFO] [stdout] 42 | | name.as_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 51 | | proc.as_mut() as *mut T as _, [INFO] [stdout] 52 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(err) = c_try_nonnull!(SetWindowLongPtrW( [INFO] [stdout] | ___________________________- [INFO] [stdout] 55 | | hwnd, [INFO] [stdout] 56 | | 0, [INFO] [stdout] 57 | | proc.as_mut() as *mut T as LONG_PTR [INFO] [stdout] 58 | | )) { [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/window.rs:54:42 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(err) = c_try_nonnull!(SetWindowLongPtrW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stdout] --> src/window.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | proc.as_mut() as *mut T as LONG_PTR [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(err) = c_try_nonnull!(SetWindowLongPtrW( [INFO] [stdout] | ___________________________- [INFO] [stdout] 55 | | hwnd, [INFO] [stdout] 56 | | 0, [INFO] [stdout] 57 | | proc.as_mut() as *mut T as LONG_PTR [INFO] [stdout] 58 | | )) { [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/util.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let result: BOOL = $expr; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/window.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/util.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleWindow` in this scope [INFO] [stdout] --> src/window.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | let console = GetConsoleWindow(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope [INFO] [stdout] --> src/window.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | if IsWindowVisible(console) == TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/window.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | if IsWindowVisible(console) == TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/window.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | ShowWindow(console, SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> src/window.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | ShowWindow(console, SW_HIDE); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 33 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `, WPARAM` [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn run(self) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/window.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | let mut message: MSG = Default::default(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | let status = c_try_ne!(-1, GetMessageW(&mut message, self.hwnd, 0, 0))?; [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/window.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 81 | let status = c_try_ne!(-1, GetMessageW(&mut message, self.hwnd, 0, 0))?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | let status = c_try_ne!(-1, GetMessageW(&mut message, self.hwnd, 0, 0))?; [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/window.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | TranslateMessage(&message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/window.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | DispatchMessageW(&message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/window.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | assert_ne!(0, DestroyWindow(self.hwnd)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | pub type WindowProcResult = Result; [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | hwnd: HWND, [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/window.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | l_param: LPARAM, [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/window.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | fn window_proc_ptr_from_hwnd(hwnd: HWND) -> *mut T { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/window.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | let long_ptr = GetWindowLongPtrW(hwnd, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stdout] --> src/window.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 125 | fn window_proc_ptr_from_hwnd(hwnd: HWND) -> *mut T { [INFO] [stdout] | - help: you might be missing a type parameter: `, LONG_PTR` [INFO] [stdout] ... [INFO] [stdout] 128 | std::mem::transmute::(long_ptr) [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/window.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | hwnd: HWND, [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/window.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 137 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/window.rs:150:55 [INFO] [stdout] | [INFO] [stdout] 150 | Err(WindowProcError::UnhandledMessage) => DefWindowProcW(hwnd, u_msg, w_param, l_param), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/window.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | PostQuitMessage(-1); [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/window.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | class: WNDCLASSEXW, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/window.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | atom: LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/window.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::hid::fmt::string::lossy::char::methods::slice::iter::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let mut class: WNDCLASSEXW = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | class.hInstance = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window.rs:174:42 [INFO] [stdout] | [INFO] [stdout] 174 | class.hInstance = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/window.rs:174:59 [INFO] [stdout] | [INFO] [stdout] 174 | class.hInstance = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | class.hInstance = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | let atom = c_try_nonnull!(RegisterClassExW(&class))?; [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/window.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | let atom = c_try_nonnull!(RegisterClassExW(&class))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | let atom = c_try_nonnull!(RegisterClassExW(&class))?; [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassW` in this scope [INFO] [stdout] --> src/window.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | assert_ne!(0, UnregisterClassW(self.atom, self.class.hInstance)); [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/window.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Devices { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 196 | devices: Box<[RAWINPUTDEVICE]>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDEV_DEVNOTIFY` in this scope [INFO] [stdout] --> src/window.rs:207:71 [INFO] [stdout] | [INFO] [stdout] 207 | flags.insert((device_info.usage_page, device_info.usage), RIDEV_DEVNOTIFY); [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/window.rs:211:67 [INFO] [stdout] | [INFO] [stdout] 211 | Entry::Occupied(mut entry) => *entry.get_mut() |= RIDEV_INPUTSINK, [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/window.rs:213:34 [INFO] [stdout] | [INFO] [stdout] 213 | entry.insert(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/window.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | devices.push(RAWINPUTDEVICE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / c_try!(RegisterRawInputDevices( [INFO] [stdout] 229 | | devices.as_ptr(), [INFO] [stdout] 230 | | devices.len() as _, [INFO] [stdout] 231 | | std::mem::size_of::() as _ [INFO] [stdout] 232 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/util.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let result: BOOL = $expr; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / c_try!(RegisterRawInputDevices( [INFO] [stdout] 229 | | devices.as_ptr(), [INFO] [stdout] 230 | | devices.len() as _, [INFO] [stdout] 231 | | std::mem::size_of::() as _ [INFO] [stdout] 232 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope [INFO] [stdout] --> src/window.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | c_try!(RegisterRawInputDevices( [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/window.rs:231:33 [INFO] [stdout] | [INFO] [stdout] 199 | impl Devices { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 231 | std::mem::size_of::() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/util.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / c_try!(RegisterRawInputDevices( [INFO] [stdout] 229 | | devices.as_ptr(), [INFO] [stdout] 230 | | devices.len() as _, [INFO] [stdout] 231 | | std::mem::size_of::() as _ [INFO] [stdout] 232 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / c_try!(RegisterRawInputDevices( [INFO] [stdout] 229 | | devices.as_ptr(), [INFO] [stdout] 230 | | devices.len() as _, [INFO] [stdout] 231 | | std::mem::size_of::() as _ [INFO] [stdout] 232 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDEV_REMOVE` in this scope [INFO] [stdout] --> src/window.rs:243:30 [INFO] [stdout] | [INFO] [stdout] 243 | device.dwFlags = RIDEV_REMOVE; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/window.rs:244:33 [INFO] [stdout] | [INFO] [stdout] 244 | device.hwndTarget = NULL as _; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | FALSE, [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/window.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | RegisterRawInputDevices( [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/window.rs:252:41 [INFO] [stdout] | [INFO] [stdout] 240 | impl Drop for Devices { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 252 | std::mem::size_of::() as _ [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/main.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 53 | struct TransportAgnosticTPMiddle<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, HANDLE` [INFO] [stdout] ... [INFO] [stdout] 56 | devices: HashMap, [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/main.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | hwnd: HWND, [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/main.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:143:50 [INFO] [stdout] | [INFO] [stdout] 143 | WM_INPUT_DEVICE_CHANGE if w_param as DWORD == GIDC_ARRIVAL => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GIDC_ARRIVAL` in this scope [INFO] [stdout] --> src/main.rs:143:59 [INFO] [stdout] | [INFO] [stdout] 143 | WM_INPUT_DEVICE_CHANGE if w_param as DWORD == GIDC_ARRIVAL => { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:172:50 [INFO] [stdout] | [INFO] [stdout] 172 | WM_INPUT_DEVICE_CHANGE if w_param as DWORD == GIDC_REMOVAL => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GIDC_REMOVAL` in this scope [INFO] [stdout] --> src/main.rs:172:59 [INFO] [stdout] | [INFO] [stdout] 172 | WM_INPUT_DEVICE_CHANGE if w_param as DWORD == GIDC_REMOVAL => { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:277:35 [INFO] [stdout] | [INFO] [stdout] 277 | fn try_main(args: Args) -> Result { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/util.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let result: BOOL = $expr; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/main.rs:278:29 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIGH_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/main.rs:278:50 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/util.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | target_device_handle: HANDLE, [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/bt_wheel_blocker.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn peek_message(&mut self, u_msg: UINT, l_param: LPARAM) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:42:58 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn peek_message(&mut self, u_msg: UINT, l_param: LPARAM) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_INPUT` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | if u_msg != WM_INPUT { [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/bt_wheel_blocker.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | const SIZE: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputData` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | let result = GetRawInputData( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RID_INPUT` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | RID_INPUT, [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/bt_wheel_blocker.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 41 | impl WheelBlocker { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 56 | std::mem::size_of::() as _, [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/bt_wheel_blocker.rs:61:53 [INFO] [stdout] | [INFO] [stdout] 61 | let raw = raw_buffer.as_ptr() as *const RAWINPUT; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIM_TYPEMOUSE` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | if header.dwType != RIM_TYPEMOUSE { [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/bt_wheel_blocker.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | if mouse.usButtonFlags & RI_MOUSE_WHEEL == 0x00 { [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/bt_wheel_blocker.rs:83:67 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_target_device_handle(target_device: &DeviceInfo) -> Result { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | const SIZE: UINT = std::mem::size_of::() as _; [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/bt_wheel_blocker.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | const SIZE: UINT = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / c_try_ne!( [INFO] [stdout] 87 | | -1i32 as _, [INFO] [stdout] 88 | | GetRawInputDeviceList(NULL as _, &mut num_devices, SIZE) [INFO] [stdout] 89 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceList` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | GetRawInputDeviceList(NULL as _, &mut num_devices, SIZE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | GetRawInputDeviceList(NULL as _, &mut num_devices, SIZE) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / c_try_ne!( [INFO] [stdout] 87 | | -1i32 as _, [INFO] [stdout] 88 | | GetRawInputDeviceList(NULL as _, &mut num_devices, SIZE) [INFO] [stdout] 89 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / c_try_ne!( [INFO] [stdout] 92 | | -1i32 as _, [INFO] [stdout] 93 | | GetRawInputDeviceList(devices.as_mut_ptr(), &mut num_devices, SIZE) [INFO] [stdout] 94 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceList` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | GetRawInputDeviceList(devices.as_mut_ptr(), &mut num_devices, SIZE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / c_try_ne!( [INFO] [stdout] 92 | | -1i32 as _, [INFO] [stdout] 93 | | GetRawInputDeviceList(devices.as_mut_ptr(), &mut num_devices, SIZE) [INFO] [stdout] 94 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / c_try_ne!( [INFO] [stdout] 105 | | -1i32 as _, [INFO] [stdout] 106 | | GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, NULL as _, &mut size) [INFO] [stdout] 107 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoW` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, NULL as _, &mut size) [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/bt_wheel_blocker.rs:106:52 [INFO] [stdout] | [INFO] [stdout] 106 | GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, NULL as _, &mut size) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:106:69 [INFO] [stdout] | [INFO] [stdout] 106 | GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, NULL as _, &mut size) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / c_try_ne!( [INFO] [stdout] 105 | | -1i32 as _, [INFO] [stdout] 106 | | GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, NULL as _, &mut size) [INFO] [stdout] 107 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | / c_try_ne!( [INFO] [stdout] 110 | | -1i32 as _, [INFO] [stdout] 111 | | GetRawInputDeviceInfoW( [INFO] [stdout] 112 | | device.hDevice, [INFO] [stdout] ... | [INFO] [stdout] 116 | | ) [INFO] [stdout] 117 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoW` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | GetRawInputDeviceInfoW( [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/bt_wheel_blocker.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | RIDI_DEVICENAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | / c_try_ne!( [INFO] [stdout] 110 | | -1i32 as _, [INFO] [stdout] 111 | | GetRawInputDeviceInfoW( [INFO] [stdout] 112 | | device.hDevice, [INFO] [stdout] ... | [INFO] [stdout] 116 | | ) [INFO] [stdout] 117 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | time: DWORD, [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/bt_wheel_blocker.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTickCount` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | time: unsafe { GetTickCount() }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/util.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let result: BOOL = $expr; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/util.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:192:49 [INFO] [stdout] | [INFO] [stdout] 192 | fn proc(&mut self, _n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> HookProcResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:192:66 [INFO] [stdout] | [INFO] [stdout] 192 | fn proc(&mut self, _n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> HookProcResult { [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/bt_wheel_blocker.rs:193:23 [INFO] [stdout] | [INFO] [stdout] 193 | if w_param as UINT != WM_MOUSEWHEEL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_MOUSEWHEEL` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | if w_param as UINT != WM_MOUSEWHEEL { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSLLHOOKSTRUCT` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:197:48 [INFO] [stdout] | [INFO] [stdout] 197 | let data = unsafe { *{ l_param as *mut MSLLHOOKSTRUCT } }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LLMHF_INJECTED` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | if data.flags & LLMHF_INJECTED != 0x00 || data.flags & LLMHF_LOWER_IL_INJECTED != 0x00 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LLMHF_LOWER_IL_INJECTED` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:198:64 [INFO] [stdout] | [INFO] [stdout] 198 | if data.flags & LLMHF_INJECTED != 0x00 || data.flags & LLMHF_LOWER_IL_INJECTED != 0x00 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | const DAY_MS: DWORD = 1000 * 60 * 60 * 24; [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/bt_wheel_blocker.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 241 | const WM_USER_QUIT: UINT = WM_USER + 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | const WM_USER_QUIT: UINT = WM_USER + 1; [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/bt_wheel_blocker.rs:246:16 [INFO] [stdout] | [INFO] [stdout] 246 | _hwnd: HWND, [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/bt_wheel_blocker.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 248 | _w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | _l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe { PostQuitMessage(0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | fn scroll(&self, event: DWORD, units: i8); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | fn scroll(&self, event: DWORD, delta: i8) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHEEL_DELTA` in this scope [INFO] [stdout] --> src/control.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | send_wheel(event, (delta as i32 * WHEEL_DELTA as i32) as _) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | fn scroll(&self, event: DWORD, delta: i8) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_HWHEEL` in this scope [INFO] [stdout] --> src/control.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | if event == MOUSEEVENTF_HWHEEL { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHEEL_DELTA` in this scope [INFO] [stdout] --> src/control.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | send_wheel(event, (delta as i32 * WHEEL_DELTA as i32) as _) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 138 | fn scroll(&self, event: DWORD, delta: i8) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | Scroll { event: DWORD, delta: i8 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | event: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:250:49 [INFO] [stdout] | [INFO] [stdout] 250 | fn feed(&mut self, now: Instant, event: DWORD, delta: i8) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHEEL_DELTA` in this scope [INFO] [stdout] --> src/control.rs:350:69 [INFO] [stdout] | [INFO] [stdout] 350 | let delta_f32 = scroll_direction * amount * WHEEL_DELTA as f32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:358:34 [INFO] [stdout] | [INFO] [stdout] 358 | delta as DWORD [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:379:16 [INFO] [stdout] | [INFO] [stdout] 379 | event: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:380:21 [INFO] [stdout] | [INFO] [stdout] 380 | mouse_data: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/hook.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub type HookProcResult = Result; [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/hook.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | fn proc(&mut self, n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> HookProcResult; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/hook.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 22 | fn proc(&mut self, n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> HookProcResult; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/hook.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::hid::fmt::string::lossy::char::methods::slice::iter::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/hook.rs:33:57 [INFO] [stdout] | [INFO] [stdout] 33 | extern "system" fn proc(n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/hook.rs:33:74 [INFO] [stdout] | [INFO] [stdout] 33 | extern "system" fn proc(n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/hook.rs:33:85 [INFO] [stdout] | [INFO] [stdout] 33 | extern "system" fn proc(n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WH_MOUSE_LL` in this scope [INFO] [stdout] --> src/hook.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | let entry = hooks.get_mut(&WH_MOUSE_LL).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallNextHookEx` in this scope [INFO] [stdout] --> src/hook.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { CallNextHookEx(entry.hhook, n_code, w_param, l_param) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallNextHookEx` in this scope [INFO] [stdout] --> src/hook.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | CallNextHookEx(entry.hhook, n_code, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WH_MOUSE_LL` in this scope [INFO] [stdout] --> src/hook.rs:48:51 [INFO] [stdout] | [INFO] [stdout] 48 | let register = register_hook_proc_context(WH_MOUSE_LL, hook_proc)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let hmod = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/hook.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | let hmod = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/hook.rs:49:52 [INFO] [stdout] | [INFO] [stdout] 49 | let hmod = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let hmod = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WH_MOUSE_LL` in this scope [INFO] [stdout] --> src/hook.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | let hook_handle = HookHandle::new(WH_MOUSE_LL, Some(proc), hmod, 0)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HHOOK` in this scope [INFO] [stdout] --> src/hook.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | hhook: HHOOK, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HOOKPROC` in this scope [INFO] [stdout] --> src/hook.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | fn new(id_hook: c_int, lpfn: HOOKPROC, hmod: HMODULE, dw_thread_id: DWORD) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/hook.rs:73:50 [INFO] [stdout] | [INFO] [stdout] 73 | fn new(id_hook: c_int, lpfn: HOOKPROC, hmod: HMODULE, dw_thread_id: DWORD) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/hook.rs:73:73 [INFO] [stdout] | [INFO] [stdout] 73 | fn new(id_hook: c_int, lpfn: HOOKPROC, hmod: HMODULE, dw_thread_id: DWORD) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let hhook = c_try_nonnull!(SetWindowsHookExW(id_hook, lpfn, hmod, dw_thread_id))?; [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowsHookExW` in this scope [INFO] [stdout] --> src/hook.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | let hhook = c_try_nonnull!(SetWindowsHookExW(id_hook, lpfn, hmod, dw_thread_id))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let hhook = c_try_nonnull!(SetWindowsHookExW(id_hook, lpfn, hmod, dw_thread_id))?; [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/util.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let result: BOOL = $expr; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnhookWindowsHookEx` in this scope [INFO] [stdout] --> src/hook.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/util.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HHOOK` in this scope [INFO] [stdout] --> src/hook.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | hhook: HHOOK, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HHOOK` in this scope [INFO] [stdout] --> src/hook.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | fn get_handle(mut self, hhook: HHOOK) -> HookProcHandle { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/input.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn send_click(button: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/input.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let mut input0: INPUT = Default::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/input.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | let mut input1: INPUT = Default::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope [INFO] [stdout] --> src/input.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | input0.type_ = INPUT_MOUSE; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope [INFO] [stdout] --> src/input.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | input1.type_ = INPUT_MOUSE; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_MIDDLEDOWN` in this scope [INFO] [stdout] --> src/input.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | mi0.dwFlags = MOUSEEVENTF_MIDDLEDOWN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_MIDDLEUP` in this scope [INFO] [stdout] --> src/input.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | mi1.dwFlags = MOUSEEVENTF_MIDDLEUP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_XDOWN` in this scope [INFO] [stdout] --> src/input.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | mi0.dwFlags = MOUSEEVENTF_XDOWN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_XUP` in this scope [INFO] [stdout] --> src/input.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | mi1.dwFlags = MOUSEEVENTF_XUP; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope [INFO] [stdout] --> src/input.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | SendInput( [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/input.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | input.len() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/input.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn send_click(button: DWORD) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 38 | std::mem::size_of::() as c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/input.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn send_wheel(event: DWORD, mouse_data: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/input.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn send_wheel(event: DWORD, mouse_data: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/input.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let mut input: INPUT = Default::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope [INFO] [stdout] --> src/input.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | input.type_ = INPUT_MOUSE; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope [INFO] [stdout] --> src/input.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | SendInput(1, &mut input, std::mem::size_of::() as c_int); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/input.rs:52:54 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn send_wheel(event: DWORD, mouse_data: DWORD) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 52 | SendInput(1, &mut input, std::mem::size_of::() as c_int); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO_HID` in this scope [INFO] [stdout] --> src/input.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl From<&RID_DEVICE_INFO_HID> for DeviceInfo { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO_HID` in this scope [INFO] [stdout] --> src/input.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | fn from(di: &RID_DEVICE_INFO_HID) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope [INFO] [stdout] --> src/input.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | l_param: HRAWINPUT, [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/input.rs:80:49 [INFO] [stdout] | [INFO] [stdout] 80 | const SIZE: usize = std::mem::size_of::() + 9; [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/input.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | let mut size = SIZE as UINT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputData` in this scope [INFO] [stdout] --> src/input.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | let result = GetRawInputData( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope [INFO] [stdout] --> src/input.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | l_param as HRAWINPUT, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RID_INPUT` in this scope [INFO] [stdout] --> src/input.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | RID_INPUT, [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/input.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | raw_buffer.as_mut_ptr() as LPVOID, [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/input.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 75 | impl Event { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 89 | std::mem::size_of::() as UINT, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/input.rs:89:58 [INFO] [stdout] | [INFO] [stdout] 89 | std::mem::size_of::() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/input.rs:91:40 [INFO] [stdout] | [INFO] [stdout] 91 | if result == (-1 as i32 as UINT) { [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/input.rs:94:53 [INFO] [stdout] | [INFO] [stdout] 94 | let raw = raw_buffer.as_ptr() as *const RAWINPUT; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIM_TYPEHID` in this scope [INFO] [stdout] --> src/input.rs:96:33 [INFO] [stdout] | [INFO] [stdout] 96 | if header.dwType != RIM_TYPEHID { [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/input.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_device_info(handle: HANDLE) -> Result { [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/input.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | let mut rid_device_info: RID_DEVICE_INFO = Default::default(); [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/input.rs:141:63 [INFO] [stdout] | [INFO] [stdout] 141 | let mut size = std::mem::size_of_val(&rid_device_info) as UINT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / c_try_ne!( [INFO] [stdout] 144 | | (-1i32) as UINT, [INFO] [stdout] 145 | | GetRawInputDeviceInfoW( [INFO] [stdout] 146 | | handle, [INFO] [stdout] ... | [INFO] [stdout] 150 | | ) [INFO] [stdout] 151 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoW` in this scope [INFO] [stdout] --> src/input.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | GetRawInputDeviceInfoW( [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/input.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | RIDI_DEVICEINFO, [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/input.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | &mut rid_device_info as *mut RID_DEVICE_INFO as LPVOID, [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/input.rs:148:61 [INFO] [stdout] | [INFO] [stdout] 148 | &mut rid_device_info as *mut RID_DEVICE_INFO as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/input.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | (-1i32) as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / c_try_ne!( [INFO] [stdout] 144 | | (-1i32) as UINT, [INFO] [stdout] 145 | | GetRawInputDeviceInfoW( [INFO] [stdout] 146 | | handle, [INFO] [stdout] ... | [INFO] [stdout] 150 | | ) [INFO] [stdout] 151 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIM_TYPEHID` in this scope [INFO] [stdout] --> src/input.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | rid_device_info.dwType == RIM_TYPEHID, [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/tpmiddle.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | _hwnd: HWND, [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/tpmiddle.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/tpmiddle.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | _w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/tpmiddle.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_INPUT` in this scope [INFO] [stdout] --> src/tpmiddle.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | if u_msg != WM_INPUT { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope [INFO] [stdout] --> src/tpmiddle.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | Event::from_raw_input(l_param as HRAWINPUT, self.listening_device_infos) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_WHEEL` in this scope [INFO] [stdout] --> src/tpmiddle.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | self.control.scroll(MOUSEEVENTF_WHEEL, dy); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_HWHEEL` in this scope [INFO] [stdout] --> src/tpmiddle.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | self.control.scroll(MOUSEEVENTF_HWHEEL, dx); [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/window.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/window.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::hid::fmt::string::lossy::char::methods::slice::iter::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let hwnd = c_try_nonnull!(CreateWindowExW( [INFO] [stdout] | ____________________- [INFO] [stdout] 40 | | 0, [INFO] [stdout] 41 | | class.atom, [INFO] [stdout] 42 | | name.as_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 51 | | proc.as_mut() as *mut T as _, [INFO] [stdout] 52 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/window.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | let hwnd = c_try_nonnull!(CreateWindowExW( [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/window.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | HWND_MESSAGE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/window.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | NULL as _, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/window.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | NULL as _, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let hwnd = c_try_nonnull!(CreateWindowExW( [INFO] [stdout] | ____________________- [INFO] [stdout] 40 | | 0, [INFO] [stdout] 41 | | class.atom, [INFO] [stdout] 42 | | name.as_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 51 | | proc.as_mut() as *mut T as _, [INFO] [stdout] 52 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(err) = c_try_nonnull!(SetWindowLongPtrW( [INFO] [stdout] | ___________________________- [INFO] [stdout] 55 | | hwnd, [INFO] [stdout] 56 | | 0, [INFO] [stdout] 57 | | proc.as_mut() as *mut T as LONG_PTR [INFO] [stdout] 58 | | )) { [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/window.rs:54:42 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(err) = c_try_nonnull!(SetWindowLongPtrW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stdout] --> src/window.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | proc.as_mut() as *mut T as LONG_PTR [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(err) = c_try_nonnull!(SetWindowLongPtrW( [INFO] [stdout] | ___________________________- [INFO] [stdout] 55 | | hwnd, [INFO] [stdout] 56 | | 0, [INFO] [stdout] 57 | | proc.as_mut() as *mut T as LONG_PTR [INFO] [stdout] 58 | | )) { [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/util.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let result: BOOL = $expr; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/window.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/util.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleWindow` in this scope [INFO] [stdout] --> src/window.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | let console = GetConsoleWindow(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope [INFO] [stdout] --> src/window.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | if IsWindowVisible(console) == TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/window.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | if IsWindowVisible(console) == TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/window.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | ShowWindow(console, SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> src/window.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | ShowWindow(console, SW_HIDE); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 33 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `, WPARAM` [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn run(self) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/window.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | let mut message: MSG = Default::default(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | let status = c_try_ne!(-1, GetMessageW(&mut message, self.hwnd, 0, 0))?; [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/window.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 81 | let status = c_try_ne!(-1, GetMessageW(&mut message, self.hwnd, 0, 0))?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | let status = c_try_ne!(-1, GetMessageW(&mut message, self.hwnd, 0, 0))?; [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/window.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | TranslateMessage(&message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/window.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | DispatchMessageW(&message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/window.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | assert_ne!(0, DestroyWindow(self.hwnd)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | pub type WindowProcResult = Result; [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | hwnd: HWND, [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/window.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | l_param: LPARAM, [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/window.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | fn window_proc_ptr_from_hwnd(hwnd: HWND) -> *mut T { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/window.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | let long_ptr = GetWindowLongPtrW(hwnd, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stdout] --> src/window.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 125 | fn window_proc_ptr_from_hwnd(hwnd: HWND) -> *mut T { [INFO] [stdout] | - help: you might be missing a type parameter: `, LONG_PTR` [INFO] [stdout] ... [INFO] [stdout] 128 | std::mem::transmute::(long_ptr) [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/window.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | hwnd: HWND, [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/window.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 137 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/window.rs:150:55 [INFO] [stdout] | [INFO] [stdout] 150 | Err(WindowProcError::UnhandledMessage) => DefWindowProcW(hwnd, u_msg, w_param, l_param), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/window.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | PostQuitMessage(-1); [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/window.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | class: WNDCLASSEXW, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/window.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | atom: LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/window.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::hid::fmt::string::lossy::char::methods::slice::iter::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let mut class: WNDCLASSEXW = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | class.hInstance = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window.rs:174:42 [INFO] [stdout] | [INFO] [stdout] 174 | class.hInstance = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/window.rs:174:59 [INFO] [stdout] | [INFO] [stdout] 174 | class.hInstance = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | class.hInstance = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | let atom = c_try_nonnull!(RegisterClassExW(&class))?; [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/window.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | let atom = c_try_nonnull!(RegisterClassExW(&class))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | let atom = c_try_nonnull!(RegisterClassExW(&class))?; [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassW` in this scope [INFO] [stdout] --> src/window.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | assert_ne!(0, UnregisterClassW(self.atom, self.class.hInstance)); [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/window.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Devices { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 196 | devices: Box<[RAWINPUTDEVICE]>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDEV_DEVNOTIFY` in this scope [INFO] [stdout] --> src/window.rs:207:71 [INFO] [stdout] | [INFO] [stdout] 207 | flags.insert((device_info.usage_page, device_info.usage), RIDEV_DEVNOTIFY); [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/window.rs:211:67 [INFO] [stdout] | [INFO] [stdout] 211 | Entry::Occupied(mut entry) => *entry.get_mut() |= RIDEV_INPUTSINK, [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/window.rs:213:34 [INFO] [stdout] | [INFO] [stdout] 213 | entry.insert(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/window.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | devices.push(RAWINPUTDEVICE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / c_try!(RegisterRawInputDevices( [INFO] [stdout] 229 | | devices.as_ptr(), [INFO] [stdout] 230 | | devices.len() as _, [INFO] [stdout] 231 | | std::mem::size_of::() as _ [INFO] [stdout] 232 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/util.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let result: BOOL = $expr; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / c_try!(RegisterRawInputDevices( [INFO] [stdout] 229 | | devices.as_ptr(), [INFO] [stdout] 230 | | devices.len() as _, [INFO] [stdout] 231 | | std::mem::size_of::() as _ [INFO] [stdout] 232 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope [INFO] [stdout] --> src/window.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | c_try!(RegisterRawInputDevices( [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/window.rs:231:33 [INFO] [stdout] | [INFO] [stdout] 199 | impl Devices { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 231 | std::mem::size_of::() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/util.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / c_try!(RegisterRawInputDevices( [INFO] [stdout] 229 | | devices.as_ptr(), [INFO] [stdout] 230 | | devices.len() as _, [INFO] [stdout] 231 | | std::mem::size_of::() as _ [INFO] [stdout] 232 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / c_try!(RegisterRawInputDevices( [INFO] [stdout] 229 | | devices.as_ptr(), [INFO] [stdout] 230 | | devices.len() as _, [INFO] [stdout] 231 | | std::mem::size_of::() as _ [INFO] [stdout] 232 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDEV_REMOVE` in this scope [INFO] [stdout] --> src/window.rs:243:30 [INFO] [stdout] | [INFO] [stdout] 243 | device.dwFlags = RIDEV_REMOVE; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/window.rs:244:33 [INFO] [stdout] | [INFO] [stdout] 244 | device.hwndTarget = NULL as _; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | FALSE, [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/window.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | RegisterRawInputDevices( [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/window.rs:252:41 [INFO] [stdout] | [INFO] [stdout] 240 | impl Drop for Devices { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 252 | std::mem::size_of::() as _ [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/main.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 53 | struct TransportAgnosticTPMiddle<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, HANDLE` [INFO] [stdout] ... [INFO] [stdout] 56 | devices: HashMap, [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/main.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | hwnd: HWND, [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/main.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:143:50 [INFO] [stdout] | [INFO] [stdout] 143 | WM_INPUT_DEVICE_CHANGE if w_param as DWORD == GIDC_ARRIVAL => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GIDC_ARRIVAL` in this scope [INFO] [stdout] --> src/main.rs:143:59 [INFO] [stdout] | [INFO] [stdout] 143 | WM_INPUT_DEVICE_CHANGE if w_param as DWORD == GIDC_ARRIVAL => { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:172:50 [INFO] [stdout] | [INFO] [stdout] 172 | WM_INPUT_DEVICE_CHANGE if w_param as DWORD == GIDC_REMOVAL => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GIDC_REMOVAL` in this scope [INFO] [stdout] --> src/main.rs:172:59 [INFO] [stdout] | [INFO] [stdout] 172 | WM_INPUT_DEVICE_CHANGE if w_param as DWORD == GIDC_REMOVAL => { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:277:35 [INFO] [stdout] | [INFO] [stdout] 277 | fn try_main(args: Args) -> Result { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | SetLastError(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/util.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let result: BOOL = $expr; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPriorityClass` in this scope [INFO] [stdout] --> src/main.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/main.rs:278:29 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIGH_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/main.rs:278:50 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/util.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/util.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS))?; [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | devices: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | devices: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `HOOKS` in the current scope [INFO] [stdout] --> src/hook.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | let mut hooks = HOOKS.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `HOOKS` [INFO] [stdout] ... [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref HOOKS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `HOOKS` in the current scope [INFO] [stdout] --> src/hook.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref HOOKS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 106 | let mut hooks = HOOKS.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `HOOKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `HOOKS` in the current scope [INFO] [stdout] --> src/hook.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref HOOKS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 138 | let mut hooks = HOOKS.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `HOOKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/window.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | let name: Vec = OsStr::new(name).encode_wide().chain(once(0)).collect(); [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/window.rs:168:51 [INFO] [stdout] | [INFO] [stdout] 168 | let name: Vec = OsStr::new(name).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `HOOKS` in the current scope [INFO] [stdout] --> src/hook.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | let mut hooks = HOOKS.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `HOOKS` [INFO] [stdout] ... [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref HOOKS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `HOOKS` in the current scope [INFO] [stdout] --> src/hook.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref HOOKS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 106 | let mut hooks = HOOKS.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `HOOKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Iterator` [INFO] [stdout] --> src/window.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::{once, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `HOOKS` in the current scope [INFO] [stdout] --> src/hook.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref HOOKS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 138 | let mut hooks = HOOKS.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `HOOKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 309 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tpmiddle-rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/window.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | let name: Vec = OsStr::new(name).encode_wide().chain(once(0)).collect(); [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/window.rs:168:51 [INFO] [stdout] | [INFO] [stdout] 168 | let name: Vec = OsStr::new(name).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Iterator` [INFO] [stdout] --> src/window.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::{once, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 309 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4d3cfc81a3a8f758af1ced9c86e75349085f733509b89359fb93133e2964dead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d3cfc81a3a8f758af1ced9c86e75349085f733509b89359fb93133e2964dead", kill_on_drop: false }` [INFO] [stdout] 4d3cfc81a3a8f758af1ced9c86e75349085f733509b89359fb93133e2964dead