[INFO] cloning repository https://github.com/tarkah/grout [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tarkah/grout" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarkah%2Fgrout", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarkah%2Fgrout'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aaf722ea1b45b524a2736b1034f4ca2d28bb9915 [INFO] checking tarkah/grout against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarkah%2Fgrout" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tarkah/grout on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tarkah/grout [INFO] finished tweaking git repo https://github.com/tarkah/grout [INFO] tweaked toml for git repo https://github.com/tarkah/grout written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/tarkah/grout already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded config v0.10.1 [INFO] [stderr] Downloaded nom v5.1.1 [INFO] [stderr] Downloaded linked-hash-map v0.5.3 [INFO] [stderr] Downloaded dirs-sys v0.3.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.13 [INFO] [stderr] Downloaded static_assertions v0.3.4 [INFO] [stderr] Downloaded libc v0.2.70 [INFO] [stderr] Downloaded syn v1.0.22 [INFO] [stderr] Downloaded lexical-core v0.6.7 [INFO] [stderr] Downloaded ron v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 182655517ad6f2fc0c52e63d0b0848d9314a1d1e2703faffabfcb528eb98da54 [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" "182655517ad6f2fc0c52e63d0b0848d9314a1d1e2703faffabfcb528eb98da54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "182655517ad6f2fc0c52e63d0b0848d9314a1d1e2703faffabfcb528eb98da54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "182655517ad6f2fc0c52e63d0b0848d9314a1d1e2703faffabfcb528eb98da54", kill_on_drop: false }` [INFO] [stdout] 182655517ad6f2fc0c52e63d0b0848d9314a1d1e2703faffabfcb528eb98da54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] d0a23cd0444ed644ecb1e9812336b4278265d796e1a05f6c2ea5a5ced69288a5 [INFO] running `Command { std: "docker" "start" "-a" "d0a23cd0444ed644ecb1e9812336b4278265d796e1a05f6c2ea5a5ced69288a5", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Compiling lexical-core v0.6.7 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking ron v0.5.1 [INFO] [stderr] Checking config v0.10.1 [INFO] [stderr] Checking grout v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.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 `um` in `winapi` [INFO] [stdout] --> src/main.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/autostart.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::HKEY; [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/autostart.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::{KEY_SET_VALUE, REG_OPTION_NON_VOLATILE, REG_SZ}; [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/autostart.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winreg::{RegCreateKeyExW, RegDeleteKeyValueW, RegSetValueExW, HKEY_CURRENT_USER}; [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/common.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::windef::{POINT, RECT}; [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/common.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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/event.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::{ [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/event.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::LONG; [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/event.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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/grid.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef::{HBRUSH, HDC}; [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/grid.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::wingdi::{CreateSolidBrush, DeleteObject, RGB}; [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/grid.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::{BeginPaint, EndPaint, FillRect, FrameRect, PAINTSTRUCT}; [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/hotkey.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/tray.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::{ [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/tray.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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/tray.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::shellapi::{ [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/tray.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::wingdi::{CreateSolidBrush, RGB}; [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/tray.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 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/autostart.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::HKEY; [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/autostart.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::{KEY_SET_VALUE, REG_OPTION_NON_VOLATILE, REG_SZ}; [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/autostart.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winreg::{RegCreateKeyExW, RegDeleteKeyValueW, RegSetValueExW, HKEY_CURRENT_USER}; [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/common.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::windef::{POINT, RECT}; [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/common.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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/window.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/window.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/window/grid.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::{ [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/grid.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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/grid.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::wingdi::{CreateSolidBrush, RGB}; [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/grid.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 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/event.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::{ [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/event.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::LONG; [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/event.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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/window/preview.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::{ [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/preview.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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/preview.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::wingdi::{CreateSolidBrush, RGB}; [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/preview.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 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/grid.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef::{HBRUSH, HDC}; [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/grid.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::wingdi::{CreateSolidBrush, DeleteObject, RGB}; [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/grid.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::{BeginPaint, EndPaint, FillRect, FrameRect, PAINTSTRUCT}; [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/hotkey.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/tray.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::{ [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/tray.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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/tray.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::shellapi::{ [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/tray.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::wingdi::{CreateSolidBrush, RGB}; [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/tray.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 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/window.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/window.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/window/grid.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::{ [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/grid.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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/grid.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::wingdi::{CreateSolidBrush, RGB}; [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/grid.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | 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/window/preview.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::{ [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/preview.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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/preview.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::wingdi::{CreateSolidBrush, RGB}; [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/preview.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> src/autostart.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let mut key: HKEY = mem::zeroed(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCreateKeyExW` in this scope [INFO] [stdout] --> src/autostart.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | if RegCreateKeyExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stdout] --> src/autostart.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | HKEY_CURRENT_USER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_OPTION_NON_VOLATILE` in this scope [INFO] [stdout] --> src/autostart.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | REG_OPTION_NON_VOLATILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_SET_VALUE` in this scope [INFO] [stdout] --> src/autostart.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | KEY_SET_VALUE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegSetValueExW` in this scope [INFO] [stdout] --> src/autostart.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | RegSetValueExW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_SZ` in this scope [INFO] [stdout] --> src/autostart.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | REG_SZ, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegDeleteKeyValueW` in this scope [INFO] [stdout] --> src/autostart.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | RegDeleteKeyValueW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stdout] --> src/autostart.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | HKEY_CURRENT_USER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/common.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | impl From for Rect { [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 `RECT` in this scope [INFO] [stdout] --> src/common.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | fn from(rect: RECT) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/common.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | impl From for RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/common.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stdout] --> src/common.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | let hwnd = unsafe { GetForegroundWindow() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/common.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let mut cursor_pos: POINT = mem::zeroed(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/common.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | GetCursorPos(&mut cursor_pos); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromPoint` in this scope [INFO] [stdout] --> src/common.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | MonitorFromPoint(cursor_pos, MONITOR_DEFAULTTONEAREST) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTONEAREST` in this scope [INFO] [stdout] --> src/common.rs:92:38 [INFO] [stdout] | [INFO] [stdout] 92 | MonitorFromPoint(cursor_pos, MONITOR_DEFAULTTONEAREST) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/common.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | let mut info: MONITORINFOEXW = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/common.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 87 | pub unsafe fn get_work_area() -> Rect { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 97 | info.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stdout] --> src/common.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | GetMonitorInfoW(active_monitor, &mut info as *mut MONITORINFOEXW as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/common.rs:99:59 [INFO] [stdout] | [INFO] [stdout] 99 | GetMonitorInfoW(active_monitor, &mut info as *mut MONITORINFOEXW as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/common.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | let mut cursor_pos: POINT = mem::zeroed(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/common.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | GetCursorPos(&mut cursor_pos); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromPoint` in this scope [INFO] [stdout] --> src/common.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | MonitorFromPoint(cursor_pos, MONITOR_DEFAULTTONEAREST) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTONEAREST` in this scope [INFO] [stdout] --> src/common.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | MonitorFromPoint(cursor_pos, MONITOR_DEFAULTTONEAREST) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/common.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | let mut info: MONITORINFOEXW = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/common.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 107 | pub unsafe fn get_active_monitor_name() -> String { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 116 | info.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stdout] --> src/common.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | GetMonitorInfoW(active_monitor, &mut info as *mut MONITORINFOEXW as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/common.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | GetMonitorInfoW(active_monitor, &mut info as *mut MONITORINFOEXW as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> src/common.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | MessageBoxW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope [INFO] [stdout] --> src/common.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | MB_OK, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWinEventHook` in this scope [INFO] [stdout] --> src/event.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | SetWinEventHook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope [INFO] [stdout] --> src/event.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | EVENT_SYSTEM_FOREGROUND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope [INFO] [stdout] --> src/event.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | EVENT_SYSTEM_FOREGROUND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WINEVENT_OUTOFCONTEXT` in this scope [INFO] [stdout] --> src/event.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | WINEVENT_OUTOFCONTEXT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/event.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | if PeekMessageW(&mut msg, ptr::null_mut(), 0, 0, 1) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/event.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | TranslateMessage(&msg); [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/event.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/event.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | _hWinEventHook: HWINEVENTHOOK, [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/event.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | _event: 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/event.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/event.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | _idObject: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/event.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | _idChild: LONG, [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/event.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | _idEventThread: 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/event.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | _dwmsEventTime: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stdout] --> src/grid.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | let mut paint: PAINTSTRUCT = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> src/grid.rs:456:19 [INFO] [stdout] | [INFO] [stdout] 456 | let hdc = BeginPaint(window.0, &mut paint); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope [INFO] [stdout] --> src/grid.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | EndPaint(window.0, &paint); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/grid.rs:475:31 [INFO] [stdout] | [INFO] [stdout] 475 | unsafe fn draw(self, hdc: HDC, area: Rect) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/grid.rs:477:27 [INFO] [stdout] | [INFO] [stdout] 477 | let frame_brush = CreateSolidBrush(RGB(0, 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 `RGB` in this scope [INFO] [stdout] --> src/grid.rs:477:44 [INFO] [stdout] | [INFO] [stdout] 477 | let frame_brush = CreateSolidBrush(RGB(0, 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 `FillRect` in this scope [INFO] [stdout] --> src/grid.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | FillRect(hdc, &area.into(), fill_brush); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FrameRect` in this scope [INFO] [stdout] --> src/grid.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | FrameRect(hdc, &area.into(), frame_brush); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/grid.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | DeleteObject(fill_brush as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/grid.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | DeleteObject(frame_brush as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/grid.rs:486:35 [INFO] [stdout] | [INFO] [stdout] 486 | unsafe fn fill_brush(self) -> HBRUSH { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/grid.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | RGB(0, 77, 128) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/grid.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | RGB(0, 100, 148) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/grid.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | RGB( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/grid.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | CreateSolidBrush(color) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope [INFO] [stdout] --> src/hotkey.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let result = RegisterHotKey( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_NOREPEAT` in this scope [INFO] [stdout] --> src/hotkey.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | compile_modifiers(&hotkey, &hotkey_str) | MOD_NOREPEAT as u32, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/hotkey.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | while GetMessageW(&mut msg, ptr::null_mut(), 0, 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 `TranslateMessage` in this scope [INFO] [stdout] --> src/hotkey.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | TranslateMessage(&msg); [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/hotkey.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope [INFO] [stdout] --> src/hotkey.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | if msg.message == WM_HOTKEY { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_ALT` in this scope [INFO] [stdout] --> src/hotkey.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | "ALT" => code |= MOD_ALT as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_CONTROL` in this scope [INFO] [stdout] --> src/hotkey.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | "CTRL" => code |= MOD_CONTROL as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_SHIFT` in this scope [INFO] [stdout] --> src/hotkey.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | "SHIFT" => code |= MOD_SHIFT as u32, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_WIN` in this scope [INFO] [stdout] --> src/hotkey.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | "WIN" => code |= MOD_WIN as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyboardLayout` in this scope [INFO] [stdout] --> src/hotkey.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | let keyboard_layout = GetKeyboardLayout(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VkKeyScanExW` in this scope [INFO] [stdout] --> src/hotkey.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | let vk_code = VkKeyScanExW(key_char as u16, keyboard_layout); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> src/autostart.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let mut key: HKEY = mem::zeroed(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCreateKeyExW` in this scope [INFO] [stdout] --> src/autostart.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | if RegCreateKeyExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stdout] --> src/autostart.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | HKEY_CURRENT_USER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_OPTION_NON_VOLATILE` in this scope [INFO] [stdout] --> src/autostart.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | REG_OPTION_NON_VOLATILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_SET_VALUE` in this scope [INFO] [stdout] --> src/autostart.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | KEY_SET_VALUE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegSetValueExW` in this scope [INFO] [stdout] --> src/autostart.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | RegSetValueExW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_SZ` in this scope [INFO] [stdout] --> src/autostart.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | REG_SZ, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegDeleteKeyValueW` in this scope [INFO] [stdout] --> src/autostart.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | RegDeleteKeyValueW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/tray.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let hInstance = GetModuleHandleW(ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stdout] --> src/autostart.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | HKEY_CURRENT_USER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/common.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | impl From for Rect { [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 `RECT` in this scope [INFO] [stdout] --> src/common.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | fn from(rect: RECT) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/common.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | impl From for RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/common.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stdout] --> src/common.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | let hwnd = unsafe { GetForegroundWindow() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/common.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let mut cursor_pos: POINT = mem::zeroed(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/common.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | GetCursorPos(&mut cursor_pos); [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/tray.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe fn spawn_sys_tray() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 44 | let mut class = mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromPoint` in this scope [INFO] [stdout] --> src/common.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | MonitorFromPoint(cursor_pos, MONITOR_DEFAULTTONEAREST) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTONEAREST` in this scope [INFO] [stdout] --> src/common.rs:92:38 [INFO] [stdout] | [INFO] [stdout] 92 | MonitorFromPoint(cursor_pos, MONITOR_DEFAULTTONEAREST) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/common.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | let mut info: MONITORINFOEXW = mem::zeroed(); [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/tray.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe fn spawn_sys_tray() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | class.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/common.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 87 | pub unsafe fn get_work_area() -> Rect { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 97 | info.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/tray.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | class.hbrBackground = CreateSolidBrush(RGB(0, 77, 128)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stdout] --> src/common.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | GetMonitorInfoW(active_monitor, &mut info as *mut MONITORINFOEXW as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/common.rs:99:59 [INFO] [stdout] | [INFO] [stdout] 99 | GetMonitorInfoW(active_monitor, &mut info as *mut MONITORINFOEXW as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/common.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | let mut cursor_pos: POINT = mem::zeroed(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/common.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | GetCursorPos(&mut cursor_pos); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromPoint` in this scope [INFO] [stdout] --> src/common.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | MonitorFromPoint(cursor_pos, MONITOR_DEFAULTTONEAREST) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTONEAREST` in this scope [INFO] [stdout] --> src/common.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | MonitorFromPoint(cursor_pos, MONITOR_DEFAULTTONEAREST) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/common.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | let mut info: MONITORINFOEXW = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/common.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 107 | pub unsafe fn get_active_monitor_name() -> String { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 116 | info.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stdout] --> src/common.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | GetMonitorInfoW(active_monitor, &mut info as *mut MONITORINFOEXW as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/common.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | GetMonitorInfoW(active_monitor, &mut info as *mut MONITORINFOEXW as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> src/common.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | MessageBoxW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope [INFO] [stdout] --> src/common.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | MB_OK, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWinEventHook` in this scope [INFO] [stdout] --> src/event.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | SetWinEventHook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope [INFO] [stdout] --> src/event.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | EVENT_SYSTEM_FOREGROUND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope [INFO] [stdout] --> src/event.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | EVENT_SYSTEM_FOREGROUND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WINEVENT_OUTOFCONTEXT` in this scope [INFO] [stdout] --> src/event.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | WINEVENT_OUTOFCONTEXT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/event.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | if PeekMessageW(&mut msg, ptr::null_mut(), 0, 0, 1) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/event.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | TranslateMessage(&msg); [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/event.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/event.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | _hWinEventHook: HWINEVENTHOOK, [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/event.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | _event: 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/event.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/event.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | _idObject: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/event.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | _idChild: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/tray.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | class.hbrBackground = CreateSolidBrush(RGB(0, 77, 128)); [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/event.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | _idEventThread: 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/event.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | _dwmsEventTime: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stdout] --> src/grid.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | let mut paint: PAINTSTRUCT = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> src/grid.rs:456:19 [INFO] [stdout] | [INFO] [stdout] 456 | let hdc = BeginPaint(window.0, &mut paint); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/tray.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | 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 `EndPaint` in this scope [INFO] [stdout] --> src/grid.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | EndPaint(window.0, &paint); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/grid.rs:475:31 [INFO] [stdout] | [INFO] [stdout] 475 | unsafe fn draw(self, hdc: HDC, area: Rect) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/grid.rs:477:27 [INFO] [stdout] | [INFO] [stdout] 477 | let frame_brush = CreateSolidBrush(RGB(0, 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 `RGB` in this scope [INFO] [stdout] --> src/grid.rs:477:44 [INFO] [stdout] | [INFO] [stdout] 477 | let frame_brush = CreateSolidBrush(RGB(0, 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 `CreateWindowExW` in this scope [INFO] [stdout] --> src/tray.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope [INFO] [stdout] --> src/grid.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | FillRect(hdc, &area.into(), fill_brush); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FrameRect` in this scope [INFO] [stdout] --> src/grid.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | FrameRect(hdc, &area.into(), frame_brush); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/grid.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | DeleteObject(fill_brush as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stdout] --> src/tray.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/grid.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | DeleteObject(frame_brush as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/grid.rs:486:35 [INFO] [stdout] | [INFO] [stdout] 486 | unsafe fn fill_brush(self) -> HBRUSH { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/grid.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | RGB(0, 77, 128) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/grid.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | RGB(0, 100, 148) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/grid.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | RGB( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/grid.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | CreateSolidBrush(color) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/tray.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | while GetMessageW(&mut msg, ptr::null_mut(), 0, 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 `RegisterHotKey` in this scope [INFO] [stdout] --> src/hotkey.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let result = RegisterHotKey( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_NOREPEAT` in this scope [INFO] [stdout] --> src/hotkey.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | compile_modifiers(&hotkey, &hotkey_str) | MOD_NOREPEAT as u32, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/tray.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/hotkey.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | while GetMessageW(&mut msg, ptr::null_mut(), 0, 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 `TranslateMessage` in this scope [INFO] [stdout] --> src/hotkey.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | TranslateMessage(&msg); [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/hotkey.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope [INFO] [stdout] --> src/hotkey.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | if msg.message == WM_HOTKEY { [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/tray.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_ALT` in this scope [INFO] [stdout] --> src/hotkey.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | "ALT" => code |= MOD_ALT as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_CONTROL` in this scope [INFO] [stdout] --> src/hotkey.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | "CTRL" => code |= MOD_CONTROL as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_SHIFT` in this scope [INFO] [stdout] --> src/hotkey.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | "SHIFT" => code |= MOD_SHIFT as u32, [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/tray.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe fn add_icon(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_WIN` in this scope [INFO] [stdout] --> src/hotkey.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | "WIN" => code |= MOD_WIN as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyboardLayout` in this scope [INFO] [stdout] --> src/hotkey.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | let keyboard_layout = GetKeyboardLayout(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VkKeyScanExW` in this scope [INFO] [stdout] --> src/hotkey.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | let vk_code = VkKeyScanExW(key_char as u16, keyboard_layout); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/tray.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let hInstance = GetModuleHandleW(ptr::null()); [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/tray.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe fn spawn_sys_tray() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 44 | let mut class = mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateIconFromResourceEx` in this scope [INFO] [stdout] --> src/tray.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | let icon_handle = CreateIconFromResourceEx( [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/tray.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe fn spawn_sys_tray() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | class.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/tray.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | class.hbrBackground = CreateSolidBrush(RGB(0, 77, 128)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/tray.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | class.hbrBackground = CreateSolidBrush(RGB(0, 77, 128)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/tray.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | 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 `CreateWindowExW` in this scope [INFO] [stdout] --> src/tray.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stdout] --> src/tray.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LR_DEFAULTCOLOR` in this scope [INFO] [stdout] --> src/tray.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | LR_DEFAULTCOLOR, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/tray.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | while GetMessageW(&mut msg, ptr::null_mut(), 0, 0) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stdout] --> src/tray.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let mut icon_data: NOTIFYICONDATAW = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/tray.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stdout] --> src/tray.rs:96:39 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe fn add_icon(hwnd: HWND) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 96 | icon_data.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/tray.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stdout] --> src/tray.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | icon_data.uCallbackMessage = WM_APP; [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/tray.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe fn add_icon(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_ICON` in this scope [INFO] [stdout] --> src/tray.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | icon_data.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateIconFromResourceEx` in this scope [INFO] [stdout] --> src/tray.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | let icon_handle = CreateIconFromResourceEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_MESSAGE` in this scope [INFO] [stdout] --> src/tray.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | icon_data.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LR_DEFAULTCOLOR` in this scope [INFO] [stdout] --> src/tray.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | LR_DEFAULTCOLOR, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_TIP` in this scope [INFO] [stdout] --> src/tray.rs:100:49 [INFO] [stdout] | [INFO] [stdout] 100 | icon_data.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stdout] --> src/tray.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let mut icon_data: NOTIFYICONDATAW = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stdout] --> src/tray.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | Shell_NotifyIconW(NIM_ADD, &mut icon_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_ADD` in this scope [INFO] [stdout] --> src/tray.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | Shell_NotifyIconW(NIM_ADD, &mut icon_data); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stdout] --> src/tray.rs:96:39 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe fn add_icon(hwnd: HWND) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 96 | icon_data.cbSize = mem::size_of::() as u32; [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/tray.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe fn remove_icon(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stdout] --> src/tray.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | icon_data.uCallbackMessage = WM_APP; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stdout] --> src/tray.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let mut icon_data: NOTIFYICONDATAW = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_ICON` in this scope [INFO] [stdout] --> src/tray.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | icon_data.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stdout] --> src/tray.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | Shell_NotifyIconW(NIM_DELETE, &mut icon_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_DELETE` in this scope [INFO] [stdout] --> src/tray.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | Shell_NotifyIconW(NIM_DELETE, &mut icon_data); [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/tray.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | unsafe fn show_popup_menu(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 `CreatePopupMenu` in this scope [INFO] [stdout] --> src/tray.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | let menu = CreatePopupMenu(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuW` in this scope [INFO] [stdout] --> src/tray.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | InsertMenuW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> src/tray.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/tray.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuW` in this scope [INFO] [stdout] --> src/tray.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | InsertMenuW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_MESSAGE` in this scope [INFO] [stdout] --> src/tray.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | icon_data.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_TIP` in this scope [INFO] [stdout] --> src/tray.rs:100:49 [INFO] [stdout] | [INFO] [stdout] 100 | icon_data.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> src/tray.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stdout] --> src/tray.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | Shell_NotifyIconW(NIM_ADD, &mut icon_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_ADD` in this scope [INFO] [stdout] --> src/tray.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | Shell_NotifyIconW(NIM_ADD, &mut icon_data); [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/tray.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe fn remove_icon(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/tray.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stdout] --> src/tray.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let mut icon_data: NOTIFYICONDATAW = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stdout] --> src/tray.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | Shell_NotifyIconW(NIM_DELETE, &mut icon_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetMenuItemBitmaps` in this scope [INFO] [stdout] --> src/tray.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | SetMenuItemBitmaps(menu, 1, MF_BYPOSITION, ptr::null_mut(), ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_DELETE` in this scope [INFO] [stdout] --> src/tray.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | Shell_NotifyIconW(NIM_DELETE, &mut icon_data); [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/tray.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | unsafe fn show_popup_menu(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> src/tray.rs:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | SetMenuItemBitmaps(menu, 1, MF_BYPOSITION, ptr::null_mut(), ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePopupMenu` in this scope [INFO] [stdout] --> src/tray.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | let menu = CreatePopupMenu(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuW` in this scope [INFO] [stdout] --> src/tray.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | InsertMenuW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_CHECKED` in this scope [INFO] [stdout] --> src/tray.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | MF_CHECKED [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> src/tray.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_UNCHECKED` in this scope [INFO] [stdout] --> src/tray.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | MF_UNCHECKED [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/tray.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuW` in this scope [INFO] [stdout] --> src/tray.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | InsertMenuW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CheckMenuItem` in this scope [INFO] [stdout] --> src/tray.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | CheckMenuItem(menu, 1, MF_BYPOSITION | checked); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> src/tray.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/tray.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> src/tray.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | CheckMenuItem(menu, 1, MF_BYPOSITION | checked); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetMenuItemBitmaps` in this scope [INFO] [stdout] --> src/tray.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | SetMenuItemBitmaps(menu, 1, MF_BYPOSITION, ptr::null_mut(), ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> src/tray.rs:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | SetMenuItemBitmaps(menu, 1, MF_BYPOSITION, ptr::null_mut(), ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_CHECKED` in this scope [INFO] [stdout] --> src/tray.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | MF_CHECKED [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuW` in this scope [INFO] [stdout] --> src/tray.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | InsertMenuW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_UNCHECKED` in this scope [INFO] [stdout] --> src/tray.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | MF_UNCHECKED [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CheckMenuItem` in this scope [INFO] [stdout] --> src/tray.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | CheckMenuItem(menu, 1, MF_BYPOSITION | checked); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> src/tray.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | CheckMenuItem(menu, 1, MF_BYPOSITION | checked); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> src/tray.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuW` in this scope [INFO] [stdout] --> src/tray.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | InsertMenuW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> src/tray.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/tray.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/tray.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuW` in this scope [INFO] [stdout] --> src/tray.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | InsertMenuW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> src/tray.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InsertMenuW` in this scope [INFO] [stdout] --> src/tray.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | InsertMenuW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/tray.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetMenuDefaultItem` in this scope [INFO] [stdout] --> src/tray.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | SetMenuDefaultItem(menu, ID_ABOUT as u32, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetFocus` in this scope [INFO] [stdout] --> src/tray.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | SetFocus(hwnd); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_BYPOSITION` in this scope [INFO] [stdout] --> src/tray.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/tray.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | SendMessageW(hwnd, WM_INITMENUPOPUP, menu as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_INITMENUPOPUP` in this scope [INFO] [stdout] --> src/tray.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | SendMessageW(hwnd, WM_INITMENUPOPUP, menu as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/tray.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | let mut point: POINT = mem::zeroed(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/tray.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/tray.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | GetCursorPos(&mut point); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackPopupMenu` in this scope [INFO] [stdout] --> src/tray.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | let cmd = TrackPopupMenu( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_LEFTALIGN` in this scope [INFO] [stdout] --> src/tray.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_RIGHTBUTTON` in this scope [INFO] [stdout] --> src/tray.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetMenuDefaultItem` in this scope [INFO] [stdout] --> src/tray.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | SetMenuDefaultItem(menu, ID_ABOUT as u32, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_RETURNCMD` in this scope [INFO] [stdout] --> src/tray.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_NONOTIFY` in this scope [INFO] [stdout] --> src/tray.rs:178:59 [INFO] [stdout] | [INFO] [stdout] 178 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/tray.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | SendMessageW(hwnd, WM_COMMAND, cmd as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetFocus` in this scope [INFO] [stdout] --> src/tray.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | SetFocus(hwnd); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_COMMAND` in this scope [INFO] [stdout] --> src/tray.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | SendMessageW(hwnd, WM_COMMAND, cmd as usize, 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyMenu` in this scope [INFO] [stdout] --> src/tray.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | DestroyMenu(menu); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> src/tray.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | MessageBoxW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_ICONINFORMATION` in this scope [INFO] [stdout] --> src/tray.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | MB_ICONINFORMATION | MB_OK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/tray.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | SendMessageW(hwnd, WM_INITMENUPOPUP, menu as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope [INFO] [stdout] --> src/tray.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 205 | MB_ICONINFORMATION | MB_OK, [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/tray.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 210 | 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/tray.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | Msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_INITMENUPOPUP` in this scope [INFO] [stdout] --> src/tray.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | SendMessageW(hwnd, WM_INITMENUPOPUP, menu as usize, 0); [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/tray.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | wParam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/tray.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | let mut point: POINT = mem::zeroed(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/tray.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | GetCursorPos(&mut point); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackPopupMenu` in this scope [INFO] [stdout] --> src/tray.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | let cmd = TrackPopupMenu( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_LEFTALIGN` in this scope [INFO] [stdout] --> src/tray.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_RIGHTBUTTON` in this scope [INFO] [stdout] --> src/tray.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_RETURNCMD` in this scope [INFO] [stdout] --> src/tray.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TPM_NONOTIFY` in this scope [INFO] [stdout] --> src/tray.rs:178:59 [INFO] [stdout] | [INFO] [stdout] 178 | TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/tray.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | SendMessageW(hwnd, WM_COMMAND, cmd as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_COMMAND` in this scope [INFO] [stdout] --> src/tray.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | SendMessageW(hwnd, WM_COMMAND, cmd as usize, 0); [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/tray.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | lParam: 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/tray.rs:214:6 [INFO] [stdout] | [INFO] [stdout] 214 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyMenu` in this scope [INFO] [stdout] --> src/tray.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | DestroyMenu(menu); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> src/tray.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | MessageBoxW( [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/tray.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_ICONINFORMATION` in this scope [INFO] [stdout] --> src/tray.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | MB_ICONINFORMATION | MB_OK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/tray.rs:230:19 [INFO] [stdout] | [INFO] [stdout] 230 | match LOWORD(wParam as u32) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope [INFO] [stdout] --> src/tray.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 205 | MB_ICONINFORMATION | MB_OK, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShellExecuteW` in this scope [INFO] [stdout] --> src/tray.rs:255:29 [INFO] [stdout] | [INFO] [stdout] 255 | ... ShellExecuteW( [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/tray.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 210 | hWnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/tray.rs:261:33 [INFO] [stdout] | [INFO] [stdout] 261 | ... SW_SHOW, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/tray.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | PostMessageW(hWnd, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/tray.rs:267:40 [INFO] [stdout] | [INFO] [stdout] 267 | PostMessageW(hWnd, WM_CLOSE, 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 `SetForegroundWindow` in this scope [INFO] [stdout] --> src/tray.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | SetForegroundWindow(hWnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/tray.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | PostMessageW(hWnd, WM_APP + 1, 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/tray.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | DefWindowProcW(hWnd, Msg, wParam, lParam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window/grid.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let hInstance = GetModuleHandleW(ptr::null()); [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/grid.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn spawn_grid_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | let mut class = mem::zeroed::(); [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/grid.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn spawn_grid_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 36 | class.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/window/grid.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | class.hbrBackground = CreateSolidBrush(RGB(44, 44, 44)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/window/grid.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | class.hbrBackground = CreateSolidBrush(RGB(44, 44, 44)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/window/grid.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | class.hCursor = LoadCursorW(ptr::null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/window/grid.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | class.hCursor = LoadCursorW(ptr::null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/window/grid.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | 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 `CreateWindowExW` in this scope [INFO] [stdout] --> src/window/grid.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> src/window/grid.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | WS_EX_TOPMOST | WS_EX_TOOLWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope [INFO] [stdout] --> src/window/grid.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | WS_EX_TOPMOST | WS_EX_TOOLWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window/grid.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | WS_POPUP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/window/grid.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | if PeekMessageW(&mut msg, ptr::null_mut(), 0, 0, 1) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/window/grid.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | TranslateMessage(&msg); [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/grid.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | DispatchMessageW(&msg); [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/grid.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | 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/grid.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | 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/grid.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | wParam: 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/grid.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | lParam: LPARAM, [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/tray.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | 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/tray.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | wParam: 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/tray.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | lParam: 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/tray.rs:214:6 [INFO] [stdout] | [INFO] [stdout] 214 | ) -> LRESULT { [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/tray.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | PostQuitMessage(0); [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/grid.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | let x = LOWORD(lParam as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | let y = HIWORD(lParam as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let x = LOWORD(lParam as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | let y = HIWORD(lParam as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/tray.rs:230:19 [INFO] [stdout] | [INFO] [stdout] 230 | match LOWORD(wParam as u32) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/window/grid.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | InvalidateRect(hWnd, &rect.into(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/window/grid.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | SendMessageW(hWnd, WM_PAINT, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_PAINT` in this scope [INFO] [stdout] --> src/window/grid.rs:251:28 [INFO] [stdout] | [INFO] [stdout] 251 | SendMessageW(hWnd, WM_PAINT, 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 `ShellExecuteW` in this scope [INFO] [stdout] --> src/tray.rs:255:29 [INFO] [stdout] | [INFO] [stdout] 255 | ... ShellExecuteW( [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/grid.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | DefWindowProcW(hWnd, Msg, wParam, lParam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window/preview.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let hInstance = GetModuleHandleW(ptr::null()); [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/preview.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn spawn_preview_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 32 | let mut class = mem::zeroed::(); [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/preview.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn spawn_preview_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 33 | class.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/window/preview.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | class.hbrBackground = CreateSolidBrush(RGB(0, 77, 128)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/window/preview.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | class.hbrBackground = CreateSolidBrush(RGB(0, 77, 128)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/window/preview.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | 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 `CreateWindowExW` in this scope [INFO] [stdout] --> src/window/preview.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/tray.rs:261:33 [INFO] [stdout] | [INFO] [stdout] 261 | ... SW_SHOW, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/tray.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | PostMessageW(hWnd, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LAYERED` in this scope [INFO] [stdout] --> src/window/preview.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/tray.rs:267:40 [INFO] [stdout] | [INFO] [stdout] 267 | PostMessageW(hWnd, WM_CLOSE, 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 `SetForegroundWindow` in this scope [INFO] [stdout] --> src/tray.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | SetForegroundWindow(hWnd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/tray.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | PostMessageW(hWnd, WM_APP + 1, 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/tray.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | DefWindowProcW(hWnd, Msg, wParam, lParam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window/grid.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let hInstance = GetModuleHandleW(ptr::null()); [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/grid.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn spawn_grid_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | let mut class = mem::zeroed::(); [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/grid.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn spawn_grid_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 36 | class.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TRANSPARENT` in this scope [INFO] [stdout] --> src/window/preview.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/window/grid.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | class.hbrBackground = CreateSolidBrush(RGB(44, 44, 44)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/window/grid.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | class.hbrBackground = CreateSolidBrush(RGB(44, 44, 44)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> src/window/preview.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/window/grid.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | class.hCursor = LoadCursorW(ptr::null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stdout] --> src/window/preview.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/window/grid.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | class.hCursor = LoadCursorW(ptr::null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window/preview.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | WS_POPUP | WS_VISIBLE | WS_SYSMENU, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/window/grid.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | 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 `CreateWindowExW` in this scope [INFO] [stdout] --> src/window/grid.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/window/preview.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | WS_POPUP | WS_VISIBLE | WS_SYSMENU, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> src/window/grid.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | WS_EX_TOPMOST | WS_EX_TOOLWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> src/window/preview.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | WS_POPUP | WS_VISIBLE | WS_SYSMENU, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope [INFO] [stdout] --> src/window/grid.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | WS_EX_TOPMOST | WS_EX_TOOLWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope [INFO] [stdout] --> src/window/preview.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | SetLayeredWindowAttributes(hwnd, 0, 107, LWA_ALPHA); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope [INFO] [stdout] --> src/window/preview.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | SetLayeredWindowAttributes(hwnd, 0, 107, LWA_ALPHA); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window/grid.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | WS_POPUP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/window/grid.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | if PeekMessageW(&mut msg, ptr::null_mut(), 0, 0, 1) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/window/grid.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | TranslateMessage(&msg); [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/grid.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | DispatchMessageW(&msg); [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/grid.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | 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/grid.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | Msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/window/preview.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | if PeekMessageW(&mut msg, ptr::null_mut(), 0, 0, 1) > 0 { [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/grid.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | wParam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/window/preview.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | TranslateMessage(&msg); [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/preview.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | DispatchMessageW(&msg); [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/grid.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | lParam: 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/preview.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | 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/preview.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | 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/preview.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | wParam: WPARAM, [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/grid.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | ) -> 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/window/preview.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | lParam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | let x = LOWORD(lParam as u32) as i32; [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/preview.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | let y = HIWORD(lParam as u32) as i32; [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/preview.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | DefWindowProcW(hWnd, Msg, wParam, 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:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Window(pub HWND); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let x = LOWORD(lParam as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | let y = HIWORD(lParam as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/window.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | GetWindowRect(self.0, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/window.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/window/grid.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | InvalidateRect(hWnd, &rect.into(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/window/grid.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | SendMessageW(hWnd, WM_PAINT, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_PAINT` in this scope [INFO] [stdout] --> src/window/grid.rs:251:28 [INFO] [stdout] | [INFO] [stdout] 251 | SendMessageW(hWnd, WM_PAINT, 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/window/grid.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | DefWindowProcW(hWnd, Msg, wParam, lParam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window/preview.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let hInstance = GetModuleHandleW(ptr::null()); [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/preview.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn spawn_preview_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 32 | let mut class = mem::zeroed::(); [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/preview.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn spawn_preview_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 33 | class.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/window/preview.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | class.hbrBackground = CreateSolidBrush(RGB(0, 77, 128)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/window/preview.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | class.hbrBackground = CreateSolidBrush(RGB(0, 77, 128)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/window/preview.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | 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 `CreateWindowExW` in this scope [INFO] [stdout] --> src/window/preview.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LAYERED` in this scope [INFO] [stdout] --> src/window/preview.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TRANSPARENT` in this scope [INFO] [stdout] --> src/window/preview.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> src/window/preview.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stdout] --> src/window/preview.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window/preview.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | WS_POPUP | WS_VISIBLE | WS_SYSMENU, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/window/preview.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | WS_POPUP | WS_VISIBLE | WS_SYSMENU, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> src/window/preview.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | WS_POPUP | WS_VISIBLE | WS_SYSMENU, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope [INFO] [stdout] --> src/window.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope [INFO] [stdout] --> src/window/preview.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | SetLayeredWindowAttributes(hwnd, 0, 107, LWA_ALPHA); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let mut info: WINDOWINFO = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 22 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 49 | info.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowInfo` in this scope [INFO] [stdout] --> src/window.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | GetWindowInfo(self.0, &mut info); [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:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | ShowWindow(self.0, SW_RESTORE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope [INFO] [stdout] --> src/window/preview.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | SetLayeredWindowAttributes(hwnd, 0, 107, LWA_ALPHA); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_RESTORE` in this scope [INFO] [stdout] --> src/window.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | ShowWindow(self.0, SW_RESTORE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/window/preview.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | if PeekMessageW(&mut msg, ptr::null_mut(), 0, 0, 1) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | impl From for WindowInfo { [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 `TranslateMessage` in this scope [INFO] [stdout] --> src/window/preview.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | fn from(info: WINDOWINFO) -> Self { [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/main.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | ShowWindow(grid_window.as_ref().unwrap().0, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/main.rs:102:69 [INFO] [stdout] | [INFO] [stdout] 102 | ShowWindow(grid_window.as_ref().unwrap().0, SW_SHOW); [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/preview.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stdout] --> src/main.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | SetForegroundWindow(grid_window.as_ref().unwrap().0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_foreground_window` [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_foreground_window() -> Window { [INFO] [stdout] | ---------------------------------------- similarly named function `get_foreground_window` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stdout] --> src/main.rs:165:50 [INFO] [stdout] | [INFO] [stdout] 165 | ... let mut event_track: TRACKMOUSEEVENT = mem::zeroed(); [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/preview.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | hWnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stdout] --> src/main.rs:166:65 [INFO] [stdout] | [INFO] [stdout] 166 | ... event_track.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TME_LEAVE` in this scope [INFO] [stdout] --> src/main.rs:167:51 [INFO] [stdout] | [INFO] [stdout] 167 | ... event_track.dwFlags = TME_LEAVE; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackMouseEvent` in this scope [INFO] [stdout] --> src/main.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | ... TrackMouseEvent(&mut event_track); [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/preview.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | 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/preview.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | wParam: 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/preview.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | lParam: 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/preview.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | ) -> 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/preview.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | DefWindowProcW(hWnd, Msg, wParam, 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:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Window(pub HWND); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/window.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | GetWindowRect(self.0, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/window.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope [INFO] [stdout] --> src/window.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let mut info: WINDOWINFO = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 22 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 49 | info.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowInfo` in this scope [INFO] [stdout] --> src/window.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | GetWindowInfo(self.0, &mut info); [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:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | ShowWindow(self.0, SW_RESTORE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_RESTORE` in this scope [INFO] [stdout] --> src/window.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | ShowWindow(self.0, SW_RESTORE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | impl From for WindowInfo { [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 `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | fn from(info: WINDOWINFO) -> Self { [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/main.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | ShowWindow(grid_window.as_ref().unwrap().0, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/main.rs:102:69 [INFO] [stdout] | [INFO] [stdout] 102 | ShowWindow(grid_window.as_ref().unwrap().0, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stdout] --> src/main.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | SetForegroundWindow(grid_window.as_ref().unwrap().0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_foreground_window` [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_foreground_window() -> Window { [INFO] [stdout] | ---------------------------------------- similarly named function `get_foreground_window` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stdout] --> src/main.rs:165:50 [INFO] [stdout] | [INFO] [stdout] 165 | ... let mut event_track: TRACKMOUSEEVENT = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stdout] --> src/main.rs:166:65 [INFO] [stdout] | [INFO] [stdout] 166 | ... event_track.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TME_LEAVE` in this scope [INFO] [stdout] --> src/main.rs:167:51 [INFO] [stdout] | [INFO] [stdout] 167 | ... event_track.dwFlags = TME_LEAVE; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackMouseEvent` in this scope [INFO] [stdout] --> src/main.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | ... TrackMouseEvent(&mut event_track); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 249 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grout` [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: aborting due to 249 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d0a23cd0444ed644ecb1e9812336b4278265d796e1a05f6c2ea5a5ced69288a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0a23cd0444ed644ecb1e9812336b4278265d796e1a05f6c2ea5a5ced69288a5", kill_on_drop: false }` [INFO] [stdout] d0a23cd0444ed644ecb1e9812336b4278265d796e1a05f6c2ea5a5ced69288a5