[INFO] cloning repository https://github.com/wanstu/ime-lock
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wanstu/ime-lock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwanstu%2Fime-lock", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwanstu%2Fime-lock'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7fdc600d117a3550715b956a4f0ae3e0d930f36f
[INFO] checking wanstu/ime-lock against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwanstu%2Fime-lock" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/wanstu/ime-lock
[INFO] finished tweaking git repo https://github.com/wanstu/ime-lock
[INFO] tweaked toml for git repo https://github.com/wanstu/ime-lock written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wanstu/ime-lock on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/wanstu/ime-lock already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a0db996c791eedbaaf34e68d8255dc3465d5290b05beb96e4b342f8e696bcf97
[INFO] running `Command { std: "docker" "start" "a0db996c791eedbaaf34e68d8255dc3465d5290b05beb96e4b342f8e696bcf97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0db996c791eedbaaf34e68d8255dc3465d5290b05beb96e4b342f8e696bcf97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a0db996c791eedbaaf34e68d8255dc3465d5290b05beb96e4b342f8e696bcf97" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0db996c791eedbaaf34e68d8255dc3465d5290b05beb96e4b342f8e696bcf97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a0db996c791eedbaaf34e68d8255dc3465d5290b05beb96e4b342f8e696bcf97" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]     Checking bytemuck v1.25.2
[INFO] [stderr]     Checking arrayvec v0.7.8
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]     Checking ttf-parser v0.24.1
[INFO] [stderr]     Checking unicode-properties v0.1.4
[INFO] [stderr]     Checking unicode-bidi-mirroring v0.3.0
[INFO] [stderr]     Checking unicode-script v0.5.8
[INFO] [stderr]     Checking unicode-ccc v0.3.0
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking simplecss v0.2.2
[INFO] [stderr]     Checking windows-targets v0.52.6
[INFO] [stderr]     Checking windows-result v0.2.0
[INFO] [stderr]     Checking kurbo v0.11.3
[INFO] [stderr]     Checking windows-strings v0.1.0
[INFO] [stderr]     Checking imagesize v0.13.0
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking gif v0.13.3
[INFO] [stderr]     Checking image-webp v0.1.3
[INFO] [stderr]     Checking rgb v0.8.53
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking svgtypes v0.15.3
[INFO] [stderr]     Checking rustybuzz v0.18.0
[INFO] [stderr]     Checking fontdb v0.21.0
[INFO] [stderr]    Compiling windows-interface v0.58.0
[INFO] [stderr]    Compiling windows-implement v0.58.0
[INFO] [stderr]     Checking windows-core v0.58.0
[INFO] [stderr]     Checking windows v0.58.0
[INFO] [stderr]     Checking usvg v0.43.0
[INFO] [stderr]     Checking resvg v0.43.0
[INFO] [stderr]     Checking ime-lock v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Win32::Foundation::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Win32::System::Com::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Win32::System::LibraryLoader::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Win32::System::Registry::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Win32::UI::Accessibility::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     Win32::UI::Input::Ime::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Win32::UI::Input::KeyboardAndMouse::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Win32::UI::Shell::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Win32::UI::Controls::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     Win32::UI::WindowsAndMessaging::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     Win32::System::Console::GetConsoleWindow,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Win32::System::Threading::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     Win32::Graphics::Gdi::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     Win32::Graphics::Imaging::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     core::{GUID, Interface, PCWSTR, VARIANT},
[INFO] [stdout]    |     ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Win32::Foundation::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Win32::System::Com::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Win32::System::LibraryLoader::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Win32::System::Registry::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Win32::UI::Accessibility::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     Win32::UI::Input::Ime::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Win32::UI::Input::KeyboardAndMouse::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Win32::UI::Shell::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Win32::UI::Controls::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     Win32::UI::WindowsAndMessaging::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     Win32::System::Console::GetConsoleWindow,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Win32::System::Threading::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     Win32::Graphics::Gdi::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     Win32::Graphics::Imaging::*,
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     core::{GUID, Interface, PCWSTR, VARIANT},
[INFO] [stdout]    |     ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope
[INFO] [stdout]   --> src/main.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 | const WM_SHELLICON: u32 = WM_USER + 1;
[INFO] [stdout]    |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope
[INFO] [stdout]   --> src/main.rs:45:31
[INFO] [stdout]    |
[INFO] [stdout] 45 | const WM_UPDATE_STATUS: u32 = WM_USER + 2;
[INFO] [stdout]    |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope
[INFO] [stdout]   --> src/main.rs:46:28
[INFO] [stdout]    |
[INFO] [stdout] 46 | const WM_APPEND_LOG: u32 = WM_USER + 3;
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope
[INFO] [stdout]   --> src/main.rs:48:32
[INFO] [stdout]    |
[INFO] [stdout] 48 | const WM_BRING_TO_FRONT: u32 = WM_USER + 4;
[INFO] [stdout]    |                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope
[INFO] [stdout]    --> src/main.rs:128:38
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let _ = ShowWindow(hwnd, SW_HIDE);
[INFO] [stdout]     |                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:142:24
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn read_acc_name(hwnd: HWND, obj: i32, child: i32) -> String {
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `IAccessible` in this scope
[INFO] [stdout]    --> src/main.rs:144:29
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let mut acc: Option<IAccessible> = None;
[INFO] [stdout]     |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn read_acc_name<IAccessible>(hwnd: HWND, obj: i32, child: i32) -> String {
[INFO] [stdout]     |                 +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWINEVENTHOOK` in this scope
[INFO] [stdout]    --> src/main.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 197 |     _hook: HWINEVENTHOOK,
[INFO] [stdout]     |            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:199:11
[INFO] [stdout]     |
[INFO] [stdout] 199 |     hwnd: HWND,
[INFO] [stdout]     |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope
[INFO] [stdout]    --> src/main.rs:243:24
[INFO] [stdout]     |
[INFO] [stdout] 243 | fn load_tray_icon() -> HICON {
[INFO] [stdout]     |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope
[INFO] [stdout]    --> src/main.rs:253:25
[INFO] [stdout]     |
[INFO] [stdout] 253 | fn build_lock_icon() -> HICON {
[INFO] [stdout]     |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDI_INFORMATION` in this scope
[INFO] [stdout]    --> src/main.rs:294:54
[INFO] [stdout]     |
[INFO] [stdout] 294 |             unsafe { LoadIconW(HINSTANCE::default(), IDI_INFORMATION).unwrap_or_default() }
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope
[INFO] [stdout]    --> src/main.rs:299:35
[INFO] [stdout]     |
[INFO] [stdout] 299 | fn rasterize_svg_icon() -> Option<HICON> {
[INFO] [stdout]     |                                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 299 | fn rasterize_svg_icon<HICON>() -> Option<HICON> {
[INFO] [stdout]     |                      +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope
[INFO] [stdout]    --> src/main.rs:321:68
[INFO] [stdout]     |
[INFO] [stdout] 321 | fn build_icon_from_pixels(w: i32, h: i32, pixels: &[u8]) -> Option<HICON> {
[INFO] [stdout]     |                                                                    ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 321 | fn build_icon_from_pixels<HICON>(w: i32, h: i32, pixels: &[u8]) -> Option<HICON> {
[INFO] [stdout]     |                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]    --> src/main.rs:323:18
[INFO] [stdout]     |
[INFO] [stdout] 323 |         let bi = BITMAPINFOHEADER {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]    --> src/main.rs:324:41
[INFO] [stdout]     |
[INFO] [stdout] 324 |             biSize: std::mem::size_of::<BITMAPINFOHEADER>() as u32,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 321 | fn build_icon_from_pixels<BITMAPINFOHEADER>(w: i32, h: i32, pixels: &[u8]) -> Option<HICON> {
[INFO] [stdout]     |                          ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope
[INFO] [stdout]    --> src/main.rs:329:28
[INFO] [stdout]     |
[INFO] [stdout] 329 |             biCompression: BI_RGB.0,
[INFO] [stdout]     |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope
[INFO] [stdout]    --> src/main.rs:336:14
[INFO] [stdout]     |
[INFO] [stdout] 336 |             &BITMAPINFO { bmiHeader: bi, ..Default::default() },
[INFO] [stdout]     |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope
[INFO] [stdout]    --> src/main.rs:337:13
[INFO] [stdout]     |
[INFO] [stdout] 337 |             DIB_RGB_COLORS,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ICONINFO` in this scope
[INFO] [stdout]    --> src/main.rs:363:18
[INFO] [stdout]     |
[INFO] [stdout] 363 |         let ii = ICONINFO { fIcon: TRUE, hbmMask: hmask, hbmColor: hbmp, ..Default::default() };
[INFO] [stdout]     |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/main.rs:363:36
[INFO] [stdout]     |
[INFO] [stdout] 363 |         let ii = ICONINFO { fIcon: TRUE, hbmMask: hmask, hbmColor: hbmp, ..Default::default() };
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 363 -         let ii = ICONINFO { fIcon: TRUE, hbmMask: hmask, hbmColor: hbmp, ..Default::default() };
[INFO] [stdout] 363 +         let ii = ICONINFO { fIcon: true, hbmMask: hmask, hbmColor: hbmp, ..Default::default() };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:371:24
[INFO] [stdout]     |
[INFO] [stdout] 371 | fn add_tray_icon(hwnd: HWND) -> bool {
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:376:19
[INFO] [stdout]     |
[INFO] [stdout] 376 |         let nid = NOTIFYICONDATAW {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:377:41
[INFO] [stdout]     |
[INFO] [stdout] 377 |             cbSize: std::mem::size_of::<NOTIFYICONDATAW>() as u32,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 371 | fn add_tray_icon<NOTIFYICONDATAW>(hwnd: HWND) -> bool {
[INFO] [stdout]     |                 +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_MESSAGE` in this scope
[INFO] [stdout]    --> src/main.rs:380:44
[INFO] [stdout]     |
[INFO] [stdout] 380 |             uFlags: NOTIFY_ICON_DATA_FLAGS(NIF_MESSAGE.0 | NIF_ICON.0 | NIF_TIP.0),
[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/main.rs:380:60
[INFO] [stdout]     |
[INFO] [stdout] 380 |             uFlags: NOTIFY_ICON_DATA_FLAGS(NIF_MESSAGE.0 | NIF_ICON.0 | NIF_TIP.0),
[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/main.rs:380:73
[INFO] [stdout]     |
[INFO] [stdout] 380 |             uFlags: NOTIFY_ICON_DATA_FLAGS(NIF_MESSAGE.0 | NIF_ICON.0 | NIF_TIP.0),
[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/main.rs:386:27
[INFO] [stdout]     |
[INFO] [stdout] 386 |         Shell_NotifyIconW(NIM_ADD, &nid).as_bool()
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope
[INFO] [stdout]    --> src/main.rs:392:23
[INFO] [stdout]     |
[INFO] [stdout] 392 | fn get_tray_icon() -> HICON {
[INFO] [stdout]     |                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `COLORREF` in this scope
[INFO] [stdout]    --> src/main.rs:413:32
[INFO] [stdout]     |
[INFO] [stdout] 413 | fn rgb(r: u8, g: u8, b: u8) -> COLORREF {
[INFO] [stdout]     |                                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `COLORREF` in this scope
[INFO] [stdout]    --> src/main.rs:418:18
[INFO] [stdout]     |
[INFO] [stdout] 418 | fn bg_color() -> COLORREF {
[INFO] [stdout]     |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HBRUSH` in this scope
[INFO] [stdout]    --> src/main.rs:422:22
[INFO] [stdout]     |
[INFO] [stdout] 422 | fn get_bg_brush() -> HBRUSH {
[INFO] [stdout]     |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HFONT` in this scope
[INFO] [stdout]    --> src/main.rs:436:38
[INFO] [stdout]     |
[INFO] [stdout] 436 | fn make_font(pt: i32, bold: bool) -> HFONT {
[INFO] [stdout]     |                                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `LOGPIXELSY` in this scope
[INFO] [stdout]    --> src/main.rs:440:38
[INFO] [stdout]     |
[INFO] [stdout] 440 |         let dpi = GetDeviceCaps(hdc, LOGPIXELSY);
[INFO] [stdout]     |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NONCLIENTMETRICSW` in this scope
[INFO] [stdout]    --> src/main.rs:446:42
[INFO] [stdout]     |
[INFO] [stdout] 446 |         ncm.cbSize = std::mem::size_of::<NONCLIENTMETRICSW>() as u32;
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 436 | fn make_font<NONCLIENTMETRICSW>(pt: i32, bold: bool) -> HFONT {
[INFO] [stdout]     |             +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPI_GETNONCLIENTMETRICS` in this scope
[INFO] [stdout]    --> src/main.rs:448:13
[INFO] [stdout]     |
[INFO] [stdout] 448 |             SPI_GETNONCLIENTMETRICS,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FW_BOLD` in this scope
[INFO] [stdout]    --> src/main.rs:460:33
[INFO] [stdout]     |
[INFO] [stdout] 460 |         lf.lfWeight = if bold { FW_BOLD.0 as i32 } else { FW_NORMAL.0 as i32 };
[INFO] [stdout]     |                                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FW_NORMAL` in this scope
[INFO] [stdout]    --> src/main.rs:460:59
[INFO] [stdout]     |
[INFO] [stdout] 460 |         lf.lfWeight = if bold { FW_BOLD.0 as i32 } else { FW_NORMAL.0 as i32 };
[INFO] [stdout]     |                                                           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CLEARTYPE_QUALITY` in this scope
[INFO] [stdout]    --> src/main.rs:462:24
[INFO] [stdout]     |
[INFO] [stdout] 462 |         lf.lfQuality = CLEARTYPE_QUALITY;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HFONT` in this scope
[INFO] [stdout]    --> src/main.rs:467:21
[INFO] [stdout]     |
[INFO] [stdout] 467 | fn get_ui_font() -> HFONT {
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HFONT` in this scope
[INFO] [stdout]    --> src/main.rs:478:24
[INFO] [stdout]     |
[INFO] [stdout] 478 | fn get_title_font() -> HFONT {
[INFO] [stdout]     |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:490:19
[INFO] [stdout]     |
[INFO] [stdout] 490 | fn set_font(hwnd: HWND) {
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_SETFONT` in this scope
[INFO] [stdout]    --> src/main.rs:494:13
[INFO] [stdout]     |
[INFO] [stdout] 494 |             WM_SETFONT,
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:501:25
[INFO] [stdout]     |
[INFO] [stdout] 501 | fn set_title_font(hwnd: HWND) {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_SETFONT` in this scope
[INFO] [stdout]    --> src/main.rs:505:13
[INFO] [stdout]     |
[INFO] [stdout] 505 |             WM_SETFONT,
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:512:27
[INFO] [stdout]     |
[INFO] [stdout] 512 | fn remove_tray_icon(hwnd: HWND) {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:514:19
[INFO] [stdout]     |
[INFO] [stdout] 514 |         let nid = NOTIFYICONDATAW {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:515:41
[INFO] [stdout]     |
[INFO] [stdout] 515 |             cbSize: std::mem::size_of::<NOTIFYICONDATAW>() as u32,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 512 | fn remove_tray_icon<NOTIFYICONDATAW>(hwnd: HWND) {
[INFO] [stdout]     |                    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIM_DELETE` in this scope
[INFO] [stdout]    --> src/main.rs:520:35
[INFO] [stdout]     |
[INFO] [stdout] 520 |         let _ = Shell_NotifyIconW(NIM_DELETE, &nid);
[INFO] [stdout]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:524:26
[INFO] [stdout]     |
[INFO] [stdout] 524 | fn update_tray_tip(hwnd: HWND, tip: &str) {
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:528:19
[INFO] [stdout]     |
[INFO] [stdout] 528 |         let nid = NOTIFYICONDATAW {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:529:41
[INFO] [stdout]     |
[INFO] [stdout] 529 |             cbSize: std::mem::size_of::<NOTIFYICONDATAW>() as u32,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 524 | fn update_tray_tip<NOTIFYICONDATAW>(hwnd: HWND, tip: &str) {
[INFO] [stdout]     |                   +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_TIP` in this scope
[INFO] [stdout]    --> src/main.rs:532:21
[INFO] [stdout]     |
[INFO] [stdout] 532 |             uFlags: NIF_TIP,
[INFO] [stdout]     |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIM_MODIFY` in this scope
[INFO] [stdout]    --> src/main.rs:536:35
[INFO] [stdout]     |
[INFO] [stdout] 536 |         let _ = Shell_NotifyIconW(NIM_MODIFY, &nid);
[INFO] [stdout]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:542:26
[INFO] [stdout]     |
[INFO] [stdout] 542 | fn ctl_by_id(id: u32) -> HWND {
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:550:23
[INFO] [stdout]     |
[INFO] [stdout] 550 | fn show_status(_hwnd: HWND) {
[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/main.rs:555:35
[INFO] [stdout]     |
[INFO] [stdout] 555 |             let _ = ShowWindow(h, SW_RESTORE);
[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:556:35
[INFO] [stdout]     |
[INFO] [stdout] 556 |             let _ = ShowWindow(h, SW_SHOW);
[INFO] [stdout]     |                                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BM_SETCHECK` in this scope
[INFO] [stdout]    --> src/main.rs:584:33
[INFO] [stdout]     |
[INFO] [stdout] 584 |         let _ = SendMessageW(h, BM_SETCHECK, WPARAM(if checked { BST_CHECKED.0 } else { BST_UNCHECKED.0 } as usize), LPARAM(0));
[INFO] [stdout]     |                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BST_CHECKED` in this scope
[INFO] [stdout]    --> src/main.rs:584:66
[INFO] [stdout]     |
[INFO] [stdout] 584 |         let _ = SendMessageW(h, BM_SETCHECK, WPARAM(if checked { BST_CHECKED.0 } else { BST_UNCHECKED.0 } as usize), LPARAM(0));
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BST_UNCHECKED` in this scope
[INFO] [stdout]    --> src/main.rs:584:89
[INFO] [stdout]     |
[INFO] [stdout] 584 |         let _ = SendMessageW(h, BM_SETCHECK, WPARAM(if checked { BST_CHECKED.0 } else { BST_UNCHECKED.0 } as usize), LPARAM(0));
[INFO] [stdout]     |                                                                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BM_GETCHECK` in this scope
[INFO] [stdout]    --> src/main.rs:594:25
[INFO] [stdout]     |
[INFO] [stdout] 594 |         SendMessageW(h, BM_GETCHECK, WPARAM(0), LPARAM(0)).0 == BST_CHECKED.0 as isize
[INFO] [stdout]     |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BST_CHECKED` in this scope
[INFO] [stdout]    --> src/main.rs:594:65
[INFO] [stdout]     |
[INFO] [stdout] 594 |         SendMessageW(h, BM_GETCHECK, WPARAM(0), LPARAM(0)).0 == BST_CHECKED.0 as isize
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/main.rs:688:27
[INFO] [stdout]     |
[INFO] [stdout] 688 |             let mut hkey: HKEY = HKEY::default();
[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/main.rs:690:17
[INFO] [stdout]     |
[INFO] [stdout] 690 |                 HKEY_CURRENT_USER,
[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/main.rs:711:17
[INFO] [stdout]     |
[INFO] [stdout] 711 |                 REG_SZ,
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/main.rs:716:27
[INFO] [stdout]     |
[INFO] [stdout] 716 |             let mut hkey: HKEY = HKEY::default();
[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/main.rs:718:17
[INFO] [stdout]     |
[INFO] [stdout] 718 |                 HKEY_CURRENT_USER,
[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/main.rs:721:17
[INFO] [stdout]     |
[INFO] [stdout] 721 |                 KEY_SET_VALUE,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_ALREADY_EXISTS` in this scope
[INFO] [stdout]    --> src/main.rs:764:38
[INFO] [stdout]     |
[INFO] [stdout] 764 |                 if GetLastError() == ERROR_ALREADY_EXISTS {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EM_SETSEL` in this scope
[INFO] [stdout]    --> src/main.rs:804:36
[INFO] [stdout]     |
[INFO] [stdout] 804 |         let _ = SendMessageW(edit, EM_SETSEL, WPARAM(text.len()), LPARAM(text.len() as isize));
[INFO] [stdout]     |                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EM_SCROLLCARET` in this scope
[INFO] [stdout]    --> src/main.rs:805:36
[INFO] [stdout]     |
[INFO] [stdout] 805 |         let _ = SendMessageW(edit, EM_SCROLLCARET, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:809:31
[INFO] [stdout]     |
[INFO] [stdout] 809 | fn relayout_log_edit(_parent: HWND, cx: i32, cy: i32) {
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOZORDER` in this scope
[INFO] [stdout]    --> src/main.rs:818:95
[INFO] [stdout]     |
[INFO] [stdout] 818 |         let _ = SetWindowPos(edit, HWND::default(), MARGIN, edit_top, cx - MARGIN * 2, new_h, SWP_NOZORDER);
[INFO] [stdout]     |                                                                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:825:23
[INFO] [stdout]     |
[INFO] [stdout] 825 | fn set_status_hwnd(h: HWND) {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:828:25
[INFO] [stdout]     |
[INFO] [stdout] 828 | fn get_status_hwnd() -> HWND {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:831:21
[INFO] [stdout]     |
[INFO] [stdout] 831 | fn set_main_hwnd(h: HWND) {
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:834:23
[INFO] [stdout]     |
[INFO] [stdout] 834 | fn get_main_hwnd() -> HWND {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:854:42
[INFO] [stdout]     |
[INFO] [stdout] 854 | extern "system" fn status_wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:854:66
[INFO] [stdout]     |
[INFO] [stdout] 854 | extern "system" fn status_wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:854:82
[INFO] [stdout]     |
[INFO] [stdout] 854 | extern "system" fn status_wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                                                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LRESULT` in this scope
[INFO] [stdout]    --> src/main.rs:854:93
[INFO] [stdout]     |
[INFO] [stdout] 854 | extern "system" fn status_wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                                                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stdout]    --> src/main.rs:865:34
[INFO] [stdout]     |
[INFO] [stdout] 865 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[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/main.rs:865:47
[INFO] [stdout]     |
[INFO] [stdout] 865 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[INFO] [stdout]     |                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stdout]    --> src/main.rs:874:34
[INFO] [stdout]     |
[INFO] [stdout] 874 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[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/main.rs:874:47
[INFO] [stdout]     |
[INFO] [stdout] 874 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[INFO] [stdout]     |                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stdout]    --> src/main.rs:880:33
[INFO] [stdout]     |
[INFO] [stdout] 880 |                 let chk_style = WS_CHILD.0 | WS_VISIBLE.0 | (BS_AUTOCHECKBOX as u32) | WS_TABSTOP.0;
[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/main.rs:880:46
[INFO] [stdout]     |
[INFO] [stdout] 880 |                 let chk_style = WS_CHILD.0 | WS_VISIBLE.0 | (BS_AUTOCHECKBOX as u32) | WS_TABSTOP.0;
[INFO] [stdout]     |                                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BS_AUTOCHECKBOX` in this scope
[INFO] [stdout]    --> src/main.rs:880:62
[INFO] [stdout]     |
[INFO] [stdout] 880 |                 let chk_style = WS_CHILD.0 | WS_VISIBLE.0 | (BS_AUTOCHECKBOX as u32) | WS_TABSTOP.0;
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_TABSTOP` in this scope
[INFO] [stdout]    --> src/main.rs:880:88
[INFO] [stdout]     |
[INFO] [stdout] 880 |                 let chk_style = WS_CHILD.0 | WS_VISIBLE.0 | (BS_AUTOCHECKBOX as u32) | WS_TABSTOP.0;
[INFO] [stdout]     |                                                                                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stdout]    --> src/main.rs:914:34
[INFO] [stdout]     |
[INFO] [stdout] 914 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[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/main.rs:914:47
[INFO] [stdout]     |
[INFO] [stdout] 914 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[INFO] [stdout]     |                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stdout]    --> src/main.rs:923:34
[INFO] [stdout]     |
[INFO] [stdout] 923 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | BS_PUSHBUTTON as u32),
[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/main.rs:923:47
[INFO] [stdout]     |
[INFO] [stdout] 923 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | BS_PUSHBUTTON as u32),
[INFO] [stdout]     |                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BS_PUSHBUTTON` in this scope
[INFO] [stdout]    --> src/main.rs:923:62
[INFO] [stdout]     |
[INFO] [stdout] 923 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | BS_PUSHBUTTON as u32),
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_CLIENTEDGE` in this scope
[INFO] [stdout]    --> src/main.rs:929:37
[INFO] [stdout]     |
[INFO] [stdout] 929 |                     WINDOW_EX_STYLE(WS_EX_CLIENTEDGE.0),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stdout]    --> src/main.rs:933:25
[INFO] [stdout]     |
[INFO] [stdout] 933 |                         WS_CHILD.0 | WS_VISIBLE.0 | ES_MULTILINE as u32
[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/main.rs:933:38
[INFO] [stdout]     |
[INFO] [stdout] 933 |                         WS_CHILD.0 | WS_VISIBLE.0 | ES_MULTILINE as u32
[INFO] [stdout]     |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ES_MULTILINE` in this scope
[INFO] [stdout]    --> src/main.rs:933:53
[INFO] [stdout]     |
[INFO] [stdout] 933 |                         WS_CHILD.0 | WS_VISIBLE.0 | ES_MULTILINE as u32
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ES_AUTOVSCROLL` in this scope
[INFO] [stdout]    --> src/main.rs:934:31
[INFO] [stdout]     |
[INFO] [stdout] 934 | ...                   | ES_AUTOVSCROLL as u32 | ES_READONLY as u32
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ES_READONLY` in this scope
[INFO] [stdout]    --> src/main.rs:934:55
[INFO] [stdout]     |
[INFO] [stdout] 934 | ...                   | ES_AUTOVSCROLL as u32 | ES_READONLY as u32
[INFO] [stdout]     |                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_VSCROLL` in this scope
[INFO] [stdout]    --> src/main.rs:935:31
[INFO] [stdout]     |
[INFO] [stdout] 935 | ...                   | WS_VSCROLL.0 | WS_TABSTOP.0,
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_TABSTOP` in this scope
[INFO] [stdout]    --> src/main.rs:935:46
[INFO] [stdout]     |
[INFO] [stdout] 935 | ...                   | WS_VSCROLL.0 | WS_TABSTOP.0,
[INFO] [stdout]     |                                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_SETICON` in this scope
[INFO] [stdout]    --> src/main.rs:966:44
[INFO] [stdout]     |
[INFO] [stdout] 966 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout]     |                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named constant `WM_SHELLICON` defined here
[INFO] [stdout]    --> src/main.rs:44:1
[INFO] [stdout]     |
[INFO] [stdout]  44 | const WM_SHELLICON: u32 = WM_USER + 1;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 966 -                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout] 966 +                 let _ = SendMessageW(hwnd, WM_SHELLICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_SETICON` in this scope
[INFO] [stdout]    --> src/main.rs:967:44
[INFO] [stdout]     |
[INFO] [stdout] 967 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout]     |                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named constant `WM_SHELLICON` defined here
[INFO] [stdout]    --> src/main.rs:44:1
[INFO] [stdout]     |
[INFO] [stdout]  44 | const WM_SHELLICON: u32 = WM_USER + 1;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 967 -                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout] 967 +                 let _ = SendMessageW(hwnd, WM_SHELLICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `OPAQUE` in this scope
[INFO] [stdout]    --> src/main.rs:974:47
[INFO] [stdout]     |
[INFO] [stdout] 974 |                 let _ = SetBkMode(hdc_static, OPAQUE);
[INFO] [stdout]     |                                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `OPAQUE` in this scope
[INFO] [stdout]    --> src/main.rs:983:44
[INFO] [stdout]     |
[INFO] [stdout] 983 |                 let _ = SetBkMode(hdc_btn, OPAQUE);
[INFO] [stdout]     |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `OPAQUE` in this scope
[INFO] [stdout]    --> src/main.rs:992:45
[INFO] [stdout]     |
[INFO] [stdout] 992 |                 let _ = SetBkMode(hdc_edit, OPAQUE);
[INFO] [stdout]     |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope
[INFO] [stdout]     --> src/main.rs:1041:42
[INFO] [stdout]      |
[INFO] [stdout] 1041 |                 let _ = ShowWindow(hwnd, SW_HIDE);
[INFO] [stdout]      |                                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]     --> src/main.rs:1050:32
[INFO] [stdout]      |
[INFO] [stdout] 1050 | fn create_status_window(hinst: HINSTANCE) -> HWND {
[INFO] [stdout]      |                                ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]     --> src/main.rs:1050:46
[INFO] [stdout]      |
[INFO] [stdout] 1050 | fn create_status_window(hinst: HINSTANCE) -> HWND {
[INFO] [stdout]      |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stdout]     --> src/main.rs:1053:18
[INFO] [stdout]      |
[INFO] [stdout] 1053 |         let wc = WNDCLASSW {
[INFO] [stdout]      |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stdout]     --> src/main.rs:1062:34
[INFO] [stdout]      |
[INFO] [stdout] 1062 |         let style = WINDOW_STYLE(WS_OVERLAPPEDWINDOW.0);
[INFO] [stdout]      |                                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]     --> src/main.rs:1068:13
[INFO] [stdout]      |
[INFO] [stdout] 1068 |             CW_USEDEFAULT,
[INFO] [stdout]      |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]     --> src/main.rs:1069:13
[INFO] [stdout]      |
[INFO] [stdout] 1069 |             CW_USEDEFAULT,
[INFO] [stdout]      |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]     --> src/main.rs:1084:20
[INFO] [stdout]      |
[INFO] [stdout] 1084 | fn show_menu(hwnd: HWND) {
[INFO] [stdout]      |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope
[INFO] [stdout]     --> src/main.rs:1097:29
[INFO] [stdout]      |
[INFO] [stdout] 1097 |             MENU_ITEM_FLAGS(MF_STRING.0 | if enabled { MF_CHECKED.0 } else { 0 }),
[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/main.rs:1097:56
[INFO] [stdout]      |
[INFO] [stdout] 1097 |             MENU_ITEM_FLAGS(MF_STRING.0 | if enabled { MF_CHECKED.0 } else { 0 }),
[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/main.rs:1103:29
[INFO] [stdout]      |
[INFO] [stdout] 1103 |             MENU_ITEM_FLAGS(MF_STRING.0 | if autostart { MF_CHECKED.0 } else { 0 }),
[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/main.rs:1103:58
[INFO] [stdout]      |
[INFO] [stdout] 1103 |             MENU_ITEM_FLAGS(MF_STRING.0 | if autostart { MF_CHECKED.0 } else { 0 }),
[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/main.rs:1110:29
[INFO] [stdout]      |
[INFO] [stdout] 1110 |             MENU_ITEM_FLAGS(MF_STRING.0 | if silent { MF_CHECKED.0 } else { 0 }),
[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/main.rs:1110:55
[INFO] [stdout]      |
[INFO] [stdout] 1110 |             MENU_ITEM_FLAGS(MF_STRING.0 | if silent { MF_CHECKED.0 } else { 0 }),
[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/main.rs:1116:29
[INFO] [stdout]      |
[INFO] [stdout] 1116 |             MENU_ITEM_FLAGS(MF_STRING.0 | if capturing { MF_CHECKED.0 } else { 0 }),
[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/main.rs:1116:58
[INFO] [stdout]      |
[INFO] [stdout] 1116 |             MENU_ITEM_FLAGS(MF_STRING.0 | if capturing { MF_CHECKED.0 } else { 0 }),
[INFO] [stdout]      |                                                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MF_SEPARATOR` in this scope
[INFO] [stdout]     --> src/main.rs:1120:36
[INFO] [stdout]      |
[INFO] [stdout] 1120 |         let _ = AppendMenuW(hmenu, MF_SEPARATOR, 0, PCWSTR::null());
[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/main.rs:1121:36
[INFO] [stdout]      |
[INFO] [stdout] 1121 |         let _ = AppendMenuW(hmenu, MF_STRING, ID_TRAY_EXIT as usize, to_pcw("退出"));
[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/main.rs:1126:44
[INFO] [stdout]      |
[INFO] [stdout] 1126 |         let flags = TRACK_POPUP_MENU_FLAGS(TPM_RIGHTBUTTON.0 | TPM_BOTTOMALIGN.0 | TPM_LEFTALIGN.0);
[INFO] [stdout]      |                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TPM_BOTTOMALIGN` in this scope
[INFO] [stdout]     --> src/main.rs:1126:64
[INFO] [stdout]      |
[INFO] [stdout] 1126 |         let flags = TRACK_POPUP_MENU_FLAGS(TPM_RIGHTBUTTON.0 | TPM_BOTTOMALIGN.0 | TPM_LEFTALIGN.0);
[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/main.rs:1126:84
[INFO] [stdout]      |
[INFO] [stdout] 1126 |         let flags = TRACK_POPUP_MENU_FLAGS(TPM_RIGHTBUTTON.0 | TPM_BOTTOMALIGN.0 | TPM_LEFTALIGN.0);
[INFO] [stdout]      |                                                                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_NULL` in this scope
[INFO] [stdout]     --> src/main.rs:1129:36
[INFO] [stdout]      |
[INFO] [stdout] 1129 |         let _ = PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0));
[INFO] [stdout]      |                                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]     --> src/main.rs:1184:35
[INFO] [stdout]      |
[INFO] [stdout] 1184 | extern "system" fn wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]      |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `WPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1184:59
[INFO] [stdout]      |
[INFO] [stdout] 1184 | extern "system" fn wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]      |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1184:75
[INFO] [stdout]      |
[INFO] [stdout] 1184 | extern "system" fn wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]      |                                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1184:86
[INFO] [stdout]      |
[INFO] [stdout] 1184 | extern "system" fn wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]      |                                                                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope
[INFO] [stdout]     --> src/main.rs:1241:38
[INFO] [stdout]      |
[INFO] [stdout] 1241 |         let _ = CoInitializeEx(None, COINIT_APARTMENTTHREADED);
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stdout]     --> src/main.rs:1246:18
[INFO] [stdout]      |
[INFO] [stdout] 1246 |         let wc = WNDCLASSW {
[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/main.rs:1265:13
[INFO] [stdout]      |
[INFO] [stdout] 1265 |             WS_POPUP,
[INFO] [stdout]      |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope
[INFO] [stdout]     --> src/main.rs:1281:36
[INFO] [stdout]      |
[INFO] [stdout] 1281 |             let _ = ShowWindow(sw, SW_HIDE);
[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/main.rs:1289:38
[INFO] [stdout]      |
[INFO] [stdout] 1289 |         let mods = HOT_KEY_MODIFIERS(MOD_CONTROL.0 | MOD_SHIFT.0);
[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/main.rs:1289:54
[INFO] [stdout]      |
[INFO] [stdout] 1289 |         let mods = HOT_KEY_MODIFIERS(MOD_CONTROL.0 | MOD_SHIFT.0);
[INFO] [stdout]      |                                                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_F9` in this scope
[INFO] [stdout]     --> src/main.rs:1290:47
[INFO] [stdout]      |
[INFO] [stdout] 1290 |         let _ = RegisterHotKey(hwnd, 1, mods, VK_F9.0 as u32);
[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:1310:40
[INFO] [stdout]      |
[INFO] [stdout] 1310 |                 let _ = ShowWindow(sw, 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 `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:113:57
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 let _ = PostMessageW(sw, WM_APPEND_LOG, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:113:68
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 let _ = PostMessageW(sw, WM_APPEND_LOG, WPARAM(0), LPARAM(0));
[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/main.rs:113:25
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 let _ = PostMessageW(sw, WM_APPEND_LOG, WPARAM(0), LPARAM(0));
[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:128:21
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let _ = ShowWindow(hwnd, SW_HIDE);
[INFO] [stdout]     |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDPIAware` in this scope
[INFO] [stdout]    --> src/main.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let _ = SetProcessDPIAware();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AccessibleObjectFromEvent` in this scope
[INFO] [stdout]    --> src/main.rs:146:17
[INFO] [stdout]     |
[INFO] [stdout] 146 |         let r = AccessibleObjectFromEvent(hwnd, obj as u32, child as u32, &mut acc, &mut var);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]    --> src/main.rs:165:18
[INFO] [stdout]     |
[INFO] [stdout] 165 |         let fg = GetForegroundWindow();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope
[INFO] [stdout]    --> src/main.rs:170:19
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let len = GetWindowTextW(fg, &mut text);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]    --> src/main.rs:181:18
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let fg = GetForegroundWindow();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImmGetDefaultIMEWnd` in this scope
[INFO] [stdout]    --> src/main.rs:185:23
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let ime_wnd = ImmGetDefaultIMEWnd(fg);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:190:51
[INFO] [stdout]     |
[INFO] [stdout] 190 |         SendMessageW(ime_wnd, WM_IME_CONTROL_CMD, WPARAM(IMC_SETOPENSTATUS_CMD), LPARAM(1));
[INFO] [stdout]     |                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:190:82
[INFO] [stdout]     |
[INFO] [stdout] 190 |         SendMessageW(ime_wnd, WM_IME_CONTROL_CMD, WPARAM(IMC_SETOPENSTATUS_CMD), LPARAM(1));
[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/main.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |         SendMessageW(ime_wnd, WM_IME_CONTROL_CMD, WPARAM(IMC_SETOPENSTATUS_CMD), LPARAM(1));
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:294:32
[INFO] [stdout]     |
[INFO] [stdout] 294 |             unsafe { LoadIconW(HINSTANCE::default(), IDI_INFORMATION).unwrap_or_default() }
[INFO] [stdout]     |                                ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope
[INFO] [stdout]    --> src/main.rs:294:22
[INFO] [stdout]     |
[INFO] [stdout] 294 |             unsafe { LoadIconW(HINSTANCE::default(), IDI_INFORMATION).unwrap_or_default() }
[INFO] [stdout]     |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:333:25
[INFO] [stdout]     |
[INFO] [stdout] 333 |         let hdc = GetDC(HWND::default());
[INFO] [stdout]     |                         ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stdout]    --> src/main.rs:333:19
[INFO] [stdout]     |
[INFO] [stdout] 333 |         let hdc = GetDC(HWND::default());
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/main.rs:339:13
[INFO] [stdout]     |
[INFO] [stdout] 339 |             HANDLE::default(),
[INFO] [stdout]     |             ^^^^^^ use of undeclared type `HANDLE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDIBSection` in this scope
[INFO] [stdout]    --> src/main.rs:334:20
[INFO] [stdout]     |
[INFO] [stdout] 334 |         let hbmp = CreateDIBSection(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:343:19
[INFO] [stdout]     |
[INFO] [stdout] 343 |         ReleaseDC(HWND::default(), hdc);
[INFO] [stdout]     |                   ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope
[INFO] [stdout]    --> src/main.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         ReleaseDC(HWND::default(), hdc);
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateBitmap` in this scope
[INFO] [stdout]    --> src/main.rs:361:21
[INFO] [stdout]     |
[INFO] [stdout] 361 |         let hmask = CreateBitmap(w, h, 1, 1, Some(mask.as_ptr() as *const core::ffi::c_void));
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateIconIndirect` in this scope
[INFO] [stdout]    --> src/main.rs:364:20
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let icon = CreateIconIndirect(&ii).ok()?;
[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/main.rs:365:17
[INFO] [stdout]     |
[INFO] [stdout] 365 |         let _ = DeleteObject(hbmp);
[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/main.rs:366:17
[INFO] [stdout]     |
[INFO] [stdout] 366 |         let _ = DeleteObject(hmask);
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NOTIFY_ICON_DATA_FLAGS` in this scope
[INFO] [stdout]    --> src/main.rs:380:21
[INFO] [stdout]     |
[INFO] [stdout] 380 |             uFlags: NOTIFY_ICON_DATA_FLAGS(NIF_MESSAGE.0 | NIF_ICON.0 | NIF_TIP.0),
[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/main.rs:386:9
[INFO] [stdout]     |
[INFO] [stdout] 386 |         Shell_NotifyIconW(NIM_ADD, &nid).as_bool()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HICON` in this scope
[INFO] [stdout]    --> src/main.rs:399:9
[INFO] [stdout]     |
[INFO] [stdout] 399 |         HICON(raw as *mut core::ffi::c_void)
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `COLORREF` in this scope
[INFO] [stdout]    --> src/main.rs:414:5
[INFO] [stdout]     |
[INFO] [stdout] 414 |     COLORREF((r as u32) | ((g as u32) << 8) | ((b as u32) << 16))
[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/main.rs:425:27
[INFO] [stdout]     |
[INFO] [stdout] 425 |         let br = unsafe { CreateSolidBrush(bg_color()) };
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HBRUSH` in this scope
[INFO] [stdout]    --> src/main.rs:429:9
[INFO] [stdout]     |
[INFO] [stdout] 429 |         HBRUSH(raw as *mut core::ffi::c_void)
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:439:25
[INFO] [stdout]     |
[INFO] [stdout] 439 |         let hdc = GetDC(HWND::default());
[INFO] [stdout]     |                         ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stdout]    --> src/main.rs:439:19
[INFO] [stdout]     |
[INFO] [stdout] 439 |         let hdc = GetDC(HWND::default());
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDeviceCaps` in this scope
[INFO] [stdout]    --> src/main.rs:440:19
[INFO] [stdout]     |
[INFO] [stdout] 440 |         let dpi = GetDeviceCaps(hdc, LOGPIXELSY);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:441:27
[INFO] [stdout]     |
[INFO] [stdout] 441 |         let _ = ReleaseDC(HWND::default(), hdc);
[INFO] [stdout]     |                           ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope
[INFO] [stdout]    --> src/main.rs:441:17
[INFO] [stdout]     |
[INFO] [stdout] 441 |         let _ = ReleaseDC(HWND::default(), hdc);
[INFO] [stdout]     |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `NONCLIENTMETRICSW` in this scope
[INFO] [stdout]    --> src/main.rs:445:23
[INFO] [stdout]     |
[INFO] [stdout] 445 |         let mut ncm = NONCLIENTMETRICSW::default();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ use of undeclared type `NONCLIENTMETRICSW`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SYSTEM_PARAMETERS_INFO_UPDATE_FLAGS` in this scope
[INFO] [stdout]    --> src/main.rs:451:13
[INFO] [stdout]     |
[INFO] [stdout] 451 |             SYSTEM_PARAMETERS_INFO_UPDATE_FLAGS(0),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SystemParametersInfoW` in this scope
[INFO] [stdout]    --> src/main.rs:447:25
[INFO] [stdout]     |
[INFO] [stdout] 447 |         let mut lf = if SystemParametersInfoW(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `LOGFONTW` in this scope
[INFO] [stdout]    --> src/main.rs:457:13
[INFO] [stdout]     |
[INFO] [stdout] 457 |             LOGFONTW::default()
[INFO] [stdout]     |             ^^^^^^^^ use of undeclared type `LOGFONTW`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFontIndirectW` in this scope
[INFO] [stdout]    --> src/main.rs:463:9
[INFO] [stdout]     |
[INFO] [stdout] 463 |         CreateFontIndirectW(&lf)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HFONT` in this scope
[INFO] [stdout]    --> src/main.rs:474:9
[INFO] [stdout]     |
[INFO] [stdout] 474 |         HFONT(raw as *mut core::ffi::c_void)
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HFONT` in this scope
[INFO] [stdout]    --> src/main.rs:485:9
[INFO] [stdout]     |
[INFO] [stdout] 485 |         HFONT(raw as *mut core::ffi::c_void)
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:495:13
[INFO] [stdout]     |
[INFO] [stdout] 495 |             WPARAM(get_ui_font().0 as usize),
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:496:13
[INFO] [stdout]     |
[INFO] [stdout] 496 |             LPARAM(1),
[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/main.rs:492:17
[INFO] [stdout]     |
[INFO] [stdout] 492 |         let _ = SendMessageW(
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:506:13
[INFO] [stdout]     |
[INFO] [stdout] 506 |             WPARAM(get_title_font().0 as usize),
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:507:13
[INFO] [stdout]     |
[INFO] [stdout] 507 |             LPARAM(1),
[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/main.rs:503:17
[INFO] [stdout]     |
[INFO] [stdout] 503 |         let _ = SendMessageW(
[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/main.rs:520:17
[INFO] [stdout]     |
[INFO] [stdout] 520 |         let _ = Shell_NotifyIconW(NIM_DELETE, &nid);
[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/main.rs:536:17
[INFO] [stdout]     |
[INFO] [stdout] 536 |         let _ = Shell_NotifyIconW(NIM_MODIFY, &nid);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:545:16
[INFO] [stdout]     |
[INFO] [stdout] 545 |         return HWND::default();
[INFO] [stdout]     |                ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDlgItem` in this scope
[INFO] [stdout]    --> src/main.rs:547:14
[INFO] [stdout]     |
[INFO] [stdout] 547 |     unsafe { GetDlgItem(parent, id as i32).unwrap_or_default() }
[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:555:21
[INFO] [stdout]     |
[INFO] [stdout] 555 |             let _ = ShowWindow(h, 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 `ShowWindow` in this scope
[INFO] [stdout]    --> src/main.rs:556:21
[INFO] [stdout]     |
[INFO] [stdout] 556 |             let _ = ShowWindow(h, 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:557:21
[INFO] [stdout]     |
[INFO] [stdout] 557 |             let _ = SetForegroundWindow(h);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextW` in this scope
[INFO] [stdout]    --> src/main.rs:575:22
[INFO] [stdout]     |
[INFO] [stdout] 575 |     unsafe { let _ = SetWindowTextW(h, to_pcw(&s)); }
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:584:46
[INFO] [stdout]     |
[INFO] [stdout] 584 |         let _ = SendMessageW(h, BM_SETCHECK, WPARAM(if checked { BST_CHECKED.0 } else { BST_UNCHECKED.0 } as usize), LPARAM(0));
[INFO] [stdout]     |                                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:584:118
[INFO] [stdout]     |
[INFO] [stdout] 584 |         let _ = SendMessageW(h, BM_SETCHECK, WPARAM(if checked { BST_CHECKED.0 } else { BST_UNCHECKED.0 } as usize), LPARAM(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/main.rs:584:17
[INFO] [stdout]     |
[INFO] [stdout] 584 |         let _ = SendMessageW(h, BM_SETCHECK, WPARAM(if checked { BST_CHECKED.0 } else { BST_UNCHECKED.0 } as usize), LPARAM(0));
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:594:38
[INFO] [stdout]     |
[INFO] [stdout] 594 |         SendMessageW(h, BM_GETCHECK, WPARAM(0), LPARAM(0)).0 == BST_CHECKED.0 as isize
[INFO] [stdout]     |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:594:49
[INFO] [stdout]     |
[INFO] [stdout] 594 |         SendMessageW(h, BM_GETCHECK, WPARAM(0), LPARAM(0)).0 == BST_CHECKED.0 as isize
[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/main.rs:594:9
[INFO] [stdout]     |
[INFO] [stdout] 594 |         SendMessageW(h, BM_GETCHECK, WPARAM(0), LPARAM(0)).0 == BST_CHECKED.0 as isize
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/main.rs:688:34
[INFO] [stdout]     |
[INFO] [stdout] 688 |             let mut hkey: HKEY = HKEY::default();
[INFO] [stdout]     |                                  ^^^^ use of undeclared type `HKEY`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCreateKeyW` in this scope
[INFO] [stdout]    --> src/main.rs:689:21
[INFO] [stdout]     |
[INFO] [stdout] 689 |             let r = RegCreateKeyW(
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:699:42
[INFO] [stdout]     |
[INFO] [stdout] 699 |             let len = GetModuleFileNameW(HINSTANCE::default(), &mut path);
[INFO] [stdout]     |                                          ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameW` in this scope
[INFO] [stdout]    --> src/main.rs:699:23
[INFO] [stdout]     |
[INFO] [stdout] 699 |             let len = GetModuleFileNameW(HINSTANCE::default(), &mut path);
[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/main.rs:707:21
[INFO] [stdout]     |
[INFO] [stdout] 707 |             let _ = RegSetValueExW(
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCloseKey` in this scope
[INFO] [stdout]    --> src/main.rs:714:21
[INFO] [stdout]     |
[INFO] [stdout] 714 |             let _ = RegCloseKey(hkey);
[INFO] [stdout]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/main.rs:716:34
[INFO] [stdout]     |
[INFO] [stdout] 716 |             let mut hkey: HKEY = HKEY::default();
[INFO] [stdout]     |                                  ^^^^ use of undeclared type `HKEY`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegOpenKeyExW` in this scope
[INFO] [stdout]    --> src/main.rs:717:21
[INFO] [stdout]     |
[INFO] [stdout] 717 |             let r = RegOpenKeyExW(
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegDeleteValueW` in this scope
[INFO] [stdout]    --> src/main.rs:727:21
[INFO] [stdout]     |
[INFO] [stdout] 727 |             let _ = RegDeleteValueW(hkey, to_pcw(AUTOSTART_VAL));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCloseKey` in this scope
[INFO] [stdout]    --> src/main.rs:728:21
[INFO] [stdout]     |
[INFO] [stdout] 728 |             let _ = RegCloseKey(hkey);
[INFO] [stdout]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in this scope
[INFO] [stdout]    --> src/main.rs:741:25
[INFO] [stdout]     |
[INFO] [stdout] 741 |         if let Ok(sw) = FindWindowW(to_pcw("ime-lock-status-class"), None) {
[INFO] [stdout]     |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AllowSetForegroundWindow` in this scope
[INFO] [stdout]    --> src/main.rs:744:25
[INFO] [stdout]     |
[INFO] [stdout] 744 |                 let _ = AllowSetForegroundWindow(ASFW_ANY);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:745:61
[INFO] [stdout]     |
[INFO] [stdout] 745 |                 let _ = PostMessageW(sw, WM_BRING_TO_FRONT, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:745:72
[INFO] [stdout]     |
[INFO] [stdout] 745 |                 let _ = PostMessageW(sw, WM_BRING_TO_FRONT, WPARAM(0), LPARAM(0));
[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/main.rs:745:25
[INFO] [stdout]     |
[INFO] [stdout] 745 |                 let _ = PostMessageW(sw, WM_BRING_TO_FRONT, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BOOL` in this scope
[INFO] [stdout]    --> src/main.rs:761:34
[INFO] [stdout]     |
[INFO] [stdout] 761 |         match CreateMutexW(None, BOOL(1), mutex_name) {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateMutexW` in this scope
[INFO] [stdout]    --> src/main.rs:761:15
[INFO] [stdout]     |
[INFO] [stdout] 761 |         match CreateMutexW(None, BOOL(1), mutex_name) {
[INFO] [stdout]     |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:764:20
[INFO] [stdout]     |
[INFO] [stdout] 764 |                 if GetLastError() == ERROR_ALREADY_EXISTS {
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextW` in this scope
[INFO] [stdout]    --> src/main.rs:789:22
[INFO] [stdout]     |
[INFO] [stdout] 789 |     unsafe { let _ = SetWindowTextW(h, to_pcw(label)); }
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextW` in this scope
[INFO] [stdout]    --> src/main.rs:803:17
[INFO] [stdout]     |
[INFO] [stdout] 803 |         let _ = SetWindowTextW(edit, to_pcw(&text));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:804:47
[INFO] [stdout]     |
[INFO] [stdout] 804 |         let _ = SendMessageW(edit, EM_SETSEL, WPARAM(text.len()), LPARAM(text.len() as isize));
[INFO] [stdout]     |                                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:804:67
[INFO] [stdout]     |
[INFO] [stdout] 804 |         let _ = SendMessageW(edit, EM_SETSEL, WPARAM(text.len()), LPARAM(text.len() as isize));
[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/main.rs:804:17
[INFO] [stdout]     |
[INFO] [stdout] 804 |         let _ = SendMessageW(edit, EM_SETSEL, WPARAM(text.len()), LPARAM(text.len() as isize));
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:805:52
[INFO] [stdout]     |
[INFO] [stdout] 805 |         let _ = SendMessageW(edit, EM_SCROLLCARET, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:805:63
[INFO] [stdout]     |
[INFO] [stdout] 805 |         let _ = SendMessageW(edit, EM_SCROLLCARET, WPARAM(0), LPARAM(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/main.rs:805:17
[INFO] [stdout]     |
[INFO] [stdout] 805 |         let _ = SendMessageW(edit, EM_SCROLLCARET, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:818:36
[INFO] [stdout]     |
[INFO] [stdout] 818 |         let _ = SetWindowPos(edit, HWND::default(), MARGIN, edit_top, cx - MARGIN * 2, new_h, SWP_NOZORDER);
[INFO] [stdout]     |                                    ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope
[INFO] [stdout]    --> src/main.rs:818:17
[INFO] [stdout]     |
[INFO] [stdout] 818 |         let _ = SetWindowPos(edit, HWND::default(), MARGIN, edit_top, cx - MARGIN * 2, new_h, SWP_NOZORDER);
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:829:5
[INFO] [stdout]     |
[INFO] [stdout] 829 |     HWND(STATUS_HWND.load(Ordering::Relaxed) as *mut core::ffi::c_void)
[INFO] [stdout]     |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:835:5
[INFO] [stdout]     |
[INFO] [stdout] 835 |     HWND(MAIN_HWND.load(Ordering::Relaxed) as *mut core::ffi::c_void)
[INFO] [stdout]     |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:862:21
[INFO] [stdout]     |
[INFO] [stdout] 862 |                     WINDOW_EX_STYLE(0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:865:21
[INFO] [stdout]     |
[INFO] [stdout] 865 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:867:27
[INFO] [stdout]     |
[INFO] [stdout] 867 |                     hwnd, HMENU(ID_TITLE_TEXT as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:868:21
[INFO] [stdout]     |
[INFO] [stdout] 868 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:861:30
[INFO] [stdout]     |
[INFO] [stdout] 861 |                 let _title = CreateWindowExW(
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:871:21
[INFO] [stdout]     |
[INFO] [stdout] 871 |                     WINDOW_EX_STYLE(0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:874:21
[INFO] [stdout]     |
[INFO] [stdout] 874 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:876:27
[INFO] [stdout]     |
[INFO] [stdout] 876 |                     hwnd, HMENU(ID_STATUS_TEXT as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:877:21
[INFO] [stdout]     |
[INFO] [stdout] 877 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:870:31
[INFO] [stdout]     |
[INFO] [stdout] 870 |                 let _status = CreateWindowExW(
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:882:21
[INFO] [stdout]     |
[INFO] [stdout] 882 |                     WINDOW_EX_STYLE(0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:885:21
[INFO] [stdout]     |
[INFO] [stdout] 885 |                     WINDOW_STYLE(chk_style),
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:887:27
[INFO] [stdout]     |
[INFO] [stdout] 887 |                     hwnd, HMENU(ID_CHK_ENABLE as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:888:21
[INFO] [stdout]     |
[INFO] [stdout] 888 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:881:35
[INFO] [stdout]     |
[INFO] [stdout] 881 |                 let _chk_enable = CreateWindowExW(
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:892:21
[INFO] [stdout]     |
[INFO] [stdout] 892 |                     WINDOW_EX_STYLE(0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:895:21
[INFO] [stdout]     |
[INFO] [stdout] 895 |                     WINDOW_STYLE(chk_style),
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:897:27
[INFO] [stdout]     |
[INFO] [stdout] 897 |                     hwnd, HMENU(ID_CHK_AUTOSTART as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:898:21
[INFO] [stdout]     |
[INFO] [stdout] 898 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:891:38
[INFO] [stdout]     |
[INFO] [stdout] 891 |                 let _chk_autostart = CreateWindowExW(
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:902:21
[INFO] [stdout]     |
[INFO] [stdout] 902 |                     WINDOW_EX_STYLE(0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:905:21
[INFO] [stdout]     |
[INFO] [stdout] 905 |                     WINDOW_STYLE(chk_style),
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:907:27
[INFO] [stdout]     |
[INFO] [stdout] 907 |                     hwnd, HMENU(ID_CHK_SILENT as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:908:21
[INFO] [stdout]     |
[INFO] [stdout] 908 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:901:35
[INFO] [stdout]     |
[INFO] [stdout] 901 |                 let _chk_silent = CreateWindowExW(
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:911:21
[INFO] [stdout]     |
[INFO] [stdout] 911 |                     WINDOW_EX_STYLE(0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:914:21
[INFO] [stdout]     |
[INFO] [stdout] 914 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:916:27
[INFO] [stdout]     |
[INFO] [stdout] 916 |                     hwnd, HMENU(ID_HINT_TEXT as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:917:21
[INFO] [stdout]     |
[INFO] [stdout] 917 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:910:29
[INFO] [stdout]     |
[INFO] [stdout] 910 |                 let _hint = CreateWindowExW(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:920:21
[INFO] [stdout]     |
[INFO] [stdout] 920 |                     WINDOW_EX_STYLE(0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:923:21
[INFO] [stdout]     |
[INFO] [stdout] 923 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | BS_PUSHBUTTON 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 `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:925:27
[INFO] [stdout]     |
[INFO] [stdout] 925 |                     hwnd, HMENU(ID_BTN_CAPTURE as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:926:21
[INFO] [stdout]     |
[INFO] [stdout] 926 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:919:28
[INFO] [stdout]     |
[INFO] [stdout] 919 |                 let _btn = CreateWindowExW(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:929:21
[INFO] [stdout]     |
[INFO] [stdout] 929 |                     WINDOW_EX_STYLE(WS_EX_CLIENTEDGE.0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:932:21
[INFO] [stdout]     |
[INFO] [stdout] 932 |                     WINDOW_STYLE(
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:938:27
[INFO] [stdout]     |
[INFO] [stdout] 938 |                     hwnd, HMENU(ID_EDIT_LOG as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:939:21
[INFO] [stdout]     |
[INFO] [stdout] 939 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:928:29
[INFO] [stdout]     |
[INFO] [stdout] 928 |                 let _edit = CreateWindowExW(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:966:56
[INFO] [stdout]     |
[INFO] [stdout] 966 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout]     |                                                        ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 966 -                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout] 966 +                 let _ = SendMessageW(hwnd, WM_SETICON, wparam(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:966:67
[INFO] [stdout]     |
[INFO] [stdout] 966 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout]     |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 966 -                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout] 966 +                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), lparam(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:966:25
[INFO] [stdout]     |
[INFO] [stdout] 966 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:967:56
[INFO] [stdout]     |
[INFO] [stdout] 967 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout]     |                                                        ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 967 -                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout] 967 +                 let _ = SendMessageW(hwnd, WM_SETICON, wparam(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:967:67
[INFO] [stdout]     |
[INFO] [stdout] 967 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout]     |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 967 -                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout] 967 +                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), lparam(icon.0 as isize)); // ICON_BIG
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:967:25
[INFO] [stdout]     |
[INFO] [stdout] 967 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]    --> src/main.rs:969:17
[INFO] [stdout]     |
[INFO] [stdout] 969 |                 LRESULT(0)
[INFO] [stdout]     |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HDC` in this scope
[INFO] [stdout]    --> src/main.rs:972:34
[INFO] [stdout]     |
[INFO] [stdout] 972 |                 let hdc_static = HDC(wparam.0 as *mut core::ffi::c_void);
[INFO] [stdout]     |                                  ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkMode` in this scope
[INFO] [stdout]    --> src/main.rs:974:25
[INFO] [stdout]     |
[INFO] [stdout] 974 |                 let _ = SetBkMode(hdc_static, OPAQUE);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkColor` in this scope
[INFO] [stdout]    --> src/main.rs:975:25
[INFO] [stdout]     |
[INFO] [stdout] 975 |                 let _ = SetBkColor(hdc_static, bg_color());
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTextColor` in this scope
[INFO] [stdout]    --> src/main.rs:976:25
[INFO] [stdout]     |
[INFO] [stdout] 976 |                 let _ = SetTextColor(hdc_static, rgb(24, 28, 34));
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]    --> src/main.rs:978:17
[INFO] [stdout]     |
[INFO] [stdout] 978 |                 LRESULT(br.0 as isize)
[INFO] [stdout]     |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HDC` in this scope
[INFO] [stdout]    --> src/main.rs:982:31
[INFO] [stdout]     |
[INFO] [stdout] 982 |                 let hdc_btn = HDC(wparam.0 as *mut core::ffi::c_void);
[INFO] [stdout]     |                               ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkMode` in this scope
[INFO] [stdout]    --> src/main.rs:983:25
[INFO] [stdout]     |
[INFO] [stdout] 983 |                 let _ = SetBkMode(hdc_btn, OPAQUE);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkColor` in this scope
[INFO] [stdout]    --> src/main.rs:984:25
[INFO] [stdout]     |
[INFO] [stdout] 984 |                 let _ = SetBkColor(hdc_btn, bg_color());
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTextColor` in this scope
[INFO] [stdout]    --> src/main.rs:985:25
[INFO] [stdout]     |
[INFO] [stdout] 985 |                 let _ = SetTextColor(hdc_btn, rgb(24, 28, 34));
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]    --> src/main.rs:987:17
[INFO] [stdout]     |
[INFO] [stdout] 987 |                 LRESULT(br.0 as isize)
[INFO] [stdout]     |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HDC` in this scope
[INFO] [stdout]    --> src/main.rs:991:32
[INFO] [stdout]     |
[INFO] [stdout] 991 |                 let hdc_edit = HDC(wparam.0 as *mut core::ffi::c_void);
[INFO] [stdout]     |                                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkMode` in this scope
[INFO] [stdout]    --> src/main.rs:992:25
[INFO] [stdout]     |
[INFO] [stdout] 992 |                 let _ = SetBkMode(hdc_edit, OPAQUE);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkColor` in this scope
[INFO] [stdout]    --> src/main.rs:993:25
[INFO] [stdout]     |
[INFO] [stdout] 993 |                 let _ = SetBkColor(hdc_edit, bg_color());
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTextColor` in this scope
[INFO] [stdout]    --> src/main.rs:994:25
[INFO] [stdout]     |
[INFO] [stdout] 994 |                 let _ = SetTextColor(hdc_edit, rgb(24, 28, 34));
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]    --> src/main.rs:996:17
[INFO] [stdout]     |
[INFO] [stdout] 996 |                 LRESULT(br.0 as isize)
[INFO] [stdout]     |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1002:17
[INFO] [stdout]      |
[INFO] [stdout] 1002 |                 LRESULT(0)
[INFO] [stdout]      |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1006:17
[INFO] [stdout]      |
[INFO] [stdout] 1006 |                 LRESULT(0)
[INFO] [stdout]      |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1010:17
[INFO] [stdout]      |
[INFO] [stdout] 1010 |                 LRESULT(0)
[INFO] [stdout]      |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1015:17
[INFO] [stdout]      |
[INFO] [stdout] 1015 |                 LRESULT(0)
[INFO] [stdout]      |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1038:17
[INFO] [stdout]      |
[INFO] [stdout] 1038 |                 LRESULT(0)
[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:1041:25
[INFO] [stdout]      |
[INFO] [stdout] 1041 |                 let _ = ShowWindow(hwnd, SW_HIDE);
[INFO] [stdout]      |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1042:17
[INFO] [stdout]      |
[INFO] [stdout] 1042 |                 LRESULT(0)
[INFO] [stdout]      |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1044:27
[INFO] [stdout]      |
[INFO] [stdout] 1044 |             WM_DESTROY => LRESULT(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/main.rs:1045:18
[INFO] [stdout]      |
[INFO] [stdout] 1045 |             _ => 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 `RegisterClassW` in this scope
[INFO] [stdout]     --> src/main.rs:1060:17
[INFO] [stdout]      |
[INFO] [stdout] 1060 |         let _ = RegisterClassW(&wc);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]     --> src/main.rs:1062:21
[INFO] [stdout]      |
[INFO] [stdout] 1062 |         let style = WINDOW_STYLE(WS_OVERLAPPEDWINDOW.0);
[INFO] [stdout]      |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]     --> src/main.rs:1064:13
[INFO] [stdout]      |
[INFO] [stdout] 1064 |             WINDOW_EX_STYLE(0),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]     --> src/main.rs:1072:13
[INFO] [stdout]      |
[INFO] [stdout] 1072 |             HWND::default(),
[INFO] [stdout]      |             ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HMENU` in this scope
[INFO] [stdout]     --> src/main.rs:1073:13
[INFO] [stdout]      |
[INFO] [stdout] 1073 |             HMENU::default(),
[INFO] [stdout]      |             ^^^^^ use of undeclared type `HMENU`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]     --> src/main.rs:1063:20
[INFO] [stdout]      |
[INFO] [stdout] 1063 |         let hwnd = CreateWindowExW(
[INFO] [stdout]      |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]     --> src/main.rs:1077:20
[INFO] [stdout]      |
[INFO] [stdout] 1077 |         .unwrap_or(HWND::default());
[INFO] [stdout]      |                    ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePopupMenu` in this scope
[INFO] [stdout]     --> src/main.rs:1086:21
[INFO] [stdout]      |
[INFO] [stdout] 1086 |         let hmenu = CreatePopupMenu().unwrap_or(HMENU::default());
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HMENU` in this scope
[INFO] [stdout]     --> src/main.rs:1086:49
[INFO] [stdout]      |
[INFO] [stdout] 1086 |         let hmenu = CreatePopupMenu().unwrap_or(HMENU::default());
[INFO] [stdout]      |                                                 ^^^^^ use of undeclared type `HMENU`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MENU_ITEM_FLAGS` in this scope
[INFO] [stdout]     --> src/main.rs:1097:13
[INFO] [stdout]      |
[INFO] [stdout] 1097 |             MENU_ITEM_FLAGS(MF_STRING.0 | if enabled { MF_CHECKED.0 } else { 0 }),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]     --> src/main.rs:1095:17
[INFO] [stdout]      |
[INFO] [stdout] 1095 |         let _ = AppendMenuW(
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MENU_ITEM_FLAGS` in this scope
[INFO] [stdout]     --> src/main.rs:1103:13
[INFO] [stdout]      |
[INFO] [stdout] 1103 |             MENU_ITEM_FLAGS(MF_STRING.0 | if autostart { MF_CHECKED.0 } else { 0 }),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]     --> src/main.rs:1101:17
[INFO] [stdout]      |
[INFO] [stdout] 1101 |         let _ = AppendMenuW(
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MENU_ITEM_FLAGS` in this scope
[INFO] [stdout]     --> src/main.rs:1110:13
[INFO] [stdout]      |
[INFO] [stdout] 1110 |             MENU_ITEM_FLAGS(MF_STRING.0 | if silent { MF_CHECKED.0 } else { 0 }),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]     --> src/main.rs:1108:17
[INFO] [stdout]      |
[INFO] [stdout] 1108 |         let _ = AppendMenuW(
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MENU_ITEM_FLAGS` in this scope
[INFO] [stdout]     --> src/main.rs:1116:13
[INFO] [stdout]      |
[INFO] [stdout] 1116 |             MENU_ITEM_FLAGS(MF_STRING.0 | if capturing { MF_CHECKED.0 } else { 0 }),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]     --> src/main.rs:1114:17
[INFO] [stdout]      |
[INFO] [stdout] 1114 |         let _ = AppendMenuW(
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]     --> src/main.rs:1120:17
[INFO] [stdout]      |
[INFO] [stdout] 1120 |         let _ = AppendMenuW(hmenu, MF_SEPARATOR, 0, PCWSTR::null());
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]     --> src/main.rs:1121:17
[INFO] [stdout]      |
[INFO] [stdout] 1121 |         let _ = AppendMenuW(hmenu, MF_STRING, ID_TRAY_EXIT as usize, to_pcw("退出"));
[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:1123:17
[INFO] [stdout]      |
[INFO] [stdout] 1123 |         let _ = SetForegroundWindow(hwnd);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `POINT` in this scope
[INFO] [stdout]     --> src/main.rs:1124:22
[INFO] [stdout]      |
[INFO] [stdout] 1124 |         let mut pt = POINT::default();
[INFO] [stdout]      |                      ^^^^^ use of undeclared type `POINT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stdout]     --> src/main.rs:1125:17
[INFO] [stdout]      |
[INFO] [stdout] 1125 |         let _ = GetCursorPos(&mut pt);
[INFO] [stdout]      |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TRACK_POPUP_MENU_FLAGS` in this scope
[INFO] [stdout]     --> src/main.rs:1126:21
[INFO] [stdout]      |
[INFO] [stdout] 1126 |         let flags = TRACK_POPUP_MENU_FLAGS(TPM_RIGHTBUTTON.0 | TPM_BOTTOMALIGN.0 | TPM_LEFTALIGN.0);
[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/main.rs:1127:17
[INFO] [stdout]      |
[INFO] [stdout] 1127 |         let _ = TrackPopupMenu(hmenu, flags, pt.x, pt.y, 0, hwnd, None);
[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/main.rs:1128:17
[INFO] [stdout]      |
[INFO] [stdout] 1128 |         let _ = DestroyMenu(hmenu);
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1129:45
[INFO] [stdout]      |
[INFO] [stdout] 1129 |         let _ = PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0));
[INFO] [stdout]      |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1129:56
[INFO] [stdout]      |
[INFO] [stdout] 1129 |         let _ = PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0));
[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/main.rs:1129:17
[INFO] [stdout]      |
[INFO] [stdout] 1129 |         let _ = PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0));
[INFO] [stdout]      |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1149:61
[INFO] [stdout]      |
[INFO] [stdout] 1149 |         unsafe { let _ = PostMessageW(sw, WM_UPDATE_STATUS, WPARAM(0), LPARAM(0)); }
[INFO] [stdout]      |                                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1149:72
[INFO] [stdout]      |
[INFO] [stdout] 1149 |         unsafe { let _ = PostMessageW(sw, WM_UPDATE_STATUS, WPARAM(0), LPARAM(0)); }
[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/main.rs:1149:26
[INFO] [stdout]      |
[INFO] [stdout] 1149 |         unsafe { let _ = PostMessageW(sw, WM_UPDATE_STATUS, WPARAM(0), LPARAM(0)); }
[INFO] [stdout]      |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1169:61
[INFO] [stdout]      |
[INFO] [stdout] 1169 |         unsafe { let _ = PostMessageW(sw, WM_UPDATE_STATUS, WPARAM(0), LPARAM(0)); }
[INFO] [stdout]      |                                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1169:72
[INFO] [stdout]      |
[INFO] [stdout] 1169 |         unsafe { let _ = PostMessageW(sw, WM_UPDATE_STATUS, WPARAM(0), LPARAM(0)); }
[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/main.rs:1169:26
[INFO] [stdout]      |
[INFO] [stdout] 1169 |         unsafe { let _ = PostMessageW(sw, WM_UPDATE_STATUS, WPARAM(0), LPARAM(0)); }
[INFO] [stdout]      |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1190:21
[INFO] [stdout]      |
[INFO] [stdout] 1190 |                     LRESULT(0)
[INFO] [stdout]      |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1194:21
[INFO] [stdout]      |
[INFO] [stdout] 1194 |                     LRESULT(0)
[INFO] [stdout]      |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1196:22
[INFO] [stdout]      |
[INFO] [stdout] 1196 |                 _ => LRESULT(0),
[INFO] [stdout]      |                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1201:17
[INFO] [stdout]      |
[INFO] [stdout] 1201 |                 LRESULT(0)
[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/main.rs:1206:25
[INFO] [stdout]      |
[INFO] [stdout] 1206 |                         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 `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1223:17
[INFO] [stdout]      |
[INFO] [stdout] 1223 |                 LRESULT(0)
[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/main.rs:1226:17
[INFO] [stdout]      |
[INFO] [stdout] 1226 |                 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 `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1227:17
[INFO] [stdout]      |
[INFO] [stdout] 1227 |                 LRESULT(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/main.rs:1229:18
[INFO] [stdout]      |
[INFO] [stdout] 1229 |             _ => 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 `CoInitializeEx` in this scope
[INFO] [stdout]     --> src/main.rs:1241:17
[INFO] [stdout]      |
[INFO] [stdout] 1241 |         let _ = CoInitializeEx(None, COINIT_APARTMENTTHREADED);
[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/main.rs:1243:21
[INFO] [stdout]      |
[INFO] [stdout] 1243 |         let hinst = GetModuleHandleW(None).unwrap();
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HINSTANCE` in this scope
[INFO] [stdout]     --> src/main.rs:1248:24
[INFO] [stdout]      |
[INFO] [stdout] 1248 |             hInstance: HINSTANCE(hinst.0),
[INFO] [stdout]      |                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stdout]     --> src/main.rs:1252:17
[INFO] [stdout]      |
[INFO] [stdout] 1252 |         let _ = RegisterClassW(&wc);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]     --> src/main.rs:1262:13
[INFO] [stdout]      |
[INFO] [stdout] 1262 |             WINDOW_EX_STYLE(0),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]     --> src/main.rs:1267:13
[INFO] [stdout]      |
[INFO] [stdout] 1267 |             HWND::default(),
[INFO] [stdout]      |             ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HMENU` in this scope
[INFO] [stdout]     --> src/main.rs:1268:13
[INFO] [stdout]      |
[INFO] [stdout] 1268 |             HMENU::default(),
[INFO] [stdout]      |             ^^^^^ use of undeclared type `HMENU`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HINSTANCE` in this scope
[INFO] [stdout]     --> src/main.rs:1269:13
[INFO] [stdout]      |
[INFO] [stdout] 1269 |             HINSTANCE(hinst.0),
[INFO] [stdout]      |             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]     --> src/main.rs:1261:20
[INFO] [stdout]      |
[INFO] [stdout] 1261 |         let hwnd = CreateWindowExW(
[INFO] [stdout]      |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HINSTANCE` in this scope
[INFO] [stdout]     --> src/main.rs:1279:39
[INFO] [stdout]      |
[INFO] [stdout] 1279 |         let sw = create_status_window(HINSTANCE(hinst.0));
[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:1281:21
[INFO] [stdout]      |
[INFO] [stdout] 1281 |             let _ = ShowWindow(sw, SW_HIDE);
[INFO] [stdout]      |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HOT_KEY_MODIFIERS` in this scope
[INFO] [stdout]     --> src/main.rs:1289:20
[INFO] [stdout]      |
[INFO] [stdout] 1289 |         let mods = HOT_KEY_MODIFIERS(MOD_CONTROL.0 | MOD_SHIFT.0);
[INFO] [stdout]      |                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope
[INFO] [stdout]     --> src/main.rs:1290:17
[INFO] [stdout]      |
[INFO] [stdout] 1290 |         let _ = RegisterHotKey(hwnd, 1, mods, VK_F9.0 as u32);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HMODULE` in this scope
[INFO] [stdout]     --> src/main.rs:1295:13
[INFO] [stdout]      |
[INFO] [stdout] 1295 |             HMODULE::default(),
[INFO] [stdout]      |             ^^^^^^^ use of undeclared type `HMODULE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWinEventHook` in this scope
[INFO] [stdout]     --> src/main.rs:1292:20
[INFO] [stdout]      |
[INFO] [stdout] 1292 |         let hook = SetWinEventHook(
[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:1310:25
[INFO] [stdout]      |
[INFO] [stdout] 1310 |                 let _ = ShowWindow(sw, SW_SHOW);
[INFO] [stdout]      |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1310 -                 let _ = ShowWindow(sw, SW_SHOW);
[INFO] [stdout] 1310 +                 let _ = show_window(sw, SW_SHOW);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MSG` in this scope
[INFO] [stdout]     --> src/main.rs:1314:23
[INFO] [stdout]      |
[INFO] [stdout] 1314 |         let mut msg = MSG::default();
[INFO] [stdout]      |                       ^^^ use of undeclared type `MSG`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]     --> src/main.rs:1315:37
[INFO] [stdout]      |
[INFO] [stdout] 1315 |         while GetMessageW(&mut msg, HWND::default(), 0, 0).as_bool() {
[INFO] [stdout]      |                                     ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]     --> src/main.rs:1315:15
[INFO] [stdout]      |
[INFO] [stdout] 1315 |         while GetMessageW(&mut msg, HWND::default(), 0, 0).as_bool() {
[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/main.rs:1316:21
[INFO] [stdout]      |
[INFO] [stdout] 1316 |             let _ = 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/main.rs:1317:13
[INFO] [stdout]      |
[INFO] [stdout] 1317 |             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 `UnhookWinEvent` in this scope
[INFO] [stdout]     --> src/main.rs:1320:17
[INFO] [stdout]      |
[INFO] [stdout] 1320 |         let _ = UnhookWinEvent(hook);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterHotKey` in this scope
[INFO] [stdout]     --> src/main.rs:1321:17
[INFO] [stdout]      |
[INFO] [stdout] 1321 |         let _ = UnregisterHotKey(hwnd, 1);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ime-lock` (bin "ime-lock") due to 387 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope
[INFO] [stdout]   --> src/main.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 | const WM_SHELLICON: u32 = WM_USER + 1;
[INFO] [stdout]    |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope
[INFO] [stdout]   --> src/main.rs:45:31
[INFO] [stdout]    |
[INFO] [stdout] 45 | const WM_UPDATE_STATUS: u32 = WM_USER + 2;
[INFO] [stdout]    |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope
[INFO] [stdout]   --> src/main.rs:46:28
[INFO] [stdout]    |
[INFO] [stdout] 46 | const WM_APPEND_LOG: u32 = WM_USER + 3;
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope
[INFO] [stdout]   --> src/main.rs:48:32
[INFO] [stdout]    |
[INFO] [stdout] 48 | const WM_BRING_TO_FRONT: u32 = WM_USER + 4;
[INFO] [stdout]    |                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope
[INFO] [stdout]    --> src/main.rs:128:38
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let _ = ShowWindow(hwnd, SW_HIDE);
[INFO] [stdout]     |                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:142:24
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn read_acc_name(hwnd: HWND, obj: i32, child: i32) -> String {
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `IAccessible` in this scope
[INFO] [stdout]    --> src/main.rs:144:29
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let mut acc: Option<IAccessible> = None;
[INFO] [stdout]     |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn read_acc_name<IAccessible>(hwnd: HWND, obj: i32, child: i32) -> String {
[INFO] [stdout]     |                 +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWINEVENTHOOK` in this scope
[INFO] [stdout]    --> src/main.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 197 |     _hook: HWINEVENTHOOK,
[INFO] [stdout]     |            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:199:11
[INFO] [stdout]     |
[INFO] [stdout] 199 |     hwnd: HWND,
[INFO] [stdout]     |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope
[INFO] [stdout]    --> src/main.rs:243:24
[INFO] [stdout]     |
[INFO] [stdout] 243 | fn load_tray_icon() -> HICON {
[INFO] [stdout]     |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope
[INFO] [stdout]    --> src/main.rs:253:25
[INFO] [stdout]     |
[INFO] [stdout] 253 | fn build_lock_icon() -> HICON {
[INFO] [stdout]     |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDI_INFORMATION` in this scope
[INFO] [stdout]    --> src/main.rs:294:54
[INFO] [stdout]     |
[INFO] [stdout] 294 |             unsafe { LoadIconW(HINSTANCE::default(), IDI_INFORMATION).unwrap_or_default() }
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope
[INFO] [stdout]    --> src/main.rs:299:35
[INFO] [stdout]     |
[INFO] [stdout] 299 | fn rasterize_svg_icon() -> Option<HICON> {
[INFO] [stdout]     |                                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 299 | fn rasterize_svg_icon<HICON>() -> Option<HICON> {
[INFO] [stdout]     |                      +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope
[INFO] [stdout]    --> src/main.rs:321:68
[INFO] [stdout]     |
[INFO] [stdout] 321 | fn build_icon_from_pixels(w: i32, h: i32, pixels: &[u8]) -> Option<HICON> {
[INFO] [stdout]     |                                                                    ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 321 | fn build_icon_from_pixels<HICON>(w: i32, h: i32, pixels: &[u8]) -> Option<HICON> {
[INFO] [stdout]     |                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]    --> src/main.rs:323:18
[INFO] [stdout]     |
[INFO] [stdout] 323 |         let bi = BITMAPINFOHEADER {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]    --> src/main.rs:324:41
[INFO] [stdout]     |
[INFO] [stdout] 324 |             biSize: std::mem::size_of::<BITMAPINFOHEADER>() as u32,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 321 | fn build_icon_from_pixels<BITMAPINFOHEADER>(w: i32, h: i32, pixels: &[u8]) -> Option<HICON> {
[INFO] [stdout]     |                          ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope
[INFO] [stdout]    --> src/main.rs:329:28
[INFO] [stdout]     |
[INFO] [stdout] 329 |             biCompression: BI_RGB.0,
[INFO] [stdout]     |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope
[INFO] [stdout]    --> src/main.rs:336:14
[INFO] [stdout]     |
[INFO] [stdout] 336 |             &BITMAPINFO { bmiHeader: bi, ..Default::default() },
[INFO] [stdout]     |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope
[INFO] [stdout]    --> src/main.rs:337:13
[INFO] [stdout]     |
[INFO] [stdout] 337 |             DIB_RGB_COLORS,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ICONINFO` in this scope
[INFO] [stdout]    --> src/main.rs:363:18
[INFO] [stdout]     |
[INFO] [stdout] 363 |         let ii = ICONINFO { fIcon: TRUE, hbmMask: hmask, hbmColor: hbmp, ..Default::default() };
[INFO] [stdout]     |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/main.rs:363:36
[INFO] [stdout]     |
[INFO] [stdout] 363 |         let ii = ICONINFO { fIcon: TRUE, hbmMask: hmask, hbmColor: hbmp, ..Default::default() };
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 363 -         let ii = ICONINFO { fIcon: TRUE, hbmMask: hmask, hbmColor: hbmp, ..Default::default() };
[INFO] [stdout] 363 +         let ii = ICONINFO { fIcon: true, hbmMask: hmask, hbmColor: hbmp, ..Default::default() };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:371:24
[INFO] [stdout]     |
[INFO] [stdout] 371 | fn add_tray_icon(hwnd: HWND) -> bool {
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:376:19
[INFO] [stdout]     |
[INFO] [stdout] 376 |         let nid = NOTIFYICONDATAW {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:377:41
[INFO] [stdout]     |
[INFO] [stdout] 377 |             cbSize: std::mem::size_of::<NOTIFYICONDATAW>() as u32,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 371 | fn add_tray_icon<NOTIFYICONDATAW>(hwnd: HWND) -> bool {
[INFO] [stdout]     |                 +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_MESSAGE` in this scope
[INFO] [stdout]    --> src/main.rs:380:44
[INFO] [stdout]     |
[INFO] [stdout] 380 |             uFlags: NOTIFY_ICON_DATA_FLAGS(NIF_MESSAGE.0 | NIF_ICON.0 | NIF_TIP.0),
[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/main.rs:380:60
[INFO] [stdout]     |
[INFO] [stdout] 380 |             uFlags: NOTIFY_ICON_DATA_FLAGS(NIF_MESSAGE.0 | NIF_ICON.0 | NIF_TIP.0),
[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/main.rs:380:73
[INFO] [stdout]     |
[INFO] [stdout] 380 |             uFlags: NOTIFY_ICON_DATA_FLAGS(NIF_MESSAGE.0 | NIF_ICON.0 | NIF_TIP.0),
[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/main.rs:386:27
[INFO] [stdout]     |
[INFO] [stdout] 386 |         Shell_NotifyIconW(NIM_ADD, &nid).as_bool()
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HICON` in this scope
[INFO] [stdout]    --> src/main.rs:392:23
[INFO] [stdout]     |
[INFO] [stdout] 392 | fn get_tray_icon() -> HICON {
[INFO] [stdout]     |                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `COLORREF` in this scope
[INFO] [stdout]    --> src/main.rs:413:32
[INFO] [stdout]     |
[INFO] [stdout] 413 | fn rgb(r: u8, g: u8, b: u8) -> COLORREF {
[INFO] [stdout]     |                                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `COLORREF` in this scope
[INFO] [stdout]    --> src/main.rs:418:18
[INFO] [stdout]     |
[INFO] [stdout] 418 | fn bg_color() -> COLORREF {
[INFO] [stdout]     |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HBRUSH` in this scope
[INFO] [stdout]    --> src/main.rs:422:22
[INFO] [stdout]     |
[INFO] [stdout] 422 | fn get_bg_brush() -> HBRUSH {
[INFO] [stdout]     |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HFONT` in this scope
[INFO] [stdout]    --> src/main.rs:436:38
[INFO] [stdout]     |
[INFO] [stdout] 436 | fn make_font(pt: i32, bold: bool) -> HFONT {
[INFO] [stdout]     |                                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `LOGPIXELSY` in this scope
[INFO] [stdout]    --> src/main.rs:440:38
[INFO] [stdout]     |
[INFO] [stdout] 440 |         let dpi = GetDeviceCaps(hdc, LOGPIXELSY);
[INFO] [stdout]     |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NONCLIENTMETRICSW` in this scope
[INFO] [stdout]    --> src/main.rs:446:42
[INFO] [stdout]     |
[INFO] [stdout] 446 |         ncm.cbSize = std::mem::size_of::<NONCLIENTMETRICSW>() as u32;
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 436 | fn make_font<NONCLIENTMETRICSW>(pt: i32, bold: bool) -> HFONT {
[INFO] [stdout]     |             +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPI_GETNONCLIENTMETRICS` in this scope
[INFO] [stdout]    --> src/main.rs:448:13
[INFO] [stdout]     |
[INFO] [stdout] 448 |             SPI_GETNONCLIENTMETRICS,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FW_BOLD` in this scope
[INFO] [stdout]    --> src/main.rs:460:33
[INFO] [stdout]     |
[INFO] [stdout] 460 |         lf.lfWeight = if bold { FW_BOLD.0 as i32 } else { FW_NORMAL.0 as i32 };
[INFO] [stdout]     |                                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FW_NORMAL` in this scope
[INFO] [stdout]    --> src/main.rs:460:59
[INFO] [stdout]     |
[INFO] [stdout] 460 |         lf.lfWeight = if bold { FW_BOLD.0 as i32 } else { FW_NORMAL.0 as i32 };
[INFO] [stdout]     |                                                           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CLEARTYPE_QUALITY` in this scope
[INFO] [stdout]    --> src/main.rs:462:24
[INFO] [stdout]     |
[INFO] [stdout] 462 |         lf.lfQuality = CLEARTYPE_QUALITY;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HFONT` in this scope
[INFO] [stdout]    --> src/main.rs:467:21
[INFO] [stdout]     |
[INFO] [stdout] 467 | fn get_ui_font() -> HFONT {
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HFONT` in this scope
[INFO] [stdout]    --> src/main.rs:478:24
[INFO] [stdout]     |
[INFO] [stdout] 478 | fn get_title_font() -> HFONT {
[INFO] [stdout]     |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:490:19
[INFO] [stdout]     |
[INFO] [stdout] 490 | fn set_font(hwnd: HWND) {
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_SETFONT` in this scope
[INFO] [stdout]    --> src/main.rs:494:13
[INFO] [stdout]     |
[INFO] [stdout] 494 |             WM_SETFONT,
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:501:25
[INFO] [stdout]     |
[INFO] [stdout] 501 | fn set_title_font(hwnd: HWND) {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_SETFONT` in this scope
[INFO] [stdout]    --> src/main.rs:505:13
[INFO] [stdout]     |
[INFO] [stdout] 505 |             WM_SETFONT,
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:512:27
[INFO] [stdout]     |
[INFO] [stdout] 512 | fn remove_tray_icon(hwnd: HWND) {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:514:19
[INFO] [stdout]     |
[INFO] [stdout] 514 |         let nid = NOTIFYICONDATAW {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:515:41
[INFO] [stdout]     |
[INFO] [stdout] 515 |             cbSize: std::mem::size_of::<NOTIFYICONDATAW>() as u32,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 512 | fn remove_tray_icon<NOTIFYICONDATAW>(hwnd: HWND) {
[INFO] [stdout]     |                    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIM_DELETE` in this scope
[INFO] [stdout]    --> src/main.rs:520:35
[INFO] [stdout]     |
[INFO] [stdout] 520 |         let _ = Shell_NotifyIconW(NIM_DELETE, &nid);
[INFO] [stdout]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:524:26
[INFO] [stdout]     |
[INFO] [stdout] 524 | fn update_tray_tip(hwnd: HWND, tip: &str) {
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:528:19
[INFO] [stdout]     |
[INFO] [stdout] 528 |         let nid = NOTIFYICONDATAW {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NOTIFYICONDATAW` in this scope
[INFO] [stdout]    --> src/main.rs:529:41
[INFO] [stdout]     |
[INFO] [stdout] 529 |             cbSize: std::mem::size_of::<NOTIFYICONDATAW>() as u32,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 524 | fn update_tray_tip<NOTIFYICONDATAW>(hwnd: HWND, tip: &str) {
[INFO] [stdout]     |                   +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_TIP` in this scope
[INFO] [stdout]    --> src/main.rs:532:21
[INFO] [stdout]     |
[INFO] [stdout] 532 |             uFlags: NIF_TIP,
[INFO] [stdout]     |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIM_MODIFY` in this scope
[INFO] [stdout]    --> src/main.rs:536:35
[INFO] [stdout]     |
[INFO] [stdout] 536 |         let _ = Shell_NotifyIconW(NIM_MODIFY, &nid);
[INFO] [stdout]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:542:26
[INFO] [stdout]     |
[INFO] [stdout] 542 | fn ctl_by_id(id: u32) -> HWND {
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:550:23
[INFO] [stdout]     |
[INFO] [stdout] 550 | fn show_status(_hwnd: HWND) {
[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/main.rs:555:35
[INFO] [stdout]     |
[INFO] [stdout] 555 |             let _ = ShowWindow(h, SW_RESTORE);
[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:556:35
[INFO] [stdout]     |
[INFO] [stdout] 556 |             let _ = ShowWindow(h, SW_SHOW);
[INFO] [stdout]     |                                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BM_SETCHECK` in this scope
[INFO] [stdout]    --> src/main.rs:584:33
[INFO] [stdout]     |
[INFO] [stdout] 584 |         let _ = SendMessageW(h, BM_SETCHECK, WPARAM(if checked { BST_CHECKED.0 } else { BST_UNCHECKED.0 } as usize), LPARAM(0));
[INFO] [stdout]     |                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BST_CHECKED` in this scope
[INFO] [stdout]    --> src/main.rs:584:66
[INFO] [stdout]     |
[INFO] [stdout] 584 |         let _ = SendMessageW(h, BM_SETCHECK, WPARAM(if checked { BST_CHECKED.0 } else { BST_UNCHECKED.0 } as usize), LPARAM(0));
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BST_UNCHECKED` in this scope
[INFO] [stdout]    --> src/main.rs:584:89
[INFO] [stdout]     |
[INFO] [stdout] 584 |         let _ = SendMessageW(h, BM_SETCHECK, WPARAM(if checked { BST_CHECKED.0 } else { BST_UNCHECKED.0 } as usize), LPARAM(0));
[INFO] [stdout]     |                                                                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BM_GETCHECK` in this scope
[INFO] [stdout]    --> src/main.rs:594:25
[INFO] [stdout]     |
[INFO] [stdout] 594 |         SendMessageW(h, BM_GETCHECK, WPARAM(0), LPARAM(0)).0 == BST_CHECKED.0 as isize
[INFO] [stdout]     |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BST_CHECKED` in this scope
[INFO] [stdout]    --> src/main.rs:594:65
[INFO] [stdout]     |
[INFO] [stdout] 594 |         SendMessageW(h, BM_GETCHECK, WPARAM(0), LPARAM(0)).0 == BST_CHECKED.0 as isize
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/main.rs:688:27
[INFO] [stdout]     |
[INFO] [stdout] 688 |             let mut hkey: HKEY = HKEY::default();
[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/main.rs:690:17
[INFO] [stdout]     |
[INFO] [stdout] 690 |                 HKEY_CURRENT_USER,
[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/main.rs:711:17
[INFO] [stdout]     |
[INFO] [stdout] 711 |                 REG_SZ,
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/main.rs:716:27
[INFO] [stdout]     |
[INFO] [stdout] 716 |             let mut hkey: HKEY = HKEY::default();
[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/main.rs:718:17
[INFO] [stdout]     |
[INFO] [stdout] 718 |                 HKEY_CURRENT_USER,
[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/main.rs:721:17
[INFO] [stdout]     |
[INFO] [stdout] 721 |                 KEY_SET_VALUE,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_ALREADY_EXISTS` in this scope
[INFO] [stdout]    --> src/main.rs:764:38
[INFO] [stdout]     |
[INFO] [stdout] 764 |                 if GetLastError() == ERROR_ALREADY_EXISTS {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EM_SETSEL` in this scope
[INFO] [stdout]    --> src/main.rs:804:36
[INFO] [stdout]     |
[INFO] [stdout] 804 |         let _ = SendMessageW(edit, EM_SETSEL, WPARAM(text.len()), LPARAM(text.len() as isize));
[INFO] [stdout]     |                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EM_SCROLLCARET` in this scope
[INFO] [stdout]    --> src/main.rs:805:36
[INFO] [stdout]     |
[INFO] [stdout] 805 |         let _ = SendMessageW(edit, EM_SCROLLCARET, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:809:31
[INFO] [stdout]     |
[INFO] [stdout] 809 | fn relayout_log_edit(_parent: HWND, cx: i32, cy: i32) {
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOZORDER` in this scope
[INFO] [stdout]    --> src/main.rs:818:95
[INFO] [stdout]     |
[INFO] [stdout] 818 |         let _ = SetWindowPos(edit, HWND::default(), MARGIN, edit_top, cx - MARGIN * 2, new_h, SWP_NOZORDER);
[INFO] [stdout]     |                                                                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:825:23
[INFO] [stdout]     |
[INFO] [stdout] 825 | fn set_status_hwnd(h: HWND) {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:828:25
[INFO] [stdout]     |
[INFO] [stdout] 828 | fn get_status_hwnd() -> HWND {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:831:21
[INFO] [stdout]     |
[INFO] [stdout] 831 | fn set_main_hwnd(h: HWND) {
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:834:23
[INFO] [stdout]     |
[INFO] [stdout] 834 | fn get_main_hwnd() -> HWND {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:854:42
[INFO] [stdout]     |
[INFO] [stdout] 854 | extern "system" fn status_wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:854:66
[INFO] [stdout]     |
[INFO] [stdout] 854 | extern "system" fn status_wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:854:82
[INFO] [stdout]     |
[INFO] [stdout] 854 | extern "system" fn status_wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                                                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LRESULT` in this scope
[INFO] [stdout]    --> src/main.rs:854:93
[INFO] [stdout]     |
[INFO] [stdout] 854 | extern "system" fn status_wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                                                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stdout]    --> src/main.rs:865:34
[INFO] [stdout]     |
[INFO] [stdout] 865 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[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/main.rs:865:47
[INFO] [stdout]     |
[INFO] [stdout] 865 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[INFO] [stdout]     |                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stdout]    --> src/main.rs:874:34
[INFO] [stdout]     |
[INFO] [stdout] 874 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[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/main.rs:874:47
[INFO] [stdout]     |
[INFO] [stdout] 874 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[INFO] [stdout]     |                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stdout]    --> src/main.rs:880:33
[INFO] [stdout]     |
[INFO] [stdout] 880 |                 let chk_style = WS_CHILD.0 | WS_VISIBLE.0 | (BS_AUTOCHECKBOX as u32) | WS_TABSTOP.0;
[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/main.rs:880:46
[INFO] [stdout]     |
[INFO] [stdout] 880 |                 let chk_style = WS_CHILD.0 | WS_VISIBLE.0 | (BS_AUTOCHECKBOX as u32) | WS_TABSTOP.0;
[INFO] [stdout]     |                                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BS_AUTOCHECKBOX` in this scope
[INFO] [stdout]    --> src/main.rs:880:62
[INFO] [stdout]     |
[INFO] [stdout] 880 |                 let chk_style = WS_CHILD.0 | WS_VISIBLE.0 | (BS_AUTOCHECKBOX as u32) | WS_TABSTOP.0;
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_TABSTOP` in this scope
[INFO] [stdout]    --> src/main.rs:880:88
[INFO] [stdout]     |
[INFO] [stdout] 880 |                 let chk_style = WS_CHILD.0 | WS_VISIBLE.0 | (BS_AUTOCHECKBOX as u32) | WS_TABSTOP.0;
[INFO] [stdout]     |                                                                                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stdout]    --> src/main.rs:914:34
[INFO] [stdout]     |
[INFO] [stdout] 914 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[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/main.rs:914:47
[INFO] [stdout]     |
[INFO] [stdout] 914 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[INFO] [stdout]     |                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stdout]    --> src/main.rs:923:34
[INFO] [stdout]     |
[INFO] [stdout] 923 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | BS_PUSHBUTTON as u32),
[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/main.rs:923:47
[INFO] [stdout]     |
[INFO] [stdout] 923 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | BS_PUSHBUTTON as u32),
[INFO] [stdout]     |                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BS_PUSHBUTTON` in this scope
[INFO] [stdout]    --> src/main.rs:923:62
[INFO] [stdout]     |
[INFO] [stdout] 923 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | BS_PUSHBUTTON as u32),
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_CLIENTEDGE` in this scope
[INFO] [stdout]    --> src/main.rs:929:37
[INFO] [stdout]     |
[INFO] [stdout] 929 |                     WINDOW_EX_STYLE(WS_EX_CLIENTEDGE.0),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stdout]    --> src/main.rs:933:25
[INFO] [stdout]     |
[INFO] [stdout] 933 |                         WS_CHILD.0 | WS_VISIBLE.0 | ES_MULTILINE as u32
[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/main.rs:933:38
[INFO] [stdout]     |
[INFO] [stdout] 933 |                         WS_CHILD.0 | WS_VISIBLE.0 | ES_MULTILINE as u32
[INFO] [stdout]     |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ES_MULTILINE` in this scope
[INFO] [stdout]    --> src/main.rs:933:53
[INFO] [stdout]     |
[INFO] [stdout] 933 |                         WS_CHILD.0 | WS_VISIBLE.0 | ES_MULTILINE as u32
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ES_AUTOVSCROLL` in this scope
[INFO] [stdout]    --> src/main.rs:934:31
[INFO] [stdout]     |
[INFO] [stdout] 934 | ...                   | ES_AUTOVSCROLL as u32 | ES_READONLY as u32
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ES_READONLY` in this scope
[INFO] [stdout]    --> src/main.rs:934:55
[INFO] [stdout]     |
[INFO] [stdout] 934 | ...                   | ES_AUTOVSCROLL as u32 | ES_READONLY as u32
[INFO] [stdout]     |                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_VSCROLL` in this scope
[INFO] [stdout]    --> src/main.rs:935:31
[INFO] [stdout]     |
[INFO] [stdout] 935 | ...                   | WS_VSCROLL.0 | WS_TABSTOP.0,
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_TABSTOP` in this scope
[INFO] [stdout]    --> src/main.rs:935:46
[INFO] [stdout]     |
[INFO] [stdout] 935 | ...                   | WS_VSCROLL.0 | WS_TABSTOP.0,
[INFO] [stdout]     |                                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_SETICON` in this scope
[INFO] [stdout]    --> src/main.rs:966:44
[INFO] [stdout]     |
[INFO] [stdout] 966 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout]     |                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named constant `WM_SHELLICON` defined here
[INFO] [stdout]    --> src/main.rs:44:1
[INFO] [stdout]     |
[INFO] [stdout]  44 | const WM_SHELLICON: u32 = WM_USER + 1;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 966 -                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout] 966 +                 let _ = SendMessageW(hwnd, WM_SHELLICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_SETICON` in this scope
[INFO] [stdout]    --> src/main.rs:967:44
[INFO] [stdout]     |
[INFO] [stdout] 967 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout]     |                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named constant `WM_SHELLICON` defined here
[INFO] [stdout]    --> src/main.rs:44:1
[INFO] [stdout]     |
[INFO] [stdout]  44 | const WM_SHELLICON: u32 = WM_USER + 1;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 967 -                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout] 967 +                 let _ = SendMessageW(hwnd, WM_SHELLICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `OPAQUE` in this scope
[INFO] [stdout]    --> src/main.rs:974:47
[INFO] [stdout]     |
[INFO] [stdout] 974 |                 let _ = SetBkMode(hdc_static, OPAQUE);
[INFO] [stdout]     |                                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `OPAQUE` in this scope
[INFO] [stdout]    --> src/main.rs:983:44
[INFO] [stdout]     |
[INFO] [stdout] 983 |                 let _ = SetBkMode(hdc_btn, OPAQUE);
[INFO] [stdout]     |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `OPAQUE` in this scope
[INFO] [stdout]    --> src/main.rs:992:45
[INFO] [stdout]     |
[INFO] [stdout] 992 |                 let _ = SetBkMode(hdc_edit, OPAQUE);
[INFO] [stdout]     |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope
[INFO] [stdout]     --> src/main.rs:1041:42
[INFO] [stdout]      |
[INFO] [stdout] 1041 |                 let _ = ShowWindow(hwnd, SW_HIDE);
[INFO] [stdout]      |                                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]     --> src/main.rs:1050:32
[INFO] [stdout]      |
[INFO] [stdout] 1050 | fn create_status_window(hinst: HINSTANCE) -> HWND {
[INFO] [stdout]      |                                ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]     --> src/main.rs:1050:46
[INFO] [stdout]      |
[INFO] [stdout] 1050 | fn create_status_window(hinst: HINSTANCE) -> HWND {
[INFO] [stdout]      |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stdout]     --> src/main.rs:1053:18
[INFO] [stdout]      |
[INFO] [stdout] 1053 |         let wc = WNDCLASSW {
[INFO] [stdout]      |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stdout]     --> src/main.rs:1062:34
[INFO] [stdout]      |
[INFO] [stdout] 1062 |         let style = WINDOW_STYLE(WS_OVERLAPPEDWINDOW.0);
[INFO] [stdout]      |                                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]     --> src/main.rs:1068:13
[INFO] [stdout]      |
[INFO] [stdout] 1068 |             CW_USEDEFAULT,
[INFO] [stdout]      |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]     --> src/main.rs:1069:13
[INFO] [stdout]      |
[INFO] [stdout] 1069 |             CW_USEDEFAULT,
[INFO] [stdout]      |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]     --> src/main.rs:1084:20
[INFO] [stdout]      |
[INFO] [stdout] 1084 | fn show_menu(hwnd: HWND) {
[INFO] [stdout]      |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope
[INFO] [stdout]     --> src/main.rs:1097:29
[INFO] [stdout]      |
[INFO] [stdout] 1097 |             MENU_ITEM_FLAGS(MF_STRING.0 | if enabled { MF_CHECKED.0 } else { 0 }),
[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/main.rs:1097:56
[INFO] [stdout]      |
[INFO] [stdout] 1097 |             MENU_ITEM_FLAGS(MF_STRING.0 | if enabled { MF_CHECKED.0 } else { 0 }),
[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/main.rs:1103:29
[INFO] [stdout]      |
[INFO] [stdout] 1103 |             MENU_ITEM_FLAGS(MF_STRING.0 | if autostart { MF_CHECKED.0 } else { 0 }),
[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/main.rs:1103:58
[INFO] [stdout]      |
[INFO] [stdout] 1103 |             MENU_ITEM_FLAGS(MF_STRING.0 | if autostart { MF_CHECKED.0 } else { 0 }),
[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/main.rs:1110:29
[INFO] [stdout]      |
[INFO] [stdout] 1110 |             MENU_ITEM_FLAGS(MF_STRING.0 | if silent { MF_CHECKED.0 } else { 0 }),
[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/main.rs:1110:55
[INFO] [stdout]      |
[INFO] [stdout] 1110 |             MENU_ITEM_FLAGS(MF_STRING.0 | if silent { MF_CHECKED.0 } else { 0 }),
[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/main.rs:1116:29
[INFO] [stdout]      |
[INFO] [stdout] 1116 |             MENU_ITEM_FLAGS(MF_STRING.0 | if capturing { MF_CHECKED.0 } else { 0 }),
[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/main.rs:1116:58
[INFO] [stdout]      |
[INFO] [stdout] 1116 |             MENU_ITEM_FLAGS(MF_STRING.0 | if capturing { MF_CHECKED.0 } else { 0 }),
[INFO] [stdout]      |                                                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MF_SEPARATOR` in this scope
[INFO] [stdout]     --> src/main.rs:1120:36
[INFO] [stdout]      |
[INFO] [stdout] 1120 |         let _ = AppendMenuW(hmenu, MF_SEPARATOR, 0, PCWSTR::null());
[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/main.rs:1121:36
[INFO] [stdout]      |
[INFO] [stdout] 1121 |         let _ = AppendMenuW(hmenu, MF_STRING, ID_TRAY_EXIT as usize, to_pcw("退出"));
[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/main.rs:1126:44
[INFO] [stdout]      |
[INFO] [stdout] 1126 |         let flags = TRACK_POPUP_MENU_FLAGS(TPM_RIGHTBUTTON.0 | TPM_BOTTOMALIGN.0 | TPM_LEFTALIGN.0);
[INFO] [stdout]      |                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TPM_BOTTOMALIGN` in this scope
[INFO] [stdout]     --> src/main.rs:1126:64
[INFO] [stdout]      |
[INFO] [stdout] 1126 |         let flags = TRACK_POPUP_MENU_FLAGS(TPM_RIGHTBUTTON.0 | TPM_BOTTOMALIGN.0 | TPM_LEFTALIGN.0);
[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/main.rs:1126:84
[INFO] [stdout]      |
[INFO] [stdout] 1126 |         let flags = TRACK_POPUP_MENU_FLAGS(TPM_RIGHTBUTTON.0 | TPM_BOTTOMALIGN.0 | TPM_LEFTALIGN.0);
[INFO] [stdout]      |                                                                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_NULL` in this scope
[INFO] [stdout]     --> src/main.rs:1129:36
[INFO] [stdout]      |
[INFO] [stdout] 1129 |         let _ = PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0));
[INFO] [stdout]      |                                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]     --> src/main.rs:1184:35
[INFO] [stdout]      |
[INFO] [stdout] 1184 | extern "system" fn wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]      |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `WPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1184:59
[INFO] [stdout]      |
[INFO] [stdout] 1184 | extern "system" fn wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]      |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1184:75
[INFO] [stdout]      |
[INFO] [stdout] 1184 | extern "system" fn wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]      |                                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1184:86
[INFO] [stdout]      |
[INFO] [stdout] 1184 | extern "system" fn wnd_proc(hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stdout]      |                                                                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope
[INFO] [stdout]     --> src/main.rs:1241:38
[INFO] [stdout]      |
[INFO] [stdout] 1241 |         let _ = CoInitializeEx(None, COINIT_APARTMENTTHREADED);
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stdout]     --> src/main.rs:1246:18
[INFO] [stdout]      |
[INFO] [stdout] 1246 |         let wc = WNDCLASSW {
[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/main.rs:1265:13
[INFO] [stdout]      |
[INFO] [stdout] 1265 |             WS_POPUP,
[INFO] [stdout]      |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope
[INFO] [stdout]     --> src/main.rs:1281:36
[INFO] [stdout]      |
[INFO] [stdout] 1281 |             let _ = ShowWindow(sw, SW_HIDE);
[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/main.rs:1289:38
[INFO] [stdout]      |
[INFO] [stdout] 1289 |         let mods = HOT_KEY_MODIFIERS(MOD_CONTROL.0 | MOD_SHIFT.0);
[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/main.rs:1289:54
[INFO] [stdout]      |
[INFO] [stdout] 1289 |         let mods = HOT_KEY_MODIFIERS(MOD_CONTROL.0 | MOD_SHIFT.0);
[INFO] [stdout]      |                                                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_F9` in this scope
[INFO] [stdout]     --> src/main.rs:1290:47
[INFO] [stdout]      |
[INFO] [stdout] 1290 |         let _ = RegisterHotKey(hwnd, 1, mods, VK_F9.0 as u32);
[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:1310:40
[INFO] [stdout]      |
[INFO] [stdout] 1310 |                 let _ = ShowWindow(sw, 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 `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:113:57
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 let _ = PostMessageW(sw, WM_APPEND_LOG, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:113:68
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 let _ = PostMessageW(sw, WM_APPEND_LOG, WPARAM(0), LPARAM(0));
[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/main.rs:113:25
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 let _ = PostMessageW(sw, WM_APPEND_LOG, WPARAM(0), LPARAM(0));
[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:128:21
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let _ = ShowWindow(hwnd, SW_HIDE);
[INFO] [stdout]     |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDPIAware` in this scope
[INFO] [stdout]    --> src/main.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let _ = SetProcessDPIAware();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AccessibleObjectFromEvent` in this scope
[INFO] [stdout]    --> src/main.rs:146:17
[INFO] [stdout]     |
[INFO] [stdout] 146 |         let r = AccessibleObjectFromEvent(hwnd, obj as u32, child as u32, &mut acc, &mut var);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]    --> src/main.rs:165:18
[INFO] [stdout]     |
[INFO] [stdout] 165 |         let fg = GetForegroundWindow();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope
[INFO] [stdout]    --> src/main.rs:170:19
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let len = GetWindowTextW(fg, &mut text);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]    --> src/main.rs:181:18
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let fg = GetForegroundWindow();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImmGetDefaultIMEWnd` in this scope
[INFO] [stdout]    --> src/main.rs:185:23
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let ime_wnd = ImmGetDefaultIMEWnd(fg);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:190:51
[INFO] [stdout]     |
[INFO] [stdout] 190 |         SendMessageW(ime_wnd, WM_IME_CONTROL_CMD, WPARAM(IMC_SETOPENSTATUS_CMD), LPARAM(1));
[INFO] [stdout]     |                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:190:82
[INFO] [stdout]     |
[INFO] [stdout] 190 |         SendMessageW(ime_wnd, WM_IME_CONTROL_CMD, WPARAM(IMC_SETOPENSTATUS_CMD), LPARAM(1));
[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/main.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |         SendMessageW(ime_wnd, WM_IME_CONTROL_CMD, WPARAM(IMC_SETOPENSTATUS_CMD), LPARAM(1));
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:294:32
[INFO] [stdout]     |
[INFO] [stdout] 294 |             unsafe { LoadIconW(HINSTANCE::default(), IDI_INFORMATION).unwrap_or_default() }
[INFO] [stdout]     |                                ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope
[INFO] [stdout]    --> src/main.rs:294:22
[INFO] [stdout]     |
[INFO] [stdout] 294 |             unsafe { LoadIconW(HINSTANCE::default(), IDI_INFORMATION).unwrap_or_default() }
[INFO] [stdout]     |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:333:25
[INFO] [stdout]     |
[INFO] [stdout] 333 |         let hdc = GetDC(HWND::default());
[INFO] [stdout]     |                         ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stdout]    --> src/main.rs:333:19
[INFO] [stdout]     |
[INFO] [stdout] 333 |         let hdc = GetDC(HWND::default());
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/main.rs:339:13
[INFO] [stdout]     |
[INFO] [stdout] 339 |             HANDLE::default(),
[INFO] [stdout]     |             ^^^^^^ use of undeclared type `HANDLE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDIBSection` in this scope
[INFO] [stdout]    --> src/main.rs:334:20
[INFO] [stdout]     |
[INFO] [stdout] 334 |         let hbmp = CreateDIBSection(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:343:19
[INFO] [stdout]     |
[INFO] [stdout] 343 |         ReleaseDC(HWND::default(), hdc);
[INFO] [stdout]     |                   ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope
[INFO] [stdout]    --> src/main.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         ReleaseDC(HWND::default(), hdc);
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateBitmap` in this scope
[INFO] [stdout]    --> src/main.rs:361:21
[INFO] [stdout]     |
[INFO] [stdout] 361 |         let hmask = CreateBitmap(w, h, 1, 1, Some(mask.as_ptr() as *const core::ffi::c_void));
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateIconIndirect` in this scope
[INFO] [stdout]    --> src/main.rs:364:20
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let icon = CreateIconIndirect(&ii).ok()?;
[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/main.rs:365:17
[INFO] [stdout]     |
[INFO] [stdout] 365 |         let _ = DeleteObject(hbmp);
[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/main.rs:366:17
[INFO] [stdout]     |
[INFO] [stdout] 366 |         let _ = DeleteObject(hmask);
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NOTIFY_ICON_DATA_FLAGS` in this scope
[INFO] [stdout]    --> src/main.rs:380:21
[INFO] [stdout]     |
[INFO] [stdout] 380 |             uFlags: NOTIFY_ICON_DATA_FLAGS(NIF_MESSAGE.0 | NIF_ICON.0 | NIF_TIP.0),
[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/main.rs:386:9
[INFO] [stdout]     |
[INFO] [stdout] 386 |         Shell_NotifyIconW(NIM_ADD, &nid).as_bool()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HICON` in this scope
[INFO] [stdout]    --> src/main.rs:399:9
[INFO] [stdout]     |
[INFO] [stdout] 399 |         HICON(raw as *mut core::ffi::c_void)
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `COLORREF` in this scope
[INFO] [stdout]    --> src/main.rs:414:5
[INFO] [stdout]     |
[INFO] [stdout] 414 |     COLORREF((r as u32) | ((g as u32) << 8) | ((b as u32) << 16))
[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/main.rs:425:27
[INFO] [stdout]     |
[INFO] [stdout] 425 |         let br = unsafe { CreateSolidBrush(bg_color()) };
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HBRUSH` in this scope
[INFO] [stdout]    --> src/main.rs:429:9
[INFO] [stdout]     |
[INFO] [stdout] 429 |         HBRUSH(raw as *mut core::ffi::c_void)
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:439:25
[INFO] [stdout]     |
[INFO] [stdout] 439 |         let hdc = GetDC(HWND::default());
[INFO] [stdout]     |                         ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stdout]    --> src/main.rs:439:19
[INFO] [stdout]     |
[INFO] [stdout] 439 |         let hdc = GetDC(HWND::default());
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDeviceCaps` in this scope
[INFO] [stdout]    --> src/main.rs:440:19
[INFO] [stdout]     |
[INFO] [stdout] 440 |         let dpi = GetDeviceCaps(hdc, LOGPIXELSY);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:441:27
[INFO] [stdout]     |
[INFO] [stdout] 441 |         let _ = ReleaseDC(HWND::default(), hdc);
[INFO] [stdout]     |                           ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope
[INFO] [stdout]    --> src/main.rs:441:17
[INFO] [stdout]     |
[INFO] [stdout] 441 |         let _ = ReleaseDC(HWND::default(), hdc);
[INFO] [stdout]     |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `NONCLIENTMETRICSW` in this scope
[INFO] [stdout]    --> src/main.rs:445:23
[INFO] [stdout]     |
[INFO] [stdout] 445 |         let mut ncm = NONCLIENTMETRICSW::default();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ use of undeclared type `NONCLIENTMETRICSW`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SYSTEM_PARAMETERS_INFO_UPDATE_FLAGS` in this scope
[INFO] [stdout]    --> src/main.rs:451:13
[INFO] [stdout]     |
[INFO] [stdout] 451 |             SYSTEM_PARAMETERS_INFO_UPDATE_FLAGS(0),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SystemParametersInfoW` in this scope
[INFO] [stdout]    --> src/main.rs:447:25
[INFO] [stdout]     |
[INFO] [stdout] 447 |         let mut lf = if SystemParametersInfoW(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `LOGFONTW` in this scope
[INFO] [stdout]    --> src/main.rs:457:13
[INFO] [stdout]     |
[INFO] [stdout] 457 |             LOGFONTW::default()
[INFO] [stdout]     |             ^^^^^^^^ use of undeclared type `LOGFONTW`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFontIndirectW` in this scope
[INFO] [stdout]    --> src/main.rs:463:9
[INFO] [stdout]     |
[INFO] [stdout] 463 |         CreateFontIndirectW(&lf)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HFONT` in this scope
[INFO] [stdout]    --> src/main.rs:474:9
[INFO] [stdout]     |
[INFO] [stdout] 474 |         HFONT(raw as *mut core::ffi::c_void)
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HFONT` in this scope
[INFO] [stdout]    --> src/main.rs:485:9
[INFO] [stdout]     |
[INFO] [stdout] 485 |         HFONT(raw as *mut core::ffi::c_void)
[INFO] [stdout]     |         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:495:13
[INFO] [stdout]     |
[INFO] [stdout] 495 |             WPARAM(get_ui_font().0 as usize),
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:496:13
[INFO] [stdout]     |
[INFO] [stdout] 496 |             LPARAM(1),
[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/main.rs:492:17
[INFO] [stdout]     |
[INFO] [stdout] 492 |         let _ = SendMessageW(
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:506:13
[INFO] [stdout]     |
[INFO] [stdout] 506 |             WPARAM(get_title_font().0 as usize),
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:507:13
[INFO] [stdout]     |
[INFO] [stdout] 507 |             LPARAM(1),
[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/main.rs:503:17
[INFO] [stdout]     |
[INFO] [stdout] 503 |         let _ = SendMessageW(
[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/main.rs:520:17
[INFO] [stdout]     |
[INFO] [stdout] 520 |         let _ = Shell_NotifyIconW(NIM_DELETE, &nid);
[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/main.rs:536:17
[INFO] [stdout]     |
[INFO] [stdout] 536 |         let _ = Shell_NotifyIconW(NIM_MODIFY, &nid);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:545:16
[INFO] [stdout]     |
[INFO] [stdout] 545 |         return HWND::default();
[INFO] [stdout]     |                ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDlgItem` in this scope
[INFO] [stdout]    --> src/main.rs:547:14
[INFO] [stdout]     |
[INFO] [stdout] 547 |     unsafe { GetDlgItem(parent, id as i32).unwrap_or_default() }
[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:555:21
[INFO] [stdout]     |
[INFO] [stdout] 555 |             let _ = ShowWindow(h, 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 `ShowWindow` in this scope
[INFO] [stdout]    --> src/main.rs:556:21
[INFO] [stdout]     |
[INFO] [stdout] 556 |             let _ = ShowWindow(h, 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:557:21
[INFO] [stdout]     |
[INFO] [stdout] 557 |             let _ = SetForegroundWindow(h);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextW` in this scope
[INFO] [stdout]    --> src/main.rs:575:22
[INFO] [stdout]     |
[INFO] [stdout] 575 |     unsafe { let _ = SetWindowTextW(h, to_pcw(&s)); }
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:584:46
[INFO] [stdout]     |
[INFO] [stdout] 584 |         let _ = SendMessageW(h, BM_SETCHECK, WPARAM(if checked { BST_CHECKED.0 } else { BST_UNCHECKED.0 } as usize), LPARAM(0));
[INFO] [stdout]     |                                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:584:118
[INFO] [stdout]     |
[INFO] [stdout] 584 |         let _ = SendMessageW(h, BM_SETCHECK, WPARAM(if checked { BST_CHECKED.0 } else { BST_UNCHECKED.0 } as usize), LPARAM(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/main.rs:584:17
[INFO] [stdout]     |
[INFO] [stdout] 584 |         let _ = SendMessageW(h, BM_SETCHECK, WPARAM(if checked { BST_CHECKED.0 } else { BST_UNCHECKED.0 } as usize), LPARAM(0));
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:594:38
[INFO] [stdout]     |
[INFO] [stdout] 594 |         SendMessageW(h, BM_GETCHECK, WPARAM(0), LPARAM(0)).0 == BST_CHECKED.0 as isize
[INFO] [stdout]     |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:594:49
[INFO] [stdout]     |
[INFO] [stdout] 594 |         SendMessageW(h, BM_GETCHECK, WPARAM(0), LPARAM(0)).0 == BST_CHECKED.0 as isize
[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/main.rs:594:9
[INFO] [stdout]     |
[INFO] [stdout] 594 |         SendMessageW(h, BM_GETCHECK, WPARAM(0), LPARAM(0)).0 == BST_CHECKED.0 as isize
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/main.rs:688:34
[INFO] [stdout]     |
[INFO] [stdout] 688 |             let mut hkey: HKEY = HKEY::default();
[INFO] [stdout]     |                                  ^^^^ use of undeclared type `HKEY`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCreateKeyW` in this scope
[INFO] [stdout]    --> src/main.rs:689:21
[INFO] [stdout]     |
[INFO] [stdout] 689 |             let r = RegCreateKeyW(
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:699:42
[INFO] [stdout]     |
[INFO] [stdout] 699 |             let len = GetModuleFileNameW(HINSTANCE::default(), &mut path);
[INFO] [stdout]     |                                          ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameW` in this scope
[INFO] [stdout]    --> src/main.rs:699:23
[INFO] [stdout]     |
[INFO] [stdout] 699 |             let len = GetModuleFileNameW(HINSTANCE::default(), &mut path);
[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/main.rs:707:21
[INFO] [stdout]     |
[INFO] [stdout] 707 |             let _ = RegSetValueExW(
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCloseKey` in this scope
[INFO] [stdout]    --> src/main.rs:714:21
[INFO] [stdout]     |
[INFO] [stdout] 714 |             let _ = RegCloseKey(hkey);
[INFO] [stdout]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/main.rs:716:34
[INFO] [stdout]     |
[INFO] [stdout] 716 |             let mut hkey: HKEY = HKEY::default();
[INFO] [stdout]     |                                  ^^^^ use of undeclared type `HKEY`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegOpenKeyExW` in this scope
[INFO] [stdout]    --> src/main.rs:717:21
[INFO] [stdout]     |
[INFO] [stdout] 717 |             let r = RegOpenKeyExW(
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegDeleteValueW` in this scope
[INFO] [stdout]    --> src/main.rs:727:21
[INFO] [stdout]     |
[INFO] [stdout] 727 |             let _ = RegDeleteValueW(hkey, to_pcw(AUTOSTART_VAL));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCloseKey` in this scope
[INFO] [stdout]    --> src/main.rs:728:21
[INFO] [stdout]     |
[INFO] [stdout] 728 |             let _ = RegCloseKey(hkey);
[INFO] [stdout]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in this scope
[INFO] [stdout]    --> src/main.rs:741:25
[INFO] [stdout]     |
[INFO] [stdout] 741 |         if let Ok(sw) = FindWindowW(to_pcw("ime-lock-status-class"), None) {
[INFO] [stdout]     |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AllowSetForegroundWindow` in this scope
[INFO] [stdout]    --> src/main.rs:744:25
[INFO] [stdout]     |
[INFO] [stdout] 744 |                 let _ = AllowSetForegroundWindow(ASFW_ANY);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:745:61
[INFO] [stdout]     |
[INFO] [stdout] 745 |                 let _ = PostMessageW(sw, WM_BRING_TO_FRONT, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:745:72
[INFO] [stdout]     |
[INFO] [stdout] 745 |                 let _ = PostMessageW(sw, WM_BRING_TO_FRONT, WPARAM(0), LPARAM(0));
[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/main.rs:745:25
[INFO] [stdout]     |
[INFO] [stdout] 745 |                 let _ = PostMessageW(sw, WM_BRING_TO_FRONT, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BOOL` in this scope
[INFO] [stdout]    --> src/main.rs:761:34
[INFO] [stdout]     |
[INFO] [stdout] 761 |         match CreateMutexW(None, BOOL(1), mutex_name) {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateMutexW` in this scope
[INFO] [stdout]    --> src/main.rs:761:15
[INFO] [stdout]     |
[INFO] [stdout] 761 |         match CreateMutexW(None, BOOL(1), mutex_name) {
[INFO] [stdout]     |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:764:20
[INFO] [stdout]     |
[INFO] [stdout] 764 |                 if GetLastError() == ERROR_ALREADY_EXISTS {
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextW` in this scope
[INFO] [stdout]    --> src/main.rs:789:22
[INFO] [stdout]     |
[INFO] [stdout] 789 |     unsafe { let _ = SetWindowTextW(h, to_pcw(label)); }
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextW` in this scope
[INFO] [stdout]    --> src/main.rs:803:17
[INFO] [stdout]     |
[INFO] [stdout] 803 |         let _ = SetWindowTextW(edit, to_pcw(&text));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:804:47
[INFO] [stdout]     |
[INFO] [stdout] 804 |         let _ = SendMessageW(edit, EM_SETSEL, WPARAM(text.len()), LPARAM(text.len() as isize));
[INFO] [stdout]     |                                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:804:67
[INFO] [stdout]     |
[INFO] [stdout] 804 |         let _ = SendMessageW(edit, EM_SETSEL, WPARAM(text.len()), LPARAM(text.len() as isize));
[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/main.rs:804:17
[INFO] [stdout]     |
[INFO] [stdout] 804 |         let _ = SendMessageW(edit, EM_SETSEL, WPARAM(text.len()), LPARAM(text.len() as isize));
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:805:52
[INFO] [stdout]     |
[INFO] [stdout] 805 |         let _ = SendMessageW(edit, EM_SCROLLCARET, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:805:63
[INFO] [stdout]     |
[INFO] [stdout] 805 |         let _ = SendMessageW(edit, EM_SCROLLCARET, WPARAM(0), LPARAM(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/main.rs:805:17
[INFO] [stdout]     |
[INFO] [stdout] 805 |         let _ = SendMessageW(edit, EM_SCROLLCARET, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:818:36
[INFO] [stdout]     |
[INFO] [stdout] 818 |         let _ = SetWindowPos(edit, HWND::default(), MARGIN, edit_top, cx - MARGIN * 2, new_h, SWP_NOZORDER);
[INFO] [stdout]     |                                    ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope
[INFO] [stdout]    --> src/main.rs:818:17
[INFO] [stdout]     |
[INFO] [stdout] 818 |         let _ = SetWindowPos(edit, HWND::default(), MARGIN, edit_top, cx - MARGIN * 2, new_h, SWP_NOZORDER);
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:829:5
[INFO] [stdout]     |
[INFO] [stdout] 829 |     HWND(STATUS_HWND.load(Ordering::Relaxed) as *mut core::ffi::c_void)
[INFO] [stdout]     |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:835:5
[INFO] [stdout]     |
[INFO] [stdout] 835 |     HWND(MAIN_HWND.load(Ordering::Relaxed) as *mut core::ffi::c_void)
[INFO] [stdout]     |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:862:21
[INFO] [stdout]     |
[INFO] [stdout] 862 |                     WINDOW_EX_STYLE(0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:865:21
[INFO] [stdout]     |
[INFO] [stdout] 865 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:867:27
[INFO] [stdout]     |
[INFO] [stdout] 867 |                     hwnd, HMENU(ID_TITLE_TEXT as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:868:21
[INFO] [stdout]     |
[INFO] [stdout] 868 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:861:30
[INFO] [stdout]     |
[INFO] [stdout] 861 |                 let _title = CreateWindowExW(
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:871:21
[INFO] [stdout]     |
[INFO] [stdout] 871 |                     WINDOW_EX_STYLE(0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:874:21
[INFO] [stdout]     |
[INFO] [stdout] 874 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:876:27
[INFO] [stdout]     |
[INFO] [stdout] 876 |                     hwnd, HMENU(ID_STATUS_TEXT as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:877:21
[INFO] [stdout]     |
[INFO] [stdout] 877 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:870:31
[INFO] [stdout]     |
[INFO] [stdout] 870 |                 let _status = CreateWindowExW(
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:882:21
[INFO] [stdout]     |
[INFO] [stdout] 882 |                     WINDOW_EX_STYLE(0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:885:21
[INFO] [stdout]     |
[INFO] [stdout] 885 |                     WINDOW_STYLE(chk_style),
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:887:27
[INFO] [stdout]     |
[INFO] [stdout] 887 |                     hwnd, HMENU(ID_CHK_ENABLE as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:888:21
[INFO] [stdout]     |
[INFO] [stdout] 888 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:881:35
[INFO] [stdout]     |
[INFO] [stdout] 881 |                 let _chk_enable = CreateWindowExW(
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:892:21
[INFO] [stdout]     |
[INFO] [stdout] 892 |                     WINDOW_EX_STYLE(0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:895:21
[INFO] [stdout]     |
[INFO] [stdout] 895 |                     WINDOW_STYLE(chk_style),
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:897:27
[INFO] [stdout]     |
[INFO] [stdout] 897 |                     hwnd, HMENU(ID_CHK_AUTOSTART as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:898:21
[INFO] [stdout]     |
[INFO] [stdout] 898 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:891:38
[INFO] [stdout]     |
[INFO] [stdout] 891 |                 let _chk_autostart = CreateWindowExW(
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:902:21
[INFO] [stdout]     |
[INFO] [stdout] 902 |                     WINDOW_EX_STYLE(0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:905:21
[INFO] [stdout]     |
[INFO] [stdout] 905 |                     WINDOW_STYLE(chk_style),
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:907:27
[INFO] [stdout]     |
[INFO] [stdout] 907 |                     hwnd, HMENU(ID_CHK_SILENT as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:908:21
[INFO] [stdout]     |
[INFO] [stdout] 908 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:901:35
[INFO] [stdout]     |
[INFO] [stdout] 901 |                 let _chk_silent = CreateWindowExW(
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:911:21
[INFO] [stdout]     |
[INFO] [stdout] 911 |                     WINDOW_EX_STYLE(0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:914:21
[INFO] [stdout]     |
[INFO] [stdout] 914 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | SS_LEFT),
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:916:27
[INFO] [stdout]     |
[INFO] [stdout] 916 |                     hwnd, HMENU(ID_HINT_TEXT as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:917:21
[INFO] [stdout]     |
[INFO] [stdout] 917 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:910:29
[INFO] [stdout]     |
[INFO] [stdout] 910 |                 let _hint = CreateWindowExW(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:920:21
[INFO] [stdout]     |
[INFO] [stdout] 920 |                     WINDOW_EX_STYLE(0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:923:21
[INFO] [stdout]     |
[INFO] [stdout] 923 |                     WINDOW_STYLE(WS_CHILD.0 | WS_VISIBLE.0 | BS_PUSHBUTTON 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 `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:925:27
[INFO] [stdout]     |
[INFO] [stdout] 925 |                     hwnd, HMENU(ID_BTN_CAPTURE as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:926:21
[INFO] [stdout]     |
[INFO] [stdout] 926 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:919:28
[INFO] [stdout]     |
[INFO] [stdout] 919 |                 let _btn = CreateWindowExW(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:929:21
[INFO] [stdout]     |
[INFO] [stdout] 929 |                     WINDOW_EX_STYLE(WS_EX_CLIENTEDGE.0),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/main.rs:932:21
[INFO] [stdout]     |
[INFO] [stdout] 932 |                     WINDOW_STYLE(
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/main.rs:938:27
[INFO] [stdout]     |
[INFO] [stdout] 938 |                     hwnd, HMENU(ID_EDIT_LOG as *mut core::ffi::c_void),
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]    --> src/main.rs:939:21
[INFO] [stdout]     |
[INFO] [stdout] 939 |                     HINSTANCE::default(), None,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `HINSTANCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:928:29
[INFO] [stdout]     |
[INFO] [stdout] 928 |                 let _edit = CreateWindowExW(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:966:56
[INFO] [stdout]     |
[INFO] [stdout] 966 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout]     |                                                        ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 966 -                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout] 966 +                 let _ = SendMessageW(hwnd, WM_SETICON, wparam(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:966:67
[INFO] [stdout]     |
[INFO] [stdout] 966 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout]     |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 966 -                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout] 966 +                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), lparam(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:966:25
[INFO] [stdout]     |
[INFO] [stdout] 966 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(0), LPARAM(icon.0 as isize)); // ICON_SMALL
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:967:56
[INFO] [stdout]     |
[INFO] [stdout] 967 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout]     |                                                        ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 967 -                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout] 967 +                 let _ = SendMessageW(hwnd, WM_SETICON, wparam(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:967:67
[INFO] [stdout]     |
[INFO] [stdout] 967 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout]     |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 967 -                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout] 967 +                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), lparam(icon.0 as isize)); // ICON_BIG
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:967:25
[INFO] [stdout]     |
[INFO] [stdout] 967 |                 let _ = SendMessageW(hwnd, WM_SETICON, WPARAM(1), LPARAM(icon.0 as isize)); // ICON_BIG
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]    --> src/main.rs:969:17
[INFO] [stdout]     |
[INFO] [stdout] 969 |                 LRESULT(0)
[INFO] [stdout]     |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HDC` in this scope
[INFO] [stdout]    --> src/main.rs:972:34
[INFO] [stdout]     |
[INFO] [stdout] 972 |                 let hdc_static = HDC(wparam.0 as *mut core::ffi::c_void);
[INFO] [stdout]     |                                  ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkMode` in this scope
[INFO] [stdout]    --> src/main.rs:974:25
[INFO] [stdout]     |
[INFO] [stdout] 974 |                 let _ = SetBkMode(hdc_static, OPAQUE);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkColor` in this scope
[INFO] [stdout]    --> src/main.rs:975:25
[INFO] [stdout]     |
[INFO] [stdout] 975 |                 let _ = SetBkColor(hdc_static, bg_color());
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTextColor` in this scope
[INFO] [stdout]    --> src/main.rs:976:25
[INFO] [stdout]     |
[INFO] [stdout] 976 |                 let _ = SetTextColor(hdc_static, rgb(24, 28, 34));
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]    --> src/main.rs:978:17
[INFO] [stdout]     |
[INFO] [stdout] 978 |                 LRESULT(br.0 as isize)
[INFO] [stdout]     |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HDC` in this scope
[INFO] [stdout]    --> src/main.rs:982:31
[INFO] [stdout]     |
[INFO] [stdout] 982 |                 let hdc_btn = HDC(wparam.0 as *mut core::ffi::c_void);
[INFO] [stdout]     |                               ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkMode` in this scope
[INFO] [stdout]    --> src/main.rs:983:25
[INFO] [stdout]     |
[INFO] [stdout] 983 |                 let _ = SetBkMode(hdc_btn, OPAQUE);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkColor` in this scope
[INFO] [stdout]    --> src/main.rs:984:25
[INFO] [stdout]     |
[INFO] [stdout] 984 |                 let _ = SetBkColor(hdc_btn, bg_color());
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTextColor` in this scope
[INFO] [stdout]    --> src/main.rs:985:25
[INFO] [stdout]     |
[INFO] [stdout] 985 |                 let _ = SetTextColor(hdc_btn, rgb(24, 28, 34));
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]    --> src/main.rs:987:17
[INFO] [stdout]     |
[INFO] [stdout] 987 |                 LRESULT(br.0 as isize)
[INFO] [stdout]     |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HDC` in this scope
[INFO] [stdout]    --> src/main.rs:991:32
[INFO] [stdout]     |
[INFO] [stdout] 991 |                 let hdc_edit = HDC(wparam.0 as *mut core::ffi::c_void);
[INFO] [stdout]     |                                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkMode` in this scope
[INFO] [stdout]    --> src/main.rs:992:25
[INFO] [stdout]     |
[INFO] [stdout] 992 |                 let _ = SetBkMode(hdc_edit, OPAQUE);
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkColor` in this scope
[INFO] [stdout]    --> src/main.rs:993:25
[INFO] [stdout]     |
[INFO] [stdout] 993 |                 let _ = SetBkColor(hdc_edit, bg_color());
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTextColor` in this scope
[INFO] [stdout]    --> src/main.rs:994:25
[INFO] [stdout]     |
[INFO] [stdout] 994 |                 let _ = SetTextColor(hdc_edit, rgb(24, 28, 34));
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]    --> src/main.rs:996:17
[INFO] [stdout]     |
[INFO] [stdout] 996 |                 LRESULT(br.0 as isize)
[INFO] [stdout]     |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1002:17
[INFO] [stdout]      |
[INFO] [stdout] 1002 |                 LRESULT(0)
[INFO] [stdout]      |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1006:17
[INFO] [stdout]      |
[INFO] [stdout] 1006 |                 LRESULT(0)
[INFO] [stdout]      |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1010:17
[INFO] [stdout]      |
[INFO] [stdout] 1010 |                 LRESULT(0)
[INFO] [stdout]      |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1015:17
[INFO] [stdout]      |
[INFO] [stdout] 1015 |                 LRESULT(0)
[INFO] [stdout]      |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1038:17
[INFO] [stdout]      |
[INFO] [stdout] 1038 |                 LRESULT(0)
[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:1041:25
[INFO] [stdout]      |
[INFO] [stdout] 1041 |                 let _ = ShowWindow(hwnd, SW_HIDE);
[INFO] [stdout]      |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1042:17
[INFO] [stdout]      |
[INFO] [stdout] 1042 |                 LRESULT(0)
[INFO] [stdout]      |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1044:27
[INFO] [stdout]      |
[INFO] [stdout] 1044 |             WM_DESTROY => LRESULT(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/main.rs:1045:18
[INFO] [stdout]      |
[INFO] [stdout] 1045 |             _ => 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 `RegisterClassW` in this scope
[INFO] [stdout]     --> src/main.rs:1060:17
[INFO] [stdout]      |
[INFO] [stdout] 1060 |         let _ = RegisterClassW(&wc);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]     --> src/main.rs:1062:21
[INFO] [stdout]      |
[INFO] [stdout] 1062 |         let style = WINDOW_STYLE(WS_OVERLAPPEDWINDOW.0);
[INFO] [stdout]      |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]     --> src/main.rs:1064:13
[INFO] [stdout]      |
[INFO] [stdout] 1064 |             WINDOW_EX_STYLE(0),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]     --> src/main.rs:1072:13
[INFO] [stdout]      |
[INFO] [stdout] 1072 |             HWND::default(),
[INFO] [stdout]      |             ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HMENU` in this scope
[INFO] [stdout]     --> src/main.rs:1073:13
[INFO] [stdout]      |
[INFO] [stdout] 1073 |             HMENU::default(),
[INFO] [stdout]      |             ^^^^^ use of undeclared type `HMENU`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]     --> src/main.rs:1063:20
[INFO] [stdout]      |
[INFO] [stdout] 1063 |         let hwnd = CreateWindowExW(
[INFO] [stdout]      |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]     --> src/main.rs:1077:20
[INFO] [stdout]      |
[INFO] [stdout] 1077 |         .unwrap_or(HWND::default());
[INFO] [stdout]      |                    ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePopupMenu` in this scope
[INFO] [stdout]     --> src/main.rs:1086:21
[INFO] [stdout]      |
[INFO] [stdout] 1086 |         let hmenu = CreatePopupMenu().unwrap_or(HMENU::default());
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HMENU` in this scope
[INFO] [stdout]     --> src/main.rs:1086:49
[INFO] [stdout]      |
[INFO] [stdout] 1086 |         let hmenu = CreatePopupMenu().unwrap_or(HMENU::default());
[INFO] [stdout]      |                                                 ^^^^^ use of undeclared type `HMENU`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MENU_ITEM_FLAGS` in this scope
[INFO] [stdout]     --> src/main.rs:1097:13
[INFO] [stdout]      |
[INFO] [stdout] 1097 |             MENU_ITEM_FLAGS(MF_STRING.0 | if enabled { MF_CHECKED.0 } else { 0 }),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]     --> src/main.rs:1095:17
[INFO] [stdout]      |
[INFO] [stdout] 1095 |         let _ = AppendMenuW(
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MENU_ITEM_FLAGS` in this scope
[INFO] [stdout]     --> src/main.rs:1103:13
[INFO] [stdout]      |
[INFO] [stdout] 1103 |             MENU_ITEM_FLAGS(MF_STRING.0 | if autostart { MF_CHECKED.0 } else { 0 }),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]     --> src/main.rs:1101:17
[INFO] [stdout]      |
[INFO] [stdout] 1101 |         let _ = AppendMenuW(
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MENU_ITEM_FLAGS` in this scope
[INFO] [stdout]     --> src/main.rs:1110:13
[INFO] [stdout]      |
[INFO] [stdout] 1110 |             MENU_ITEM_FLAGS(MF_STRING.0 | if silent { MF_CHECKED.0 } else { 0 }),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]     --> src/main.rs:1108:17
[INFO] [stdout]      |
[INFO] [stdout] 1108 |         let _ = AppendMenuW(
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MENU_ITEM_FLAGS` in this scope
[INFO] [stdout]     --> src/main.rs:1116:13
[INFO] [stdout]      |
[INFO] [stdout] 1116 |             MENU_ITEM_FLAGS(MF_STRING.0 | if capturing { MF_CHECKED.0 } else { 0 }),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]     --> src/main.rs:1114:17
[INFO] [stdout]      |
[INFO] [stdout] 1114 |         let _ = AppendMenuW(
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]     --> src/main.rs:1120:17
[INFO] [stdout]      |
[INFO] [stdout] 1120 |         let _ = AppendMenuW(hmenu, MF_SEPARATOR, 0, PCWSTR::null());
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]     --> src/main.rs:1121:17
[INFO] [stdout]      |
[INFO] [stdout] 1121 |         let _ = AppendMenuW(hmenu, MF_STRING, ID_TRAY_EXIT as usize, to_pcw("退出"));
[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:1123:17
[INFO] [stdout]      |
[INFO] [stdout] 1123 |         let _ = SetForegroundWindow(hwnd);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `POINT` in this scope
[INFO] [stdout]     --> src/main.rs:1124:22
[INFO] [stdout]      |
[INFO] [stdout] 1124 |         let mut pt = POINT::default();
[INFO] [stdout]      |                      ^^^^^ use of undeclared type `POINT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stdout]     --> src/main.rs:1125:17
[INFO] [stdout]      |
[INFO] [stdout] 1125 |         let _ = GetCursorPos(&mut pt);
[INFO] [stdout]      |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TRACK_POPUP_MENU_FLAGS` in this scope
[INFO] [stdout]     --> src/main.rs:1126:21
[INFO] [stdout]      |
[INFO] [stdout] 1126 |         let flags = TRACK_POPUP_MENU_FLAGS(TPM_RIGHTBUTTON.0 | TPM_BOTTOMALIGN.0 | TPM_LEFTALIGN.0);
[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/main.rs:1127:17
[INFO] [stdout]      |
[INFO] [stdout] 1127 |         let _ = TrackPopupMenu(hmenu, flags, pt.x, pt.y, 0, hwnd, None);
[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/main.rs:1128:17
[INFO] [stdout]      |
[INFO] [stdout] 1128 |         let _ = DestroyMenu(hmenu);
[INFO] [stdout]      |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1129:45
[INFO] [stdout]      |
[INFO] [stdout] 1129 |         let _ = PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0));
[INFO] [stdout]      |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1129:56
[INFO] [stdout]      |
[INFO] [stdout] 1129 |         let _ = PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0));
[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/main.rs:1129:17
[INFO] [stdout]      |
[INFO] [stdout] 1129 |         let _ = PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0));
[INFO] [stdout]      |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1149:61
[INFO] [stdout]      |
[INFO] [stdout] 1149 |         unsafe { let _ = PostMessageW(sw, WM_UPDATE_STATUS, WPARAM(0), LPARAM(0)); }
[INFO] [stdout]      |                                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1149:72
[INFO] [stdout]      |
[INFO] [stdout] 1149 |         unsafe { let _ = PostMessageW(sw, WM_UPDATE_STATUS, WPARAM(0), LPARAM(0)); }
[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/main.rs:1149:26
[INFO] [stdout]      |
[INFO] [stdout] 1149 |         unsafe { let _ = PostMessageW(sw, WM_UPDATE_STATUS, WPARAM(0), LPARAM(0)); }
[INFO] [stdout]      |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1169:61
[INFO] [stdout]      |
[INFO] [stdout] 1169 |         unsafe { let _ = PostMessageW(sw, WM_UPDATE_STATUS, WPARAM(0), LPARAM(0)); }
[INFO] [stdout]      |                                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]     --> src/main.rs:1169:72
[INFO] [stdout]      |
[INFO] [stdout] 1169 |         unsafe { let _ = PostMessageW(sw, WM_UPDATE_STATUS, WPARAM(0), LPARAM(0)); }
[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/main.rs:1169:26
[INFO] [stdout]      |
[INFO] [stdout] 1169 |         unsafe { let _ = PostMessageW(sw, WM_UPDATE_STATUS, WPARAM(0), LPARAM(0)); }
[INFO] [stdout]      |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1190:21
[INFO] [stdout]      |
[INFO] [stdout] 1190 |                     LRESULT(0)
[INFO] [stdout]      |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1194:21
[INFO] [stdout]      |
[INFO] [stdout] 1194 |                     LRESULT(0)
[INFO] [stdout]      |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1196:22
[INFO] [stdout]      |
[INFO] [stdout] 1196 |                 _ => LRESULT(0),
[INFO] [stdout]      |                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1201:17
[INFO] [stdout]      |
[INFO] [stdout] 1201 |                 LRESULT(0)
[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/main.rs:1206:25
[INFO] [stdout]      |
[INFO] [stdout] 1206 |                         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 `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1223:17
[INFO] [stdout]      |
[INFO] [stdout] 1223 |                 LRESULT(0)
[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/main.rs:1226:17
[INFO] [stdout]      |
[INFO] [stdout] 1226 |                 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 `LRESULT` in this scope
[INFO] [stdout]     --> src/main.rs:1227:17
[INFO] [stdout]      |
[INFO] [stdout] 1227 |                 LRESULT(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/main.rs:1229:18
[INFO] [stdout]      |
[INFO] [stdout] 1229 |             _ => 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 `CoInitializeEx` in this scope
[INFO] [stdout]     --> src/main.rs:1241:17
[INFO] [stdout]      |
[INFO] [stdout] 1241 |         let _ = CoInitializeEx(None, COINIT_APARTMENTTHREADED);
[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/main.rs:1243:21
[INFO] [stdout]      |
[INFO] [stdout] 1243 |         let hinst = GetModuleHandleW(None).unwrap();
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HINSTANCE` in this scope
[INFO] [stdout]     --> src/main.rs:1248:24
[INFO] [stdout]      |
[INFO] [stdout] 1248 |             hInstance: HINSTANCE(hinst.0),
[INFO] [stdout]      |                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stdout]     --> src/main.rs:1252:17
[INFO] [stdout]      |
[INFO] [stdout] 1252 |         let _ = RegisterClassW(&wc);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]     --> src/main.rs:1262:13
[INFO] [stdout]      |
[INFO] [stdout] 1262 |             WINDOW_EX_STYLE(0),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]     --> src/main.rs:1267:13
[INFO] [stdout]      |
[INFO] [stdout] 1267 |             HWND::default(),
[INFO] [stdout]      |             ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HMENU` in this scope
[INFO] [stdout]     --> src/main.rs:1268:13
[INFO] [stdout]      |
[INFO] [stdout] 1268 |             HMENU::default(),
[INFO] [stdout]      |             ^^^^^ use of undeclared type `HMENU`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HINSTANCE` in this scope
[INFO] [stdout]     --> src/main.rs:1269:13
[INFO] [stdout]      |
[INFO] [stdout] 1269 |             HINSTANCE(hinst.0),
[INFO] [stdout]      |             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]     --> src/main.rs:1261:20
[INFO] [stdout]      |
[INFO] [stdout] 1261 |         let hwnd = CreateWindowExW(
[INFO] [stdout]      |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HINSTANCE` in this scope
[INFO] [stdout]     --> src/main.rs:1279:39
[INFO] [stdout]      |
[INFO] [stdout] 1279 |         let sw = create_status_window(HINSTANCE(hinst.0));
[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:1281:21
[INFO] [stdout]      |
[INFO] [stdout] 1281 |             let _ = ShowWindow(sw, SW_HIDE);
[INFO] [stdout]      |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HOT_KEY_MODIFIERS` in this scope
[INFO] [stdout]     --> src/main.rs:1289:20
[INFO] [stdout]      |
[INFO] [stdout] 1289 |         let mods = HOT_KEY_MODIFIERS(MOD_CONTROL.0 | MOD_SHIFT.0);
[INFO] [stdout]      |                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope
[INFO] [stdout]     --> src/main.rs:1290:17
[INFO] [stdout]      |
[INFO] [stdout] 1290 |         let _ = RegisterHotKey(hwnd, 1, mods, VK_F9.0 as u32);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HMODULE` in this scope
[INFO] [stdout]     --> src/main.rs:1295:13
[INFO] [stdout]      |
[INFO] [stdout] 1295 |             HMODULE::default(),
[INFO] [stdout]      |             ^^^^^^^ use of undeclared type `HMODULE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWinEventHook` in this scope
[INFO] [stdout]     --> src/main.rs:1292:20
[INFO] [stdout]      |
[INFO] [stdout] 1292 |         let hook = SetWinEventHook(
[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:1310:25
[INFO] [stdout]      |
[INFO] [stdout] 1310 |                 let _ = ShowWindow(sw, SW_SHOW);
[INFO] [stdout]      |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1310 -                 let _ = ShowWindow(sw, SW_SHOW);
[INFO] [stdout] 1310 +                 let _ = show_window(sw, SW_SHOW);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MSG` in this scope
[INFO] [stdout]     --> src/main.rs:1314:23
[INFO] [stdout]      |
[INFO] [stdout] 1314 |         let mut msg = MSG::default();
[INFO] [stdout]      |                       ^^^ use of undeclared type `MSG`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]     --> src/main.rs:1315:37
[INFO] [stdout]      |
[INFO] [stdout] 1315 |         while GetMessageW(&mut msg, HWND::default(), 0, 0).as_bool() {
[INFO] [stdout]      |                                     ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]     --> src/main.rs:1315:15
[INFO] [stdout]      |
[INFO] [stdout] 1315 |         while GetMessageW(&mut msg, HWND::default(), 0, 0).as_bool() {
[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/main.rs:1316:21
[INFO] [stdout]      |
[INFO] [stdout] 1316 |             let _ = 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/main.rs:1317:13
[INFO] [stdout]      |
[INFO] [stdout] 1317 |             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 `UnhookWinEvent` in this scope
[INFO] [stdout]     --> src/main.rs:1320:17
[INFO] [stdout]      |
[INFO] [stdout] 1320 |         let _ = UnhookWinEvent(hook);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterHotKey` in this scope
[INFO] [stdout]     --> src/main.rs:1321:17
[INFO] [stdout]      |
[INFO] [stdout] 1321 |         let _ = UnregisterHotKey(hwnd, 1);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ime-lock` (bin "ime-lock" test) due to 387 previous errors
[INFO] running `Command { std: "docker" "inspect" "a0db996c791eedbaaf34e68d8255dc3465d5290b05beb96e4b342f8e696bcf97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0db996c791eedbaaf34e68d8255dc3465d5290b05beb96e4b342f8e696bcf97", kill_on_drop: false }`
[INFO] [stdout] a0db996c791eedbaaf34e68d8255dc3465d5290b05beb96e4b342f8e696bcf97
