[INFO] cloning repository https://github.com/wgalyen/groot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wgalyen/groot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwgalyen%2Fgroot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwgalyen%2Fgroot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3efaf161c7d6ba045922f8d0c339cfcc49a8aff [INFO] checking wgalyen/groot against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwgalyen%2Fgroot" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wgalyen/groot on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wgalyen/groot [INFO] finished tweaking git repo https://github.com/wgalyen/groot [INFO] tweaked toml for git repo https://github.com/wgalyen/groot written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/wgalyen/groot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52fbba2affb1c7becc0e6e289e08e292ee99328cdb0bf912bef51fc962bee06d [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" "52fbba2affb1c7becc0e6e289e08e292ee99328cdb0bf912bef51fc962bee06d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52fbba2affb1c7becc0e6e289e08e292ee99328cdb0bf912bef51fc962bee06d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52fbba2affb1c7becc0e6e289e08e292ee99328cdb0bf912bef51fc962bee06d", kill_on_drop: false }` [INFO] [stdout] 52fbba2affb1c7becc0e6e289e08e292ee99328cdb0bf912bef51fc962bee06d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55d190746f2a8f9d8a816d19cee67f026bcdcaf5756d8f61f61f6a946e1c376d [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" "55d190746f2a8f9d8a816d19cee67f026bcdcaf5756d8f61f61f6a946e1c376d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking ron v0.5.1 [INFO] [stderr] Checking config v0.10.1 [INFO] [stderr] Checking groot v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/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/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: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/grid.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/grid.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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 `um` in `winapi` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/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/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: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/grid.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/grid.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | 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:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | 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:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | 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:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | 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:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | 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:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | 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:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | 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:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | 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:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | 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:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | 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:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | 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:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | 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:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | RECT { [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:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | 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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | 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:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | 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:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | 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:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | 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:70:38 [INFO] [stdout] | [INFO] [stdout] 60 | pub unsafe fn get_work_area() -> Rect { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 70 | 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:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | 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:72:59 [INFO] [stdout] | [INFO] [stdout] 72 | 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:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | 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:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | 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:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | 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:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | 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:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | 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:89:34 [INFO] [stdout] | [INFO] [stdout] 80 | pub unsafe fn get_active_monitor_name() -> String { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 89 | 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:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | 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:91:55 [INFO] [stdout] | [INFO] [stdout] 91 | 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:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | 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:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | 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:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | _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:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | _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:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | 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:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | _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:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | _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:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | _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:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | _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:436:24 [INFO] [stdout] | [INFO] [stdout] 436 | 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:439:19 [INFO] [stdout] | [INFO] [stdout] 439 | 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:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | 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:458:31 [INFO] [stdout] | [INFO] [stdout] 458 | 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:460:27 [INFO] [stdout] | [INFO] [stdout] 460 | 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:460:44 [INFO] [stdout] | [INFO] [stdout] 460 | 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:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | 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:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | 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:465:9 [INFO] [stdout] | [INFO] [stdout] 465 | 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:466:9 [INFO] [stdout] | [INFO] [stdout] 466 | 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:469:35 [INFO] [stdout] | [INFO] [stdout] 469 | 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:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | 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:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | 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:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | 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:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | 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:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | 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:44:55 [INFO] [stdout] | [INFO] [stdout] 44 | 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:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | 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:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | 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:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | 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:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | 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:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | "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:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | "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:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | "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:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | "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:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | 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:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let vk_code = VkKeyScanExW(key_char as u16, keyboard_layout).to_be_bytes(); [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:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | 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:45:39 [INFO] [stdout] | [INFO] [stdout] 37 | pub unsafe fn spawn_sys_tray() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | 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/tray.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 37 | pub unsafe fn spawn_sys_tray() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 46 | 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:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | 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:50:48 [INFO] [stdout] | [INFO] [stdout] 50 | 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:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | 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:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | 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:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | 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 `GetMessageW` in this scope [INFO] [stdout] --> src/tray.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | 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/tray.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | 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/tray.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | 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/tray.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe fn add_icon(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 `CreateIconFromResourceEx` in this scope [INFO] [stdout] --> src/tray.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | let icon_handle = CreateIconFromResourceEx( [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:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | LR_DEFAULTCOLOR, [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:24 [INFO] [stdout] | [INFO] [stdout] 96 | let mut icon_data: NOTIFYICONDATAW = mem::zeroed(); [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:97:39 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe fn add_icon(hwnd: HWND) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 97 | 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 value `WM_APP` in this scope [INFO] [stdout] --> src/tray.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | icon_data.uCallbackMessage = WM_APP; [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:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | 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_MESSAGE` in this scope [INFO] [stdout] --> src/tray.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | 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:101:49 [INFO] [stdout] | [INFO] [stdout] 101 | 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:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | 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:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | 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:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe fn remove_icon(hwnd: HWND) { [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:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | 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:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | 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:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | 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:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | 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:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | 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:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | 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:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | 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:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | 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:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | 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:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | 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:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | 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 `SetMenuItemBitmaps` in this scope [INFO] [stdout] --> src/tray.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | 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:155:33 [INFO] [stdout] | [INFO] [stdout] 155 | 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:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | MF_CHECKED [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:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | 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:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | 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:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | 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 `InsertMenuW` in this scope [INFO] [stdout] --> src/tray.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | 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:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | 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:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | 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:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | 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:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | 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:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | 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:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | 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:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | SetFocus(hwnd); [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:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | 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:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | 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:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | 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:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | 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:188:15 [INFO] [stdout] | [INFO] [stdout] 188 | 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:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | 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:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | 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:190:43 [INFO] [stdout] | [INFO] [stdout] 190 | 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:190:59 [INFO] [stdout] | [INFO] [stdout] 190 | 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:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | 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:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | 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:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | 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:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | 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:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | MB_ICONINFORMATION | MB_OK, [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:219:30 [INFO] [stdout] | [INFO] [stdout] 219 | 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:224:11 [INFO] [stdout] | [INFO] [stdout] 224 | 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:225:10 [INFO] [stdout] | [INFO] [stdout] 225 | 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:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | 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:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | 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:228:6 [INFO] [stdout] | [INFO] [stdout] 228 | ) -> 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:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | PostQuitMessage(0); [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:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | 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 `ShellExecuteW` in this scope [INFO] [stdout] --> src/tray.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | ... ShellExecuteW( [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:283:33 [INFO] [stdout] | [INFO] [stdout] 283 | ... 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:289:21 [INFO] [stdout] | [INFO] [stdout] 289 | 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:289:40 [INFO] [stdout] | [INFO] [stdout] 289 | 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:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | 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:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | 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:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | 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: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/grid.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn spawn_grid_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | 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:35:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn spawn_grid_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | 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:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | 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:39:48 [INFO] [stdout] | [INFO] [stdout] 39 | 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:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | 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:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | 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:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | 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:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | 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:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | 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:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | 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:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | 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:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | 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:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | 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:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | 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:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | 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:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | 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:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | 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:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | 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/grid.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> 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:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | 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:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | 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:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | 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:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | 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 `InvalidateRect` in this scope [INFO] [stdout] --> src/window/grid.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | 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:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | 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:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | 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:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | 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:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | 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:33:39 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn spawn_preview_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 33 | 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:34:39 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn spawn_preview_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | 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:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | 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:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | 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:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | 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:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | 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:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | 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:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | 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:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | 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:43:65 [INFO] [stdout] | [INFO] [stdout] 43 | 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:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | 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:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | 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:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | 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 `SetLayeredWindowAttributes` in this scope [INFO] [stdout] --> src/window/preview.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | 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:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | SetLayeredWindowAttributes(hwnd, 0, 107, LWA_ALPHA); [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:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | 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/preview.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | 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:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | 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/preview.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | 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:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | 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:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | 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:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | 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:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | ) -> 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:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | 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 `GetForegroundWindow` in this scope [INFO] [stdout] --> src/window.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let hwnd = GetForegroundWindow(); [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:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | 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:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | 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:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | 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:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | 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:56:38 [INFO] [stdout] | [INFO] [stdout] 22 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 56 | 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:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | GetWindowInfo(self.0, &mut info); [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:11 [INFO] [stdout] | [INFO] [stdout] 102 | 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:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | 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:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | 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:85:69 [INFO] [stdout] | [INFO] [stdout] 85 | 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:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | SetForegroundWindow(grid_window.as_ref().unwrap().0); [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/main.rs:94:58 [INFO] [stdout] | [INFO] [stdout] 94 | grid.active_window = Some(Window(GetForegroundWindow())); [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:118:50 [INFO] [stdout] | [INFO] [stdout] 118 | ... 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:119:65 [INFO] [stdout] | [INFO] [stdout] 119 | ... 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:120:51 [INFO] [stdout] | [INFO] [stdout] 120 | ... 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:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | ... TrackMouseEvent(&mut event_track); [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:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | 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:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | 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:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | 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:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | 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:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | 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:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | 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:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | 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:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | 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:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | 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:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | 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:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | 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:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | 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:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | RECT { [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:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | 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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | 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:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | 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:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | 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:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | 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:70:38 [INFO] [stdout] | [INFO] [stdout] 60 | pub unsafe fn get_work_area() -> Rect { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 70 | 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:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | 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:72:59 [INFO] [stdout] | [INFO] [stdout] 72 | 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:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | 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:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | 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:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | 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:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | 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:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | 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:89:34 [INFO] [stdout] | [INFO] [stdout] 80 | pub unsafe fn get_active_monitor_name() -> String { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 89 | 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:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | 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:91:55 [INFO] [stdout] | [INFO] [stdout] 91 | 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:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | 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:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | 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:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | _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:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | _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:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | 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:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | _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:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | _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:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | _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:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | _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:436:24 [INFO] [stdout] | [INFO] [stdout] 436 | 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:439:19 [INFO] [stdout] | [INFO] [stdout] 439 | 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:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | 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:458:31 [INFO] [stdout] | [INFO] [stdout] 458 | 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:460:27 [INFO] [stdout] | [INFO] [stdout] 460 | 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:460:44 [INFO] [stdout] | [INFO] [stdout] 460 | 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:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | 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:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | 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:465:9 [INFO] [stdout] | [INFO] [stdout] 465 | 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:466:9 [INFO] [stdout] | [INFO] [stdout] 466 | 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:469:35 [INFO] [stdout] | [INFO] [stdout] 469 | 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:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | 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:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | 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:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | 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:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | 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:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | 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:44:55 [INFO] [stdout] | [INFO] [stdout] 44 | 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:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | 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:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | 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:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | 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:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | 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:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | "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:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | "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:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | "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:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | "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:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | 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:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let vk_code = VkKeyScanExW(key_char as u16, keyboard_layout).to_be_bytes(); [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:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | 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:45:39 [INFO] [stdout] | [INFO] [stdout] 37 | pub unsafe fn spawn_sys_tray() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | 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/tray.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 37 | pub unsafe fn spawn_sys_tray() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 46 | 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:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | 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:50:48 [INFO] [stdout] | [INFO] [stdout] 50 | 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:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | 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:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | 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:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | 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 `GetMessageW` in this scope [INFO] [stdout] --> src/tray.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | 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/tray.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | 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/tray.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | 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/tray.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe fn add_icon(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 `CreateIconFromResourceEx` in this scope [INFO] [stdout] --> src/tray.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | let icon_handle = CreateIconFromResourceEx( [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:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | LR_DEFAULTCOLOR, [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:24 [INFO] [stdout] | [INFO] [stdout] 96 | let mut icon_data: NOTIFYICONDATAW = mem::zeroed(); [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:97:39 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe fn add_icon(hwnd: HWND) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 97 | 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 value `WM_APP` in this scope [INFO] [stdout] --> src/tray.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | icon_data.uCallbackMessage = WM_APP; [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:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | 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_MESSAGE` in this scope [INFO] [stdout] --> src/tray.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | 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:101:49 [INFO] [stdout] | [INFO] [stdout] 101 | 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:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | 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:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | 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:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe fn remove_icon(hwnd: HWND) { [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:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | 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:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | 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:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | 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:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | 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:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | 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:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | 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:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | 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:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | 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:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | 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:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | 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:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | 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 `SetMenuItemBitmaps` in this scope [INFO] [stdout] --> src/tray.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | 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:155:33 [INFO] [stdout] | [INFO] [stdout] 155 | 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:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | MF_CHECKED [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:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | 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:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | 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:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | 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 `InsertMenuW` in this scope [INFO] [stdout] --> src/tray.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | 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:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | 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:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | 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:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | 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:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | 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:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | 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:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | 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:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | SetFocus(hwnd); [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:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | 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:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | 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:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | 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:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | 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:188:15 [INFO] [stdout] | [INFO] [stdout] 188 | 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:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | 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:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | 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:190:43 [INFO] [stdout] | [INFO] [stdout] 190 | 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:190:59 [INFO] [stdout] | [INFO] [stdout] 190 | 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:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | 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:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | 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:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | 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:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | 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:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | MB_ICONINFORMATION | MB_OK, [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:219:30 [INFO] [stdout] | [INFO] [stdout] 219 | 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:224:11 [INFO] [stdout] | [INFO] [stdout] 224 | 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:225:10 [INFO] [stdout] | [INFO] [stdout] 225 | 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:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | 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:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | 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:228:6 [INFO] [stdout] | [INFO] [stdout] 228 | ) -> 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:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | PostQuitMessage(0); [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:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | 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 `ShellExecuteW` in this scope [INFO] [stdout] --> src/tray.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | ... ShellExecuteW( [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:283:33 [INFO] [stdout] | [INFO] [stdout] 283 | ... 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:289:21 [INFO] [stdout] | [INFO] [stdout] 289 | 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:289:40 [INFO] [stdout] | [INFO] [stdout] 289 | 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:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | 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:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | 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:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | 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: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/grid.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn spawn_grid_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | 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:35:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn spawn_grid_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | 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:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | 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:39:48 [INFO] [stdout] | [INFO] [stdout] 39 | 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:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | 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:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | 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:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | 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:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | 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:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | 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:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | 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:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | 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:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | 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:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | 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:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | 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:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | 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:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | 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:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | 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:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | 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/grid.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> 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:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | 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:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | 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:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | 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:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | 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 `InvalidateRect` in this scope [INFO] [stdout] --> src/window/grid.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | 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:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | 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:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | 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:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | 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:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | 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:33:39 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn spawn_preview_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 33 | 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:34:39 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn spawn_preview_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | 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:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | 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:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | 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:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | 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:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | 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:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | 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:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | 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:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | 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:43:65 [INFO] [stdout] | [INFO] [stdout] 43 | 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:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | 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:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | 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:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | 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 `SetLayeredWindowAttributes` in this scope [INFO] [stdout] --> src/window/preview.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | 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:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | SetLayeredWindowAttributes(hwnd, 0, 107, LWA_ALPHA); [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:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | 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/preview.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | 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:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | 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/preview.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | 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:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | 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:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | 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:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | 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:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | ) -> 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:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | 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 `GetForegroundWindow` in this scope [INFO] [stdout] --> src/window.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let hwnd = GetForegroundWindow(); [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:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | 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:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | 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:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | 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:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | 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:56:38 [INFO] [stdout] | [INFO] [stdout] 22 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 56 | 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:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | GetWindowInfo(self.0, &mut info); [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:11 [INFO] [stdout] | [INFO] [stdout] 102 | 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:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | 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:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | 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:85:69 [INFO] [stdout] | [INFO] [stdout] 85 | 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:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | SetForegroundWindow(grid_window.as_ref().unwrap().0); [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/main.rs:94:58 [INFO] [stdout] | [INFO] [stdout] 94 | grid.active_window = Some(Window(GetForegroundWindow())); [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:118:50 [INFO] [stdout] | [INFO] [stdout] 118 | ... 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:119:65 [INFO] [stdout] | [INFO] [stdout] 119 | ... 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:120:51 [INFO] [stdout] | [INFO] [stdout] 120 | ... 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:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | ... TrackMouseEvent(&mut event_track); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 248 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 `groot` [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 248 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" "55d190746f2a8f9d8a816d19cee67f026bcdcaf5756d8f61f61f6a946e1c376d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55d190746f2a8f9d8a816d19cee67f026bcdcaf5756d8f61f61f6a946e1c376d", kill_on_drop: false }` [INFO] [stdout] 55d190746f2a8f9d8a816d19cee67f026bcdcaf5756d8f61f61f6a946e1c376d