[INFO] cloning repository https://github.com/IMUTshuaiwei/deskpin-rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IMUTshuaiwei/deskpin-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIMUTshuaiwei%2Fdeskpin-rust"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIMUTshuaiwei%2Fdeskpin-rust'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] ab093f2f0cc078972c1cc8ada3eefb5ea6d41152
[INFO] testing IMUTshuaiwei/deskpin-rust against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIMUTshuaiwei%2Fdeskpin-rust" "/workspace/builds/worker-5-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/IMUTshuaiwei/deskpin-rust
[INFO] finished tweaking git repo https://github.com/IMUTshuaiwei/deskpin-rust
[INFO] tweaked toml for git repo https://github.com/IMUTshuaiwei/deskpin-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/IMUTshuaiwei/deskpin-rust on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/IMUTshuaiwei/deskpin-rust already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 5e95f432742687807bbce2398ed1f5f7e828d82255fccd8a14c79a6e3898f623
[INFO] running `"docker" "start" "5e95f432742687807bbce2398ed1f5f7e828d82255fccd8a14c79a6e3898f623"`
[INFO] running `"docker" "inspect" "5e95f432742687807bbce2398ed1f5f7e828d82255fccd8a14c79a6e3898f623"`
[INFO] running `"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" "5e95f432742687807bbce2398ed1f5f7e828d82255fccd8a14c79a6e3898f623" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "5e95f432742687807bbce2398ed1f5f7e828d82255fccd8a14c79a6e3898f623"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5e95f432742687807bbce2398ed1f5f7e828d82255fccd8a14c79a6e3898f623" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling windows-targets v0.52.6
[INFO] [stderr]    Compiling windows-result v0.2.0
[INFO] [stderr]    Compiling windows-strings v0.1.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling windows-interface v0.58.0
[INFO] [stderr]    Compiling windows-implement v0.58.0
[INFO] [stderr]    Compiling windows-core v0.58.0
[INFO] [stderr]    Compiling windows v0.58.0
[INFO] [stderr]    Compiling deskpins-rs v1.32.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/app.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::Win32::{
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/autopin.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::{
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/layer_wnd.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::{
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/layer_wnd.rs:85:18
[INFO] [stdout]    |
[INFO] [stdout] 85 |     use windows::Win32::System::SystemInformation::*;
[INFO] [stdout]    |                  ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/layer_wnd.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::core::{w, PCWSTR};
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/mainwnd.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::{
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/mainwnd.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::core::{w, PCWSTR};
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/opts_dlg.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::{
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/opts_dlg.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::core::{w, PCWSTR, PWSTR};
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/options.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::{
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/pin_shape.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::Win32::{
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/options.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::core::PCWSTR;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/pin_wnd.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::{
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::Win32::{
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/pin_wnd.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::core::{w, PCWSTR};
[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:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use windows::Win32::{
[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:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use windows::core::{w, PCWSTR};
[INFO] [stdout]    |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `WM_MBUTTONDOWN` is not bound in all patterns
[INFO] [stdout]   --> src/layer_wnd.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         WM_RBUTTONDOWN | WM_MBUTTONDOWN => {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^   -------------- variable not in all patterns
[INFO] [stdout]    |         |
[INFO] [stdout]    |         pattern doesn't bind `WM_MBUTTONDOWN`
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to match on a unit struct, unit variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_MBUTTONDOWN`
[INFO] [stdout]   --> src/layer_wnd.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 |         WM_RBUTTONDOWN | WM_MBUTTONDOWN => {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `WM_RBUTTONDOWN` is not bound in all patterns
[INFO] [stdout]   --> src/layer_wnd.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 |         WM_RBUTTONDOWN | WM_MBUTTONDOWN => {
[INFO] [stdout]    |         --------------   ^^^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONDOWN`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         variable not in all patterns
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to match on a unit struct, unit variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_RBUTTONDOWN`
[INFO] [stdout]   --> src/layer_wnd.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         WM_RBUTTONDOWN | WM_MBUTTONDOWN => {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `WM_SYSKEYDOWN` is not bound in all patterns
[INFO] [stdout]   --> src/layer_wnd.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         WM_KEYDOWN | WM_SYSKEYDOWN | WM_KILLFOCUS => {
[INFO] [stdout]    |         ^^^^^^^^^^   -------------   ^^^^^^^^^^^^ pattern doesn't bind `WM_SYSKEYDOWN`
[INFO] [stdout]    |         |            |
[INFO] [stdout]    |         |            variable not in all patterns
[INFO] [stdout]    |         pattern doesn't bind `WM_SYSKEYDOWN`
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to match on a unit struct, unit variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_SYSKEYDOWN`
[INFO] [stdout]   --> src/layer_wnd.rs:77:22
[INFO] [stdout]    |
[INFO] [stdout] 77 |         WM_KEYDOWN | WM_SYSKEYDOWN | WM_KILLFOCUS => {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `WM_KILLFOCUS` is not bound in all patterns
[INFO] [stdout]   --> src/layer_wnd.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         WM_KEYDOWN | WM_SYSKEYDOWN | WM_KILLFOCUS => {
[INFO] [stdout]    |         ^^^^^^^^^^   ^^^^^^^^^^^^^   ------------ variable not in all patterns
[INFO] [stdout]    |         |            |
[INFO] [stdout]    |         |            pattern doesn't bind `WM_KILLFOCUS`
[INFO] [stdout]    |         pattern doesn't bind `WM_KILLFOCUS`
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to match on a unit struct, unit variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_KILLFOCUS`
[INFO] [stdout]   --> src/layer_wnd.rs:77:38
[INFO] [stdout]    |
[INFO] [stdout] 77 |         WM_KEYDOWN | WM_SYSKEYDOWN | WM_KILLFOCUS => {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `WM_KEYDOWN` is not bound in all patterns
[INFO] [stdout]   --> src/layer_wnd.rs:77:22
[INFO] [stdout]    |
[INFO] [stdout] 77 |         WM_KEYDOWN | WM_SYSKEYDOWN | WM_KILLFOCUS => {
[INFO] [stdout]    |         ----------   ^^^^^^^^^^^^^   ^^^^^^^^^^^^ pattern doesn't bind `WM_KEYDOWN`
[INFO] [stdout]    |         |            |
[INFO] [stdout]    |         |            pattern doesn't bind `WM_KEYDOWN`
[INFO] [stdout]    |         variable not in all patterns
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to match on a unit struct, unit variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_KEYDOWN`
[INFO] [stdout]   --> src/layer_wnd.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         WM_KEYDOWN | WM_SYSKEYDOWN | WM_KILLFOCUS => {
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]   --> src/main.rs:34:29
[INFO] [stdout]    |
[INFO] [stdout] 34 | unsafe fn run() -> windows::core::Result<()> {
[INFO] [stdout]    |                             ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope
[INFO] [stdout]   --> src/app.rs:14:38
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const WM_TRAYICON:         u32 = WM_APP + 1;
[INFO] [stdout]    |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope
[INFO] [stdout]   --> src/app.rs:15:38
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub const WM_PINREQ:           u32 = WM_APP + 2;
[INFO] [stdout]    |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope
[INFO] [stdout]   --> src/app.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const WM_PINSTATUS:        u32 = WM_APP + 3;
[INFO] [stdout]    |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope
[INFO] [stdout]   --> src/app.rs:17:38
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub const WM_QUEUEWINDOW:      u32 = WM_APP + 4;
[INFO] [stdout]    |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope
[INFO] [stdout]   --> src/app.rs:18:38
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const WM_PIN_RESETTIMER:   u32 = WM_APP + 100;
[INFO] [stdout]    |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope
[INFO] [stdout]   --> src/app.rs:19:38
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const WM_PIN_ASSIGNWND:    u32 = WM_APP + 101;
[INFO] [stdout]    |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope
[INFO] [stdout]   --> src/app.rs:20:38
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const WM_PIN_GETPINNEDWND: u32 = WM_APP + 102;
[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/app.rs:41:23
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub topmost_wnd:  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/app.rs:42:23
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub proxy_wnd:    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/app.rs:44:23
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub callback_wnd: 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/app.rs:48:36
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn get_pin_owner(&self) -> HWND {
[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/app.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub inst:        HINSTANCE,
[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/app.rs:60:22
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub main_wnd:    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/app.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub layer_wnd:   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/app.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub about_dlg:   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/app.rs:63:22
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub sm_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/app.rs:64:22
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub sm_clr_icon: HICON,
[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/autopin.rs:10:36
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub unsafe fn install(_notify_wnd: HWND) -> HWINEVENTHOOK {
[INFO] [stdout]    |                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWINEVENTHOOK` in this scope
[INFO] [stdout]   --> src/autopin.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub unsafe fn install(_notify_wnd: HWND) -> HWINEVENTHOOK {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_SHOW` in this scope
[INFO] [stdout]   --> src/autopin.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         EVENT_OBJECT_SHOW,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_SHOW` in this scope
[INFO] [stdout]   --> src/autopin.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         EVENT_OBJECT_SHOW,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WINEVENT_OUTOFCONTEXT` in this scope
[INFO] [stdout]   --> src/autopin.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         WINEVENT_OUTOFCONTEXT | WINEVENT_SKIPOWNPROCESS,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WINEVENT_SKIPOWNPROCESS` in this scope
[INFO] [stdout]   --> src/autopin.rs:17:33
[INFO] [stdout]    |
[INFO] [stdout] 17 |         WINEVENT_OUTOFCONTEXT | WINEVENT_SKIPOWNPROCESS,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWINEVENTHOOK` in this scope
[INFO] [stdout]   --> src/autopin.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub unsafe fn uninstall(hook: HWINEVENTHOOK) {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWINEVENTHOOK` in this scope
[INFO] [stdout]   --> src/autopin.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |     _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/autopin.rs:28:20
[INFO] [stdout]    |
[INFO] [stdout] 28 |     hwnd:          HWND,
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_SHOW` in this scope
[INFO] [stdout]   --> src/autopin.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |     if event != EVENT_OBJECT_SHOW || id_object != 0 || id_child != 0 { return; }
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope
[INFO] [stdout]   --> src/autopin.rs:37:38
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let style = GetWindowLongW(hwnd, GWL_STYLE) as u32;
[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/autopin.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |     if (style & WS_CHILD.0) != 0 { return; }
[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/autopin.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |     queue: VecDeque<(HWND, std::time::Instant)>,
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct PendingWindows<HWND> {
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/autopin.rs:57:33
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn add(&mut self, 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/autopin.rs:65:20
[INFO] [stdout]    |
[INFO] [stdout] 65 |         main_wnd:  HWND,
[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/layer_wnd.rs:15:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub unsafe fn register_class(hinstance: HINSTANCE, cursor: HCURSOR) {
[INFO] [stdout]    |                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HCURSOR` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:15:60
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub unsafe fn register_class(hinstance: HINSTANCE, cursor: HCURSOR) {
[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/layer_wnd.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let wc = WNDCLASSW {
[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/layer_wnd.rs:27:30
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub unsafe fn create(parent: 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/layer_wnd.rs:27:39
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub unsafe fn create(parent: HWND) -> HWND {
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         WS_EX_TOPMOST | WS_EX_TRANSPARENT | WS_EX_TOOLWINDOW,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TRANSPARENT` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:32:25
[INFO] [stdout]    |
[INFO] [stdout] 32 |         WS_EX_TOPMOST | WS_EX_TRANSPARENT | WS_EX_TOOLWINDOW,
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:32:45
[INFO] [stdout]    |
[INFO] [stdout] 32 |         WS_EX_TOPMOST | WS_EX_TRANSPARENT | WS_EX_TOOLWINDOW,
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         WS_POPUP | WS_VISIBLE,
[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/layer_wnd.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |         WS_POPUP | WS_VISIBLE,
[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/layer_wnd.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |         ShowWindow(hwnd, SW_SHOW);
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTDOWN` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:43:21
[INFO] [stdout]    |
[INFO] [stdout] 43 |         mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 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/layer_wnd.rs:49:38
[INFO] [stdout]    |
[INFO] [stdout] 49 | unsafe extern "system" fn 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/layer_wnd.rs:49:62
[INFO] [stdout]    |
[INFO] [stdout] 49 | unsafe extern "system" fn 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/layer_wnd.rs:49:78
[INFO] [stdout]    |
[INFO] [stdout] 49 | unsafe extern "system" fn 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/layer_wnd.rs:49:89
[INFO] [stdout]    |
[INFO] [stdout] 49 | unsafe extern "system" fn 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 `MOUSEEVENTF_LEFTUP` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 |             mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OSVERSIONINFOEXW` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:87:22
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let mut vi = OSVERSIONINFOEXW {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OSVERSIONINFOEXW` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:88:54
[INFO] [stdout]    |
[INFO] [stdout] 88 |             dwOSVersionInfoSize: std::mem::size_of::<OSVERSIONINFOEXW>() 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] 84 | fn is_win8_or_greater<OSVERSIONINFOEXW>() -> bool {
[INFO] [stdout]    |                      ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VER_MAJORVERSION` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:94:36
[INFO] [stdout]    |
[INFO] [stdout] 94 |             VerSetConditionMask(0, VER_MAJORVERSION, 3),
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VER_MINORVERSION` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             VER_MINORVERSION, 3);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VER_MAJORVERSION` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:96:37
[INFO] [stdout]    |
[INFO] [stdout] 96 |         VerifyVersionInfoW(&mut vi, VER_MAJORVERSION | VER_MINORVERSION, mask).is_ok()
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VER_MINORVERSION` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:96:56
[INFO] [stdout]    |
[INFO] [stdout] 96 |         VerifyVersionInfoW(&mut vi, VER_MAJORVERSION | VER_MINORVERSION, mask).is_ok()
[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/mainwnd.rs:16:41
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub unsafe fn register_class(hinstance: HINSTANCE) {
[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/mainwnd.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let wc = WNDCLASSW {
[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/mainwnd.rs:26:33
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub unsafe fn create(hinstance: 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/mainwnd.rs:26:47
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub unsafe fn create(hinstance: HINSTANCE) -> HWND {
[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/mainwnd.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         WS_POPUP, 0,0,1,1, None, None, hinstance, None,
[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/mainwnd.rs:45:38
[INFO] [stdout]    |
[INFO] [stdout] 45 | unsafe extern "system" fn 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/mainwnd.rs:45:62
[INFO] [stdout]    |
[INFO] [stdout] 45 | unsafe extern "system" fn 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/mainwnd.rs:45:78
[INFO] [stdout]    |
[INFO] [stdout] 45 | unsafe extern "system" fn 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/mainwnd.rs:45:89
[INFO] [stdout]    |
[INFO] [stdout] 45 | unsafe extern "system" fn 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 `MB_ICONWARNING` in this scope
[INFO] [stdout]   --> src/mainwnd.rs:61:86
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 MessageBoxW(hwnd, w!("Failed to register hotkeys."), w!("DeskPins"), MB_ICONWARNING|MB_OK);
[INFO] [stdout]    |                                                                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope
[INFO] [stdout]   --> src/mainwnd.rs:61:101
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 MessageBoxW(hwnd, w!("Failed to register hotkeys."), w!("DeskPins"), MB_ICONWARNING|MB_OK);
[INFO] [stdout]    |                                                                                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stdout]   --> src/mainwnd.rs:85:22
[INFO] [stdout]    |
[INFO] [stdout] 85 |             let pt = POINT{x:wparam.0 as i32, y:lparam.0 as i32};
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GA_ROOT` in this scope
[INFO] [stdout]   --> src/mainwnd.rs:88:45
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 let root = GetAncestor(hit, GA_ROOT);
[INFO] [stdout]    |                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_COMMAND` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:113:66
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 if id == HOTID_ENTERPINMODE { PostMessageW(hwnd, WM_COMMAND, WPARAM(CM_NEWPIN), LPARAM(0)).ok(); }
[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/mainwnd.rs:149:25
[INFO] [stdout]     |
[INFO] [stdout] 149 | unsafe fn ev_tray(hwnd: HWND, msg: LPARAM) {
[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/mainwnd.rs:149:36
[INFO] [stdout]     |
[INFO] [stdout] 149 | unsafe fn ev_tray(hwnd: HWND, msg: LPARAM) {
[INFO] [stdout]     |                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_LBUTTONUP` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:153:19
[INFO] [stdout]     |
[INFO] [stdout] 153 |         e if e == WM_LBUTTONUP as u32 => {
[INFO] [stdout]     |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_COMMAND` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:156:49
[INFO] [stdout]     |
[INFO] [stdout] 156 |             if !dbl || had { PostMessageW(hwnd, WM_COMMAND, WPARAM(CM_NEWPIN), LPARAM(0)).ok(); }
[INFO] [stdout]     |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_LBUTTONDBLCLK` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:158:19
[INFO] [stdout]     |
[INFO] [stdout] 158 |         e if e == WM_LBUTTONDBLCLK as u32 => { DBL.with(|c| c.set(true)); }
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_RBUTTONDOWN` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:159:19
[INFO] [stdout]     |
[INFO] [stdout] 159 |         e if e == WM_RBUTTONDOWN as u32   => show_menu(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/mainwnd.rs:164:27
[INFO] [stdout]     |
[INFO] [stdout] 164 | unsafe 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/mainwnd.rs:167:21
[INFO] [stdout]     |
[INFO] [stdout] 167 |     AppendMenuW(hm, MF_STRING, CM_NEWPIN, w!("&New Pin"));
[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/mainwnd.rs:169:21
[INFO] [stdout]     |
[INFO] [stdout] 169 |     AppendMenuW(hm, 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/mainwnd.rs:172:25
[INFO] [stdout]     |
[INFO] [stdout] 172 |         AppendMenuW(hm, MF_STRING, CM_REMOVEPINS, PCWSTR(lbl.as_ptr()));
[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/mainwnd.rs:173:25
[INFO] [stdout]     |
[INFO] [stdout] 173 |         AppendMenuW(hm, 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/mainwnd.rs:175:21
[INFO] [stdout]     |
[INFO] [stdout] 175 |     AppendMenuW(hm, MF_STRING, CM_OPTIONS, w!("&Options..."));
[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/mainwnd.rs:176:21
[INFO] [stdout]     |
[INFO] [stdout] 176 |     AppendMenuW(hm, MF_STRING, CM_ABOUT,   w!("&About DeskPins..."));
[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/mainwnd.rs:177:21
[INFO] [stdout]     |
[INFO] [stdout] 177 |     AppendMenuW(hm, 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/mainwnd.rs:178:21
[INFO] [stdout]     |
[INFO] [stdout] 178 |     AppendMenuW(hm, MF_STRING, CM_CLOSE,   w!("E&xit"));
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TPM_RIGHTALIGN` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:182:24
[INFO] [stdout]     |
[INFO] [stdout] 182 |     TrackPopupMenu(hm, TPM_RIGHTALIGN|TPM_BOTTOMALIGN|TPM_RIGHTBUTTON, pt.x, pt.y, 0, hwnd, None);
[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/mainwnd.rs:182:39
[INFO] [stdout]     |
[INFO] [stdout] 182 |     TrackPopupMenu(hm, TPM_RIGHTALIGN|TPM_BOTTOMALIGN|TPM_RIGHTBUTTON, pt.x, pt.y, 0, hwnd, None);
[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/mainwnd.rs:182:55
[INFO] [stdout]     |
[INFO] [stdout] 182 |     TrackPopupMenu(hm, TPM_RIGHTALIGN|TPM_BOTTOMALIGN|TPM_RIGHTBUTTON, pt.x, pt.y, 0, hwnd, None);
[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/mainwnd.rs:183:24
[INFO] [stdout]     |
[INFO] [stdout] 183 |     PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0)).ok();
[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/mainwnd.rs:187:29
[INFO] [stdout]     |
[INFO] [stdout] 187 | unsafe fn cmd_new_pin(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/mainwnd.rs:203:36
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub unsafe fn pin_window(main_wnd: HWND, target: HWND, poll_rate: i32) {
[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/mainwnd.rs:203:50
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub unsafe fn pin_window(main_wnd: HWND, target: HWND, poll_rate: i32) {
[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/mainwnd.rs:212:36
[INFO] [stdout]     |
[INFO] [stdout] 212 | pub unsafe fn toggle_pin(main_wnd: HWND, target: HWND, poll_rate: i32) {
[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/mainwnd.rs:212:50
[INFO] [stdout]     |
[INFO] [stdout] 212 | pub unsafe fn toggle_pin(main_wnd: HWND, target: HWND, poll_rate: i32) {
[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/mainwnd.rs:221:28
[INFO] [stdout]     |
[INFO] [stdout] 221 | unsafe fn apply_opts(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/mainwnd.rs:230:19
[INFO] [stdout]     |
[INFO] [stdout] 230 |     let pins: Vec<HWND> = with_state(|s| s.pin_data.keys().map(|&k| HWND(k as *mut _)).collect());
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 221 | unsafe fn apply_opts<HWND>(hwnd: HWND) {
[INFO] [stdout]     |                     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:233:33
[INFO] [stdout]     |
[INFO] [stdout] 233 |         InvalidateRect(p, None, TRUE);
[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] 233 -         InvalidateRect(p, None, TRUE);
[INFO] [stdout] 233 +         InvalidateRect(p, None, true);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:238:27
[INFO] [stdout]     |
[INFO] [stdout] 238 | unsafe fn cmd_about(hwnd: HWND) {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:244:20
[INFO] [stdout]     |
[INFO] [stdout] 244 |     ShowWindow(aw, SW_SHOW);
[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/mainwnd.rs:247:32
[INFO] [stdout]     |
[INFO] [stdout] 247 | unsafe fn mk_about_wnd(parent: HWND, hi: HINSTANCE) -> HWND {
[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/mainwnd.rs:247:42
[INFO] [stdout]     |
[INFO] [stdout] 247 | unsafe fn mk_about_wnd(parent: HWND, hi: 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/mainwnd.rs:247:56
[INFO] [stdout]     |
[INFO] [stdout] 247 | unsafe fn mk_about_wnd(parent: HWND, hi: HINSTANCE) -> HWND {
[INFO] [stdout]     |                                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:249:14
[INFO] [stdout]     |
[INFO] [stdout] 249 |     let wc = WNDCLASSEXW {
[INFO] [stdout]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:250:37
[INFO] [stdout]     |
[INFO] [stdout] 250 |         cbSize: std::mem::size_of::<WNDCLASSEXW>() 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] 247 | unsafe fn mk_about_wnd<WNDCLASSEXW>(parent: HWND, hi: HINSTANCE) -> HWND {
[INFO] [stdout]     |                       +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_DLGMODALFRAME` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:257:21
[INFO] [stdout]     |
[INFO] [stdout] 257 |     CreateWindowExW(WS_EX_DLGMODALFRAME|WS_EX_WINDOWEDGE,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_WINDOWEDGE` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:257:41
[INFO] [stdout]     |
[INFO] [stdout] 257 |     CreateWindowExW(WS_EX_DLGMODALFRAME|WS_EX_WINDOWEDGE,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |         WS_CAPTION|WS_SYSMENU|WS_POPUP,
[INFO] [stdout]     |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:259:20
[INFO] [stdout]     |
[INFO] [stdout] 259 |         WS_CAPTION|WS_SYSMENU|WS_POPUP,
[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/mainwnd.rs:259:31
[INFO] [stdout]     |
[INFO] [stdout] 259 |         WS_CAPTION|WS_SYSMENU|WS_POPUP,
[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/mainwnd.rs:264:44
[INFO] [stdout]     |
[INFO] [stdout] 264 | unsafe extern "system" fn about_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/mainwnd.rs:264:68
[INFO] [stdout]     |
[INFO] [stdout] 264 | unsafe extern "system" fn about_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/mainwnd.rs:264:84
[INFO] [stdout]     |
[INFO] [stdout] 264 | unsafe extern "system" fn about_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/mainwnd.rs:264:95
[INFO] [stdout]     |
[INFO] [stdout] 264 | unsafe extern "system" fn about_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 `SM_CXSCREEN` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:268:39
[INFO] [stdout]     |
[INFO] [stdout] 268 |             let sw = GetSystemMetrics(SM_CXSCREEN); let sh = GetSystemMetrics(SM_CYSCREEN);
[INFO] [stdout]     |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:268:79
[INFO] [stdout]     |
[INFO] [stdout] 268 |             let sw = GetSystemMetrics(SM_CXSCREEN); let sh = GetSystemMetrics(SM_CYSCREEN);
[INFO] [stdout]     |                                                                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:269:89
[INFO] [stdout]     |
[INFO] [stdout] 269 |             SetWindowPos(hwnd, HWND(std::ptr::null_mut()), (sw-340)/2, (sh-230)/2, 0,0, SWP_NOSIZE|SWP_NOZORDER).ok();
[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/mainwnd.rs:269:100
[INFO] [stdout]     |
[INFO] [stdout] 269 |             SetWindowPos(hwnd, HWND(std::ptr::null_mut()), (sw-340)/2, (sh-230)/2, 0,0, SWP_NOSIZE|SWP_NOZORDER).ok();
[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/mainwnd.rs:276:17
[INFO] [stdout]     |
[INFO] [stdout] 276 |                 WS_CHILD|WS_VISIBLE, 10,10,315,160,
[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/mainwnd.rs:276:26
[INFO] [stdout]     |
[INFO] [stdout] 276 |                 WS_CHILD|WS_VISIBLE, 10,10,315,160,
[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/mainwnd.rs:279:17
[INFO] [stdout]     |
[INFO] [stdout] 279 |                 WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_DEFPUSHBUTTON 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/mainwnd.rs:279:26
[INFO] [stdout]     |
[INFO] [stdout] 279 |                 WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_DEFPUSHBUTTON as u32),
[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/mainwnd.rs:279:37
[INFO] [stdout]     |
[INFO] [stdout] 279 |                 WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_DEFPUSHBUTTON as u32),
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BS_DEFPUSHBUTTON` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:279:61
[INFO] [stdout]     |
[INFO] [stdout] 279 |                 WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_DEFPUSHBUTTON as u32),
[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/opts_dlg.rs:12:28
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub unsafe fn show(parent: HWND) {
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 |     ShowWindow(dlg, SW_SHOW);
[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/opts_dlg.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 | unsafe fn mk_dlg(parent: HWND, hi: HINSTANCE) -> HWND {
[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/opts_dlg.rs:37:36
[INFO] [stdout]    |
[INFO] [stdout] 37 | unsafe fn mk_dlg(parent: HWND, hi: 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/opts_dlg.rs:37:50
[INFO] [stdout]    |
[INFO] [stdout] 37 | unsafe fn mk_dlg(parent: HWND, hi: HINSTANCE) -> HWND {
[INFO] [stdout]    |                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let wc = WNDCLASSEXW {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:40:37
[INFO] [stdout]    |
[INFO] [stdout] 40 |         cbSize: std::mem::size_of::<WNDCLASSEXW>() 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] 37 | unsafe fn mk_dlg<WNDCLASSEXW>(parent: HWND, hi: HINSTANCE) -> HWND {
[INFO] [stdout]    |                 +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CXSCREEN` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:46:31
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let sw = GetSystemMetrics(SM_CXSCREEN); let sh = GetSystemMetrics(SM_CYSCREEN);
[INFO] [stdout]    |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:46:71
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let sw = GetSystemMetrics(SM_CXSCREEN); let sh = GetSystemMetrics(SM_CYSCREEN);
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_DLGMODALFRAME` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:47:21
[INFO] [stdout]    |
[INFO] [stdout] 47 |     CreateWindowExW(WS_EX_DLGMODALFRAME|WS_EX_WINDOWEDGE,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_WINDOWEDGE` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:47:41
[INFO] [stdout]    |
[INFO] [stdout] 47 |     CreateWindowExW(WS_EX_DLGMODALFRAME|WS_EX_WINDOWEDGE,
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         WS_CAPTION|WS_SYSMENU|WS_POPUP,
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:49:20
[INFO] [stdout]    |
[INFO] [stdout] 49 |         WS_CAPTION|WS_SYSMENU|WS_POPUP,
[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/opts_dlg.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 |         WS_CAPTION|WS_SYSMENU|WS_POPUP,
[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/opts_dlg.rs:55:42
[INFO] [stdout]    |
[INFO] [stdout] 55 | unsafe extern "system" fn dlg_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/opts_dlg.rs:55:66
[INFO] [stdout]    |
[INFO] [stdout] 55 | unsafe extern "system" fn dlg_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/opts_dlg.rs:55:82
[INFO] [stdout]    |
[INFO] [stdout] 55 | unsafe extern "system" fn dlg_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/opts_dlg.rs:55:93
[INFO] [stdout]    |
[INFO] [stdout] 55 | unsafe extern "system" fn dlg_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 `NMHDR` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:59:44
[INFO] [stdout]    |
[INFO] [stdout] 59 |             let nm = &*(lparam.0 as *const NMHDR);
[INFO] [stdout]    |                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TCN_SELCHANGE` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:60:60
[INFO] [stdout]    |
[INFO] [stdout] 60 |             if nm.idFrom == IDC_TAB as usize && nm.code == TCN_SELCHANGE {
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TCM_GETCURSEL` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:62:45
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 let sel = SendMessageW(tab, TCM_GETCURSEL, WPARAM(0), LPARAM(0)).0 as i32;
[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/opts_dlg.rs:82:23
[INFO] [stdout]    |
[INFO] [stdout] 82 | unsafe fn build(hwnd: HWND) {
[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/opts_dlg.rs:86:22
[INFO] [stdout]    |
[INFO] [stdout] 86 |         5,5,355,230, WS_CHILD|WS_VISIBLE|WS_CLIPSIBLINGS);
[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/opts_dlg.rs:86:31
[INFO] [stdout]    |
[INFO] [stdout] 86 |         5,5,355,230, WS_CHILD|WS_VISIBLE|WS_CLIPSIBLINGS);
[INFO] [stdout]    |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_CLIPSIBLINGS` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:86:42
[INFO] [stdout]    |
[INFO] [stdout] 86 |         5,5,355,230, WS_CHILD|WS_VISIBLE|WS_CLIPSIBLINGS);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TCITEMW` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:89:23
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let mut tci = TCITEMW { mask:TCIF_TEXT, pszText:PWSTR(w.as_ptr() as *mut u16), ..Default::default() };
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TCIF_TEXT` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:89:38
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let mut tci = TCITEMW { mask:TCIF_TEXT, pszText:PWSTR(w.as_ptr() as *mut u16), ..Default::default() };
[INFO] [stdout]    |                                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TCM_INSERTITEMW` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:90:27
[INFO] [stdout]    |
[INFO] [stdout] 90 |         SendMessageW(tab, TCM_INSERTITEMW, WPARAM(i), LPARAM(&mut tci as *mut _ as isize));
[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/opts_dlg.rs:93:61
[INFO] [stdout]    |
[INFO] [stdout] 93 |     mk(hwnd,hi,"BUTTON","OK",     IDC_OK,    240,272,65,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_DEFPUSHBUTTON 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/opts_dlg.rs:93:70
[INFO] [stdout]    |
[INFO] [stdout] 93 |     mk(hwnd,hi,"BUTTON","OK",     IDC_OK,    240,272,65,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_DEFPUSHBUTTON as u32));
[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/opts_dlg.rs:93:81
[INFO] [stdout]    |
[INFO] [stdout] 93 |     mk(hwnd,hi,"BUTTON","OK",     IDC_OK,    240,272,65,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_DEFPUSHBUTTON as u32));
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BS_DEFPUSHBUTTON` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:93:105
[INFO] [stdout]    |
[INFO] [stdout] 93 |     mk(hwnd,hi,"BUTTON","OK",     IDC_OK,    240,272,65,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_DEFPUSHBUTTON as u32));
[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/opts_dlg.rs:94:61
[INFO] [stdout]    |
[INFO] [stdout] 94 |     mk(hwnd,hi,"BUTTON","Cancel", IDC_CANCEL,310,272,55,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(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/opts_dlg.rs:94:70
[INFO] [stdout]    |
[INFO] [stdout] 94 |     mk(hwnd,hi,"BUTTON","Cancel", IDC_CANCEL,310,272,55,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_PUSHBUTTON as u32));
[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/opts_dlg.rs:94:81
[INFO] [stdout]    |
[INFO] [stdout] 94 |     mk(hwnd,hi,"BUTTON","Cancel", IDC_CANCEL,310,272,55,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(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/opts_dlg.rs:94:105
[INFO] [stdout]    |
[INFO] [stdout] 94 |     mk(hwnd,hi,"BUTTON","Cancel", IDC_CANCEL,310,272,55,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_PUSHBUTTON as u32));
[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/opts_dlg.rs:95:61
[INFO] [stdout]    |
[INFO] [stdout] 95 |     mk(hwnd,hi,"BUTTON","Apply",  IDC_APPLY, 170,272,65,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(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/opts_dlg.rs:95:70
[INFO] [stdout]    |
[INFO] [stdout] 95 |     mk(hwnd,hi,"BUTTON","Apply",  IDC_APPLY, 170,272,65,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_PUSHBUTTON as u32));
[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/opts_dlg.rs:95:81
[INFO] [stdout]    |
[INFO] [stdout] 95 |     mk(hwnd,hi,"BUTTON","Apply",  IDC_APPLY, 170,272,65,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(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/opts_dlg.rs:95:105
[INFO] [stdout]    |
[INFO] [stdout] 95 |     mk(hwnd,hi,"BUTTON","Apply",  IDC_APPLY, 170,272,65,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_PUSHBUTTON as u32));
[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/opts_dlg.rs:119:27
[INFO] [stdout]     |
[INFO] [stdout] 119 | unsafe fn show_page(hwnd: HWND, page: i32) {
[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/opts_dlg.rs:123:73
[INFO] [stdout]     |
[INFO] [stdout] 123 |             if let Ok(c) = GetDlgItem(hwnd, id) { ShowWindow(c, if vis {SW_SHOW} else {SW_HIDE}); }
[INFO] [stdout]     |                                                                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:123:88
[INFO] [stdout]     |
[INFO] [stdout] 123 |             if let Ok(c) = GetDlgItem(hwnd, id) { ShowWindow(c, if vis {SW_SHOW} else {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/opts_dlg.rs:128:22
[INFO] [stdout]     |
[INFO] [stdout] 128 | unsafe fn fill(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/opts_dlg.rs:140:23
[INFO] [stdout]     |
[INFO] [stdout] 140 | unsafe fn apply(hwnd: HWND) {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_COMMAND` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:151:43
[INFO] [stdout]     |
[INFO] [stdout] 151 |     if !mw.0.is_null() { PostMessageW(mw, WM_COMMAND, WPARAM(CM_OPTIONS+0x10000), LPARAM(0)).ok(); }
[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/opts_dlg.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 | unsafe fn mk(p: HWND, hi: HINSTANCE, cls: &str, txt: &str, id: i32, x:i32,y:i32,w:i32,h:i32, sty: WINDOW_STYLE) -> HWND {
[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/opts_dlg.rs:155:27
[INFO] [stdout]     |
[INFO] [stdout] 155 | unsafe fn mk(p: HWND, hi: HINSTANCE, cls: &str, txt: &str, id: i32, x:i32,y:i32,w:i32,h:i32, sty: WINDOW_STYLE) -> HWND {
[INFO] [stdout]     |                           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:155:99
[INFO] [stdout]     |
[INFO] [stdout] 155 | unsafe fn mk(p: HWND, hi: HINSTANCE, cls: &str, txt: &str, id: i32, x:i32,y:i32,w:i32,h:i32, sty: WINDOW_STYLE) -> 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/opts_dlg.rs:155:116
[INFO] [stdout]     |
[INFO] [stdout] 155 | unsafe fn mk(p: HWND, hi: HINSTANCE, cls: &str, txt: &str, id: i32, x:i32,y:i32,w:i32,h:i32, sty: WINDOW_STYLE) -> 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/opts_dlg.rs:160:18
[INFO] [stdout]     |
[INFO] [stdout] 160 | unsafe fn stat(p:HWND,hi:HINSTANCE,t:&str,x:i32,y:i32,w:i32,h:i32) {
[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/opts_dlg.rs:160:26
[INFO] [stdout]     |
[INFO] [stdout] 160 | unsafe fn stat(p:HWND,hi:HINSTANCE,t:&str,x:i32,y:i32,w:i32,h:i32) {
[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/opts_dlg.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |         WS_CHILD|WS_VISIBLE, x,y,w,h, p,HMENU(std::ptr::null_mut()),hi,None).ok(); }
[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/opts_dlg.rs:163:18
[INFO] [stdout]     |
[INFO] [stdout] 163 |         WS_CHILD|WS_VISIBLE, x,y,w,h, p,HMENU(std::ptr::null_mut()),hi,None).ok(); }
[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/opts_dlg.rs:164:18
[INFO] [stdout]     |
[INFO] [stdout] 164 | unsafe fn edit(p:HWND,hi:HINSTANCE,id:i32,x:i32,y:i32,w:i32,h:i32) {
[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/opts_dlg.rs:164:26
[INFO] [stdout]     |
[INFO] [stdout] 164 | unsafe fn edit(p:HWND,hi:HINSTANCE,id:i32,x:i32,y:i32,w:i32,h:i32) {
[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/opts_dlg.rs:165:21
[INFO] [stdout]     |
[INFO] [stdout] 165 |     CreateWindowExW(WS_EX_CLIENTEDGE,w!("EDIT"),w!(""),
[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/opts_dlg.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |         WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(ES_AUTOHSCROLL 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/opts_dlg.rs:166:18
[INFO] [stdout]     |
[INFO] [stdout] 166 |         WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(ES_AUTOHSCROLL as u32),
[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/opts_dlg.rs:166:29
[INFO] [stdout]     |
[INFO] [stdout] 166 |         WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(ES_AUTOHSCROLL as u32),
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ES_AUTOHSCROLL` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:166:53
[INFO] [stdout]     |
[INFO] [stdout] 166 |         WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(ES_AUTOHSCROLL as u32),
[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/opts_dlg.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 | unsafe fn chk(p:HWND,hi:HINSTANCE,t:&str,id:i32,x:i32,y:i32,w:i32,h:i32) {
[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/opts_dlg.rs:168:25
[INFO] [stdout]     |
[INFO] [stdout] 168 | unsafe fn chk(p:HWND,hi:HINSTANCE,t:&str,id:i32,x:i32,y:i32,w:i32,h:i32) {
[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/opts_dlg.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |         WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_AUTOCHECKBOX 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/opts_dlg.rs:171:18
[INFO] [stdout]     |
[INFO] [stdout] 171 |         WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_AUTOCHECKBOX as u32),
[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/opts_dlg.rs:171:29
[INFO] [stdout]     |
[INFO] [stdout] 171 |         WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_AUTOCHECKBOX as u32),
[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/opts_dlg.rs:171:53
[INFO] [stdout]     |
[INFO] [stdout] 171 |         WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_AUTOCHECKBOX as u32),
[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/opts_dlg.rs:173:24
[INFO] [stdout]     |
[INFO] [stdout] 173 | unsafe fn set_txt(hwnd:HWND,id:i32,s:&str) {
[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/opts_dlg.rs:175:24
[INFO] [stdout]     |
[INFO] [stdout] 175 | unsafe fn set_chk(hwnd:HWND,id:i32,v:bool) {
[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/opts_dlg.rs:176:55
[INFO] [stdout]     |
[INFO] [stdout] 176 |     if let Ok(c)=GetDlgItem(hwnd,id) { SendMessageW(c,BM_SETCHECK,
[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/opts_dlg.rs:177:22
[INFO] [stdout]     |
[INFO] [stdout] 177 |         WPARAM(if v {BST_CHECKED.0 as usize} 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/opts_dlg.rs:177:52
[INFO] [stdout]     |
[INFO] [stdout] 177 |         WPARAM(if v {BST_CHECKED.0 as usize} 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 type `HWND` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:178:24
[INFO] [stdout]     |
[INFO] [stdout] 178 | unsafe fn get_str(hwnd:HWND,id:i32)->String {
[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/opts_dlg.rs:182:24
[INFO] [stdout]     |
[INFO] [stdout] 182 | unsafe fn get_i32(hwnd:HWND,id:i32)->Option<i32> { get_str(hwnd,id).trim().parse().ok() }
[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/opts_dlg.rs:183:24
[INFO] [stdout]     |
[INFO] [stdout] 183 | unsafe fn get_u32(hwnd:HWND,id:i32)->Option<u32> { get_str(hwnd,id).trim().parse().ok() }
[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/opts_dlg.rs:184:24
[INFO] [stdout]     |
[INFO] [stdout] 184 | unsafe fn get_hex(hwnd:HWND,id:i32)->Option<u32> {
[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/opts_dlg.rs:187:24
[INFO] [stdout]     |
[INFO] [stdout] 187 | unsafe fn get_chk(hwnd:HWND,id:i32)->bool {
[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/opts_dlg.rs:189:31
[INFO] [stdout]     |
[INFO] [stdout] 189 |         return SendMessageW(c,BM_GETCHECK,WPARAM(0),LPARAM(0)).0==BST_CHECKED.0 as isize; } false }
[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/opts_dlg.rs:189:67
[INFO] [stdout]     |
[INFO] [stdout] 189 |         return SendMessageW(c,BM_GETCHECK,WPARAM(0),LPARAM(0)).0==BST_CHECKED.0 as isize; } false }
[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/options.rs:14:35
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub unsafe fn set(&self, wnd: HWND) -> bool {
[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/options.rs:18:37
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub unsafe fn unset(&self, wnd: 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/options.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn matches(&self, hwnd: HWND) -> bool {
[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/options.rs:83:30
[INFO] [stdout]    |
[INFO] [stdout] 83 |             if RegOpenKeyExW(HKEY_CURRENT_USER, PCWSTR(path.as_ptr()), 0, KEY_READ, &mut hkey).is_ok() {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KEY_READ` in this scope
[INFO] [stdout]   --> src/options.rs:83:75
[INFO] [stdout]    |
[INFO] [stdout] 83 |             if RegOpenKeyExW(HKEY_CURRENT_USER, PCWSTR(path.as_ptr()), 0, KEY_READ, &mut hkey).is_ok() {
[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/options.rs:110:30
[INFO] [stdout]     |
[INFO] [stdout] 110 |             if RegCreateKeyW(HKEY_CURRENT_USER, PCWSTR(path.as_ptr()), &mut hkey).is_ok() {
[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/options.rs:131:30
[INFO] [stdout]     |
[INFO] [stdout] 131 |             if RegOpenKeyExW(HKEY_CURRENT_USER, PCWSTR(rp.as_ptr()), 0, KEY_WRITE, &mut hr).is_ok() {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KEY_WRITE` in this scope
[INFO] [stdout]    --> src/options.rs:131:73
[INFO] [stdout]     |
[INFO] [stdout] 131 |             if RegOpenKeyExW(HKEY_CURRENT_USER, PCWSTR(rp.as_ptr()), 0, KEY_WRITE, &mut hr).is_ok() {
[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/options.rs:136:66
[INFO] [stdout]     |
[INFO] [stdout] 136 |                     RegSetValueExW(hr, PCWSTR(name.as_ptr()), 0, 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/options.rs:149:24
[INFO] [stdout]     |
[INFO] [stdout] 149 | unsafe fn rget_u32(hk: HKEY, name: &str) -> Option<u32> {
[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/options.rs:155:24
[INFO] [stdout]     |
[INFO] [stdout] 155 | unsafe fn rset_u32(hk: HKEY, name: &str, v: u32) {
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REG_DWORD` in this scope
[INFO] [stdout]    --> src/options.rs:157:48
[INFO] [stdout]     |
[INFO] [stdout] 157 |     RegSetValueExW(hk, PCWSTR(wn.as_ptr()), 0, REG_DWORD,
[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/options.rs:160:24
[INFO] [stdout]     |
[INFO] [stdout] 160 | unsafe fn rget_str(hk: HKEY, name: &str) -> Option<String> {
[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/options.rs:170:24
[INFO] [stdout]     |
[INFO] [stdout] 170 | unsafe fn rset_str(hk: HKEY, name: &str, val: &str) {
[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/options.rs:172:48
[INFO] [stdout]     |
[INFO] [stdout] 172 |     RegSetValueExW(hk, PCWSTR(wn.as_ptr()), 0, REG_SZ,
[INFO] [stdout]     |                                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HBITMAP` in this scope
[INFO] [stdout]  --> src/pin_shape.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub bmp: HBITMAP, pub rgn: HRGN, pub w: i32, pub h: i32,
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HRGN` in this scope
[INFO] [stdout]  --> src/pin_shape.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub bmp: HBITMAP, pub rgn: HRGN, pub w: i32, pub h: i32,
[INFO] [stdout]   |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RGN_OR` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:39:59
[INFO] [stdout]    |
[INFO] [stdout] 39 |                         CombineRgn(combined, combined, r, RGN_OR);
[INFO] [stdout]    |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RGN_OR` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:47:51
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 CombineRgn(combined, combined, r, RGN_OR);
[INFO] [stdout]    |                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HDC` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:79:29
[INFO] [stdout]    |
[INFO] [stdout] 79 | unsafe fn draw_pin_gdi(hdc: HDC, pin_clr: u32, w: i32, h: i32) {
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:86:14
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let rc = RECT{left:0,top:0,right:w,bottom:h};
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let hr = RECT{left:1,top:0,right:w-1,bottom:8}; FillRect(hdc, &hr, hb); DeleteObject(hb).ok();
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:92:14
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let hl = RECT{left:2,top:1,right:w/2,bottom:4}; FillRect(hdc, &hl, hlb); DeleteObject(hlb).ok();
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let sh = RECT{left:w/2,top:4,right:w-2,bottom:7}; FillRect(hdc, &sh, shb); DeleteObject(shb).ok();
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:97:14
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let sr = RECT{left:5,top:8,right:8,bottom:h}; FillRect(hdc, &sr, sb); DeleteObject(sb).ok();
[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/pin_shape.rs:100:24
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn cr(r:u8,g:u8,b:u8)->COLORREF { 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 type `HDC` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:102:34
[INFO] [stdout]     |
[INFO] [stdout] 102 | unsafe fn draw_pin_icon_gdi(hdc: HDC, pin_clr: u32, w: i32, h: i32, active: bool) {
[INFO] [stdout]     |                                  ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let rc = RECT{left:0,top:0,right:w,bottom:h};
[INFO] [stdout]     |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let hr=RECT{left:hx,top:hy,right:hx+hw,bottom:hy+hh}; FillRect(hdc,&hr,hb); DeleteObject(hb).ok();
[INFO] [stdout]     |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:114:12
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let sr=RECT{left:sx,top:sy,right:sx+sw,bottom:h}; FillRect(hdc,&sr,sb); DeleteObject(sb).ok();
[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/pin_shape.rs:117:61
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub unsafe fn make_tray_icon(pin_clr: u32, active: bool) -> HICON {
[INFO] [stdout]     |                                                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CXSMICON` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:118:33
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let size = GetSystemMetrics(SM_CXSMICON).max(16);
[INFO] [stdout]     |                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:126:52
[INFO] [stdout]     |
[INFO] [stdout] 126 |       let br=CreateSolidBrush(COLORREF(0)); let rc=RECT{left:0,top:0,right:size,bottom:size};
[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/pin_shape.rs:129:14
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let ii = ICONINFO { fIcon:BOOL(1), xHotspot:(size/2)as u32, yHotspot:(size/2)as u32,
[INFO] [stdout]     |              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HCURSOR` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:136:36
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub unsafe fn make_pin_cursor() -> HCURSOR {
[INFO] [stdout]     |                                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:143:14
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let rc = RECT{left:0,top:0,right:size,bottom:size};
[INFO] [stdout]     |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PS_SOLID` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:145:25
[INFO] [stdout]     |
[INFO] [stdout] 145 |     let pen = CreatePen(PS_SOLID, 3, COLORREF(0x00000088));
[INFO] [stdout]     |                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PS_SOLID` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:146:26
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let thin = CreatePen(PS_SOLID, 2, COLORREF(0x00000088));
[INFO] [stdout]     |                          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:157:39
[INFO] [stdout]     |
[INFO] [stdout] 157 |       BitBlt(hm,0,0,size,size,hdc,0,0,SRCCOPY).ok();
[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/pin_shape.rs:160:14
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let ii = ICONINFO { fIcon:BOOL(0), xHotspot:(size/2-10)as u32, yHotspot:(size-3)as u32,
[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/pin_wnd.rs:15:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub unsafe fn register_class(hinstance: HINSTANCE, cursor: HCURSOR) {
[INFO] [stdout]    |                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HCURSOR` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:15:60
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub unsafe fn register_class(hinstance: HINSTANCE, cursor: HCURSOR) {
[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/pin_wnd.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let wc = WNDCLASSW {
[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/pin_wnd.rs:25:30
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub unsafe fn create(parent: 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/pin_wnd.rs:25:39
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub unsafe fn create(parent: HWND) -> HWND {
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         WS_EX_TOPMOST | WS_EX_TOOLWINDOW | WS_EX_NOACTIVATE,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:29:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |         WS_EX_TOPMOST | WS_EX_TOOLWINDOW | WS_EX_NOACTIVATE,
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:29:44
[INFO] [stdout]    |
[INFO] [stdout] 29 |         WS_EX_TOPMOST | WS_EX_TOOLWINDOW | WS_EX_NOACTIVATE,
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         WS_POPUP,
[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/pin_wnd.rs:37:38
[INFO] [stdout]    |
[INFO] [stdout] 37 | unsafe extern "system" fn 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/pin_wnd.rs:37:62
[INFO] [stdout]    |
[INFO] [stdout] 37 | unsafe extern "system" fn 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/pin_wnd.rs:37:78
[INFO] [stdout]    |
[INFO] [stdout] 37 | unsafe extern "system" fn 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/pin_wnd.rs:37:89
[INFO] [stdout]    |
[INFO] [stdout] 37 | unsafe extern "system" fn 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 `HWND` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:68:27
[INFO] [stdout]    |
[INFO] [stdout] 68 | unsafe fn ev_create(hwnd: HWND) {
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CXSCREEN` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:81:31
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let sw = GetSystemMetrics(SM_CXSCREEN); let sh = GetSystemMetrics(SM_CYSCREEN);
[INFO] [stdout]    |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:81:71
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let sw = GetSystemMetrics(SM_CXSCREEN); let sh = GetSystemMetrics(SM_CYSCREEN);
[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/pin_wnd.rs:84:15
[INFO] [stdout]    |
[INFO] [stdout] 84 |         0, 0, SWP_NOZORDER | SWP_NOSIZE).ok();
[INFO] [stdout]    |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:84:30
[INFO] [stdout]    |
[INFO] [stdout] 84 |         0, 0, SWP_NOZORDER | SWP_NOSIZE).ok();
[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/pin_wnd.rs:87:28
[INFO] [stdout]    |
[INFO] [stdout] 87 | unsafe fn ev_destroy(hwnd: HWND) {
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HWND_NOTOPMOST` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:93:31
[INFO] [stdout]    |
[INFO] [stdout] 93 |         SetWindowPos(topmost, HWND_NOTOPMOST, 0,0,0,0,
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |             SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE).ok();
[INFO] [stdout]    |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:94:26
[INFO] [stdout]    |
[INFO] [stdout] 94 |             SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE).ok();
[INFO] [stdout]    |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:94:39
[INFO] [stdout]    |
[INFO] [stdout] 94 |             SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE).ok();
[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/pin_wnd.rs:99:26
[INFO] [stdout]    |
[INFO] [stdout] 99 | unsafe fn ev_timer(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/pin_wnd.rs:114:26
[INFO] [stdout]     |
[INFO] [stdout] 114 | unsafe fn ev_paint(hwnd: HWND) {
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:122:36
[INFO] [stdout]     |
[INFO] [stdout] 122 |         BitBlt(hdc,0,0,w,h,mdc,0,0,SRCCOPY).ok();
[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/pin_wnd.rs:128:31
[INFO] [stdout]     |
[INFO] [stdout] 128 | unsafe fn ev_assign_wnd(hwnd: HWND, target: HWND, poll_rate: u32) -> bool {
[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/pin_wnd.rs:128:45
[INFO] [stdout]     |
[INFO] [stdout] 128 | unsafe fn ev_assign_wnd(hwnd: HWND, target: HWND, poll_rate: u32) -> bool {
[INFO] [stdout]     |                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HWND_TOPMOST` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:140:26
[INFO] [stdout]     |
[INFO] [stdout] 140 |     SetWindowPos(target, HWND_TOPMOST, 0,0,0,0, SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE).ok();
[INFO] [stdout]     |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:140:49
[INFO] [stdout]     |
[INFO] [stdout] 140 |     SetWindowPos(target, HWND_TOPMOST, 0,0,0,0, SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE).ok();
[INFO] [stdout]     |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:140:60
[INFO] [stdout]     |
[INFO] [stdout] 140 |     SetWindowPos(target, HWND_TOPMOST, 0,0,0,0, SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE).ok();
[INFO] [stdout]     |                                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:140:71
[INFO] [stdout]     |
[INFO] [stdout] 140 |     SetWindowPos(target, HWND_TOPMOST, 0,0,0,0, SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE).ok();
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RGN_COPY` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:145:66
[INFO] [stdout]     |
[INFO] [stdout] 145 |         if CombineRgn(rgn_copy, rgn, HRGN(std::ptr::null_mut()), RGN_COPY).0 != 0 {
[INFO] [stdout]     |                                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 145 -         if CombineRgn(rgn_copy, rgn, HRGN(std::ptr::null_mut()), RGN_COPY).0 != 0 {
[INFO] [stdout] 145 +         if CombineRgn(rgn_copy, rgn, HRGN(std::ptr::null_mut()), rgn_copy).0 != 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:146:45
[INFO] [stdout]     |
[INFO] [stdout] 146 |             if SetWindowRgn(hwnd, rgn_copy, FALSE) == 0 {
[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] 146 -             if SetWindowRgn(hwnd, rgn_copy, FALSE) == 0 {
[INFO] [stdout] 146 +             if SetWindowRgn(hwnd, rgn_copy, false) == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:152:9
[INFO] [stdout]     |
[INFO] [stdout] 152 |         SWP_NOMOVE|SWP_NOZORDER|SWP_NOACTIVATE).ok();
[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/pin_wnd.rs:152:20
[INFO] [stdout]     |
[INFO] [stdout] 152 |         SWP_NOMOVE|SWP_NOZORDER|SWP_NOACTIVATE).ok();
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:152:33
[INFO] [stdout]     |
[INFO] [stdout] 152 |         SWP_NOMOVE|SWP_NOZORDER|SWP_NOACTIVATE).ok();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_SHOWNOACTIVATE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:154:22
[INFO] [stdout]     |
[INFO] [stdout] 154 |     ShowWindow(hwnd, SW_SHOWNOACTIVATE);
[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/pin_wnd.rs:160:29
[INFO] [stdout]     |
[INFO] [stdout] 160 | unsafe fn fix_visible(hwnd: HWND) -> bool {
[INFO] [stdout]     |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_SHOWNOACTIVATE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:168:44
[INFO] [stdout]     |
[INFO] [stdout] 168 |     if ov != pv { ShowWindow(hwnd, if ov { SW_SHOWNOACTIVATE } else { SW_HIDE }); }
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:168:71
[INFO] [stdout]     |
[INFO] [stdout] 168 |     if ov != pv { ShowWindow(hwnd, if ov { SW_SHOWNOACTIVATE } else { 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/pin_wnd.rs:172:31
[INFO] [stdout]     |
[INFO] [stdout] 172 | unsafe fn fix_top_style(hwnd: HWND) {
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:175:38
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let ex = GetWindowLongW(topmost, GWL_EXSTYLE) as u32;
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:176:14
[INFO] [stdout]     |
[INFO] [stdout] 176 |     if (ex & WS_EX_TOPMOST.0) == 0 {
[INFO] [stdout]     |              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HWND_TOPMOST` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:177:31
[INFO] [stdout]     |
[INFO] [stdout] 177 |         SetWindowPos(topmost, HWND_TOPMOST, 0,0,0,0, SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE).ok();
[INFO] [stdout]     |                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:177:54
[INFO] [stdout]     |
[INFO] [stdout] 177 |         SetWindowPos(topmost, HWND_TOPMOST, 0,0,0,0, SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE).ok();
[INFO] [stdout]     |                                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:177:65
[INFO] [stdout]     |
[INFO] [stdout] 177 |         SetWindowPos(topmost, HWND_TOPMOST, 0,0,0,0, SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE).ok();
[INFO] [stdout]     |                                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:177:76
[INFO] [stdout]     |
[INFO] [stdout] 177 |         SetWindowPos(topmost, HWND_TOPMOST, 0,0,0,0, SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE).ok();
[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/pin_wnd.rs:181:35
[INFO] [stdout]     |
[INFO] [stdout] 181 | unsafe fn fix_popup_z_order(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/pin_wnd.rs:185:23
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let mut wnds: Vec<HWND> = Vec::new();
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 181 | unsafe fn fix_popup_z_order<HWND>(hwnd: HWND) {
[INFO] [stdout]     |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:195:46
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 SetWindowPos(w, le, 0,0,0,0, SWP_NOACTIVATE|SWP_NOMOVE|SWP_NOSIZE|SWP_NOOWNERZORDER).ok();
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:195:61
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 SetWindowPos(w, le, 0,0,0,0, SWP_NOACTIVATE|SWP_NOMOVE|SWP_NOSIZE|SWP_NOOWNERZORDER).ok();
[INFO] [stdout]     |                                                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:195:72
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 SetWindowPos(w, le, 0,0,0,0, SWP_NOACTIVATE|SWP_NOMOVE|SWP_NOSIZE|SWP_NOOWNERZORDER).ok();
[INFO] [stdout]     |                                                                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOOWNERZORDER` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:195:83
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 SetWindowPos(w, le, 0,0,0,0, SWP_NOACTIVATE|SWP_NOMOVE|SWP_NOSIZE|SWP_NOOWNERZORDER).ok();
[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/pin_wnd.rs:201:47
[INFO] [stdout]     |
[INFO] [stdout] 201 | unsafe extern "system" fn enum_thread_cb(wnd: HWND, param: LPARAM) -> BOOL {
[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/pin_wnd.rs:201:60
[INFO] [stdout]     |
[INFO] [stdout] 201 | unsafe extern "system" fn enum_thread_cb(wnd: HWND, param: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BOOL` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:201:71
[INFO] [stdout]     |
[INFO] [stdout] 201 | unsafe extern "system" fn enum_thread_cb(wnd: HWND, param: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                       ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 201 - unsafe extern "system" fn enum_thread_cb(wnd: HWND, param: LPARAM) -> BOOL {
[INFO] [stdout] 201 + unsafe extern "system" fn enum_thread_cb(wnd: HWND, param: LPARAM) -> bool {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:202:43
[INFO] [stdout]     |
[INFO] [stdout] 202 |     let list = &mut *(param.0 as *mut Vec<HWND>);
[INFO] [stdout]     |                                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 201 | unsafe extern "system" fn enum_thread_cb<HWND>(wnd: HWND, param: LPARAM) -> BOOL {
[INFO] [stdout]     |                                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:203:21
[INFO] [stdout]     |
[INFO] [stdout] 203 |     list.push(wnd); TRUE
[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] 203 -     list.push(wnd); TRUE
[INFO] [stdout] 203 +     list.push(wnd); true
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:206:34
[INFO] [stdout]     |
[INFO] [stdout] 206 | unsafe fn place_on_caption(hwnd: HWND) {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:209:45
[INFO] [stdout]     |
[INFO] [stdout] 209 |     let style   = GetWindowLongW(pin_owner, GWL_STYLE) as u32;
[INFO] [stdout]     |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:210:45
[INFO] [stdout]     |
[INFO] [stdout] 210 |     let ex      = GetWindowLongW(pin_owner, GWL_EXSTYLE) as u32;
[INFO] [stdout]     |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:211:28
[INFO] [stdout]     |
[INFO] [stdout] 211 |     let has_sys = (style & WS_SYSMENU.0) != 0;
[INFO] [stdout]     |                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:212:29
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let has_mm  = (style & (WS_MINIMIZEBOX.0|WS_MAXIMIZEBOX.0)) != 0;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:212:46
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let has_mm  = (style & (WS_MINIMIZEBOX.0|WS_MAXIMIZEBOX.0)) != 0;
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:213:29
[INFO] [stdout]     |
[INFO] [stdout] 213 |     let both_mm = (style & (WS_MINIMIZEBOX.0|WS_MAXIMIZEBOX.0)) == (WS_MINIMIZEBOX.0|WS_MAXIMIZEBOX.0);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:213:46
[INFO] [stdout]     |
[INFO] [stdout] 213 |     let both_mm = (style & (WS_MINIMIZEBOX.0|WS_MAXIMIZEBOX.0)) == (WS_MINIMIZEBOX.0|WS_MAXIMIZEBOX.0);
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:213:69
[INFO] [stdout]     |
[INFO] [stdout] 213 |     let both_mm = (style & (WS_MINIMIZEBOX.0|WS_MAXIMIZEBOX.0)) == (WS_MINIMIZEBOX.0|WS_MAXIMIZEBOX.0);
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:213:86
[INFO] [stdout]     |
[INFO] [stdout] 213 |     let both_mm = (style & (WS_MINIMIZEBOX.0|WS_MAXIMIZEBOX.0)) == (WS_MINIMIZEBOX.0|WS_MAXIMIZEBOX.0);
[INFO] [stdout]     |                                                                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_CONTEXTHELP` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:214:25
[INFO] [stdout]     |
[INFO] [stdout] 214 |     let has_help= (ex & WS_EX_CONTEXTHELP.0) != 0;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CXSIZE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:217:34
[INFO] [stdout]     |
[INFO] [stdout] 217 |     let btn_w = GetSystemMetrics(SM_CXSIZE);
[INFO] [stdout]     |                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |         SWP_NOSIZE|SWP_NOZORDER|SWP_NOACTIVATE|SWP_NOOWNERZORDER).ok();
[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/pin_wnd.rs:223:20
[INFO] [stdout]     |
[INFO] [stdout] 223 |         SWP_NOSIZE|SWP_NOZORDER|SWP_NOACTIVATE|SWP_NOOWNERZORDER).ok();
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:223:33
[INFO] [stdout]     |
[INFO] [stdout] 223 |         SWP_NOSIZE|SWP_NOZORDER|SWP_NOACTIVATE|SWP_NOOWNERZORDER).ok();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOOWNERZORDER` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:223:48
[INFO] [stdout]     |
[INFO] [stdout] 223 |         SWP_NOSIZE|SWP_NOZORDER|SWP_NOACTIVATE|SWP_NOOWNERZORDER).ok();
[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/pin_wnd.rs:226:30
[INFO] [stdout]     |
[INFO] [stdout] 226 | unsafe fn select_proxy(hwnd: HWND) -> bool {
[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/pin_wnd.rs:235:26
[INFO] [stdout]     |
[INFO] [stdout] 235 | struct ProxyParam { pin: HWND, app_wnd: 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/pin_wnd.rs:235:41
[INFO] [stdout]     |
[INFO] [stdout] 235 | struct ProxyParam { pin: HWND, app_wnd: 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/pin_wnd.rs:237:46
[INFO] [stdout]     |
[INFO] [stdout] 237 | unsafe extern "system" fn enum_proxy_cb(wnd: HWND, param: LPARAM) -> BOOL {
[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/pin_wnd.rs:237:59
[INFO] [stdout]     |
[INFO] [stdout] 237 | unsafe extern "system" fn enum_proxy_cb(wnd: HWND, param: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BOOL` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:237:70
[INFO] [stdout]     |
[INFO] [stdout] 237 | unsafe extern "system" fn enum_proxy_cb(wnd: HWND, param: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 237 - unsafe extern "system" fn enum_proxy_cb(wnd: HWND, param: LPARAM) -> BOOL {
[INFO] [stdout] 237 + unsafe extern "system" fn enum_proxy_cb(wnd: HWND, param: LPARAM) -> bool {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GW_OWNER` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:239:32
[INFO] [stdout]     |
[INFO] [stdout] 239 |     let owner = GetWindow(wnd, GW_OWNER).unwrap_or_default();
[INFO] [stdout]     |                                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:244:51
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 SetWindowPos(wnd, p.pin, 0,0,0,0, SWP_NOACTIVATE|SWP_NOMOVE|SWP_NOSIZE).ok();
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:244:66
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 SetWindowPos(wnd, p.pin, 0,0,0,0, SWP_NOACTIVATE|SWP_NOMOVE|SWP_NOSIZE).ok();
[INFO] [stdout]     |                                                                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:244:77
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 SetWindowPos(wnd, p.pin, 0,0,0,0, SWP_NOACTIVATE|SWP_NOMOVE|SWP_NOSIZE).ok();
[INFO] [stdout]     |                                                                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:247:16
[INFO] [stdout]     |
[INFO] [stdout] 247 |         return FALSE;
[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] 247 -         return FALSE;
[INFO] [stdout] 247 +         return false;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:249:5
[INFO] [stdout]     |
[INFO] [stdout] 249 |     TRUE
[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] 249 -     TRUE
[INFO] [stdout] 249 +     true
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:252:31
[INFO] [stdout]     |
[INFO] [stdout] 252 | unsafe fn is_rect_empty(hwnd: HWND) -> bool {
[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/pin_wnd.rs:259:28
[INFO] [stdout]     |
[INFO] [stdout] 259 | unsafe fn is_enabled(hwnd: HWND) -> bool {
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:260:27
[INFO] [stdout]     |
[INFO] [stdout] 260 |     (GetWindowLongW(hwnd, GWL_STYLE) as u32 & WS_DISABLED.0) == 0
[INFO] [stdout]     |                           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_DISABLED` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:260:47
[INFO] [stdout]     |
[INFO] [stdout] 260 |     (GetWindowLongW(hwnd, GWL_STYLE) as u32 & WS_DISABLED.0) == 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/tray.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub unsafe fn add(hwnd: HWND, hicon: HICON, tip: &str, callback_msg: u32) {
[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/tray.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub unsafe fn add(hwnd: HWND, hicon: HICON, tip: &str, callback_msg: u32) {
[INFO] [stdout]   |                                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_ICON` in this scope
[INFO] [stdout]  --> src/tray.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 |     nid.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP;
[INFO] [stdout]   |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_MESSAGE` in this scope
[INFO] [stdout]  --> src/tray.rs:9:29
[INFO] [stdout]   |
[INFO] [stdout] 9 |     nid.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP;
[INFO] [stdout]   |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_TIP` in this scope
[INFO] [stdout]  --> src/tray.rs:9:43
[INFO] [stdout]   |
[INFO] [stdout] 9 |     nid.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP;
[INFO] [stdout]   |                                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIM_ADD` in this scope
[INFO] [stdout]   --> src/tray.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Shell_NotifyIconW(NIM_ADD, &nid).ok();
[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/tray.rs:14:28
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub unsafe fn remove(hwnd: HWND) { Shell_NotifyIconW(NIM_DELETE, &mk(hwnd)).ok(); }
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIM_DELETE` in this scope
[INFO] [stdout]   --> src/tray.rs:14:54
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub unsafe fn remove(hwnd: HWND) { Shell_NotifyIconW(NIM_DELETE, &mk(hwnd)).ok(); }
[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/tray.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub unsafe fn set_tip(hwnd: HWND, tip: &str) {
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_TIP` in this scope
[INFO] [stdout]   --> src/tray.rs:16:42
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut nid = mk(hwnd); nid.uFlags = NIF_TIP; wtip(&mut nid.szTip, 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/tray.rs:17:23
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Shell_NotifyIconW(NIM_MODIFY, &nid).ok();
[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/tray.rs:19:30
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub unsafe fn set_icon(hwnd: HWND, hicon: 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/tray.rs:19:43
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub unsafe fn set_icon(hwnd: HWND, hicon: HICON) {
[INFO] [stdout]    |                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_ICON` in this scope
[INFO] [stdout]   --> src/tray.rs:20:42
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut nid = mk(hwnd); nid.uFlags = NIF_ICON; nid.hIcon = hicon;
[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/tray.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |     Shell_NotifyIconW(NIM_MODIFY, &nid).ok();
[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/tray.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn mk(hwnd: HWND) -> 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/tray.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn mk(hwnd: HWND) -> NOTIFYICONDATAW {
[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/tray.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     NOTIFYICONDATAW { cbSize: std::mem::size_of::<NOTIFYICONDATAW>() as u32, hWnd: hwnd, uID: TRAY_UID, ..Default::default() }
[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/tray.rs:24:51
[INFO] [stdout]    |
[INFO] [stdout] 24 |     NOTIFYICONDATAW { cbSize: std::mem::size_of::<NOTIFYICONDATAW>() as u32, hWnd: hwnd, uID: TRAY_UID, ..Default::default() }
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn mk<NOTIFYICONDATAW>(hwnd: HWND) -> NOTIFYICONDATAW {
[INFO] [stdout]    |      +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MB_ICONERROR` in this scope
[INFO] [stdout]   --> src/main.rs:29:69
[INFO] [stdout]    |
[INFO] [stdout] 29 |             MessageBoxW(None, PCWSTR(msg.as_ptr()), w!("DeskPins"), MB_ICONERROR | MB_OK);
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope
[INFO] [stdout]   --> src/main.rs:29:84
[INFO] [stdout]    |
[INFO] [stdout] 29 |             MessageBoxW(None, PCWSTR(msg.as_ptr()), w!("DeskPins"), MB_ICONERROR | MB_OK);
[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:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let hinstance: HINSTANCE = GetModuleHandleW(None)?.into();
[INFO] [stdout]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stdout]   --> src/main.rs:71:27
[INFO] [stdout]    |
[INFO] [stdout] 71 |         LoadCursorW(None, IDC_ARROW).unwrap_or_default().into(),
[INFO] [stdout]    |                           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]   --> src/main.rs:76:29
[INFO] [stdout]    |
[INFO] [stdout] 76 |         return Err(windows::core::Error::from_win32());
[INFO] [stdout]    |                             ^^^^ could not find `core` in `windows`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 14 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 14 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 14 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 14 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 76 -         return Err(windows::core::Error::from_win32());
[INFO] [stdout] 76 +         return Err(Error::from_win32());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWinEventHook` in this scope
[INFO] [stdout]   --> src/autopin.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     SetWinEventHook(
[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/autopin.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 |     if !hook.0.is_null() { 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 `GetWindowLongW` in this scope
[INFO] [stdout]   --> src/autopin.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let style = GetWindowLongW(hwnd, GWL_STYLE) 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 `IsWindowVisible` in this scope
[INFO] [stdout]   --> src/autopin.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     if !IsWindowVisible(hwnd).as_bool() { return; }
[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/autopin.rs:43:46
[INFO] [stdout]    |
[INFO] [stdout] 43 |         PostMessageW(notify, WM_QUEUEWINDOW, WPARAM(hwnd.0 as usize), LPARAM(0)).ok();
[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/autopin.rs:43:71
[INFO] [stdout]    |
[INFO] [stdout] 43 |         PostMessageW(notify, WM_QUEUEWINDOW, WPARAM(hwnd.0 as usize), LPARAM(0)).ok();
[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/autopin.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         PostMessageW(notify, WM_QUEUEWINDOW, WPARAM(hwnd.0 as usize), LPARAM(0)).ok();
[INFO] [stdout]    |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindow` in this scope
[INFO] [stdout]   --> src/autopin.rs:79:17
[INFO] [stdout]    |
[INFO] [stdout] 79 |             if !IsWindow(hwnd).as_bool() { continue; }
[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/layer_wnd.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     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 `HMENU` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         parent, HMENU(std::ptr::null_mut()), hinstance, None,
[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/layer_wnd.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 31 |     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 `ShowWindow` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         ShowWindow(hwnd, SW_SHOW);
[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/layer_wnd.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |         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/layer_wnd.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         GetCursorPos(&mut pt).ok();
[INFO] [stdout]    |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursorPos` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         SetCursorPos(x, y);
[INFO] [stdout]    |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `mouse_event` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursorPos` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         SetCursorPos(pt.x, pt.y);
[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/layer_wnd.rs:51:57
[INFO] [stdout]    |
[INFO] [stdout] 51 |         WM_CREATE => { GOT_INIT.with(|c| c.set(false)); LRESULT(0) }
[INFO] [stdout]    |                                                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `mouse_event` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |             mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
[INFO] [stdout]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:54:69
[INFO] [stdout]    |
[INFO] [stdout] 54 |             with_state(|s| { if s.layer_wnd == hwnd { s.layer_wnd = HWND(std::ptr::null_mut()); } });
[INFO] [stdout]    |                                                                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 54 -             with_state(|s| { if s.layer_wnd == hwnd { s.layer_wnd = HWND(std::ptr::null_mut()); } });
[INFO] [stdout] 54 +             with_state(|s| { if s.layer_wnd == hwnd { s.layer_wnd = hwnd(std::ptr::null_mut()); } });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |             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 `SetCapture` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             SetCapture(hwnd);
[INFO] [stdout]    |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseCapture` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 ReleaseCapture().ok();
[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/layer_wnd.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 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/layer_wnd.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 GetCursorPos(&mut pt).ok();
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetParent` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:67:30
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 let parent = GetParent(hwnd).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 `WPARAM` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:69:21
[INFO] [stdout]    |
[INFO] [stdout] 69 |                     WPARAM(pt.x as usize), LPARAM(pt.y as isize)).ok();
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 69 -                     WPARAM(pt.x as usize), LPARAM(pt.y as isize)).ok();
[INFO] [stdout] 69 +                     wparam(pt.x as usize), LPARAM(pt.y as isize)).ok();
[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/layer_wnd.rs:69:44
[INFO] [stdout]    |
[INFO] [stdout] 69 |                     WPARAM(pt.x as usize), LPARAM(pt.y as isize)).ok();
[INFO] [stdout]    |                                            ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 69 -                     WPARAM(pt.x as usize), LPARAM(pt.y as isize)).ok();
[INFO] [stdout] 69 +                     WPARAM(pt.x as usize), lparam(pt.y as isize)).ok();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 PostMessageW(parent, WM_PINREQ,
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |                 DestroyWindow(hwnd).ok();
[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/layer_wnd.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |             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 `ReleaseCapture` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |             ReleaseCapture().ok(); DestroyWindow(hwnd).ok(); 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 `DestroyWindow` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:75:36
[INFO] [stdout]    |
[INFO] [stdout] 75 |             ReleaseCapture().ok(); DestroyWindow(hwnd).ok(); 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/layer_wnd.rs:75:62
[INFO] [stdout]    |
[INFO] [stdout] 75 |             ReleaseCapture().ok(); DestroyWindow(hwnd).ok(); 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 `ReleaseCapture` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |             ReleaseCapture().ok(); DestroyWindow(hwnd).ok(); 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 `DestroyWindow` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:78:36
[INFO] [stdout]    |
[INFO] [stdout] 78 |             ReleaseCapture().ok(); DestroyWindow(hwnd).ok(); 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/layer_wnd.rs:78:62
[INFO] [stdout]    |
[INFO] [stdout] 78 |             ReleaseCapture().ok(); DestroyWindow(hwnd).ok(); 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/layer_wnd.rs:80:14
[INFO] [stdout]    |
[INFO] [stdout] 80 |         _ => 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 `VerSetConditionMask` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |             VerSetConditionMask(0, VER_MAJORVERSION, 3),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VerSetConditionMask` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:93:20
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mask = VerSetConditionMask(
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VerifyVersionInfoW` in this scope
[INFO] [stdout]   --> src/layer_wnd.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         VerifyVersionInfoW(&mut vi, VER_MAJORVERSION | VER_MINORVERSION, mask).is_ok()
[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/mainwnd.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     RegisterClassW(&wc);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]   --> src/mainwnd.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |     CreateWindowExW(WINDOW_EX_STYLE::default(),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ use of undeclared type `WINDOW_EX_STYLE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]   --> src/mainwnd.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     CreateWindowExW(WINDOW_EX_STYLE::default(),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterWindowMessageW` in this scope
[INFO] [stdout]   --> src/mainwnd.rs:49:40
[INFO] [stdout]    |
[INFO] [stdout] 49 |             TASKBAR_MSG.with(|c| c.set(RegisterWindowMessageW(w!("TaskbarCreated"))));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope
[INFO] [stdout]   --> src/mainwnd.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 MessageBoxW(hwnd, w!("Failed to register hotkeys."), w!("DeskPins"), MB_ICONWARNING|MB_OK);
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTimer` in this scope
[INFO] [stdout]   --> src/mainwnd.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 SetTimer(hwnd, TIMERID_AUTOPIN, delay as u32, None);
[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/mainwnd.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             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 `HWND` in this scope
[INFO] [stdout]   --> src/mainwnd.rs:73:41
[INFO] [stdout]    |
[INFO] [stdout] 73 |             with_state(|s| s.main_wnd = HWND(std::ptr::null_mut()));
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 73 -             with_state(|s| s.main_wnd = HWND(std::ptr::null_mut()));
[INFO] [stdout] 73 +             with_state(|s| s.main_wnd = hwnd(std::ptr::null_mut()));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KillTimer` in this scope
[INFO] [stdout]   --> src/mainwnd.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |             KillTimer(hwnd, TIMERID_AUTOPIN);
[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/mainwnd.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |             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/mainwnd.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             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/mainwnd.rs:83:59
[INFO] [stdout]    |
[INFO] [stdout] 83 |         m if m == WM_TRAYICON => { ev_tray(hwnd, lparam); 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 `WindowFromPoint` in this scope
[INFO] [stdout]   --> src/mainwnd.rs:86:23
[INFO] [stdout]    |
[INFO] [stdout] 86 |             let hit = WindowFromPoint(pt);
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAncestor` in this scope
[INFO] [stdout]   --> src/mainwnd.rs:88:28
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 let root = GetAncestor(hit, GA_ROOT);
[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/mainwnd.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |             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 `PostMessageW` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:101:37
[INFO] [stdout]     |
[INFO] [stdout] 101 |             if !about.0.is_null() { PostMessageW(about, WM_PINSTATUS, wparam, lparam).ok(); }
[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/mainwnd.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |             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 `HWND` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:105:26
[INFO] [stdout]     |
[INFO] [stdout] 105 |             let target = HWND(wparam.0 as *mut _);
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 105 -             let target = HWND(wparam.0 as *mut _);
[INFO] [stdout] 105 +             let target = hwnd(wparam.0 as *mut _);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |             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 `WPARAM` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:113:78
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 if id == HOTID_ENTERPINMODE { PostMessageW(hwnd, WM_COMMAND, WPARAM(CM_NEWPIN), LPARAM(0)).ok(); }
[INFO] [stdout]     |                                                                              ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 113 -                 if id == HOTID_ENTERPINMODE { PostMessageW(hwnd, WM_COMMAND, WPARAM(CM_NEWPIN), LPARAM(0)).ok(); }
[INFO] [stdout] 113 +                 if id == HOTID_ENTERPINMODE { PostMessageW(hwnd, WM_COMMAND, wparam(CM_NEWPIN), LPARAM(0)).ok(); }
[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/mainwnd.rs:113:97
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 if id == HOTID_ENTERPINMODE { PostMessageW(hwnd, WM_COMMAND, WPARAM(CM_NEWPIN), LPARAM(0)).ok(); }
[INFO] [stdout]     |                                                                                                 ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 113 -                 if id == HOTID_ENTERPINMODE { PostMessageW(hwnd, WM_COMMAND, WPARAM(CM_NEWPIN), LPARAM(0)).ok(); }
[INFO] [stdout] 113 +                 if id == HOTID_ENTERPINMODE { PostMessageW(hwnd, WM_COMMAND, WPARAM(CM_NEWPIN), lparam(0)).ok(); }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:113:47
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 if id == HOTID_ENTERPINMODE { PostMessageW(hwnd, WM_COMMAND, WPARAM(CM_NEWPIN), LPARAM(0)).ok(); }
[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/mainwnd.rs:114:56
[INFO] [stdout]     |
[INFO] [stdout] 114 | ...   else if id == HOTID_TOGGLEPIN { let fg=GetForegroundWindow(); let p=with_state(|s|s.options.track_rate); toggle_pin(hwnd,fg,p...
[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/mainwnd.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |             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/mainwnd.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |             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 `DestroyWindow` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:132:46
[INFO] [stdout]     |
[INFO] [stdout] 132 |                 x if x == CM_CLOSE      => { DestroyWindow(hwnd).ok(); }
[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/mainwnd.rs:136:13
[INFO] [stdout]     |
[INFO] [stdout] 136 |             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/mainwnd.rs:138:81
[INFO] [stdout]     |
[INFO] [stdout] 138 |         WM_ENDSESSION => { if wparam.0!=0 { with_state(|s| s.options.save()); } 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/mainwnd.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |             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 `WPARAM` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:156:61
[INFO] [stdout]     |
[INFO] [stdout] 156 |             if !dbl || had { PostMessageW(hwnd, WM_COMMAND, WPARAM(CM_NEWPIN), LPARAM(0)).ok(); }
[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/mainwnd.rs:156:80
[INFO] [stdout]     |
[INFO] [stdout] 156 |             if !dbl || had { PostMessageW(hwnd, WM_COMMAND, WPARAM(CM_NEWPIN), LPARAM(0)).ok(); }
[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/mainwnd.rs:156:30
[INFO] [stdout]     |
[INFO] [stdout] 156 |             if !dbl || had { PostMessageW(hwnd, WM_COMMAND, WPARAM(CM_NEWPIN), LPARAM(0)).ok(); }
[INFO] [stdout]     |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePopupMenu` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:166:14
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let hm = CreatePopupMenu().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 `AppendMenuW` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:167:5
[INFO] [stdout]     |
[INFO] [stdout] 167 |     AppendMenuW(hm, MF_STRING, CM_NEWPIN, w!("&New Pin"));
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetMenuDefaultItem` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:168:5
[INFO] [stdout]     |
[INFO] [stdout] 168 |     SetMenuDefaultItem(hm, CM_NEWPIN as u32, 0).ok();
[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/mainwnd.rs:169:5
[INFO] [stdout]     |
[INFO] [stdout] 169 |     AppendMenuW(hm, 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/mainwnd.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         AppendMenuW(hm, MF_STRING, CM_REMOVEPINS, PCWSTR(lbl.as_ptr()));
[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/mainwnd.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |         AppendMenuW(hm, 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/mainwnd.rs:175:5
[INFO] [stdout]     |
[INFO] [stdout] 175 |     AppendMenuW(hm, MF_STRING, CM_OPTIONS, w!("&Options..."));
[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/mainwnd.rs:176:5
[INFO] [stdout]     |
[INFO] [stdout] 176 |     AppendMenuW(hm, MF_STRING, CM_ABOUT,   w!("&About DeskPins..."));
[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/mainwnd.rs:177:5
[INFO] [stdout]     |
[INFO] [stdout] 177 |     AppendMenuW(hm, 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/mainwnd.rs:178:5
[INFO] [stdout]     |
[INFO] [stdout] 178 |     AppendMenuW(hm, MF_STRING, CM_CLOSE,   w!("E&xit"));
[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/mainwnd.rs:179:18
[INFO] [stdout]     |
[INFO] [stdout] 179 |     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/mainwnd.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 180 |     GetCursorPos(&mut pt).ok();
[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/mainwnd.rs:181:5
[INFO] [stdout]     |
[INFO] [stdout] 181 |     SetForegroundWindow(hwnd);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackPopupMenu` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |     TrackPopupMenu(hm, TPM_RIGHTALIGN|TPM_BOTTOMALIGN|TPM_RIGHTBUTTON, 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 `WPARAM` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:183:33
[INFO] [stdout]     |
[INFO] [stdout] 183 |     PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0)).ok();
[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/mainwnd.rs:183:44
[INFO] [stdout]     |
[INFO] [stdout] 183 |     PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0)).ok();
[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/mainwnd.rs:183:5
[INFO] [stdout]     |
[INFO] [stdout] 183 |     PostMessageW(hwnd, WM_NULL, WPARAM(0), LPARAM(0)).ok();
[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/mainwnd.rs:184:5
[INFO] [stdout]     |
[INFO] [stdout] 184 |     DestroyMenu(hm).ok();
[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/mainwnd.rs:196:15
[INFO] [stdout]     |
[INFO] [stdout] 196 |         match FindWindowW(PCWSTR(cls.as_ptr()), 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 `DestroyWindow` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:197:42
[INFO] [stdout]     |
[INFO] [stdout] 197 |             Ok(w) if !w.0.is_null() => { DestroyWindow(w).ok(); }
[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/mainwnd.rs:209:41
[INFO] [stdout]     |
[INFO] [stdout] 209 |     SendMessageW(pin, WM_PIN_ASSIGNWND, WPARAM(target.0 as usize), LPARAM(poll_rate 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/mainwnd.rs:209:68
[INFO] [stdout]     |
[INFO] [stdout] 209 |     SendMessageW(pin, WM_PIN_ASSIGNWND, WPARAM(target.0 as usize), LPARAM(poll_rate 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/mainwnd.rs:209:5
[INFO] [stdout]     |
[INFO] [stdout] 209 |     SendMessageW(pin, WM_PIN_ASSIGNWND, WPARAM(target.0 as usize), LPARAM(poll_rate 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 `HWND` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:216:23
[INFO] [stdout]     |
[INFO] [stdout] 216 |         .map(|(&k,_)| HWND(k as *mut _)));
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:217:28
[INFO] [stdout]     |
[INFO] [stdout] 217 |     if let Some(p) = pin { DestroyWindow(p).ok(); }
[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/mainwnd.rs:230:69
[INFO] [stdout]     |
[INFO] [stdout] 230 |     let pins: Vec<HWND> = with_state(|s| s.pin_data.keys().map(|&k| HWND(k as *mut _)).collect());
[INFO] [stdout]     |                                                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 230 -     let pins: Vec<HWND> = with_state(|s| s.pin_data.keys().map(|&k| HWND(k as *mut _)).collect());
[INFO] [stdout] 230 +     let pins: Vec<HWND> = with_state(|s| s.pin_data.keys().map(|&k| hwnd(k as *mut _)).collect());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:232:44
[INFO] [stdout]     |
[INFO] [stdout] 232 |         SendMessageW(p, WM_PIN_RESETTIMER, WPARAM(poll 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/mainwnd.rs:232:67
[INFO] [stdout]     |
[INFO] [stdout] 232 |         SendMessageW(p, WM_PIN_RESETTIMER, WPARAM(poll 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/mainwnd.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 232 |         SendMessageW(p, WM_PIN_RESETTIMER, WPARAM(poll 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 `SetForegroundWindow` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:240:29
[INFO] [stdout]     |
[INFO] [stdout] 240 |     if !about.0.is_null() { SetForegroundWindow(about); return; }
[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/mainwnd.rs:244:5
[INFO] [stdout]     |
[INFO] [stdout] 244 |     ShowWindow(aw, 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 `RegisterClassExW` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:256:5
[INFO] [stdout]     |
[INFO] [stdout] 256 |     RegisterClassExW(&wc);
[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/mainwnd.rs:260:30
[INFO] [stdout]     |
[INFO] [stdout] 260 |         0,0,340,230, parent, HMENU(std::ptr::null_mut()), hi, None,
[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/mainwnd.rs:257:5
[INFO] [stdout]     |
[INFO] [stdout] 257 |     CreateWindowExW(WS_EX_DLGMODALFRAME|WS_EX_WINDOWEDGE,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:268:22
[INFO] [stdout]     |
[INFO] [stdout] 268 |             let sw = GetSystemMetrics(SM_CXSCREEN); let sh = GetSystemMetrics(SM_CYSCREEN);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:268:62
[INFO] [stdout]     |
[INFO] [stdout] 268 |             let sw = GetSystemMetrics(SM_CXSCREEN); let sh = GetSystemMetrics(SM_CYSCREEN);
[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/mainwnd.rs:269:32
[INFO] [stdout]     |
[INFO] [stdout] 269 |             SetWindowPos(hwnd, HWND(std::ptr::null_mut()), (sw-340)/2, (sh-230)/2, 0,0, SWP_NOSIZE|SWP_NOZORDER).ok();
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 269 -             SetWindowPos(hwnd, HWND(std::ptr::null_mut()), (sw-340)/2, (sh-230)/2, 0,0, SWP_NOSIZE|SWP_NOZORDER).ok();
[INFO] [stdout] 269 +             SetWindowPos(hwnd, hwnd(std::ptr::null_mut()), (sw-340)/2, (sh-230)/2, 0,0, SWP_NOSIZE|SWP_NOZORDER).ok();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |             SetWindowPos(hwnd, HWND(std::ptr::null_mut()), (sw-340)/2, (sh-230)/2, 0,0, SWP_NOSIZE|SWP_NOZORDER).ok();
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:270:29
[INFO] [stdout]     |
[INFO] [stdout] 270 |             CreateWindowExW(WINDOW_EX_STYLE::default(), w!("STATIC"),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ use of undeclared type `WINDOW_EX_STYLE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:277:23
[INFO] [stdout]     |
[INFO] [stdout] 277 |                 hwnd, HMENU(std::ptr::null_mut()), hi, None).ok();
[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/mainwnd.rs:270:13
[INFO] [stdout]     |
[INFO] [stdout] 270 |             CreateWindowExW(WINDOW_EX_STYLE::default(), w!("STATIC"),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:278:29
[INFO] [stdout]     |
[INFO] [stdout] 278 |             CreateWindowExW(WINDOW_EX_STYLE::default(), w!("BUTTON"), w!("OK"),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ use of undeclared type `WINDOW_EX_STYLE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:279:48
[INFO] [stdout]     |
[INFO] [stdout] 279 |                 WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_DEFPUSHBUTTON 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/mainwnd.rs:280:39
[INFO] [stdout]     |
[INFO] [stdout] 280 |                 120,185,100,28, hwnd, HMENU(1isize as *mut _), hi, None).ok();
[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/mainwnd.rs:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 |             CreateWindowExW(WINDOW_EX_STYLE::default(), w!("BUTTON"), w!("OK"),
[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/mainwnd.rs:281:13
[INFO] [stdout]     |
[INFO] [stdout] 281 |             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 `DestroyWindow` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:283:55
[INFO] [stdout]     |
[INFO] [stdout] 283 |         WM_COMMAND => { if (wparam.0 & 0xFFFF) == 1 { DestroyWindow(hwnd).ok(); } 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/mainwnd.rs:283:83
[INFO] [stdout]     |
[INFO] [stdout] 283 |         WM_COMMAND => { if (wparam.0 & 0xFFFF) == 1 { DestroyWindow(hwnd).ok(); } 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 `HWND` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:284:54
[INFO] [stdout]     |
[INFO] [stdout] 284 |         WM_DESTROY => { with_state(|s| s.about_dlg = HWND(std::ptr::null_mut())); LRESULT(0) }
[INFO] [stdout]     |                                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 284 -         WM_DESTROY => { with_state(|s| s.about_dlg = HWND(std::ptr::null_mut())); LRESULT(0) }
[INFO] [stdout] 284 +         WM_DESTROY => { with_state(|s| s.about_dlg = hwnd(std::ptr::null_mut())); LRESULT(0) }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:284:83
[INFO] [stdout]     |
[INFO] [stdout] 284 |         WM_DESTROY => { with_state(|s| s.about_dlg = HWND(std::ptr::null_mut())); 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 `DestroyWindow` in this scope
[INFO] [stdout]    --> src/mainwnd.rs:285:25
[INFO] [stdout]     |
[INFO] [stdout] 285 |         WM_CLOSE   => { DestroyWindow(hwnd).ok(); 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/mainwnd.rs:285:51
[INFO] [stdout]     |
[INFO] [stdout] 285 |         WM_CLOSE   => { DestroyWindow(hwnd).ok(); 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/mainwnd.rs:286:14
[INFO] [stdout]     |
[INFO] [stdout] 286 |         _ => 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 `ShowWindow` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     ShowWindow(dlg, 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/opts_dlg.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     SetForegroundWindow(dlg);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MSG` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut msg = MSG::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `MSG`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |         if GetMessageW(&mut msg, None, 0, 0).0 <= 0 { break; }
[INFO] [stdout]    |            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsDialogMessageW` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         if !IsDialogMessageW(dlg, &msg).as_bool() { TranslateMessage(&msg); 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 `TranslateMessage` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:24:53
[INFO] [stdout]    |
[INFO] [stdout] 24 |         if !IsDialogMessageW(dlg, &msg).as_bool() { TranslateMessage(&msg); 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 `DispatchMessageW` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:24:77
[INFO] [stdout]    |
[INFO] [stdout] 24 |         if !IsDialogMessageW(dlg, &msg).as_bool() { TranslateMessage(&msg); 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 `IsWindow` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         if !IsWindow(dlg).as_bool() { break; }
[INFO] [stdout]    |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     RegisterClassExW(&wc);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let sw = GetSystemMetrics(SM_CXSCREEN); let sh = GetSystemMetrics(SM_CYSCREEN);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:46:54
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let sw = GetSystemMetrics(SM_CXSCREEN); let sh = GetSystemMetrics(SM_CYSCREEN);
[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/opts_dlg.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |         parent, HMENU(std::ptr::null_mut()), hi, None,
[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/opts_dlg.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     CreateWindowExW(WS_EX_DLGMODALFRAME|WS_EX_WINDOWEDGE,
[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/opts_dlg.rs:57:37
[INFO] [stdout]    |
[INFO] [stdout] 57 |         WM_CREATE => { build(hwnd); 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 `GetDlgItem` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:61:27
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 let tab = GetDlgItem(hwnd, IDC_TAB).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 `WPARAM` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:62:60
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 let sel = SendMessageW(tab, TCM_GETCURSEL, WPARAM(0), LPARAM(0)).0 as i32;
[INFO] [stdout]    |                                                            ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 62 -                 let sel = SendMessageW(tab, TCM_GETCURSEL, WPARAM(0), LPARAM(0)).0 as i32;
[INFO] [stdout] 62 +                 let sel = SendMessageW(tab, TCM_GETCURSEL, wparam(0), LPARAM(0)).0 as i32;
[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/opts_dlg.rs:62:71
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 let sel = SendMessageW(tab, TCM_GETCURSEL, WPARAM(0), LPARAM(0)).0 as i32;
[INFO] [stdout]    |                                                                       ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 62 -                 let sel = SendMessageW(tab, TCM_GETCURSEL, WPARAM(0), LPARAM(0)).0 as i32;
[INFO] [stdout] 62 +                 let sel = SendMessageW(tab, TCM_GETCURSEL, WPARAM(0), lparam(0)).0 as i32;
[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/opts_dlg.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 let sel = SendMessageW(tab, TCM_GETCURSEL, WPARAM(0), LPARAM(0)).0 as i32;
[INFO] [stdout]    |                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |             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 `DestroyWindow` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:69:85
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 x if x == IDC_OK     => { apply(hwnd); OPEN.with(|c| c.set(false)); DestroyWindow(hwnd).ok(); }
[INFO] [stdout]    |                                                                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:70:72
[INFO] [stdout]    |
[INFO] [stdout] 70 |                 x if x == IDC_CANCEL => { OPEN.with(|c| c.set(false)); DestroyWindow(hwnd).ok(); }
[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/opts_dlg.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |             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/opts_dlg.rs:76:54
[INFO] [stdout]    |
[INFO] [stdout] 76 |         WM_DESTROY => { OPEN.with(|c| c.set(false)); 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 `DestroyWindow` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:77:54
[INFO] [stdout]    |
[INFO] [stdout] 77 |         WM_CLOSE   => { OPEN.with(|c| c.set(false)); DestroyWindow(hwnd).ok(); 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/opts_dlg.rs:77:80
[INFO] [stdout]    |
[INFO] [stdout] 77 |         WM_CLOSE   => { OPEN.with(|c| c.set(false)); DestroyWindow(hwnd).ok(); 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/opts_dlg.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 |         _ => 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 `WPARAM` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:90:44
[INFO] [stdout]    |
[INFO] [stdout] 90 |         SendMessageW(tab, TCM_INSERTITEMW, WPARAM(i), LPARAM(&mut tci as *mut _ 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/opts_dlg.rs:90:55
[INFO] [stdout]    |
[INFO] [stdout] 90 |         SendMessageW(tab, TCM_INSERTITEMW, WPARAM(i), LPARAM(&mut tci as *mut _ 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/opts_dlg.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |         SendMessageW(tab, TCM_INSERTITEMW, WPARAM(i), LPARAM(&mut tci as *mut _ 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 `WINDOW_STYLE` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:93:92
[INFO] [stdout]    |
[INFO] [stdout] 93 |     mk(hwnd,hi,"BUTTON","OK",     IDC_OK,    240,272,65,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_DEFPUSHBUTTON 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 `WINDOW_STYLE` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:94:92
[INFO] [stdout]    |
[INFO] [stdout] 94 |     mk(hwnd,hi,"BUTTON","Cancel", IDC_CANCEL,310,272,55,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(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 `WINDOW_STYLE` in this scope
[INFO] [stdout]   --> src/opts_dlg.rs:95:92
[INFO] [stdout]    |
[INFO] [stdout] 95 |     mk(hwnd,hi,"BUTTON","Apply",  IDC_APPLY, 170,272,65,24, WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(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 `GetDlgItem` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:123:28
[INFO] [stdout]     |
[INFO] [stdout] 123 |             if let Ok(c) = GetDlgItem(hwnd, id) { ShowWindow(c, if vis {SW_SHOW} else {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 `ShowWindow` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:123:51
[INFO] [stdout]     |
[INFO] [stdout] 123 |             if let Ok(c) = GetDlgItem(hwnd, id) { ShowWindow(c, if vis {SW_SHOW} else {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 `WPARAM` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:151:55
[INFO] [stdout]     |
[INFO] [stdout] 151 |     if !mw.0.is_null() { PostMessageW(mw, WM_COMMAND, WPARAM(CM_OPTIONS+0x10000), LPARAM(0)).ok(); }
[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/opts_dlg.rs:151:83
[INFO] [stdout]     |
[INFO] [stdout] 151 |     if !mw.0.is_null() { PostMessageW(mw, WM_COMMAND, WPARAM(CM_OPTIONS+0x10000), LPARAM(0)).ok(); }
[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/opts_dlg.rs:151:26
[INFO] [stdout]     |
[INFO] [stdout] 151 |     if !mw.0.is_null() { PostMessageW(mw, WM_COMMAND, WPARAM(CM_OPTIONS+0x10000), LPARAM(0)).ok(); }
[INFO] [stdout]     |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:157:21
[INFO] [stdout]     |
[INFO] [stdout] 157 |     CreateWindowExW(WINDOW_EX_STYLE::default(), PCWSTR(wc.as_ptr()), PCWSTR(wt.as_ptr()), sty,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ use of undeclared type `WINDOW_EX_STYLE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:158:21
[INFO] [stdout]     |
[INFO] [stdout] 158 |         x,y,w,h, p, HMENU(id as isize as *mut _), hi, None).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 `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:157:5
[INFO] [stdout]     |
[INFO] [stdout] 157 |     CreateWindowExW(WINDOW_EX_STYLE::default(), PCWSTR(wc.as_ptr()), PCWSTR(wt.as_ptr()), sty,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:162:21
[INFO] [stdout]     |
[INFO] [stdout] 162 |     CreateWindowExW(WINDOW_EX_STYLE::default(),w!("STATIC"),PCWSTR(wt.as_ptr()),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ use of undeclared type `WINDOW_EX_STYLE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HMENU` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:163:41
[INFO] [stdout]     |
[INFO] [stdout] 163 |         WS_CHILD|WS_VISIBLE, x,y,w,h, p,HMENU(std::ptr::null_mut()),hi,None).ok(); }
[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/opts_dlg.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 162 |     CreateWindowExW(WINDOW_EX_STYLE::default(),w!("STATIC"),PCWSTR(wt.as_ptr()),
[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/opts_dlg.rs:166:40
[INFO] [stdout]     |
[INFO] [stdout] 166 |         WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(ES_AUTOHSCROLL 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/opts_dlg.rs:167:20
[INFO] [stdout]     |
[INFO] [stdout] 167 |         x,y,w,h, p,HMENU(id as isize as *mut _),hi,None).ok(); }
[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/opts_dlg.rs:165:5
[INFO] [stdout]     |
[INFO] [stdout] 165 |     CreateWindowExW(WS_EX_CLIENTEDGE,w!("EDIT"),w!(""),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `WINDOW_EX_STYLE` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:170:21
[INFO] [stdout]     |
[INFO] [stdout] 170 |     CreateWindowExW(WINDOW_EX_STYLE::default(),w!("BUTTON"),PCWSTR(wt.as_ptr()),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ use of undeclared type `WINDOW_EX_STYLE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINDOW_STYLE` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:171:40
[INFO] [stdout]     |
[INFO] [stdout] 171 |         WS_CHILD|WS_VISIBLE|WS_TABSTOP|WINDOW_STYLE(BS_AUTOCHECKBOX 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/opts_dlg.rs:172:20
[INFO] [stdout]     |
[INFO] [stdout] 172 |         x,y,w,h, p,HMENU(id as isize as *mut _),hi,None).ok(); }
[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/opts_dlg.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 170 |     CreateWindowExW(WINDOW_EX_STYLE::default(),w!("BUTTON"),PCWSTR(wt.as_ptr()),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDlgItem` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:174:18
[INFO] [stdout]     |
[INFO] [stdout] 174 |     if let Ok(c)=GetDlgItem(hwnd,id) { let w=to_wide(s); SetWindowTextW(c,PCWSTR(w.as_ptr())); } }
[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/opts_dlg.rs:174:58
[INFO] [stdout]     |
[INFO] [stdout] 174 |     if let Ok(c)=GetDlgItem(hwnd,id) { let w=to_wide(s); SetWindowTextW(c,PCWSTR(w.as_ptr())); } }
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDlgItem` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:176:18
[INFO] [stdout]     |
[INFO] [stdout] 176 |     if let Ok(c)=GetDlgItem(hwnd,id) { SendMessageW(c,BM_SETCHECK,
[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/opts_dlg.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 |         WPARAM(if v {BST_CHECKED.0 as usize} 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/opts_dlg.rs:177:79
[INFO] [stdout]     |
[INFO] [stdout] 177 |         WPARAM(if v {BST_CHECKED.0 as usize} 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/opts_dlg.rs:176:40
[INFO] [stdout]     |
[INFO] [stdout] 176 |     if let Ok(c)=GetDlgItem(hwnd,id) { SendMessageW(c,BM_SETCHECK,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDlgItem` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:179:18
[INFO] [stdout]     |
[INFO] [stdout] 179 |     if let Ok(c)=GetDlgItem(hwnd,id) {
[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/opts_dlg.rs:180:40
[INFO] [stdout]     |
[INFO] [stdout] 180 |         let mut b=vec![0u16;64]; let n=GetWindowTextW(c,&mut b) 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 `GetDlgItem` in this scope
[INFO] [stdout]    --> src/opts_dlg.rs:188:18
[INFO] [stdout]     |
[INFO] [stdout] 188 |     if let Ok(c)=GetDlgItem(hwnd,id) {
[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/opts_dlg.rs:189:43
[INFO] [stdout]     |
[INFO] [stdout] 189 |         return SendMessageW(c,BM_GETCHECK,WPARAM(0),LPARAM(0)).0==BST_CHECKED.0 as isize; } false }
[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/opts_dlg.rs:189:53
[INFO] [stdout]     |
[INFO] [stdout] 189 |         return SendMessageW(c,BM_GETCHECK,WPARAM(0),LPARAM(0)).0==BST_CHECKED.0 as isize; } false }
[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/opts_dlg.rs:189:16
[INFO] [stdout]     |
[INFO] [stdout] 189 |         return SendMessageW(c,BM_GETCHECK,WPARAM(0),LPARAM(0)).0==BST_CHECKED.0 as isize; } false }
[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/options.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 16 |         RegisterHotKey(wnd, self.id, HOT_KEY_MODIFIERS(self.mods), self.vk as u32).is_ok()
[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/options.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         RegisterHotKey(wnd, self.id, HOT_KEY_MODIFIERS(self.mods), self.vk as u32).is_ok()
[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/options.rs:19:27
[INFO] [stdout]    |
[INFO] [stdout] 19 |         if self.vk != 0 { UnregisterHotKey(wnd, self.id).ok(); }
[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/options.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |             let n = GetWindowTextW(hwnd, &mut b) 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 `GetClassNameW` in this scope
[INFO] [stdout]   --> src/options.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |             let n2 = GetClassNameW(hwnd, &mut b) as usize;
[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/options.rs:82:28
[INFO] [stdout]    |
[INFO] [stdout] 82 |             let mut 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/options.rs:83:16
[INFO] [stdout]    |
[INFO] [stdout] 83 |             if RegOpenKeyExW(HKEY_CURRENT_USER, PCWSTR(path.as_ptr()), 0, KEY_READ, &mut hkey).is_ok() {
[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/options.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 RegCloseKey(hkey).ok();
[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/options.rs:108:28
[INFO] [stdout]     |
[INFO] [stdout] 108 |             let mut 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/options.rs:110:16
[INFO] [stdout]     |
[INFO] [stdout] 110 |             if RegCreateKeyW(HKEY_CURRENT_USER, PCWSTR(path.as_ptr()), &mut hkey).is_ok() {
[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/options.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |                 RegCloseKey(hkey).ok();
[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/options.rs:130:26
[INFO] [stdout]     |
[INFO] [stdout] 130 |             let mut hr = 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/options.rs:131:16
[INFO] [stdout]     |
[INFO] [stdout] 131 |             if RegOpenKeyExW(HKEY_CURRENT_USER, PCWSTR(rp.as_ptr()), 0, KEY_WRITE, &mut hr).is_ok() {
[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/options.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 136 |                     RegSetValueExW(hr, PCWSTR(name.as_ptr()), 0, REG_SZ,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegDeleteValueW` in this scope
[INFO] [stdout]    --> src/options.rs:139:21
[INFO] [stdout]     |
[INFO] [stdout] 139 |                     RegDeleteValueW(hr, PCWSTR(name.as_ptr())).ok();
[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/options.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 RegCloseKey(hr).ok();
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `REG_VALUE_TYPE` in this scope
[INFO] [stdout]    --> src/options.rs:151:20
[INFO] [stdout]     |
[INFO] [stdout] 151 |     let mut kind = REG_VALUE_TYPE::default();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of undeclared type `REG_VALUE_TYPE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExW` in this scope
[INFO] [stdout]    --> src/options.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 152 |     if RegQueryValueExW(hk, PCWSTR(wn.as_ptr()), None, Some(&mut kind),
[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/options.rs:157:5
[INFO] [stdout]     |
[INFO] [stdout] 157 |     RegSetValueExW(hk, PCWSTR(wn.as_ptr()), 0, REG_DWORD,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExW` in this scope
[INFO] [stdout]    --> src/options.rs:162:8
[INFO] [stdout]     |
[INFO] [stdout] 162 |     if RegQueryValueExW(hk, PCWSTR(wn.as_ptr()), None, None, None, Some(&mut sz)).is_err() { return None; }
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `REG_VALUE_TYPE` in this scope
[INFO] [stdout]    --> src/options.rs:164:20
[INFO] [stdout]     |
[INFO] [stdout] 164 |     let mut kind = REG_VALUE_TYPE::default();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of undeclared type `REG_VALUE_TYPE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExW` in this scope
[INFO] [stdout]    --> src/options.rs:165:8
[INFO] [stdout]     |
[INFO] [stdout] 165 |     if RegQueryValueExW(hk, PCWSTR(wn.as_ptr()), None, Some(&mut kind), Some(buf.as_mut_ptr()), Some(&mut sz)).is_ok() {
[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/options.rs:172:5
[INFO] [stdout]     |
[INFO] [stdout] 172 |     RegSetValueExW(hk, PCWSTR(wn.as_ptr()), 0, REG_SZ,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HBITMAP` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:11:44
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn default() -> Self { PinShape { bmp: HBITMAP(std::ptr::null_mut()), rgn: HRGN(std::ptr::null_mut()), w:1, h:1 } }
[INFO] [stdout]    |                                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HRGN` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:11:80
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn default() -> Self { PinShape { bmp: HBITMAP(std::ptr::null_mut()), rgn: HRGN(std::ptr::null_mut()), w:1, h:1 } }
[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/pin_shape.rs:16:40
[INFO] [stdout]    |
[INFO] [stdout] 16 |             if !self.bmp.0.is_null() { DeleteObject(self.bmp).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/pin_shape.rs:17:40
[INFO] [stdout]    |
[INFO] [stdout] 17 |             if !self.rgn.0.is_null() { DeleteObject(self.rgn).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/pin_shape.rs:27:36
[INFO] [stdout]    |
[INFO] [stdout] 27 |         if !self.rgn.0.is_null() { DeleteObject(self.rgn).ok(); self.rgn = HRGN(std::ptr::null_mut()); }
[INFO] [stdout]    |                                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HRGN` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:27:76
[INFO] [stdout]    |
[INFO] [stdout] 27 |         if !self.rgn.0.is_null() { DeleteObject(self.rgn).ok(); self.rgn = HRGN(std::ptr::null_mut()); }
[INFO] [stdout]    |                                                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRectRgn` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let combined = CreateRectRgn(0, 0, 0, 0);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRectRgn` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:38:33
[INFO] [stdout]    |
[INFO] [stdout] 38 |                         let r = CreateRectRgn(s, row, col, row+1);
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CombineRgn` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:39:25
[INFO] [stdout]    |
[INFO] [stdout] 39 |                         CombineRgn(combined, combined, r, RGN_OR);
[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/pin_shape.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |                         DeleteObject(r).ok(); start = None;
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRectRgn` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 let r = CreateRectRgn(s, row, PIN_W, row+1);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CombineRgn` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 CombineRgn(combined, combined, r, RGN_OR);
[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/pin_shape.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 DeleteObject(r).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/pin_shape.rs:55:36
[INFO] [stdout]    |
[INFO] [stdout] 55 |         if !self.bmp.0.is_null() { DeleteObject(self.bmp).ok(); self.bmp = HBITMAP(std::ptr::null_mut()); }
[INFO] [stdout]    |                                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HBITMAP` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:55:76
[INFO] [stdout]    |
[INFO] [stdout] 55 |         if !self.bmp.0.is_null() { DeleteObject(self.bmp).ok(); self.bmp = HBITMAP(std::ptr::null_mut()); }
[INFO] [stdout]    |                                                                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:56:26
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let hdc_screen = GetDC(None);
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let hdc = CreateCompatibleDC(hdc_screen);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let bmp = CreateCompatibleBitmap(hdc_screen, PIN_W, PIN_H);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let old = SelectObject(hdc, bmp);
[INFO] [stdout]    |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |         SelectObject(hdc, old);
[INFO] [stdout]    |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         DeleteDC(hdc); ReleaseDC(None, hdc_screen);
[INFO] [stdout]    |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:62:24
[INFO] [stdout]    |
[INFO] [stdout] 62 |         DeleteDC(hdc); ReleaseDC(None, hdc_screen);
[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/pin_shape.rs:85:31
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let bg = CreateSolidBrush(COLORREF(0x00FF00FF));
[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/pin_shape.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let bg = CreateSolidBrush(COLORREF(0x00FF00FF));
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 87 |     FillRect(hdc, &rc, bg); DeleteObject(bg).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/pin_shape.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |     FillRect(hdc, &rc, bg); DeleteObject(bg).ok();
[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/pin_shape.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let hb = CreateSolidBrush(mid);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:90:53
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let hr = RECT{left:1,top:0,right:w-1,bottom:8}; FillRect(hdc, &hr, hb); DeleteObject(hb).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/pin_shape.rs:90:77
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let hr = RECT{left:1,top:0,right:w-1,bottom:8}; FillRect(hdc, &hr, hb); DeleteObject(hb).ok();
[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/pin_shape.rs:91:15
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let hlb = CreateSolidBrush(light);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:92:53
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let hl = RECT{left:2,top:1,right:w/2,bottom:4}; FillRect(hdc, &hl, hlb); DeleteObject(hlb).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/pin_shape.rs:92:78
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let hl = RECT{left:2,top:1,right:w/2,bottom:4}; FillRect(hdc, &hl, hlb); DeleteObject(hlb).ok();
[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/pin_shape.rs:93:15
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let shb = CreateSolidBrush(dark);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:94:55
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let sh = RECT{left:w/2,top:4,right:w-2,bottom:7}; FillRect(hdc, &sh, shb); DeleteObject(shb).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/pin_shape.rs:94:80
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let sh = RECT{left:w/2,top:4,right:w-2,bottom:7}; FillRect(hdc, &sh, shb); DeleteObject(shb).ok();
[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/pin_shape.rs:96:14
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let sb = CreateSolidBrush(dark);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]   --> src/pin_shape.rs:97:51
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let sr = RECT{left:5,top:8,right:8,bottom:h}; FillRect(hdc, &sr, sb); DeleteObject(sb).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/pin_shape.rs:97:75
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let sr = RECT{left:5,top:8,right:8,bottom:h}; FillRect(hdc, &sr, sb); DeleteObject(sb).ok();
[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/pin_shape.rs:100:35
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn cr(r:u8,g:u8,b:u8)->COLORREF { 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 `COLORREF` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:103:26
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let bg = if active { COLORREF(0x0000CC) } else { COLORREF(0x005020) };
[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/pin_shape.rs:103:54
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let bg = if active { COLORREF(0x0000CC) } else { COLORREF(0x005020) };
[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/pin_shape.rs:104:16
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let brbg = CreateSolidBrush(bg);
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:106:5
[INFO] [stdout]     |
[INFO] [stdout] 106 |     FillRect(hdc, &rc, brbg); DeleteObject(brbg).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/pin_shape.rs:106:31
[INFO] [stdout]     |
[INFO] [stdout] 106 |     FillRect(hdc, &rc, brbg); DeleteObject(brbg).ok();
[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/pin_shape.rs:109:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let hb = CreateSolidBrush(head_clr);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:111:59
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let hr=RECT{left:hx,top:hy,right:hx+hw,bottom:hy+hh}; FillRect(hdc,&hr,hb); DeleteObject(hb).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/pin_shape.rs:111:81
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let hr=RECT{left:hx,top:hy,right:hx+hw,bottom:hy+hh}; FillRect(hdc,&hr,hb); DeleteObject(hb).ok();
[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/pin_shape.rs:112:14
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let sb = CreateSolidBrush(cr(r,g,b));
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:114:55
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let sr=RECT{left:sx,top:sy,right:sx+sw,bottom:h}; FillRect(hdc,&sr,sb); DeleteObject(sb).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/pin_shape.rs:114:77
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let sr=RECT{left:sx,top:sy,right:sx+sw,bottom:h}; FillRect(hdc,&sr,sb); DeleteObject(sb).ok();
[INFO] [stdout]     |                                                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let size = GetSystemMetrics(SM_CXSMICON).max(16);
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:119:22
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let hdc_screen = GetDC(None);
[INFO] [stdout]     |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:120:15
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let hdc = CreateCompatibleDC(hdc_screen);
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:121:15
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let hbm = CreateCompatibleBitmap(hdc_screen, size, size);
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:122:15
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let old = SelectObject(hdc, hbm);
[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/pin_shape.rs:124:20
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let hbm_mask = CreateBitmap(size, size, 1, 1, None);
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:125:14
[INFO] [stdout]     |
[INFO] [stdout] 125 |     { let hm=CreateCompatibleDC(None); let om=SelectObject(hm,hbm_mask);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:125:47
[INFO] [stdout]     |
[INFO] [stdout] 125 |     { let hm=CreateCompatibleDC(None); let om=SelectObject(hm,hbm_mask);
[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/pin_shape.rs:126:31
[INFO] [stdout]     |
[INFO] [stdout] 126 |       let br=CreateSolidBrush(COLORREF(0)); let rc=RECT{left:0,top:0,right:size,bottom:size};
[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/pin_shape.rs:126:14
[INFO] [stdout]     |
[INFO] [stdout] 126 |       let br=CreateSolidBrush(COLORREF(0)); let rc=RECT{left:0,top:0,right:size,bottom:size};
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:127:7
[INFO] [stdout]     |
[INFO] [stdout] 127 |       FillRect(hm,&rc,br); DeleteObject(br).ok(); SelectObject(hm,om); DeleteDC(hm); }
[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/pin_shape.rs:127:28
[INFO] [stdout]     |
[INFO] [stdout] 127 |       FillRect(hm,&rc,br); DeleteObject(br).ok(); SelectObject(hm,om); DeleteDC(hm); }
[INFO] [stdout]     |                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:127:51
[INFO] [stdout]     |
[INFO] [stdout] 127 |       FillRect(hm,&rc,br); DeleteObject(br).ok(); SelectObject(hm,om); DeleteDC(hm); }
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:127:72
[INFO] [stdout]     |
[INFO] [stdout] 127 |       FillRect(hm,&rc,br); DeleteObject(br).ok(); SelectObject(hm,om); DeleteDC(hm); }
[INFO] [stdout]     |                                                                        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:128:5
[INFO] [stdout]     |
[INFO] [stdout] 128 |     SelectObject(hdc, old); DeleteDC(hdc); ReleaseDC(None, hdc_screen);
[INFO] [stdout]     |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:128:29
[INFO] [stdout]     |
[INFO] [stdout] 128 |     SelectObject(hdc, old); DeleteDC(hdc); ReleaseDC(None, hdc_screen);
[INFO] [stdout]     |                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:128:44
[INFO] [stdout]     |
[INFO] [stdout] 128 |     SelectObject(hdc, old); DeleteDC(hdc); ReleaseDC(None, hdc_screen);
[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/pin_shape.rs:129:31
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let ii = ICONINFO { fIcon:BOOL(1), xHotspot:(size/2)as u32, yHotspot:(size/2)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 `CreateIconIndirect` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:131:16
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let icon = CreateIconIndirect(&ii).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 `DeleteObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 132 |     DeleteObject(hbm).ok(); DeleteObject(hbm_mask).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/pin_shape.rs:132:29
[INFO] [stdout]     |
[INFO] [stdout] 132 |     DeleteObject(hbm).ok(); DeleteObject(hbm_mask).ok();
[INFO] [stdout]     |                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:138:22
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let hdc_screen = GetDC(None);
[INFO] [stdout]     |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:139:15
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let hdc = CreateCompatibleDC(hdc_screen);
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:140:15
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let hbm = CreateCompatibleBitmap(hdc_screen, size, size);
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:141:15
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let old = SelectObject(hdc, hbm);
[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/pin_shape.rs:142:34
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let hbr_w = CreateSolidBrush(COLORREF(0x00FFFFFF));
[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/pin_shape.rs:142:17
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let hbr_w = CreateSolidBrush(COLORREF(0x00FFFFFF));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:144:5
[INFO] [stdout]     |
[INFO] [stdout] 144 |     FillRect(hdc,&rc,hbr_w); DeleteObject(hbr_w).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/pin_shape.rs:144:30
[INFO] [stdout]     |
[INFO] [stdout] 144 |     FillRect(hdc,&rc,hbr_w); DeleteObject(hbr_w).ok();
[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/pin_shape.rs:145:38
[INFO] [stdout]     |
[INFO] [stdout] 145 |     let pen = CreatePen(PS_SOLID, 3, COLORREF(0x00000088));
[INFO] [stdout]     |                                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePen` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:145:15
[INFO] [stdout]     |
[INFO] [stdout] 145 |     let pen = CreatePen(PS_SOLID, 3, COLORREF(0x00000088));
[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/pin_shape.rs:146:39
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let thin = CreatePen(PS_SOLID, 2, COLORREF(0x00000088));
[INFO] [stdout]     |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePen` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:146:16
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let thin = CreatePen(PS_SOLID, 2, COLORREF(0x00000088));
[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/pin_shape.rs:147:33
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let brsh = CreateSolidBrush(COLORREF(0x00000088));
[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/pin_shape.rs:147:16
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let brsh = CreateSolidBrush(COLORREF(0x00000088));
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:148:14
[INFO] [stdout]     |
[INFO] [stdout] 148 |     let op = SelectObject(hdc, pen); let ob = SelectObject(hdc, brsh);
[INFO] [stdout]     |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:148:47
[INFO] [stdout]     |
[INFO] [stdout] 148 |     let op = SelectObject(hdc, pen); let ob = SelectObject(hdc, brsh);
[INFO] [stdout]     |                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ellipse` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:149:5
[INFO] [stdout]     |
[INFO] [stdout] 149 |     Ellipse(hdc, size/2-2, 2, size-2, size/3+2);
[INFO] [stdout]     |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 150 |     SelectObject(hdc, thin);
[INFO] [stdout]     |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveToEx` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:151:5
[INFO] [stdout]     |
[INFO] [stdout] 151 |     MoveToEx(hdc, size/2, size/3+1, None); LineTo(hdc, size/2-10, size-3);
[INFO] [stdout]     |     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LineTo` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:151:44
[INFO] [stdout]     |
[INFO] [stdout] 151 |     MoveToEx(hdc, size/2, size/3+1, None); LineTo(hdc, size/2-10, size-3);
[INFO] [stdout]     |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveToEx` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 152 |     MoveToEx(hdc, size/2-7, size/6, None); LineTo(hdc, size-3, size/6);
[INFO] [stdout]     |     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LineTo` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:152:44
[INFO] [stdout]     |
[INFO] [stdout] 152 |     MoveToEx(hdc, size/2-7, size/6, None); LineTo(hdc, size-3, size/6);
[INFO] [stdout]     |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:153:5
[INFO] [stdout]     |
[INFO] [stdout] 153 |     SelectObject(hdc, op); SelectObject(hdc, ob);
[INFO] [stdout]     |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:153:28
[INFO] [stdout]     |
[INFO] [stdout] 153 |     SelectObject(hdc, op); SelectObject(hdc, ob);
[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/pin_shape.rs:154:5
[INFO] [stdout]     |
[INFO] [stdout] 154 |     DeleteObject(pen).ok(); DeleteObject(thin).ok(); DeleteObject(brsh).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/pin_shape.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 |     DeleteObject(pen).ok(); DeleteObject(thin).ok(); DeleteObject(brsh).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/pin_shape.rs:154:54
[INFO] [stdout]     |
[INFO] [stdout] 154 |     DeleteObject(pen).ok(); DeleteObject(thin).ok(); DeleteObject(brsh).ok();
[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/pin_shape.rs:155:20
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let hbm_mask = CreateBitmap(size, size, 1, 1, None);
[INFO] [stdout]     |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:156:14
[INFO] [stdout]     |
[INFO] [stdout] 156 |     { let hm=CreateCompatibleDC(None); let om=SelectObject(hm,hbm_mask);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:156:47
[INFO] [stdout]     |
[INFO] [stdout] 156 |     { let hm=CreateCompatibleDC(None); let om=SelectObject(hm,hbm_mask);
[INFO] [stdout]     |                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:157:7
[INFO] [stdout]     |
[INFO] [stdout] 157 |       BitBlt(hm,0,0,size,size,hdc,0,0,SRCCOPY).ok();
[INFO] [stdout]     |       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:158:7
[INFO] [stdout]     |
[INFO] [stdout] 158 |       SelectObject(hm,om); DeleteDC(hm); }
[INFO] [stdout]     |       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:158:28
[INFO] [stdout]     |
[INFO] [stdout] 158 |       SelectObject(hm,om); DeleteDC(hm); }
[INFO] [stdout]     |                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:159:5
[INFO] [stdout]     |
[INFO] [stdout] 159 |     SelectObject(hdc, old); DeleteDC(hdc); ReleaseDC(None, hdc_screen);
[INFO] [stdout]     |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:159:29
[INFO] [stdout]     |
[INFO] [stdout] 159 |     SelectObject(hdc, old); DeleteDC(hdc); ReleaseDC(None, hdc_screen);
[INFO] [stdout]     |                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:159:44
[INFO] [stdout]     |
[INFO] [stdout] 159 |     SelectObject(hdc, old); DeleteDC(hdc); ReleaseDC(None, hdc_screen);
[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/pin_shape.rs:160:31
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let ii = ICONINFO { fIcon:BOOL(0), xHotspot:(size/2-10)as u32, yHotspot:(size-3)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 `CreateIconIndirect` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:162:16
[INFO] [stdout]     |
[INFO] [stdout] 162 |     let hcur = CreateIconIndirect(&ii).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 `DeleteObject` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |     DeleteObject(hbm).ok(); DeleteObject(hbm_mask).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/pin_shape.rs:163:29
[INFO] [stdout]     |
[INFO] [stdout] 163 |     DeleteObject(hbm).ok(); DeleteObject(hbm_mask).ok();
[INFO] [stdout]     |                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HCURSOR` in this scope
[INFO] [stdout]    --> src/pin_shape.rs:164:5
[INFO] [stdout]     |
[INFO] [stdout] 164 |     HCURSOR(hcur.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/pin_wnd.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     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 `HMENU` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |         parent, HMENU(std::ptr::null_mut()), hinstance, None,
[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/pin_wnd.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     CreateWindowExW(
[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/pin_wnd.rs:39:47
[INFO] [stdout]    |
[INFO] [stdout] 39 |         WM_CREATE       => { ev_create(hwnd); 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/pin_wnd.rs:40:48
[INFO] [stdout]    |
[INFO] [stdout] 40 |         WM_DESTROY      => { ev_destroy(hwnd); 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/pin_wnd.rs:41:76
[INFO] [stdout]    |
[INFO] [stdout] 41 |         WM_TIMER        => { if wparam.0 == POLL_TIMER { ev_timer(hwnd); } 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/pin_wnd.rs:42:46
[INFO] [stdout]    |
[INFO] [stdout] 42 |         WM_PAINT        => { ev_paint(hwnd); 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 `DestroyWindow` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:43:30
[INFO] [stdout]    |
[INFO] [stdout] 43 |         WM_LBUTTONDOWN  => { DestroyWindow(hwnd).ok(); 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/pin_wnd.rs:43:56
[INFO] [stdout]    |
[INFO] [stdout] 43 |         WM_LBUTTONDOWN  => { DestroyWindow(hwnd).ok(); 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 `SetTimer` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |                         SetTimer(hwnd, POLL_TIMER, wparam.0 as u32, None);
[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/pin_wnd.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             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 `HWND` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:55:26
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let target = HWND(wparam.0 as *mut _);
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 55 -             let target = HWND(wparam.0 as *mut _);
[INFO] [stdout] 55 +             let target = hwnd(wparam.0 as *mut _);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |             LRESULT(ev_assign_wnd(hwnd, target, poll) 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/pin_wnd.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             LRESULT(r)
[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/pin_wnd.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 |         _ => 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 `HWND` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |             topmost_wnd: HWND(std::ptr::null_mut()),
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 72 -             topmost_wnd: HWND(std::ptr::null_mut()),
[INFO] [stdout] 72 +             topmost_wnd: hwnd(std::ptr::null_mut()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:73:26
[INFO] [stdout]    |
[INFO] [stdout] 73 |             proxy_wnd:   HWND(std::ptr::null_mut()),
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 73 -             proxy_wnd:   HWND(std::ptr::null_mut()),
[INFO] [stdout] 73 +             proxy_wnd:   hwnd(std::ptr::null_mut()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:78:42
[INFO] [stdout]    |
[INFO] [stdout] 78 |     PostMessageW(main_wnd, WM_PINSTATUS, WPARAM(hwnd.0 as usize), LPARAM(1)).ok();
[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/pin_wnd.rs:78:67
[INFO] [stdout]    |
[INFO] [stdout] 78 |     PostMessageW(main_wnd, WM_PINSTATUS, WPARAM(hwnd.0 as usize), LPARAM(1)).ok();
[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/pin_wnd.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     PostMessageW(main_wnd, WM_PINSTATUS, WPARAM(hwnd.0 as usize), LPARAM(1)).ok();
[INFO] [stdout]    |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let mut rc = RECT::default();
[INFO] [stdout]    |                  ^^^^ use of undeclared type `RECT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |     GetWindowRect(hwnd, &mut rc).ok();
[INFO] [stdout]    |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let sw = GetSystemMetrics(SM_CXSCREEN); let sh = GetSystemMetrics(SM_CYSCREEN);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:81:54
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let sw = GetSystemMetrics(SM_CXSCREEN); let sh = GetSystemMetrics(SM_CYSCREEN);
[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/pin_wnd.rs:82:24
[INFO] [stdout]    |
[INFO] [stdout] 82 |     SetWindowPos(hwnd, HWND(std::ptr::null_mut()),
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 82 -     SetWindowPos(hwnd, HWND(std::ptr::null_mut()),
[INFO] [stdout] 82 +     SetWindowPos(hwnd, hwnd(std::ptr::null_mut()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:82:5
[INFO] [stdout]    |
[INFO] [stdout] 82 |     SetWindowPos(hwnd, HWND(std::ptr::null_mut()),
[INFO] [stdout]    |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         SetWindowPos(topmost, HWND_NOTOPMOST, 0,0,0,0,
[INFO] [stdout]    |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]   --> src/pin_wnd.rs:96:42
[INFO] [stdout]    |
[INFO] [stdout] 96 |     PostMessageW(main_wnd, WM_PINSTATUS, WPARAM(hwnd.0 as usize), LPARAM(0)).ok();
[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/pin_wnd.rs:96:67
[INFO] [stdout]    |
[INFO] [stdout] 96 |     PostMessageW(main_wnd, WM_PINSTATUS, WPARAM(hwnd.0 as usize), LPARAM(0)).ok();
[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/pin_wnd.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 96 |     PostMessageW(main_wnd, WM_PINSTATUS, WPARAM(hwnd.0 as usize), LPARAM(0)).ok();
[INFO] [stdout]    |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindow` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:104:32
[INFO] [stdout]     |
[INFO] [stdout] 104 |     if topmost.0.is_null() || !IsWindow(topmost).as_bool() { DestroyWindow(hwnd).ok(); return; }
[INFO] [stdout]     |                                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:104:62
[INFO] [stdout]     |
[INFO] [stdout] 104 |     if topmost.0.is_null() || !IsWindow(topmost).as_bool() { DestroyWindow(hwnd).ok(); return; }
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:105:49
[INFO] [stdout]     |
[INFO] [stdout] 105 |     if proxy_mode && (proxy_wnd.0.is_null() || !IsWindowVisible(proxy_wnd).as_bool()) {
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:115:18
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut ps = PAINTSTRUCT::default();
[INFO] [stdout]     |                  ^^^^^^^^^^^ use of undeclared type `PAINTSTRUCT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:116:15
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let hdc = BeginPaint(hwnd, &mut ps);
[INFO] [stdout]     |               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:120:19
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let mdc = CreateCompatibleDC(hdc);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:121:19
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let old = SelectObject(mdc, bmp);
[INFO] [stdout]     |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |         BitBlt(hdc,0,0,w,h,mdc,0,0,SRCCOPY).ok();
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |         SelectObject(mdc, old); DeleteDC(mdc);
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:123:33
[INFO] [stdout]     |
[INFO] [stdout] 123 |         SelectObject(mdc, old); DeleteDC(mdc);
[INFO] [stdout]     |                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 125 |     EndPaint(hwnd, &ps);
[INFO] [stdout]     |     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 |             if !IsWindowVisible(target).as_bool() || is_rect_empty(target) {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     SetWindowPos(target, HWND_TOPMOST, 0,0,0,0, SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE).ok();
[INFO] [stdout]     |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRectRgn` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:144:24
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let rgn_copy = CreateRectRgn(0,0,0,0);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HRGN` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:145:38
[INFO] [stdout]     |
[INFO] [stdout] 145 |         if CombineRgn(rgn_copy, rgn, HRGN(std::ptr::null_mut()), RGN_COPY).0 != 0 {
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CombineRgn` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout] 145 |         if CombineRgn(rgn_copy, rgn, HRGN(std::ptr::null_mut()), RGN_COPY).0 != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowRgn` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:146:16
[INFO] [stdout]     |
[INFO] [stdout] 146 |             if SetWindowRgn(hwnd, rgn_copy, FALSE) == 0 {
[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/pin_wnd.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 DeleteObject(rgn_copy).ok();
[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/pin_wnd.rs:151:24
[INFO] [stdout]     |
[INFO] [stdout] 151 |     SetWindowPos(hwnd, HWND(std::ptr::null_mut()), 0,0,w,h,
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 151 -     SetWindowPos(hwnd, HWND(std::ptr::null_mut()), 0,0,w,h,
[INFO] [stdout] 151 +     SetWindowPos(hwnd, hwnd(std::ptr::null_mut()), 0,0,w,h,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:151:5
[INFO] [stdout]     |
[INFO] [stdout] 151 |     SetWindowPos(hwnd, HWND(std::ptr::null_mut()), 0,0,w,h,
[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/pin_wnd.rs:154:5
[INFO] [stdout]     |
[INFO] [stdout] 154 |     ShowWindow(hwnd, SW_SHOWNOACTIVATE);
[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/pin_wnd.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 155 |     SetForegroundWindow(target);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTimer` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:156:5
[INFO] [stdout]     |
[INFO] [stdout] 156 |     SetTimer(hwnd, POLL_TIMER, poll_rate, None);
[INFO] [stdout]     |     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindow` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |     if !IsWindow(topmost).as_bool() || pin_owner.0.is_null() { return false; }
[INFO] [stdout]     |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:166:14
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let ov = IsWindowVisible(pin_owner).as_bool() && !IsIconic(pin_owner).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 `IsIconic` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:166:55
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let ov = IsWindowVisible(pin_owner).as_bool() && !IsIconic(pin_owner).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 `IsWindowVisible` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:167:14
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let pv = IsWindowVisible(hwnd).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 `ShowWindow` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:168:19
[INFO] [stdout]     |
[INFO] [stdout] 168 |     if ov != pv { ShowWindow(hwnd, if ov { SW_SHOWNOACTIVATE } else { 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 `GetWindowLongW` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let ex = GetWindowLongW(topmost, GWL_EXSTYLE) 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 `SetWindowPos` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 |         SetWindowPos(topmost, HWND_TOPMOST, 0,0,0,0, SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE).ok();
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:184:15
[INFO] [stdout]     |
[INFO] [stdout] 184 |     let tid = GetWindowThreadProcessId(topmost, None);
[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/pin_wnd.rs:186:50
[INFO] [stdout]     |
[INFO] [stdout] 186 |     EnumThreadWindows(tid, Some(enum_thread_cb), LPARAM(&mut wnds as *mut _ 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 `EnumThreadWindows` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:186:5
[INFO] [stdout]     |
[INFO] [stdout] 186 |     EnumThreadWindows(tid, Some(enum_thread_cb), LPARAM(&mut wnds as *mut _ 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 `SetWindowPos` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:195:17
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 SetWindowPos(w, le, 0,0,0,0, SWP_NOACTIVATE|SWP_NOMOVE|SWP_NOSIZE|SWP_NOOWNERZORDER).ok();
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:209:19
[INFO] [stdout]     |
[INFO] [stdout] 209 |     let style   = GetWindowLongW(pin_owner, GWL_STYLE) 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 `GetWindowLongW` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:210:19
[INFO] [stdout]     |
[INFO] [stdout] 210 |     let ex      = GetWindowLongW(pin_owner, GWL_EXSTYLE) 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 `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:217:17
[INFO] [stdout]     |
[INFO] [stdout] 217 |     let btn_w = GetSystemMetrics(SM_CXSIZE);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RECT` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:219:18
[INFO] [stdout]     |
[INFO] [stdout] 219 |     let mut pr = RECT::default();
[INFO] [stdout]     |                  ^^^^ use of undeclared type `RECT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:220:5
[INFO] [stdout]     |
[INFO] [stdout] 220 |     GetWindowRect(pin_owner, &mut pr).ok();
[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/pin_wnd.rs:222:24
[INFO] [stdout]     |
[INFO] [stdout] 222 |     SetWindowPos(hwnd, HWND(std::ptr::null_mut()), x, pr.top+3, 0, 0,
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 222 -     SetWindowPos(hwnd, HWND(std::ptr::null_mut()), x, pr.top+3, 0, 0,
[INFO] [stdout] 222 +     SetWindowPos(hwnd, hwnd(std::ptr::null_mut()), x, pr.top+3, 0, 0,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:222:5
[INFO] [stdout]     |
[INFO] [stdout] 222 |     SetWindowPos(hwnd, HWND(std::ptr::null_mut()), x, pr.top+3, 0, 0,
[INFO] [stdout]     |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindow` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |     if !IsWindow(topmost).as_bool() { return false; }
[INFO] [stdout]     |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:229:15
[INFO] [stdout]     |
[INFO] [stdout] 229 |     let tid = GetWindowThreadProcessId(topmost, None);
[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/pin_wnd.rs:231:49
[INFO] [stdout]     |
[INFO] [stdout] 231 |     EnumThreadWindows(tid, Some(enum_proxy_cb), LPARAM(&p as *const _ 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 `EnumThreadWindows` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:231:5
[INFO] [stdout]     |
[INFO] [stdout] 231 |     EnumThreadWindows(tid, Some(enum_proxy_cb), LPARAM(&p as *const _ 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 `GetWindow` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |     let owner = GetWindow(wnd, GW_OWNER).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 `IsWindowVisible` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:240:30
[INFO] [stdout]     |
[INFO] [stdout] 240 |     if owner == p.app_wnd && IsWindowVisible(wnd).as_bool() && !IsIconic(wnd).as_bool() && !is_rect_empty(wnd) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsIconic` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:240:65
[INFO] [stdout]     |
[INFO] [stdout] 240 |     if owner == p.app_wnd && IsWindowVisible(wnd).as_bool() && !IsIconic(wnd).as_bool() && !is_rect_empty(wnd) {
[INFO] [stdout]     |                                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:244:17
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 SetWindowPos(wnd, p.pin, 0,0,0,0, SWP_NOACTIVATE|SWP_NOMOVE|SWP_NOSIZE).ok();
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RECT` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:253:18
[INFO] [stdout]     |
[INFO] [stdout] 253 |     let mut rc = RECT::default();
[INFO] [stdout]     |                  ^^^^ use of undeclared type `RECT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:254:5
[INFO] [stdout]     |
[INFO] [stdout] 254 |     GetWindowRect(hwnd, &mut rc).ok();
[INFO] [stdout]     |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope
[INFO] [stdout]    --> src/pin_wnd.rs:260:6
[INFO] [stdout]     |
[INFO] [stdout] 260 |     (GetWindowLongW(hwnd, GWL_STYLE) as u32 & WS_DISABLED.0) == 0
[INFO] [stdout]     |      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope
[INFO] [stdout]   --> src/tray.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Shell_NotifyIconW(NIM_ADD, &nid).ok();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope
[INFO] [stdout]   --> src/tray.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub unsafe fn remove(hwnd: HWND) { Shell_NotifyIconW(NIM_DELETE, &mk(hwnd)).ok(); }
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope
[INFO] [stdout]   --> src/tray.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Shell_NotifyIconW(NIM_MODIFY, &nid).ok();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope
[INFO] [stdout]   --> src/tray.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     Shell_NotifyIconW(NIM_MODIFY, &nid).ok();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope
[INFO] [stdout]   --> src/main.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             MessageBoxW(None, PCWSTR(msg.as_ptr()), w!("DeskPins"), MB_ICONERROR | MB_OK);
[INFO] [stdout]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in this scope
[INFO] [stdout]   --> src/main.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 |     if let Ok(existing) = FindWindowW(PCWSTR(cls_wide.as_ptr()), 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 `SetForegroundWindow` in this scope
[INFO] [stdout]   --> src/main.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |             SetForegroundWindow(existing);
[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:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |             main_wnd:       HWND(std::ptr::null_mut()),
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:55:29
[INFO] [stdout]    |
[INFO] [stdout] 55 |             layer_wnd:      HWND(std::ptr::null_mut()),
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:56:29
[INFO] [stdout]    |
[INFO] [stdout] 56 |             about_dlg:      HWND(std::ptr::null_mut()),
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HICON` in this scope
[INFO] [stdout]   --> src/main.rs:57:29
[INFO] [stdout]    |
[INFO] [stdout] 57 |             sm_icon:        HICON(std::ptr::null_mut()),
[INFO] [stdout]    |                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HICON` in this scope
[INFO] [stdout]   --> src/main.rs:58:29
[INFO] [stdout]    |
[INFO] [stdout] 58 |             sm_clr_icon:    HICON(std::ptr::null_mut()),
[INFO] [stdout]    |                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stdout]   --> src/main.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         LoadCursorW(None, IDC_ARROW).unwrap_or_default().into(),
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MSG` in this scope
[INFO] [stdout]   --> src/main.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let mut msg = MSG::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `MSG`
[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:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let r = GetMessageW(&mut msg, None, 0, 0);
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsDialogMessageW` in this scope
[INFO] [stdout]   --> src/main.rs:84:34
[INFO] [stdout]    |
[INFO] [stdout] 84 |         if !about.0.is_null() && IsDialogMessageW(about, &msg).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:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         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:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         DispatchMessageW(&msg);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0408, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0408`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `deskpins-rs` (bin "deskpins") due to 802 previous errors
[INFO] running `"docker" "inspect" "5e95f432742687807bbce2398ed1f5f7e828d82255fccd8a14c79a6e3898f623"`
[INFO] running `"docker" "rm" "-f" "5e95f432742687807bbce2398ed1f5f7e828d82255fccd8a14c79a6e3898f623"`
[INFO] [stdout] 5e95f432742687807bbce2398ed1f5f7e828d82255fccd8a14c79a6e3898f623
