[INFO] cloning repository https://github.com/tarkah/grout [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tarkah/grout" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarkah%2Fgrout", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarkah%2Fgrout'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f90d27be040ed72dedaef811fe6c6329609e23b [INFO] checking tarkah/grout against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarkah%2Fgrout" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tarkah/grout 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/tarkah/grout [INFO] finished tweaking git repo https://github.com/tarkah/grout [INFO] tweaked toml for git repo https://github.com/tarkah/grout written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/tarkah/grout already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 4ce0ccedc0803ec1692ace43ccdb400ca6fcb521623e9f2c5d740e23fae39804 [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" "4ce0ccedc0803ec1692ace43ccdb400ca6fcb521623e9f2c5d740e23fae39804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ce0ccedc0803ec1692ace43ccdb400ca6fcb521623e9f2c5d740e23fae39804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ce0ccedc0803ec1692ace43ccdb400ca6fcb521623e9f2c5d740e23fae39804", kill_on_drop: false }` [INFO] [stdout] 4ce0ccedc0803ec1692ace43ccdb400ca6fcb521623e9f2c5d740e23fae39804 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 878e91d59c68cf974e865785590685263e4a5d1f347aed1bc6a1da8b402fe0ed [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" "878e91d59c68cf974e865785590685263e4a5d1f347aed1bc6a1da8b402fe0ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Compiling lexical-core v0.6.7 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking ron v0.5.1 [INFO] [stderr] Checking config v0.10.1 [INFO] [stderr] Checking grout v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs: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/autostart.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winreg::{RegCreateKeyExW, RegDeleteKeyValueW, RegSetValueExW, HKEY_CURRENT_USER}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/common.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::windef::{POINT, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/common.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/event.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/event.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::LONG; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/event.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/grid.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef::{HBRUSH, HDC}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/grid.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::wingdi::{CreateSolidBrush, DeleteObject, RGB}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/grid.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::{BeginPaint, EndPaint, FillRect, FrameRect, PAINTSTRUCT}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hotkey.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tray.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tray.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tray.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::shellapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tray.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::wingdi::{CreateSolidBrush, RGB}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tray.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window/grid.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window/grid.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window/grid.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::wingdi::{CreateSolidBrush, RGB}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window/grid.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window/preview.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window/preview.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window/preview.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::wingdi::{CreateSolidBrush, RGB}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window/preview.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.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/autostart.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winreg::{RegCreateKeyExW, RegDeleteKeyValueW, RegSetValueExW, HKEY_CURRENT_USER}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/common.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::windef::{POINT, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/common.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/event.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/event.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::LONG; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/event.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/grid.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef::{HBRUSH, HDC}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/grid.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::wingdi::{CreateSolidBrush, DeleteObject, RGB}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/grid.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::{BeginPaint, EndPaint, FillRect, FrameRect, PAINTSTRUCT}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hotkey.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tray.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tray.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tray.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::shellapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tray.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::wingdi::{CreateSolidBrush, RGB}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tray.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window/grid.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window/grid.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window/grid.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::wingdi::{CreateSolidBrush, RGB}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window/grid.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window/preview.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window/preview.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window/preview.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::wingdi::{CreateSolidBrush, RGB}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window/preview.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> src/autostart.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | 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:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | 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:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | 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:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | 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:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 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:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | 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:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | 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:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | 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:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | 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:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | 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:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | 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:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | 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:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stdout] --> src/common.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | let hwnd = unsafe { GetForegroundWindow() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/common.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | 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:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | 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:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | 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:91:38 [INFO] [stdout] | [INFO] [stdout] 91 | 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:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | 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:96:38 [INFO] [stdout] | [INFO] [stdout] 86 | pub unsafe fn get_work_area() -> Rect { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 96 | 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:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | 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:98:59 [INFO] [stdout] | [INFO] [stdout] 98 | 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:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | 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:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | 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:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | 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:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | 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:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | 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:115:34 [INFO] [stdout] | [INFO] [stdout] 106 | pub unsafe fn get_active_monitor_name() -> String { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 115 | 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:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | 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:117:55 [INFO] [stdout] | [INFO] [stdout] 117 | 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:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | MB_OK, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWinEventHook` in this scope [INFO] [stdout] --> src/event.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | SetWinEventHook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope [INFO] [stdout] --> src/event.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | EVENT_SYSTEM_FOREGROUND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope [INFO] [stdout] --> src/event.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | EVENT_SYSTEM_FOREGROUND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WINEVENT_OUTOFCONTEXT` in this scope [INFO] [stdout] --> src/event.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | WINEVENT_OUTOFCONTEXT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/event.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | if PeekMessageW(&mut msg, ptr::null_mut(), 0, 0, 1) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/event.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/event.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/event.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | _hWinEventHook: HWINEVENTHOOK, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/event.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | _event: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/event.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/event.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | _idObject: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/event.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | _idChild: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/event.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | _idEventThread: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/event.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | _dwmsEventTime: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stdout] --> src/grid.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | let mut paint: PAINTSTRUCT = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> src/grid.rs:456:19 [INFO] [stdout] | [INFO] [stdout] 456 | let hdc = BeginPaint(window.0, &mut paint); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope [INFO] [stdout] --> src/grid.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | EndPaint(window.0, &paint); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/grid.rs:475:31 [INFO] [stdout] | [INFO] [stdout] 475 | unsafe fn draw(self, hdc: HDC, area: Rect) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/grid.rs:477:27 [INFO] [stdout] | [INFO] [stdout] 477 | let frame_brush = CreateSolidBrush(RGB(0, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/grid.rs:477:44 [INFO] [stdout] | [INFO] [stdout] 477 | let frame_brush = CreateSolidBrush(RGB(0, 0, 0)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope [INFO] [stdout] --> src/grid.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | FillRect(hdc, &area.into(), fill_brush); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FrameRect` in this scope [INFO] [stdout] --> src/grid.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | FrameRect(hdc, &area.into(), frame_brush); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/grid.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | DeleteObject(fill_brush as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/grid.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | DeleteObject(frame_brush as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/grid.rs:486:35 [INFO] [stdout] | [INFO] [stdout] 486 | unsafe fn fill_brush(self) -> HBRUSH { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/grid.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | RGB(0, 77, 128) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/grid.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | RGB(0, 100, 148) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/grid.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | RGB( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/grid.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | CreateSolidBrush(color) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope [INFO] [stdout] --> src/hotkey.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let result = RegisterHotKey( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_NOREPEAT` in this scope [INFO] [stdout] --> src/hotkey.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | compile_modifiers(&hotkey, &hotkey_str) | MOD_NOREPEAT as u32, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/hotkey.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | while GetMessageW(&mut msg, ptr::null_mut(), 0, 0) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/hotkey.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/hotkey.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope [INFO] [stdout] --> src/hotkey.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | if msg.message == WM_HOTKEY { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_ALT` in this scope [INFO] [stdout] --> src/hotkey.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | "ALT" => code |= MOD_ALT as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_CONTROL` in this scope [INFO] [stdout] --> src/hotkey.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | "CTRL" => code |= MOD_CONTROL as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_SHIFT` in this scope [INFO] [stdout] --> src/hotkey.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | "SHIFT" => code |= MOD_SHIFT as u32, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_WIN` in this scope [INFO] [stdout] --> src/hotkey.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | "WIN" => code |= MOD_WIN as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyboardLayout` in this scope [INFO] [stdout] --> src/hotkey.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | let keyboard_layout = GetKeyboardLayout(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VkKeyScanExW` in this scope [INFO] [stdout] --> src/hotkey.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | let vk_code = VkKeyScanExW(key_char as u16, keyboard_layout); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/tray.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | 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] 39 | 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] 39 | 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[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> src/autostart.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | 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 `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:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | InsertMenuW( [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:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | 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:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | HKEY_CURRENT_USER, [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:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | MF_BYPOSITION | MF_STRING, [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:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | 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:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 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:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | RegSetValueExW( [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:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | MF_BYPOSITION | MF_STRING, [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:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | 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 `InsertMenuW` in this scope [INFO] [stdout] --> src/tray.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | InsertMenuW( [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:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | RegDeleteKeyValueW( [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:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | 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:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | MF_BYPOSITION | MF_STRING, [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:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | HKEY_CURRENT_USER, [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:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | 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:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | 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[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/common.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | 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[E0425]: cannot find value `MF_CHECKED` in this scope [INFO] [stdout] --> src/tray.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | MF_CHECKED [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/common.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(rect: RECT) -> Self { [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:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | MF_UNCHECKED [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:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | impl From for RECT { [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:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | CheckMenuItem(menu, 1, MF_BYPOSITION | checked); [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:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stdout] --> src/common.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | let hwnd = unsafe { GetForegroundWindow() }; [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:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | CheckMenuItem(menu, 1, MF_BYPOSITION | checked); [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:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | 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 `InsertMenuW` in this scope [INFO] [stdout] --> src/tray.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | InsertMenuW( [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:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | GetCursorPos(&mut cursor_pos); [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:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | 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 `MonitorFromPoint` in this scope [INFO] [stdout] --> src/common.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | 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:91:38 [INFO] [stdout] | [INFO] [stdout] 91 | MonitorFromPoint(cursor_pos, MONITOR_DEFAULTTONEAREST) [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:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | MF_BYPOSITION | MF_STRING, [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:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | 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:96:38 [INFO] [stdout] | [INFO] [stdout] 86 | pub unsafe fn get_work_area() -> Rect { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 96 | 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 `InsertMenuW` in this scope [INFO] [stdout] --> src/tray.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | InsertMenuW( [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:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | 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 value `MF_BYPOSITION` in this scope [INFO] [stdout] --> src/tray.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | MF_BYPOSITION | MF_STRING, [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:98:59 [INFO] [stdout] | [INFO] [stdout] 98 | 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:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | let mut cursor_pos: POINT = mem::zeroed(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope [INFO] [stdout] --> src/tray.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | MF_BYPOSITION | MF_STRING, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/common.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | 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:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | MonitorFromPoint(cursor_pos, MONITOR_DEFAULTTONEAREST) [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:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | 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:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | SetFocus(hwnd); [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:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | 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:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | let mut info: MONITORINFOEXW = 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 `SendMessageW` in this scope [INFO] [stdout] --> src/tray.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | 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 `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/common.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 106 | pub unsafe fn get_active_monitor_name() -> String { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 115 | 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:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | 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 value `WM_INITMENUPOPUP` in this scope [INFO] [stdout] --> src/tray.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | 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 `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/common.rs:117:55 [INFO] [stdout] | [INFO] [stdout] 117 | 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:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | MB_OK, [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:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | 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:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | 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 `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 function, tuple struct or tuple variant `TrackPopupMenu` in this scope [INFO] [stdout] --> src/tray.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 177 | 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:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | 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 `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 `TPM_RIGHTBUTTON` in this scope [INFO] [stdout] --> src/tray.rs:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | 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:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | 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:179:59 [INFO] [stdout] | [INFO] [stdout] 179 | 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 `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 `SendMessageW` in this scope [INFO] [stdout] --> src/tray.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | 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 `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 value `WM_COMMAND` in this scope [INFO] [stdout] --> src/tray.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | 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:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | 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:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | MessageBoxW( [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 value `MB_ICONINFORMATION` in this scope [INFO] [stdout] --> src/tray.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | MB_ICONINFORMATION | MB_OK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `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[E0425]: cannot find value `MB_OK` in this scope [INFO] [stdout] --> src/tray.rs:206:30 [INFO] [stdout] | [INFO] [stdout] 206 | 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:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | hWnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/event.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | _hWinEventHook: HWINEVENTHOOK, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/tray.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | Msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/event.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | _event: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/event.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/tray.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | 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:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | 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:215:6 [INFO] [stdout] | [INFO] [stdout] 215 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/event.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | _idObject: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/tray.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/event.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | _idChild: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/tray.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | match LOWORD(wParam as u32) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/event.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | _idEventThread: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/event.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | _dwmsEventTime: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShellExecuteW` in this scope [INFO] [stdout] --> src/tray.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 269 | ... 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:275:33 [INFO] [stdout] | [INFO] [stdout] 275 | ... 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:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | PostMessageW(hWnd, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stdout] --> src/grid.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | let mut paint: PAINTSTRUCT = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> src/grid.rs:456:19 [INFO] [stdout] | [INFO] [stdout] 456 | let hdc = BeginPaint(window.0, &mut paint); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope [INFO] [stdout] --> src/grid.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | EndPaint(window.0, &paint); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/grid.rs:475:31 [INFO] [stdout] | [INFO] [stdout] 475 | unsafe fn draw(self, hdc: HDC, area: Rect) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/grid.rs:477:27 [INFO] [stdout] | [INFO] [stdout] 477 | let frame_brush = CreateSolidBrush(RGB(0, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/grid.rs:477:44 [INFO] [stdout] | [INFO] [stdout] 477 | let frame_brush = CreateSolidBrush(RGB(0, 0, 0)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope [INFO] [stdout] --> src/grid.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | FillRect(hdc, &area.into(), fill_brush); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FrameRect` in this scope [INFO] [stdout] --> src/grid.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | FrameRect(hdc, &area.into(), frame_brush); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/grid.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | DeleteObject(fill_brush as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/tray.rs:281:40 [INFO] [stdout] | [INFO] [stdout] 281 | 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:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | 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:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | 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:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | DefWindowProcW(hWnd, Msg, wParam, lParam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window/grid.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let hInstance = GetModuleHandleW(ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window/grid.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn spawn_grid_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | let mut class = mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window/grid.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn spawn_grid_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 36 | class.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/window/grid.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | class.hbrBackground = CreateSolidBrush(RGB(44, 44, 44)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/window/grid.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | class.hbrBackground = CreateSolidBrush(RGB(44, 44, 44)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/window/grid.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | class.hCursor = LoadCursorW(ptr::null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/window/grid.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | class.hCursor = LoadCursorW(ptr::null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/window/grid.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | RegisterClassExW(&class); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/window/grid.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> src/window/grid.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | WS_EX_TOPMOST | WS_EX_TOOLWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/grid.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | DeleteObject(frame_brush as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope [INFO] [stdout] --> src/window/grid.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | WS_EX_TOPMOST | WS_EX_TOOLWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window/grid.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | WS_POPUP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/grid.rs:486:35 [INFO] [stdout] | [INFO] [stdout] 486 | unsafe fn fill_brush(self) -> HBRUSH { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/window/grid.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | if PeekMessageW(&mut msg, ptr::null_mut(), 0, 0, 1) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/grid.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | RGB(0, 77, 128) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/window/grid.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/grid.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | RGB(0, 100, 148) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/window/grid.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/grid.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | RGB( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window/grid.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | hWnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/grid.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | CreateSolidBrush(color) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window/grid.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | Msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope [INFO] [stdout] --> src/hotkey.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let result = RegisterHotKey( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window/grid.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | wParam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_NOREPEAT` in this scope [INFO] [stdout] --> src/hotkey.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | compile_modifiers(&hotkey, &hotkey_str) | MOD_NOREPEAT as u32, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/hotkey.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | while GetMessageW(&mut msg, ptr::null_mut(), 0, 0) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/hotkey.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/hotkey.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope [INFO] [stdout] --> src/hotkey.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | if msg.message == WM_HOTKEY { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_ALT` in this scope [INFO] [stdout] --> src/hotkey.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | "ALT" => code |= MOD_ALT as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_CONTROL` in this scope [INFO] [stdout] --> src/hotkey.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | "CTRL" => code |= MOD_CONTROL as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_SHIFT` in this scope [INFO] [stdout] --> src/hotkey.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | "SHIFT" => code |= MOD_SHIFT as u32, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOD_WIN` in this scope [INFO] [stdout] --> src/hotkey.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | "WIN" => code |= MOD_WIN as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyboardLayout` in this scope [INFO] [stdout] --> src/hotkey.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | let keyboard_layout = GetKeyboardLayout(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VkKeyScanExW` in this scope [INFO] [stdout] --> src/hotkey.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | let vk_code = VkKeyScanExW(key_char as u16, keyboard_layout); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window/grid.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | lParam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window/grid.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | let x = LOWORD(lParam as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | let y = HIWORD(lParam as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let x = LOWORD(lParam as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | let y = HIWORD(lParam as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/window/grid.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | InvalidateRect(hWnd, &rect.into(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/window/grid.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | SendMessageW(hWnd, WM_PAINT, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_PAINT` in this scope [INFO] [stdout] --> src/window/grid.rs:251:28 [INFO] [stdout] | [INFO] [stdout] 251 | SendMessageW(hWnd, WM_PAINT, 0, 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/window/grid.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | DefWindowProcW(hWnd, Msg, wParam, lParam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window/preview.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let hInstance = GetModuleHandleW(ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window/preview.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn spawn_preview_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 32 | let mut class = mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window/preview.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn spawn_preview_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 33 | class.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/window/preview.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | class.hbrBackground = CreateSolidBrush(RGB(0, 77, 128)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/window/preview.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | class.hbrBackground = CreateSolidBrush(RGB(0, 77, 128)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/window/preview.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | RegisterClassExW(&class); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/window/preview.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LAYERED` in this scope [INFO] [stdout] --> src/window/preview.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TRANSPARENT` in this scope [INFO] [stdout] --> src/window/preview.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> src/window/preview.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stdout] --> src/window/preview.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window/preview.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | WS_POPUP | WS_VISIBLE | WS_SYSMENU, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/tray.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let hInstance = GetModuleHandleW(ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/window/preview.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | WS_POPUP | WS_VISIBLE | WS_SYSMENU, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> src/window/preview.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | WS_POPUP | WS_VISIBLE | WS_SYSMENU, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/tray.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 39 | 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[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope [INFO] [stdout] --> src/window/preview.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | SetLayeredWindowAttributes(hwnd, 0, 107, LWA_ALPHA); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope [INFO] [stdout] --> src/window/preview.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | SetLayeredWindowAttributes(hwnd, 0, 107, LWA_ALPHA); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/tray.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 39 | 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 `PeekMessageW` in this scope [INFO] [stdout] --> src/window/preview.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | if PeekMessageW(&mut msg, ptr::null_mut(), 0, 0, 1) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 `TranslateMessage` in this scope [INFO] [stdout] --> src/window/preview.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `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 `DispatchMessageW` in this scope [INFO] [stdout] --> src/window/preview.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `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[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window/preview.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | hWnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 `UINT` in this scope [INFO] [stdout] --> src/window/preview.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | Msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window/preview.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | wParam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window/preview.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | lParam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window/preview.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/window/preview.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | DefWindowProcW(hWnd, Msg, wParam, lParam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/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:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | 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:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | 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:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | 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:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | 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:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | 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:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | 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:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | 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:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | 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:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | 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:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | 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:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | 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:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | 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:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | 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:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | 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:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | 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:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | 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:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | 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:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | 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:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | 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:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | 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:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | 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:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | 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:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | 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:177:15 [INFO] [stdout] | [INFO] [stdout] 177 | 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:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | 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:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | 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:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | 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:179:59 [INFO] [stdout] | [INFO] [stdout] 179 | 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:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | SendMessageW(hwnd, WM_COMMAND, cmd as usize, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Window(pub HWND); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/window.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | GetWindowRect(self.0, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/window.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope [INFO] [stdout] --> src/window.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let mut info: WINDOWINFO = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 22 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 49 | info.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_COMMAND` in this scope [INFO] [stdout] --> src/tray.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | 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 `GetWindowInfo` in this scope [INFO] [stdout] --> src/window.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | GetWindowInfo(self.0, &mut info); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyMenu` in this scope [INFO] [stdout] --> src/tray.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | 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 `ShowWindow` in this scope [INFO] [stdout] --> src/window.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | ShowWindow(self.0, SW_RESTORE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> src/tray.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | MessageBoxW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_RESTORE` in this scope [INFO] [stdout] --> src/window.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | ShowWindow(self.0, SW_RESTORE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_ICONINFORMATION` in this scope [INFO] [stdout] --> src/tray.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | MB_ICONINFORMATION | MB_OK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | impl From for WindowInfo { [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope [INFO] [stdout] --> src/tray.rs:206:30 [INFO] [stdout] | [INFO] [stdout] 206 | MB_ICONINFORMATION | MB_OK, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | fn from(info: WINDOWINFO) -> Self { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/main.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | 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:115:69 [INFO] [stdout] | [INFO] [stdout] 115 | ShowWindow(grid_window.as_ref().unwrap().0, SW_SHOW); [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:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | 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 `SetForegroundWindow` in this scope [INFO] [stdout] --> src/main.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | SetForegroundWindow(grid_window.as_ref().unwrap().0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_foreground_window` [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_foreground_window() -> Window { [INFO] [stdout] | ---------------------------------------- similarly named function `get_foreground_window` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/tray.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | Msg: UINT, [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:178:50 [INFO] [stdout] | [INFO] [stdout] 178 | ... 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:179:65 [INFO] [stdout] | [INFO] [stdout] 179 | ... 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:180:51 [INFO] [stdout] | [INFO] [stdout] 180 | ... event_track.dwFlags = TME_LEAVE; [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:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | wParam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackMouseEvent` in this scope [INFO] [stdout] --> src/main.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | ... TrackMouseEvent(&mut event_track); [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:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | 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:215:6 [INFO] [stdout] | [INFO] [stdout] 215 | ) -> 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:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | 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:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | 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:269:29 [INFO] [stdout] | [INFO] [stdout] 269 | ... 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:275:33 [INFO] [stdout] | [INFO] [stdout] 275 | ... 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:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | 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:281:40 [INFO] [stdout] | [INFO] [stdout] 281 | 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:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | 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:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | 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:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | DefWindowProcW(hWnd, Msg, wParam, lParam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window/grid.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let hInstance = GetModuleHandleW(ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window/grid.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn spawn_grid_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | let mut class = mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window/grid.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn spawn_grid_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 36 | class.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/window/grid.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | class.hbrBackground = CreateSolidBrush(RGB(44, 44, 44)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/window/grid.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | class.hbrBackground = CreateSolidBrush(RGB(44, 44, 44)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/window/grid.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | class.hCursor = LoadCursorW(ptr::null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/window/grid.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | class.hCursor = LoadCursorW(ptr::null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/window/grid.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | RegisterClassExW(&class); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/window/grid.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> src/window/grid.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | WS_EX_TOPMOST | WS_EX_TOOLWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope [INFO] [stdout] --> src/window/grid.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | WS_EX_TOPMOST | WS_EX_TOOLWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window/grid.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | WS_POPUP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/window/grid.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | if PeekMessageW(&mut msg, ptr::null_mut(), 0, 0, 1) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/window/grid.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/window/grid.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window/grid.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | hWnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window/grid.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | Msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window/grid.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | wParam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window/grid.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | lParam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window/grid.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | let x = LOWORD(lParam as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | let y = HIWORD(lParam as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let x = LOWORD(lParam as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/window/grid.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | let y = HIWORD(lParam as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/window/grid.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | InvalidateRect(hWnd, &rect.into(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/window/grid.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | SendMessageW(hWnd, WM_PAINT, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_PAINT` in this scope [INFO] [stdout] --> src/window/grid.rs:251:28 [INFO] [stdout] | [INFO] [stdout] 251 | SendMessageW(hWnd, WM_PAINT, 0, 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/window/grid.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | DefWindowProcW(hWnd, Msg, wParam, lParam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/window/preview.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let hInstance = GetModuleHandleW(ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window/preview.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn spawn_preview_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 32 | let mut class = mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window/preview.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn spawn_preview_window(close_msg: Receiver<()>) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 33 | class.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/window/preview.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | class.hbrBackground = CreateSolidBrush(RGB(0, 77, 128)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/window/preview.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | class.hbrBackground = CreateSolidBrush(RGB(0, 77, 128)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/window/preview.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | RegisterClassExW(&class); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/window/preview.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LAYERED` in this scope [INFO] [stdout] --> src/window/preview.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TRANSPARENT` in this scope [INFO] [stdout] --> src/window/preview.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope [INFO] [stdout] --> src/window/preview.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stdout] --> src/window/preview.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 42 | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/window/preview.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | WS_POPUP | WS_VISIBLE | WS_SYSMENU, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/window/preview.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | WS_POPUP | WS_VISIBLE | WS_SYSMENU, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> src/window/preview.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | WS_POPUP | WS_VISIBLE | WS_SYSMENU, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope [INFO] [stdout] --> src/window/preview.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | SetLayeredWindowAttributes(hwnd, 0, 107, LWA_ALPHA); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope [INFO] [stdout] --> src/window/preview.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | SetLayeredWindowAttributes(hwnd, 0, 107, LWA_ALPHA); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/window/preview.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | if PeekMessageW(&mut msg, ptr::null_mut(), 0, 0, 1) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/window/preview.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/window/preview.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window/preview.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | hWnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window/preview.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | Msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window/preview.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | wParam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window/preview.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | lParam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window/preview.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/window/preview.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | DefWindowProcW(hWnd, Msg, wParam, lParam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Window(pub HWND); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/window.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | GetWindowRect(self.0, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/window.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope [INFO] [stdout] --> src/window.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | SWP_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let mut info: WINDOWINFO = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 22 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 49 | info.cbSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowInfo` in this scope [INFO] [stdout] --> src/window.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | GetWindowInfo(self.0, &mut info); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/window.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | ShowWindow(self.0, SW_RESTORE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_RESTORE` in this scope [INFO] [stdout] --> src/window.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | ShowWindow(self.0, SW_RESTORE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | impl From for WindowInfo { [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | fn from(info: WINDOWINFO) -> Self { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/main.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | 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:115:69 [INFO] [stdout] | [INFO] [stdout] 115 | 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:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | SetForegroundWindow(grid_window.as_ref().unwrap().0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_foreground_window` [INFO] [stdout] | [INFO] [stdout] ::: src/common.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_foreground_window() -> Window { [INFO] [stdout] | ---------------------------------------- similarly named function `get_foreground_window` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stdout] --> src/main.rs:178:50 [INFO] [stdout] | [INFO] [stdout] 178 | ... 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:179:65 [INFO] [stdout] | [INFO] [stdout] 179 | ... 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:180:51 [INFO] [stdout] | [INFO] [stdout] 180 | ... 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:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | ... TrackMouseEvent(&mut event_track); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 249 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 249 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grout` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] 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" "878e91d59c68cf974e865785590685263e4a5d1f347aed1bc6a1da8b402fe0ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "878e91d59c68cf974e865785590685263e4a5d1f347aed1bc6a1da8b402fe0ed", kill_on_drop: false }` [INFO] [stdout] 878e91d59c68cf974e865785590685263e4a5d1f347aed1bc6a1da8b402fe0ed