[INFO] cloning repository https://github.com/alex-cortina/shotkey
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alex-cortina/shotkey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex-cortina%2Fshotkey"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex-cortina%2Fshotkey'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 861ad45728b8197226bb387ab77d6877dfba2792
[INFO] testing alex-cortina/shotkey 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%2Falex-cortina%2Fshotkey" "/workspace/builds/worker-6-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/alex-cortina/shotkey
[INFO] finished tweaking git repo https://github.com/alex-cortina/shotkey
[INFO] tweaked toml for git repo https://github.com/alex-cortina/shotkey written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alex-cortina/shotkey 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/alex-cortina/shotkey 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-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ad51abf95175cfae117010cd421521774eaa8325a1d8b40557c6e484817dc7c5
[INFO] running `"docker" "start" "ad51abf95175cfae117010cd421521774eaa8325a1d8b40557c6e484817dc7c5"`
[INFO] running `"docker" "inspect" "ad51abf95175cfae117010cd421521774eaa8325a1d8b40557c6e484817dc7c5"`
[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" "ad51abf95175cfae117010cd421521774eaa8325a1d8b40557c6e484817dc7c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "ad51abf95175cfae117010cd421521774eaa8325a1d8b40557c6e484817dc7c5"`
[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" "ad51abf95175cfae117010cd421521774eaa8325a1d8b40557c6e484817dc7c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling unicode-ident v1.0.26
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling cfg-if v1.0.5
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling litemap v0.8.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.14
[INFO] [stderr]    Compiling writeable v0.6.4
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling icu_normalizer_data v2.3.0
[INFO] [stderr]    Compiling libc v0.2.190
[INFO] [stderr]    Compiling icu_properties_data v2.3.0
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling zeroize v1.9.1
[INFO] [stderr]    Compiling simd-adler32 v0.3.10
[INFO] [stderr]    Compiling smallvec v1.16.2
[INFO] [stderr]    Compiling crc32fast v1.5.2
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling cc v1.6.0
[INFO] [stderr]    Compiling rustls-pki-types v1.15.1
[INFO] [stderr]    Compiling windows-targets v0.52.6
[INFO] [stderr]    Compiling rustls v0.23.45
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling windows-result v0.2.0
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling log v0.4.34
[INFO] [stderr]    Compiling miniz_oxide v0.9.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling windows-strings v0.1.0
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling webpki-roots v1.0.9
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling syn v3.0.6
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling flate2 v1.1.10
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling synstructure v0.14.0
[INFO] [stderr]    Compiling windows-implement v0.58.0
[INFO] [stderr]    Compiling windows-interface v0.58.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.6
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling zerofrom-derive v0.1.8
[INFO] [stderr]    Compiling yoke-derive v0.8.4
[INFO] [stderr]    Compiling windows-core v0.58.0
[INFO] [stderr]    Compiling windows v0.58.0
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling zerovec v0.11.8
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling tinystr v0.8.4
[INFO] [stderr]    Compiling potential_utf v0.1.6
[INFO] [stderr]    Compiling icu_collections v2.3.0
[INFO] [stderr]    Compiling icu_locale_core v2.3.0
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling icu_provider v2.3.1
[INFO] [stderr]    Compiling icu_normalizer v2.3.0
[INFO] [stderr]    Compiling icu_properties v2.3.0
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling rustls-webpki v0.103.15
[INFO] [stderr]    Compiling ureq v2.12.1
[INFO] [stderr]    Compiling shotkey v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/ai.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows::Win32::Foundation::{HWND, LPARAM, WPARAM};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/ai.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use windows::Win32::UI::WindowsAndMessaging::PostMessageW;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Foundation` in `windows`
[INFO] [stdout]  --> src/annotate.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Foundation::Numerics::Matrix3x2;
[INFO] [stdout]   |              ^^^^^^^^^^ could not find `Foundation` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/annotate.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::Foundation::RECT;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/annotate.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::Win32::Graphics::Direct2D::Common::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/annotate.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::Win32::Graphics::Direct2D::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/annotate.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use windows::Win32::Graphics::Dxgi::Common::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/annotate.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows::Win32::Graphics::Gdi::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/capture.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::Foundation::RECT;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/capture.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::Graphics::Gdi::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Foundation` in `windows`
[INFO] [stdout]   --> src/card.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use windows::Foundation::Numerics::Matrix3x2;
[INFO] [stdout]    |              ^^^^^^^^^^ could not find `Foundation` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/card.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows::Win32::Foundation::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/card.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows::Win32::Graphics::Direct2D::Common::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/card.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use windows::Win32::Graphics::Direct2D::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/card.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use windows::Win32::Graphics::DirectWrite::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/card.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use windows::Win32::Graphics::Dxgi::Common::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/card.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | use windows::Win32::Graphics::Gdi::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/card.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use windows::Win32::Graphics::Dwm::DwmFlush;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/card.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | use windows::Win32::UI::Input::KeyboardAndMouse::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/card.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | use windows::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/card.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows::core::w;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/clip.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::Foundation::{GlobalFree, HANDLE, HWND};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/clip.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::Win32::System::DataExchange::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/clip.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::Win32::System::Memory::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/clip.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use windows::Win32::System::Ole::{CF_DIB, CF_HDROP, CF_UNICODETEXT};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/clip.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::core::w;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Foundation` in `windows`
[INFO] [stdout]  --> src/gfx.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Foundation::Numerics::Matrix3x2;
[INFO] [stdout]   |              ^^^^^^^^^^ could not find `Foundation` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/gfx.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::Graphics::Direct2D::Common::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/gfx.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::Graphics::Direct2D::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/gfx.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::Win32::Graphics::DirectWrite::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/keyhook.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows::Win32::Foundation::{HWND, LPARAM, LRESULT, WPARAM};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/keyhook.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use windows::Win32::System::LibraryLoader::GetModuleHandleW;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/keyhook.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows::Win32::UI::Input::KeyboardAndMouse::{
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/keyhook.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use windows::Win32::UI::WindowsAndMessaging::{
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/gfx.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::core::w;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/pastewatch.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use windows::Win32::Foundation::{CloseHandle, HWND, LPARAM, LRESULT, WPARAM};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/pastewatch.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows::Win32::System::DataExchange::GetClipboardSequenceNumber;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/pastewatch.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows::Win32::System::LibraryLoader::GetModuleHandleW;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/pastewatch.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use windows::Win32::System::Threading::{
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/pastewatch.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | use windows::Win32::UI::Input::KeyboardAndMouse::{
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/pastewatch.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | use windows::Win32::UI::WindowsAndMessaging::{
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/pastewatch.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows::core::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/overlay.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows::Win32::Foundation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/overlay.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows::Win32::Graphics::Direct2D::Common::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/overlay.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use windows::Win32::Graphics::Direct2D::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/overlay.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows::Win32::Graphics::Dxgi::Common::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/overlay.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows::Win32::Graphics::Gdi::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/overlay.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use windows::Win32::UI::Input::KeyboardAndMouse::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/overlay.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use windows::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/overlay.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use windows::core::w;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::Foundation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::Graphics::Gdi::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::UI::Shell::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/upload.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::Win32::Foundation::{HWND, LPARAM, WPARAM};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/upload.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::Win32::UI::WindowsAndMessaging::PostMessageW;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/tray.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/util.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::Win32::Foundation::{ERROR_SUCCESS, POINT, RECT};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/util.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::Win32::Graphics::Gdi::{GetMonitorInfoW, MonitorFromPoint, MONITORINFO, MONITOR_DEFAULTTONEAREST};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/util.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use windows::Win32::System::Com::CoTaskMemFree;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/util.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows::Win32::System::Registry::{
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/util.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows::Win32::System::SystemInformation::GetLocalTime;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/util.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows::Win32::UI::HiDpi::{GetDpiForMonitor, MDT_EFFECTIVE_DPI};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/util.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use windows::Win32::UI::Shell::{FOLDERID_Desktop, SHGetKnownFolderPath, ShellExecuteW, KF_FLAG_DEFAULT};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/util.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use windows::Win32::Foundation::HWND;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/util.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use windows::Win32::System::Threading::{
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/util.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | use windows::Win32::UI::Input::KeyboardAndMouse::SetFocus;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/util.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | use windows::Win32::UI::WindowsAndMessaging::{
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/util.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | use windows::Win32::Foundation::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | use windows::Win32::System::Com::{CoInitializeEx, COINIT_APARTMENTTHREADED};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | use windows::Win32::System::LibraryLoader::GetModuleHandleW;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | use windows::Win32::System::Threading::{CreateMutexW, GetCurrentProcess, SetProcessWorkingSetSize};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 | use windows::Win32::UI::HiDpi::{SetProcessDpiAwarenessContext, DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 | use windows::Win32::UI::Input::KeyboardAndMouse::{RegisterHotKey, UnregisterHotKey, HOT_KEY_MODIFIERS, MOD_NOREPEAT};
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 | use windows::Win32::UI::WindowsAndMessaging::*;
[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:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | use windows::core::w;
[INFO] [stdout]    |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]   --> src/card.rs:26:23
[INFO] [stdout]    |
[INFO] [stdout] 26 | const CLASS: windows::core::PCWSTR = w!("ShotkeyCard");
[INFO] [stdout]    |                       ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]   --> src/overlay.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | const CLASS: windows::core::PCWSTR = w!("ShotkeyOverlay");
[INFO] [stdout]    |                       ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]    --> src/util.rs:147:83
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let ok = QueryFullProcessImageNameW(process, PROCESS_NAME_WIN32, windows::core::PWSTR(buf.as_mut_ptr()), &mut len).is_ok();
[INFO] [stdout]     |                                                                                   ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]    --> src/util.rs:148:26
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let _ = windows::Win32::Foundation::CloseHandle(process);
[INFO] [stdout]     |                          ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `WM_CONTEXTMENU` is not bound in all patterns
[INFO] [stdout]    --> src/main.rs:217:13
[INFO] [stdout]     |
[INFO] [stdout] 217 |             WM_RBUTTONUP | WM_CONTEXTMENU => show_menu(),
[INFO] [stdout]     |             ^^^^^^^^^^^^   -------------- variable not in all patterns
[INFO] [stdout]     |             |
[INFO] [stdout]     |             pattern doesn't bind `WM_CONTEXTMENU`
[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_CONTEXTMENU`
[INFO] [stdout]    --> src/main.rs:217:28
[INFO] [stdout]     |
[INFO] [stdout] 217 |             WM_RBUTTONUP | WM_CONTEXTMENU => show_menu(),
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `WM_RBUTTONUP` is not bound in all patterns
[INFO] [stdout]    --> src/main.rs:217:28
[INFO] [stdout]     |
[INFO] [stdout] 217 |             WM_RBUTTONUP | WM_CONTEXTMENU => show_menu(),
[INFO] [stdout]     |             ------------   ^^^^^^^^^^^^^^ pattern doesn't bind `WM_RBUTTONUP`
[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_RBUTTONUP`
[INFO] [stdout]    --> src/main.rs:217:13
[INFO] [stdout]     |
[INFO] [stdout] 217 |             WM_RBUTTONUP | WM_CONTEXTMENU => show_menu(),
[INFO] [stdout]     |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope
[INFO] [stdout]   --> src/annotate.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let bmi = BITMAPINFO {
[INFO] [stdout]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]   --> src/annotate.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 |             bmiHeader: BITMAPINFOHEADER {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]   --> src/annotate.rs:22:45
[INFO] [stdout]    |
[INFO] [stdout] 22 |                 biSize: std::mem::size_of::<BITMAPINFOHEADER>() as u32,
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn burn<BITMAPINFOHEADER>(img: &Image, arrows: &[Arrow]) -> Image {
[INFO] [stdout]    |            ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope
[INFO] [stdout]   --> src/annotate.rs:27:32
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 biCompression: BI_RGB.0,
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope
[INFO] [stdout]   --> src/annotate.rs:34:53
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let Ok(dib) = CreateDIBSection(memdc, &bmi, DIB_RGB_COLORS, &mut bits, None, 0) else {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RENDER_TARGET_PROPERTIES` in this scope
[INFO] [stdout]   --> src/annotate.rs:44:21
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let props = D2D1_RENDER_TARGET_PROPERTIES {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_RENDER_TARGET_TYPE_SOFTWARE` in this scope
[INFO] [stdout]   --> src/annotate.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 |             r#type: D2D1_RENDER_TARGET_TYPE_SOFTWARE,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_PIXEL_FORMAT` in this scope
[INFO] [stdout]   --> src/annotate.rs:46:26
[INFO] [stdout]    |
[INFO] [stdout] 46 |             pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_IGNORE },
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope
[INFO] [stdout]   --> src/annotate.rs:46:54
[INFO] [stdout]    |
[INFO] [stdout] 46 |             pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_IGNORE },
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_ALPHA_MODE_IGNORE` in this scope
[INFO] [stdout]   --> src/annotate.rs:46:93
[INFO] [stdout]    |
[INFO] [stdout] 46 |             pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_IGNORE },
[INFO] [stdout]    |                                                                                             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_ANTIALIAS_MODE_PER_PRIMITIVE` in this scope
[INFO] [stdout]   --> src/annotate.rs:54:37
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 rt.SetAntialiasMode(D2D1_ANTIALIAS_MODE_PER_PRIMITIVE);
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope
[INFO] [stdout]   --> src/capture.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let bmi = BITMAPINFO {
[INFO] [stdout]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]   --> src/capture.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 |             bmiHeader: BITMAPINFOHEADER {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]   --> src/capture.rs:22:45
[INFO] [stdout]    |
[INFO] [stdout] 22 |                 biSize: std::mem::size_of::<BITMAPINFOHEADER>() as u32,
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn grab<BITMAPINFOHEADER>(x: i32, y: i32, w: i32, h: i32) -> Option<Image> {
[INFO] [stdout]    |            ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope
[INFO] [stdout]   --> src/capture.rs:27:32
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 biCompression: BI_RGB.0,
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope
[INFO] [stdout]   --> src/capture.rs:33:59
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let result = match CreateDIBSection(screen, &bmi, DIB_RGB_COLORS, &mut bits, None, 0) {
[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/capture.rs:36:64
[INFO] [stdout]    |
[INFO] [stdout] 36 |                 let ok = BitBlt(mem, 0, 0, w, h, screen, x, y, SRCCOPY | CAPTUREBLT).is_ok();
[INFO] [stdout]    |                                                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CAPTUREBLT` in this scope
[INFO] [stdout]   --> src/capture.rs:36:74
[INFO] [stdout]    |
[INFO] [stdout] 36 |                 let ok = BitBlt(mem, 0, 0, w, h, screen, x, y, SRCCOPY | CAPTUREBLT).is_ok();
[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/card.rs:56:27
[INFO] [stdout]    |
[INFO] [stdout] 56 | const WM_APP_FRAME: u32 = WM_APP + 50;
[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/card.rs:97:11
[INFO] [stdout]    |
[INFO] [stdout] 97 |     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/card.rs:98:11
[INFO] [stdout]    |
[INFO] [stdout] 98 |     host: HWND,
[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/card.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 137 |     memdc: HDC,
[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/card.rs:138:10
[INFO] [stdout]     |
[INFO] [stdout] 138 |     dib: HBITMAP,
[INFO] [stdout]     |          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HGDIOBJ` in this scope
[INFO] [stdout]    --> src/card.rs:139:10
[INFO] [stdout]     |
[INFO] [stdout] 139 |     old: HGDIOBJ,
[INFO] [stdout]     |          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1DCRenderTarget` in this scope
[INFO] [stdout]    --> src/card.rs:140:16
[INFO] [stdout]     |
[INFO] [stdout] 140 |     rt: Option<ID2D1DCRenderTarget>,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  96 | struct Card<ID2D1DCRenderTarget> {
[INFO] [stdout]     |            +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1Bitmap` in this scope
[INFO] [stdout]    --> src/card.rs:141:23
[INFO] [stdout]     |
[INFO] [stdout] 141 |     thumb_bmp: Option<ID2D1Bitmap>,
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  96 | struct Card<ID2D1Bitmap> {
[INFO] [stdout]     |            +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `IDWriteTextFormat` in this scope
[INFO] [stdout]    --> src/card.rs:158:12
[INFO] [stdout]     |
[INFO] [stdout] 158 |     label: IDWriteTextFormat,
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `IDWriteTextFormat` in this scope
[INFO] [stdout]    --> src/card.rs:159:10
[INFO] [stdout]     |
[INFO] [stdout] 159 |     key: IDWriteTextFormat,
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `IDWriteTextFormat` in this scope
[INFO] [stdout]    --> src/card.rs:160:11
[INFO] [stdout]     |
[INFO] [stdout] 160 |     hint: IDWriteTextFormat,
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `IDWriteTextFormat` in this scope
[INFO] [stdout]    --> src/card.rs:161:15
[INFO] [stdout]     |
[INFO] [stdout] 161 |     hint_key: IDWriteTextFormat,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_RECT_F` in this scope
[INFO] [stdout]    --> src/card.rs:244:27
[INFO] [stdout]     |
[INFO] [stdout] 244 | fn pill_rect(c: &Card) -> D2D_RECT_F {
[INFO] [stdout]     |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_RECT_F` in this scope
[INFO] [stdout]    --> src/card.rs:252:30
[INFO] [stdout]     |
[INFO] [stdout] 252 | fn preview_rect(c: &Card) -> D2D_RECT_F {
[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/card.rs:279:24
[INFO] [stdout]     |
[INFO] [stdout] 279 | pub fn register(hinst: HINSTANCE) {
[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/card.rs:281:18
[INFO] [stdout]     |
[INFO] [stdout] 281 |         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/card.rs:282:41
[INFO] [stdout]     |
[INFO] [stdout] 282 |             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] 279 | pub fn register<WNDCLASSEXW>(hinst: HINSTANCE) {
[INFO] [stdout]     |                +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stdout]    --> src/card.rs:285:40
[INFO] [stdout]     |
[INFO] [stdout] 285 |             hCursor: LoadCursorW(None, IDC_ARROW).unwrap_or_default(),
[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/card.rs:298:19
[INFO] [stdout]     |
[INFO] [stdout] 298 | pub fn open(host: HWND, hinst: HINSTANCE, model: Model, shot: &Image, seconds: f32) {
[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/card.rs:298:32
[INFO] [stdout]     |
[INFO] [stdout] 298 | pub fn open(host: HWND, hinst: HINSTANCE, model: Model, shot: &Image, seconds: f32) {
[INFO] [stdout]     |                                ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_LAYERED` in this scope
[INFO] [stdout]    --> src/card.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |             WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TOOLWINDOW,
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOPMOST` in this scope
[INFO] [stdout]    --> src/card.rs:327:29
[INFO] [stdout]     |
[INFO] [stdout] 327 |             WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TOOLWINDOW,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope
[INFO] [stdout]    --> src/card.rs:327:45
[INFO] [stdout]     |
[INFO] [stdout] 327 |             WS_EX_LAYERED | WS_EX_TOPMOST | WS_EX_TOOLWINDOW,
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope
[INFO] [stdout]    --> src/card.rs:330:13
[INFO] [stdout]     |
[INFO] [stdout] 330 |             WS_POPUP,
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope
[INFO] [stdout]    --> src/card.rs:349:19
[INFO] [stdout]     |
[INFO] [stdout] 349 |         let bmi = BITMAPINFO {
[INFO] [stdout]     |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]    --> src/card.rs:350:24
[INFO] [stdout]     |
[INFO] [stdout] 350 |             bmiHeader: BITMAPINFOHEADER {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]    --> src/card.rs:351:45
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 biSize: std::mem::size_of::<BITMAPINFOHEADER>() as u32,
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 298 | pub fn open<BITMAPINFOHEADER>(host: HWND, hinst: HINSTANCE, model: Model, shot: &Image, seconds: f32) {
[INFO] [stdout]     |            ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope
[INFO] [stdout]    --> src/card.rs:356:32
[INFO] [stdout]     |
[INFO] [stdout] 356 |                 biCompression: BI_RGB.0,
[INFO] [stdout]     |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope
[INFO] [stdout]    --> src/card.rs:363:49
[INFO] [stdout]     |
[INFO] [stdout] 363 |         let dib = CreateDIBSection(memdc, &bmi, DIB_RGB_COLORS, &mut bits, None, 0).unwrap_or_default();
[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/card.rs:412:34
[INFO] [stdout]     |
[INFO] [stdout] 412 |         let _ = ShowWindow(hwnd, 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/card.rs:431:23
[INFO] [stdout]     |
[INFO] [stdout] 431 | fn start_frames(hwnd: HWND) {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_RECT_F` in this scope
[INFO] [stdout]    --> src/card.rs:614:22
[INFO] [stdout]     |
[INFO] [stdout] 614 |     let inside = |r: D2D_RECT_F| x >= r.left && x < r.right && y >= r.top && y < r.bottom;
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_RECT_F` in this scope
[INFO] [stdout]    --> src/card.rs:622:39
[INFO] [stdout]     |
[INFO] [stdout] 622 | fn button_rect(c: &Card, i: usize) -> D2D_RECT_F {
[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/card.rs:629:15
[INFO] [stdout]     |
[INFO] [stdout] 629 | fn pick(host: HWND, hit: Hit) {
[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/card.rs:650:41
[INFO] [stdout]     |
[INFO] [stdout] 650 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: u32, wp: WPARAM, lp: 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/card.rs:650:61
[INFO] [stdout]     |
[INFO] [stdout] 650 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: u32, wp: WPARAM, lp: 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/card.rs:650:73
[INFO] [stdout]     |
[INFO] [stdout] 650 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: u32, wp: WPARAM, lp: 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/card.rs:650:84
[INFO] [stdout]     |
[INFO] [stdout] 650 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: u32, wp: WPARAM, lp: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                                                                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_NUMPAD1` in this scope
[INFO] [stdout]    --> src/card.rs:662:53
[INFO] [stdout]     |
[INFO] [stdout] 662 |                     k if k.0 == b'1' as u16 || k == VK_NUMPAD1 => pick(host, Hit::Image),
[INFO] [stdout]     |                                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_NUMPAD2` in this scope
[INFO] [stdout]    --> src/card.rs:663:53
[INFO] [stdout]     |
[INFO] [stdout] 663 |                     k if k.0 == b'2' as u16 || k == VK_NUMPAD2 => pick(host, Hit::Link),
[INFO] [stdout]     |                                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_CONTROL` in this scope
[INFO] [stdout]    --> src/card.rs:680:60
[INFO] [stdout]     |
[INFO] [stdout] 680 |                     k if k.0 == b'Z' as u16 && GetKeyState(VK_CONTROL.0 as i32) < 0 => with_card(|c| {
[INFO] [stdout]     |                                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TRACKMOUSEEVENT` in this scope
[INFO] [stdout]    --> src/card.rs:704:31
[INFO] [stdout]     |
[INFO] [stdout] 704 |                 let mut tme = TRACKMOUSEEVENT {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TRACKMOUSEEVENT` in this scope
[INFO] [stdout]    --> src/card.rs:705:49
[INFO] [stdout]     |
[INFO] [stdout] 705 |                     cbSize: std::mem::size_of::<TRACKMOUSEEVENT>() 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] 650 | unsafe extern "system" fn wndproc<TRACKMOUSEEVENT>(hwnd: HWND, msg: u32, wp: WPARAM, lp: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                  +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TME_LEAVE` in this scope
[INFO] [stdout]    --> src/card.rs:706:30
[INFO] [stdout]     |
[INFO] [stdout] 706 |                     dwFlags: TME_LEAVE,
[INFO] [stdout]     |                              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDC_HAND` in this scope
[INFO] [stdout]    --> src/card.rs:735:49
[INFO] [stdout]     |
[INFO] [stdout] 735 |                     SetCursor(LoadCursorW(None, IDC_HAND).unwrap_or_default());
[INFO] [stdout]     |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WA_INACTIVE` in this scope
[INFO] [stdout]    --> src/card.rs:783:50
[INFO] [stdout]     |
[INFO] [stdout] 783 |         WM_ACTIVATE if (wp.0 & 0xffff) as u32 == WA_INACTIVE => {
[INFO] [stdout]     |                                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RENDER_TARGET_PROPERTIES` in this scope
[INFO] [stdout]    --> src/card.rs:798:29
[INFO] [stdout]     |
[INFO] [stdout] 798 |                 let props = D2D1_RENDER_TARGET_PROPERTIES {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_RENDER_TARGET_TYPE_DEFAULT` in this scope
[INFO] [stdout]    --> src/card.rs:799:29
[INFO] [stdout]     |
[INFO] [stdout] 799 |                     r#type: D2D1_RENDER_TARGET_TYPE_DEFAULT,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_PIXEL_FORMAT` in this scope
[INFO] [stdout]    --> src/card.rs:800:34
[INFO] [stdout]     |
[INFO] [stdout] 800 |                     pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED },
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope
[INFO] [stdout]    --> src/card.rs:800:62
[INFO] [stdout]     |
[INFO] [stdout] 800 |                     pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED },
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_ALPHA_MODE_PREMULTIPLIED` in this scope
[INFO] [stdout]    --> src/card.rs:800:101
[INFO] [stdout]     |
[INFO] [stdout] 800 |                     pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED },
[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/card.rs:806:25
[INFO] [stdout]     |
[INFO] [stdout] 806 |                 let r = RECT { left: 0, top: 0, right: c.w, bottom: c.h };
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_TEXT_ANTIALIAS_MODE_GRAYSCALE` in this scope
[INFO] [stdout]    --> src/card.rs:810:41
[INFO] [stdout]     |
[INFO] [stdout] 810 |                 rt.SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE_GRAYSCALE);
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_BITMAP_PROPERTIES` in this scope
[INFO] [stdout]    --> src/card.rs:811:30
[INFO] [stdout]     |
[INFO] [stdout] 811 |                 let bprops = D2D1_BITMAP_PROPERTIES {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_PIXEL_FORMAT` in this scope
[INFO] [stdout]    --> src/card.rs:812:34
[INFO] [stdout]     |
[INFO] [stdout] 812 |                     pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED },
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope
[INFO] [stdout]    --> src/card.rs:812:62
[INFO] [stdout]     |
[INFO] [stdout] 812 |                     pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED },
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_ALPHA_MODE_PREMULTIPLIED` in this scope
[INFO] [stdout]    --> src/card.rs:812:101
[INFO] [stdout]     |
[INFO] [stdout] 812 |                     pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED },
[INFO] [stdout]     |                                                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope
[INFO] [stdout]    --> src/card.rs:816:28
[INFO] [stdout]     |
[INFO] [stdout] 816 |                 let size = D2D_SIZE_U { width: c.thumb.w as u32, height: c.thumb.h as u32 };
[INFO] [stdout]     |                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_SEMI_BOLD` in this scope
[INFO] [stdout]    --> src/card.rs:823:48
[INFO] [stdout]     |
[INFO] [stdout] 823 |                     label: gfx::font(15.0 * s, DWRITE_FONT_WEIGHT_SEMI_BOLD, DWRITE_TEXT_ALIGNMENT_LEADING),
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_TEXT_ALIGNMENT_LEADING` in this scope
[INFO] [stdout]    --> src/card.rs:823:78
[INFO] [stdout]     |
[INFO] [stdout] 823 |                     label: gfx::font(15.0 * s, DWRITE_FONT_WEIGHT_SEMI_BOLD, DWRITE_TEXT_ALIGNMENT_LEADING),
[INFO] [stdout]     |                                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_SEMI_BOLD` in this scope
[INFO] [stdout]    --> src/card.rs:824:46
[INFO] [stdout]     |
[INFO] [stdout] 824 |                     key: gfx::font(13.0 * s, DWRITE_FONT_WEIGHT_SEMI_BOLD, DWRITE_TEXT_ALIGNMENT_CENTER),
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_TEXT_ALIGNMENT_CENTER` in this scope
[INFO] [stdout]    --> src/card.rs:824:76
[INFO] [stdout]     |
[INFO] [stdout] 824 |                     key: gfx::font(13.0 * s, DWRITE_FONT_WEIGHT_SEMI_BOLD, DWRITE_TEXT_ALIGNMENT_CENTER),
[INFO] [stdout]     |                                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_MEDIUM` in this scope
[INFO] [stdout]    --> src/card.rs:825:47
[INFO] [stdout]     |
[INFO] [stdout] 825 |                     hint: gfx::font(12.5 * s, DWRITE_FONT_WEIGHT_MEDIUM, DWRITE_TEXT_ALIGNMENT_LEADING),
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_TEXT_ALIGNMENT_LEADING` in this scope
[INFO] [stdout]    --> src/card.rs:825:74
[INFO] [stdout]     |
[INFO] [stdout] 825 |                     hint: gfx::font(12.5 * s, DWRITE_FONT_WEIGHT_MEDIUM, DWRITE_TEXT_ALIGNMENT_LEADING),
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_SEMI_BOLD` in this scope
[INFO] [stdout]    --> src/card.rs:826:51
[INFO] [stdout]     |
[INFO] [stdout] 826 |                     hint_key: gfx::font(11.5 * s, DWRITE_FONT_WEIGHT_SEMI_BOLD, DWRITE_TEXT_ALIGNMENT_CENTER),
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_TEXT_ALIGNMENT_CENTER` in this scope
[INFO] [stdout]    --> src/card.rs:826:81
[INFO] [stdout]     |
[INFO] [stdout] 826 |                     hint_key: gfx::font(11.5 * s, DWRITE_FONT_WEIGHT_SEMI_BOLD, DWRITE_TEXT_ALIGNMENT_CENTER),
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1RenderTarget` in this scope
[INFO] [stdout]    --> src/card.rs:836:14
[INFO] [stdout]     |
[INFO] [stdout] 836 |     let rt: &ID2D1RenderTarget = c.rt.as_ref().unwrap();
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_BITMAP_BRUSH_PROPERTIES` in this scope
[INFO] [stdout]    --> src/card.rs:870:22
[INFO] [stdout]     |
[INFO] [stdout] 870 |         let bprops = D2D1_BITMAP_BRUSH_PROPERTIES {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_EXTEND_MODE_CLAMP` in this scope
[INFO] [stdout]    --> src/card.rs:871:26
[INFO] [stdout]     |
[INFO] [stdout] 871 |             extendModeX: D2D1_EXTEND_MODE_CLAMP,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_EXTEND_MODE_CLAMP` in this scope
[INFO] [stdout]    --> src/card.rs:872:26
[INFO] [stdout]     |
[INFO] [stdout] 872 |             extendModeY: D2D1_EXTEND_MODE_CLAMP,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_BITMAP_INTERPOLATION_MODE_LINEAR` in this scope
[INFO] [stdout]    --> src/card.rs:873:32
[INFO] [stdout]     |
[INFO] [stdout] 873 |             interpolationMode: D2D1_BITMAP_INTERPOLATION_MODE_LINEAR,
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_ANTIALIAS_MODE_PER_PRIMITIVE` in this scope
[INFO] [stdout]    --> src/card.rs:885:53
[INFO] [stdout]     |
[INFO] [stdout] 885 |     rt.PushAxisAlignedClip(&gfx::inflate(tr, -1.0), D2D1_ANTIALIAS_MODE_PER_PRIMITIVE);
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_RECT_F` in this scope
[INFO] [stdout]    --> src/card.rs:958:11
[INFO] [stdout]     |
[INFO] [stdout] 958 |     pill: D2D_RECT_F,
[INFO] [stdout]     |           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1RenderTarget` in this scope
[INFO] [stdout]     --> src/card.rs:1000:20
[INFO] [stdout]      |
[INFO] [stdout] 1000 | fn draw_hints(rt: &ID2D1RenderTarget, c: &Card) {
[INFO] [stdout]      |                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1RenderTarget` in this scope
[INFO] [stdout]     --> src/card.rs:1024:16
[INFO] [stdout]      |
[INFO] [stdout] 1024 | fn keycap(rt: &ID2D1RenderTarget, r: D2D_RECT_F, key: &str, font: &IDWriteTextFormat, s: f32) {
[INFO] [stdout]      |                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_RECT_F` in this scope
[INFO] [stdout]     --> src/card.rs:1024:38
[INFO] [stdout]      |
[INFO] [stdout] 1024 | fn keycap(rt: &ID2D1RenderTarget, r: D2D_RECT_F, key: &str, font: &IDWriteTextFormat, s: f32) {
[INFO] [stdout]      |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `IDWriteTextFormat` in this scope
[INFO] [stdout]     --> src/card.rs:1024:68
[INFO] [stdout]      |
[INFO] [stdout] 1024 | fn keycap(rt: &ID2D1RenderTarget, r: D2D_RECT_F, key: &str, font: &IDWriteTextFormat, s: f32) {
[INFO] [stdout]      |                                                                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BLENDFUNCTION` in this scope
[INFO] [stdout]     --> src/card.rs:1044:17
[INFO] [stdout]      |
[INFO] [stdout] 1044 |     let blend = BLENDFUNCTION {
[INFO] [stdout]      |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `AC_SRC_OVER` in this scope
[INFO] [stdout]     --> src/card.rs:1045:18
[INFO] [stdout]      |
[INFO] [stdout] 1045 |         BlendOp: AC_SRC_OVER as u8,
[INFO] [stdout]      |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `AC_SRC_ALPHA` in this scope
[INFO] [stdout]     --> src/card.rs:1048:22
[INFO] [stdout]      |
[INFO] [stdout] 1048 |         AlphaFormat: AC_SRC_ALPHA as u8,
[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/card.rs:1050:15
[INFO] [stdout]      |
[INFO] [stdout] 1050 |     let pos = POINT { x: c.x, y: c.y + dy };
[INFO] [stdout]      |               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SIZE` in this scope
[INFO] [stdout]     --> src/card.rs:1051:16
[INFO] [stdout]      |
[INFO] [stdout] 1051 |     let size = SIZE { cx: c.w, cy: c.h };
[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/card.rs:1052:15
[INFO] [stdout]      |
[INFO] [stdout] 1052 |     let src = POINT { x: 0, y: 0 };
[INFO] [stdout]      |               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ULW_ALPHA` in this scope
[INFO] [stdout]     --> src/card.rs:1053:120
[INFO] [stdout]      |
[INFO] [stdout] 1053 |     let _ = UpdateLayeredWindow(c.hwnd, None, Some(&pos), Some(&size), c.memdc, Some(&src), COLORREF(0), Some(&blend), ULW_ALPHA);
[INFO] [stdout]      |                                                                                                                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GMEM_MOVEABLE` in this scope
[INFO] [stdout]   --> src/clip.rs:77:39
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let Ok(mem) = GlobalAlloc(GMEM_MOVEABLE, data.len()) else { return };
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1Factory` in this scope
[INFO] [stdout]   --> src/gfx.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     static FACTORIES: (ID2D1Factory, IDWriteFactory) = unsafe {
[INFO] [stdout]    |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `IDWriteFactory` in this scope
[INFO] [stdout]   --> src/gfx.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 |     static FACTORIES: (ID2D1Factory, IDWriteFactory) = unsafe {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1Factory` in this scope
[INFO] [stdout]   --> src/gfx.rs:12:33
[INFO] [stdout]    |
[INFO] [stdout] 12 |             D2D1CreateFactory::<ID2D1Factory>(D2D1_FACTORY_TYPE_SINGLE_THREADED, None).expect("Direct2D"),
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_SINGLE_THREADED` in this scope
[INFO] [stdout]   --> src/gfx.rs:12:47
[INFO] [stdout]    |
[INFO] [stdout] 12 |             D2D1CreateFactory::<ID2D1Factory>(D2D1_FACTORY_TYPE_SINGLE_THREADED, None).expect("Direct2D"),
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `IDWriteFactory` in this scope
[INFO] [stdout]   --> src/gfx.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 |             DWriteCreateFactory::<IDWriteFactory>(DWRITE_FACTORY_TYPE_SHARED).expect("DirectWrite"),
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_FACTORY_TYPE_SHARED` in this scope
[INFO] [stdout]   --> src/gfx.rs:13:51
[INFO] [stdout]    |
[INFO] [stdout] 13 |             DWriteCreateFactory::<IDWriteFactory>(DWRITE_FACTORY_TYPE_SHARED).expect("DirectWrite"),
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1Factory` in this scope
[INFO] [stdout]   --> src/gfx.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn d2d() -> ID2D1Factory {
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `IDWriteFactory` in this scope
[INFO] [stdout]   --> src/gfx.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn dwrite() -> IDWriteFactory {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D1_COLOR_F` in this scope
[INFO] [stdout]   --> src/gfx.rs:26:45
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn rgba(r: u8, g: u8, b: u8, a: f32) -> D2D1_COLOR_F {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope
[INFO] [stdout]   --> src/gfx.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     D2D1_COLOR_F { r: r as f32 / 255.0, g: g as f32 / 255.0, b: b as f32 / 255.0, a }
[INFO] [stdout]    |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_RECT_F` in this scope
[INFO] [stdout]   --> src/gfx.rs:30:48
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn rect(x: f32, y: f32, w: f32, h: f32) -> D2D_RECT_F {
[INFO] [stdout]    |                                                ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope
[INFO] [stdout]   --> src/gfx.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     D2D_RECT_F { left: x, top: y, right: x + w, bottom: y + h }
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_RECT_F` in this scope
[INFO] [stdout]   --> src/gfx.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn rrect(r: D2D_RECT_F, radius: f32) -> D2D1_ROUNDED_RECT {
[INFO] [stdout]    |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D1_ROUNDED_RECT` in this scope
[INFO] [stdout]   --> src/gfx.rs:34:45
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn rrect(r: D2D_RECT_F, radius: f32) -> D2D1_ROUNDED_RECT {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ROUNDED_RECT` in this scope
[INFO] [stdout]   --> src/gfx.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     D2D1_ROUNDED_RECT { rect: r, radiusX: radius, radiusY: radius }
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_RECT_F` in this scope
[INFO] [stdout]   --> src/gfx.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn inflate(r: D2D_RECT_F, d: f32) -> D2D_RECT_F {
[INFO] [stdout]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_RECT_F` in this scope
[INFO] [stdout]   --> src/gfx.rs:38:42
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn inflate(r: D2D_RECT_F, d: f32) -> D2D_RECT_F {
[INFO] [stdout]    |                                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope
[INFO] [stdout]   --> src/gfx.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     D2D_RECT_F { left: r.left - d, top: r.top - d, right: r.right + d, bottom: r.bottom + d }
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DWRITE_FONT_WEIGHT` in this scope
[INFO] [stdout]   --> src/gfx.rs:43:32
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn font(size: f32, weight: DWRITE_FONT_WEIGHT, align: DWRITE_TEXT_ALIGNMENT) -> IDWriteTextFormat {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DWRITE_TEXT_ALIGNMENT` in this scope
[INFO] [stdout]   --> src/gfx.rs:43:59
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn font(size: f32, weight: DWRITE_FONT_WEIGHT, align: DWRITE_TEXT_ALIGNMENT) -> IDWriteTextFormat {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `IDWriteTextFormat` in this scope
[INFO] [stdout]   --> src/gfx.rs:43:85
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn font(size: f32, weight: DWRITE_FONT_WEIGHT, align: DWRITE_TEXT_ALIGNMENT) -> IDWriteTextFormat {
[INFO] [stdout]    |                                                                                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STYLE_NORMAL` in this scope
[INFO] [stdout]   --> src/gfx.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 DWRITE_FONT_STYLE_NORMAL,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STRETCH_NORMAL` in this scope
[INFO] [stdout]   --> src/gfx.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 DWRITE_FONT_STRETCH_NORMAL,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_WORD_WRAPPING_NO_WRAP` in this scope
[INFO] [stdout]   --> src/gfx.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let _ = f.SetWordWrapping(DWRITE_WORD_WRAPPING_NO_WRAP);
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_PARAGRAPH_ALIGNMENT_CENTER` in this scope
[INFO] [stdout]   --> src/gfx.rs:58:41
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let _ = f.SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT_CENTER);
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DWRITE_TRIMMING` in this scope
[INFO] [stdout]   --> src/gfx.rs:61:24
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let trim = DWRITE_TRIMMING { granularity: DWRITE_TRIMMING_GRANULARITY_CHARACTER, delimiter: 0, delimiterCount: 0 };
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_TRIMMING_GRANULARITY_CHARACTER` in this scope
[INFO] [stdout]   --> src/gfx.rs:61:55
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let trim = DWRITE_TRIMMING { granularity: DWRITE_TRIMMING_GRANULARITY_CHARACTER, delimiter: 0, delimiterCount: 0 };
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1PathGeometry` in this scope
[INFO] [stdout]   --> src/gfx.rs:92:28
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn arrow_shape() -> Option<ID2D1PathGeometry> {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn arrow_shape<ID2D1PathGeometry>() -> Option<ID2D1PathGeometry> {
[INFO] [stdout]    |               +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope
[INFO] [stdout]    --> src/gfx.rs:102:34
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let p = |x: f32, y: f32| D2D_POINT_2F { x, y };
[INFO] [stdout]     |                                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_POINT_2F` in this scope
[INFO] [stdout]    --> src/gfx.rs:103:28
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let curve = |ctrl: D2D_POINT_2F, end: D2D_POINT_2F| D2D1_QUADRATIC_BEZIER_SEGMENT { point1: ctrl, point2: end };
[INFO] [stdout]     |                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_POINT_2F` in this scope
[INFO] [stdout]    --> src/gfx.rs:103:47
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let curve = |ctrl: D2D_POINT_2F, end: D2D_POINT_2F| D2D1_QUADRATIC_BEZIER_SEGMENT { point1: ctrl, point2: end };
[INFO] [stdout]     |                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_QUADRATIC_BEZIER_SEGMENT` in this scope
[INFO] [stdout]    --> src/gfx.rs:103:61
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let curve = |ctrl: D2D_POINT_2F, end: D2D_POINT_2F| D2D1_QUADRATIC_BEZIER_SEGMENT { point1: ctrl, point2: end };
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_FIGURE_BEGIN_FILLED` in this scope
[INFO] [stdout]    --> src/gfx.rs:104:39
[INFO] [stdout]     |
[INFO] [stdout] 104 |         sink.BeginFigure(p(0.0, 0.0), D2D1_FIGURE_BEGIN_FILLED);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ARC_SEGMENT` in this scope
[INFO] [stdout]    --> src/gfx.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |         sink.AddArc(&D2D1_ARC_SEGMENT {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_F` in this scope
[INFO] [stdout]    --> src/gfx.rs:112:19
[INFO] [stdout]     |
[INFO] [stdout] 112 |             size: D2D_SIZE_F { width: TAIL_Y, height: TAIL_Y },
[INFO] [stdout]     |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_SWEEP_DIRECTION_COUNTER_CLOCKWISE` in this scope
[INFO] [stdout]    --> src/gfx.rs:114:29
[INFO] [stdout]     |
[INFO] [stdout] 114 |             sweepDirection: D2D1_SWEEP_DIRECTION_COUNTER_CLOCKWISE,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_ARC_SIZE_SMALL` in this scope
[INFO] [stdout]    --> src/gfx.rs:115:22
[INFO] [stdout]     |
[INFO] [stdout] 115 |             arcSize: D2D1_ARC_SIZE_SMALL,
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_FIGURE_END_CLOSED` in this scope
[INFO] [stdout]    --> src/gfx.rs:121:24
[INFO] [stdout]     |
[INFO] [stdout] 121 |         sink.EndFigure(D2D1_FIGURE_END_CLOSED);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1StrokeStyle` in this scope
[INFO] [stdout]    --> src/gfx.rs:130:29
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn round_stroke() -> Option<ID2D1StrokeStyle> {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn round_stroke<ID2D1StrokeStyle>() -> Option<ID2D1StrokeStyle> {
[INFO] [stdout]     |                ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_STROKE_STYLE_PROPERTIES` in this scope
[INFO] [stdout]    --> src/gfx.rs:131:17
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let props = D2D1_STROKE_STYLE_PROPERTIES {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_ROUND` in this scope
[INFO] [stdout]    --> src/gfx.rs:132:19
[INFO] [stdout]     |
[INFO] [stdout] 132 |         startCap: D2D1_CAP_STYLE_ROUND,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_ROUND` in this scope
[INFO] [stdout]    --> src/gfx.rs:133:17
[INFO] [stdout]     |
[INFO] [stdout] 133 |         endCap: D2D1_CAP_STYLE_ROUND,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_ROUND` in this scope
[INFO] [stdout]    --> src/gfx.rs:134:18
[INFO] [stdout]     |
[INFO] [stdout] 134 |         dashCap: D2D1_CAP_STYLE_ROUND,
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_LINE_JOIN_ROUND` in this scope
[INFO] [stdout]    --> src/gfx.rs:135:19
[INFO] [stdout]     |
[INFO] [stdout] 135 |         lineJoin: D2D1_LINE_JOIN_ROUND,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_DASH_STYLE_SOLID` in this scope
[INFO] [stdout]    --> src/gfx.rs:137:20
[INFO] [stdout]     |
[INFO] [stdout] 137 |         dashStyle: D2D1_DASH_STYLE_SOLID,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1RenderTarget` in this scope
[INFO] [stdout]    --> src/gfx.rs:145:24
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub fn draw_arrow(rt: &ID2D1RenderTarget, base: &Matrix3x2, a: &Arrow, alpha: f32) {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `IDWriteTextFormat` in this scope
[INFO] [stdout]    --> src/gfx.rs:175:25
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn text_width(fmt: &IDWriteTextFormat, text: &str) -> f32 {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1RenderTarget` in this scope
[INFO] [stdout]    --> src/gfx.rs:184:19
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub fn brush(rt: &ID2D1RenderTarget, c: D2D1_COLOR_F) -> ID2D1SolidColorBrush {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D1_COLOR_F` in this scope
[INFO] [stdout]    --> src/gfx.rs:184:41
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub fn brush(rt: &ID2D1RenderTarget, c: D2D1_COLOR_F) -> ID2D1SolidColorBrush {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1SolidColorBrush` in this scope
[INFO] [stdout]    --> src/gfx.rs:184:58
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub fn brush(rt: &ID2D1RenderTarget, c: D2D1_COLOR_F) -> ID2D1SolidColorBrush {
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1RenderTarget` in this scope
[INFO] [stdout]    --> src/gfx.rs:188:18
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub fn text(rt: &ID2D1RenderTarget, s: &str, fmt: &IDWriteTextFormat, r: D2D_RECT_F, c: D2D1_COLOR_F) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `IDWriteTextFormat` in this scope
[INFO] [stdout]    --> src/gfx.rs:188:52
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub fn text(rt: &ID2D1RenderTarget, s: &str, fmt: &IDWriteTextFormat, r: D2D_RECT_F, c: D2D1_COLOR_F) {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_RECT_F` in this scope
[INFO] [stdout]    --> src/gfx.rs:188:74
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub fn text(rt: &ID2D1RenderTarget, s: &str, fmt: &IDWriteTextFormat, r: D2D_RECT_F, c: D2D1_COLOR_F) {
[INFO] [stdout]     |                                                                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D1_COLOR_F` in this scope
[INFO] [stdout]    --> src/gfx.rs:188:89
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub fn text(rt: &ID2D1RenderTarget, s: &str, fmt: &IDWriteTextFormat, r: D2D_RECT_F, c: D2D1_COLOR_F) {
[INFO] [stdout]     |                                                                                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_DRAW_TEXT_OPTIONS_NONE` in this scope
[INFO] [stdout]    --> src/gfx.rs:191:44
[INFO] [stdout]     |
[INFO] [stdout] 191 |         rt.DrawText(&wstr(s), fmt, &r, &b, D2D1_DRAW_TEXT_OPTIONS_NONE, DWRITE_MEASURING_MODE_NATURAL);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWRITE_MEASURING_MODE_NATURAL` in this scope
[INFO] [stdout]    --> src/gfx.rs:191:73
[INFO] [stdout]     |
[INFO] [stdout] 191 |         rt.DrawText(&wstr(s), fmt, &r, &b, D2D1_DRAW_TEXT_OPTIONS_NONE, DWRITE_MEASURING_MODE_NATURAL);
[INFO] [stdout]     |                                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1RenderTarget` in this scope
[INFO] [stdout]    --> src/gfx.rs:195:21
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn fill_rr(rt: &ID2D1RenderTarget, r: D2D_RECT_F, radius: f32, c: D2D1_COLOR_F) {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_RECT_F` in this scope
[INFO] [stdout]    --> src/gfx.rs:195:43
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn fill_rr(rt: &ID2D1RenderTarget, r: D2D_RECT_F, radius: f32, c: D2D1_COLOR_F) {
[INFO] [stdout]     |                                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D1_COLOR_F` in this scope
[INFO] [stdout]    --> src/gfx.rs:195:71
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn fill_rr(rt: &ID2D1RenderTarget, r: D2D_RECT_F, radius: f32, c: D2D1_COLOR_F) {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1RenderTarget` in this scope
[INFO] [stdout]    --> src/gfx.rs:199:23
[INFO] [stdout]     |
[INFO] [stdout] 199 | pub fn stroke_rr(rt: &ID2D1RenderTarget, r: D2D_RECT_F, radius: f32, c: D2D1_COLOR_F, width: f32) {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D_RECT_F` in this scope
[INFO] [stdout]    --> src/gfx.rs:199:45
[INFO] [stdout]     |
[INFO] [stdout] 199 | pub fn stroke_rr(rt: &ID2D1RenderTarget, r: D2D_RECT_F, radius: f32, c: D2D1_COLOR_F, width: f32) {
[INFO] [stdout]     |                                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `D2D1_COLOR_F` in this scope
[INFO] [stdout]    --> src/gfx.rs:199:73
[INFO] [stdout]     |
[INFO] [stdout] 199 | pub fn stroke_rr(rt: &ID2D1RenderTarget, r: D2D_RECT_F, radius: f32, c: D2D1_COLOR_F, width: f32) {
[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/overlay.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 |     host: HWND,
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1HwndRenderTarget` in this scope
[INFO] [stdout]   --> src/overlay.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 |     rt: Option<ID2D1HwndRenderTarget>,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct State<ID2D1HwndRenderTarget> {
[INFO] [stdout]    |             +++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1Bitmap` in this scope
[INFO] [stdout]   --> src/overlay.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |     bmp: Option<ID2D1Bitmap>,
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct State<ID2D1Bitmap> {
[INFO] [stdout]    |             +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/overlay.rs:38:43
[INFO] [stdout]    |
[INFO] [stdout] 38 |     static RESULT: RefCell<Option<(Image, RECT)>> = const { RefCell::new(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/overlay.rs:41:37
[INFO] [stdout]    |
[INFO] [stdout] 41 |     static FINISHED: RefCell<Option<HWND>> = const { RefCell::new(None) };
[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/overlay.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn register(hinst: HINSTANCE) {
[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/overlay.rs:60:18
[INFO] [stdout]    |
[INFO] [stdout] 60 |         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/overlay.rs:61:41
[INFO] [stdout]    |
[INFO] [stdout] 61 |             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] 58 | pub fn register<WNDCLASSEXW>(hinst: HINSTANCE) {
[INFO] [stdout]    |                +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDC_CROSS` in this scope
[INFO] [stdout]   --> src/overlay.rs:64:40
[INFO] [stdout]    |
[INFO] [stdout] 64 |             hCursor: LoadCursorW(None, IDC_CROSS).unwrap_or_default(),
[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/overlay.rs:73:19
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn open(host: HWND, hinst: HINSTANCE, img: Image, ox: i32, oy: i32) -> bool {
[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/overlay.rs:73:32
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn open(host: HWND, hinst: HINSTANCE, img: Image, ox: i32, oy: i32) -> bool {
[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/overlay.rs:84:31
[INFO] [stdout]    |
[INFO] [stdout] 84 |         match CreateWindowExW(WS_EX_TOPMOST | WS_EX_TOOLWINDOW, CLASS, w!(""), WS_POPUP, ox, oy, w, h, None, None, hinst, None) {
[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/overlay.rs:84:47
[INFO] [stdout]    |
[INFO] [stdout] 84 |         match CreateWindowExW(WS_EX_TOPMOST | WS_EX_TOOLWINDOW, CLASS, w!(""), WS_POPUP, ox, oy, w, h, None, None, hinst, None) {
[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/overlay.rs:84:80
[INFO] [stdout]    |
[INFO] [stdout] 84 |         match CreateWindowExW(WS_EX_TOPMOST | WS_EX_TOOLWINDOW, CLASS, w!(""), WS_POPUP, ox, oy, w, h, None, None, hinst, None) {
[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/overlay.rs:88:42
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 let _ = ShowWindow(hwnd, SW_SHOW);
[INFO] [stdout]    |                                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RECT` in this scope
[INFO] [stdout]    --> src/overlay.rs:102:40
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn take_result() -> Option<(Image, RECT)> {
[INFO] [stdout]     |                                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn take_result<RECT>() -> Option<(Image, RECT)> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RECT` in this scope
[INFO] [stdout]    --> src/overlay.rs:106:58
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn norm(a: (i32, i32), b: (i32, i32), w: i32, h: i32) -> RECT {
[INFO] [stdout]     |                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]    --> src/overlay.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     RECT {
[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/overlay.rs:115:14
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn point(lp: LPARAM) -> (i32, 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/overlay.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn finish(hwnd: HWND, up: Option<(i32, 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/overlay.rs:146:41
[INFO] [stdout]     |
[INFO] [stdout] 146 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: u32, wp: WPARAM, lp: 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/overlay.rs:146:61
[INFO] [stdout]     |
[INFO] [stdout] 146 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: u32, wp: WPARAM, lp: 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/overlay.rs:146:73
[INFO] [stdout]     |
[INFO] [stdout] 146 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: u32, wp: WPARAM, lp: 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/overlay.rs:146:84
[INFO] [stdout]     |
[INFO] [stdout] 146 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: u32, wp: WPARAM, lp: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                                                                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope
[INFO] [stdout]    --> src/overlay.rs:181:31
[INFO] [stdout]     |
[INFO] [stdout] 181 |         WM_KEYDOWN if wp.0 == VK_ESCAPE.0 as usize => {
[INFO] [stdout]     |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WA_INACTIVE` in this scope
[INFO] [stdout]    --> src/overlay.rs:185:50
[INFO] [stdout]     |
[INFO] [stdout] 185 |         WM_ACTIVATE if (wp.0 & 0xffff) as u32 == WA_INACTIVE => {
[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/overlay.rs:205:16
[INFO] [stdout]     |
[INFO] [stdout] 205 | fn paint(hwnd: HWND) {
[INFO] [stdout]     |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RENDER_TARGET_PROPERTIES` in this scope
[INFO] [stdout]    --> src/overlay.rs:211:29
[INFO] [stdout]     |
[INFO] [stdout] 211 |                 let props = D2D1_RENDER_TARGET_PROPERTIES {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_RENDER_TARGET_TYPE_DEFAULT` in this scope
[INFO] [stdout]    --> src/overlay.rs:212:29
[INFO] [stdout]     |
[INFO] [stdout] 212 |                     r#type: D2D1_RENDER_TARGET_TYPE_DEFAULT,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_PIXEL_FORMAT` in this scope
[INFO] [stdout]    --> src/overlay.rs:213:34
[INFO] [stdout]     |
[INFO] [stdout] 213 |                     pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_IGNORE },
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope
[INFO] [stdout]    --> src/overlay.rs:213:62
[INFO] [stdout]     |
[INFO] [stdout] 213 |                     pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_IGNORE },
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_ALPHA_MODE_IGNORE` in this scope
[INFO] [stdout]    --> src/overlay.rs:213:101
[INFO] [stdout]     |
[INFO] [stdout] 213 |                     pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_IGNORE },
[INFO] [stdout]     |                                                                                                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_HWND_RENDER_TARGET_PROPERTIES` in this scope
[INFO] [stdout]    --> src/overlay.rs:218:30
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 let hprops = D2D1_HWND_RENDER_TARGET_PROPERTIES {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope
[INFO] [stdout]    --> src/overlay.rs:220:32
[INFO] [stdout]     |
[INFO] [stdout] 220 |                     pixelSize: D2D_SIZE_U { width: s.img.w as u32, height: s.img.h as u32 },
[INFO] [stdout]     |                                ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_IMMEDIATELY` in this scope
[INFO] [stdout]    --> src/overlay.rs:221:37
[INFO] [stdout]     |
[INFO] [stdout] 221 |                     presentOptions: D2D1_PRESENT_OPTIONS_IMMEDIATELY,
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_BITMAP_PROPERTIES` in this scope
[INFO] [stdout]    --> src/overlay.rs:224:30
[INFO] [stdout]     |
[INFO] [stdout] 224 |                 let bprops = D2D1_BITMAP_PROPERTIES {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_PIXEL_FORMAT` in this scope
[INFO] [stdout]    --> src/overlay.rs:225:34
[INFO] [stdout]     |
[INFO] [stdout] 225 |                     pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_IGNORE },
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope
[INFO] [stdout]    --> src/overlay.rs:225:62
[INFO] [stdout]     |
[INFO] [stdout] 225 |                     pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_IGNORE },
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_ALPHA_MODE_IGNORE` in this scope
[INFO] [stdout]    --> src/overlay.rs:225:101
[INFO] [stdout]     |
[INFO] [stdout] 225 |                     pixelFormat: D2D1_PIXEL_FORMAT { format: DXGI_FORMAT_B8G8R8A8_UNORM, alphaMode: D2D1_ALPHA_MODE_IGNORE },
[INFO] [stdout]     |                                                                                                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope
[INFO] [stdout]    --> src/overlay.rs:229:28
[INFO] [stdout]     |
[INFO] [stdout] 229 |                 let size = D2D_SIZE_U { width: s.img.w as u32, height: s.img.h as u32 };
[INFO] [stdout]     |                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ID2D1RenderTarget` in this scope
[INFO] [stdout]    --> src/overlay.rs:239:22
[INFO] [stdout]     |
[INFO] [stdout] 239 |             let rt: &ID2D1RenderTarget = s.rt.as_ref().unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2D1_BITMAP_INTERPOLATION_MODE_NEAREST_NEIGHBOR` in this scope
[INFO] [stdout]    --> src/overlay.rs:244:50
[INFO] [stdout]     |
[INFO] [stdout] 244 |             rt.DrawBitmap(bmp, Some(&full), 1.0, D2D1_BITMAP_INTERPOLATION_MODE_NEAREST_NEIGHBOR, None);
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope
[INFO] [stdout]    --> src/overlay.rs:249:30
[INFO] [stdout]     |
[INFO] [stdout] 249 |                     let rr = D2D_RECT_F { left: r.left as f32, top: r.top as f32, right: r.right as f32, bottom: r.bottom as f32 };
[INFO] [stdout]     |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D2DERR_RECREATE_TARGET` in this scope
[INFO] [stdout]    --> src/overlay.rs:256:32
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 if e.code() == D2DERR_RECREATE_TARGET {
[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:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn base(host: 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:16:24
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn base(host: 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:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     NOTIFYICONDATAW { cbSize: std::mem::size_of::<NOTIFYICONDATAW>() as u32, hWnd: host, uID: 1, ..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:17:51
[INFO] [stdout]    |
[INFO] [stdout] 17 |     NOTIFYICONDATAW { cbSize: std::mem::size_of::<NOTIFYICONDATAW>() as u32, hWnd: host, uID: 1, ..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] 16 | fn base<NOTIFYICONDATAW>(host: HWND) -> NOTIFYICONDATAW {
[INFO] [stdout]    |        +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/tray.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn add(host: HWND, icon: HICON, tip: &str) {
[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:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn add(host: HWND, icon: HICON, tip: &str) {
[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:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 |     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:22:29
[INFO] [stdout]    |
[INFO] [stdout] 22 |     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:22:43
[INFO] [stdout]    |
[INFO] [stdout] 22 |     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:27:35
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let _ = Shell_NotifyIconW(NIM_ADD, &nid);
[INFO] [stdout]    |                                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/tray.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn set_tip(host: 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:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     nid.uFlags = NIF_TIP;
[INFO] [stdout]    |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIM_MODIFY` in this scope
[INFO] [stdout]   --> src/tray.rs:36:35
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let _ = Shell_NotifyIconW(NIM_MODIFY, &nid);
[INFO] [stdout]    |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/tray.rs:40:21
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn remove(host: HWND) {
[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:42:35
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let _ = Shell_NotifyIconW(NIM_DELETE, &base(host));
[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:47:21
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn notify(host: HWND, title: &str, body: &str) {
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIF_INFO` in this scope
[INFO] [stdout]   --> src/tray.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 |     nid.uFlags = NIF_INFO;
[INFO] [stdout]    |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NIIF_NONE` in this scope
[INFO] [stdout]   --> src/tray.rs:52:23
[INFO] [stdout]    |
[INFO] [stdout] 52 |     nid.dwInfoFlags = NIIF_NONE;
[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:54:35
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let _ = Shell_NotifyIconW(NIM_MODIFY, &nid);
[INFO] [stdout]    |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/tray.rs:66:19
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn menu(host: HWND, items: &[Option<MenuItem>]) -> usize {
[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/tray.rs:73:44
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     let _ = AppendMenuW(m, MF_SEPARATOR, 0, None);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MF_STRING` in this scope
[INFO] [stdout]   --> src/tray.rs:76:37
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     let mut flags = MF_STRING;
[INFO] [stdout]    |                                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MF_GRAYED` in this scope
[INFO] [stdout]   --> src/tray.rs:78:34
[INFO] [stdout]    |
[INFO] [stdout] 78 |                         flags |= MF_GRAYED;
[INFO] [stdout]    |                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MF_CHECKED` in this scope
[INFO] [stdout]   --> src/tray.rs:81:34
[INFO] [stdout]    |
[INFO] [stdout] 81 |                         flags |= MF_CHECKED;
[INFO] [stdout]    |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TPM_RETURNCMD` in this scope
[INFO] [stdout]   --> src/tray.rs:91:37
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let cmd = TrackPopupMenu(m, TPM_RETURNCMD | TPM_RIGHTBUTTON | TPM_NONOTIFY, p.x, p.y, 0, host, 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/tray.rs:91:53
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let cmd = TrackPopupMenu(m, TPM_RETURNCMD | TPM_RIGHTBUTTON | TPM_NONOTIFY, p.x, p.y, 0, host, None);
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TPM_NONOTIFY` in this scope
[INFO] [stdout]   --> src/tray.rs:91:71
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let cmd = TrackPopupMenu(m, TPM_RETURNCMD | TPM_RIGHTBUTTON | TPM_NONOTIFY, p.x, p.y, 0, host, 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/tray.rs:92:36
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let _ = PostMessageW(host, WM_NULL, WPARAM(0), LPARAM(0));
[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:99:23
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn make_icon() -> 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/tray.rs:100:42
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let size = unsafe { 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 `BITMAPINFO` in this scope
[INFO] [stdout]    --> src/tray.rs:145:19
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let bmi = BITMAPINFO {
[INFO] [stdout]     |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]    --> src/tray.rs:146:24
[INFO] [stdout]     |
[INFO] [stdout] 146 |             bmiHeader: BITMAPINFOHEADER {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]    --> src/tray.rs:147:45
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 biSize: std::mem::size_of::<BITMAPINFOHEADER>() as u32,
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  99 | pub fn make_icon<BITMAPINFOHEADER>() -> HICON {
[INFO] [stdout]     |                 ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope
[INFO] [stdout]    --> src/tray.rs:152:32
[INFO] [stdout]     |
[INFO] [stdout] 152 |                 biCompression: BI_RGB.0,
[INFO] [stdout]     |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope
[INFO] [stdout]    --> src/tray.rs:158:54
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let Ok(color) = CreateDIBSection(None, &bmi, DIB_RGB_COLORS, &mut bits, None, 0) else { return HICON::default() };
[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/tray.rs:161:20
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let info = ICONINFO { fIcon: TRUE, xHotspot: 0, yHotspot: 0, hbmMask: mask, hbmColor: color };
[INFO] [stdout]     |                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/tray.rs:161:38
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let info = ICONINFO { fIcon: TRUE, xHotspot: 0, yHotspot: 0, hbmMask: mask, hbmColor: color };
[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] 161 -         let info = ICONINFO { fIcon: TRUE, xHotspot: 0, yHotspot: 0, hbmMask: mask, hbmColor: color };
[INFO] [stdout] 161 +         let info = ICONINFO { fIcon: true, xHotspot: 0, yHotspot: 0, hbmMask: mask, hbmColor: color };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope
[INFO] [stdout]   --> src/main.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub const WM_APP_TRAY: 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/main.rs:36:33
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub const WM_APP_OVERLAY: 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/main.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const WM_APP_PICK: 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/main.rs:38:37
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub const WM_APP_CARD_CLOSED: 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/main.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub const WM_APP_UPLOAD: u32 = WM_APP + 5;
[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/main.rs:40:32
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub const WM_APP_RELOAD: u32 = WM_APP + 6;
[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/main.rs:42:31
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub const WM_APP_READY: u32 = WM_APP + 7;
[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/main.rs:44:36
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub const WM_APP_PASTE_DONE: u32 = WM_APP + 8;
[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/main.rs:46:32
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub const WM_APP_AINAME: u32 = WM_APP + 9;
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:80:11
[INFO] [stdout]    |
[INFO] [stdout] 80 |     host: 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/main.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 |     hinst: 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/main.rs:84:14
[INFO] [stdout]    |
[INFO] [stdout] 84 |     prev_fg: HWND,
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_ALREADY_EXISTS` in this scope
[INFO] [stdout]    --> src/main.rs:116:30
[INFO] [stdout]     |
[INFO] [stdout] 116 |         if GetLastError() == ERROR_ALREADY_EXISTS {
[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:125:20
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let hinst: HINSTANCE = GetModuleHandleW(None).unwrap_or_default().into();
[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/main.rs:126:18
[INFO] [stdout]     |
[INFO] [stdout] 126 |         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/main.rs:127:41
[INFO] [stdout]     |
[INFO] [stdout] 127 |             cbSize: std::mem::size_of::<WNDCLASSEXW>() as u32,
[INFO] [stdout]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPED` in this scope
[INFO] [stdout]    --> src/main.rs:137:94
[INFO] [stdout]     |
[INFO] [stdout] 137 | ...   let Ok(host) = CreateWindowExW(Default::default(), w!("ShotkeyHost"), w!("Shotkey"), WS_OVERLAPPED, 0, 0, 0, 0, None, None, h...
[INFO] [stdout]     |                                                                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:205:43
[INFO] [stdout]     |
[INFO] [stdout] 205 | unsafe extern "system" fn host_proc(hwnd: HWND, msg: u32, wp: WPARAM, lp: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:205:63
[INFO] [stdout]     |
[INFO] [stdout] 205 | unsafe extern "system" fn host_proc(hwnd: HWND, msg: u32, wp: WPARAM, lp: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:205:75
[INFO] [stdout]     |
[INFO] [stdout] 205 | unsafe extern "system" fn host_proc(hwnd: HWND, msg: u32, wp: WPARAM, lp: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LRESULT` in this scope
[INFO] [stdout]    --> src/main.rs:205:86
[INFO] [stdout]     |
[INFO] [stdout] 205 | unsafe extern "system" fn host_proc(hwnd: HWND, msg: u32, wp: WPARAM, lp: LPARAM) -> LRESULT {
[INFO] [stdout]     |                                                                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_XVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/main.rs:273:30
[INFO] [stdout]     |
[INFO] [stdout] 273 |             GetSystemMetrics(SM_XVIRTUALSCREEN),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_YVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/main.rs:274:30
[INFO] [stdout]     |
[INFO] [stdout] 274 |             GetSystemMetrics(SM_YVIRTUALSCREEN),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CXVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/main.rs:275:30
[INFO] [stdout]     |
[INFO] [stdout] 275 |             GetSystemMetrics(SM_CXVIRTUALSCREEN),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CYVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/main.rs:276:30
[INFO] [stdout]     |
[INFO] [stdout] 276 |             GetSystemMetrics(SM_CYVIRTUALSCREEN),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:375:21
[INFO] [stdout]     |
[INFO] [stdout] 375 | fn keep_image(host: HWND) -> Option<PathBuf> {
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:405:21
[INFO] [stdout]     |
[INFO] [stdout] 405 | fn start_link(host: HWND) {
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:447:21
[INFO] [stdout]     |
[INFO] [stdout] 447 | fn share_link(host: HWND, url: &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/main.rs:453:26
[INFO] [stdout]     |
[INFO] [stdout] 453 | fn copy_last_image(host: 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/main.rs:629:24
[INFO] [stdout]     |
[INFO] [stdout] 629 | fn open_settings(host: HWND) {
[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/annotate.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let memdc = CreateCompatibleDC(None);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDIBSection` in this scope
[INFO] [stdout]   --> src/annotate.rs:34:23
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let Ok(dib) = CreateDIBSection(memdc, &bmi, DIB_RGB_COLORS, &mut bits, None, 0) else {
[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/annotate.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |             let _ = DeleteDC(memdc);
[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/annotate.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let old = SelectObject(memdc, dib);
[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/annotate.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         SelectObject(memdc, old);
[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/annotate.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let _ = DeleteObject(dib);
[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/annotate.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let _ = DeleteDC(memdc);
[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/capture.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let 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/capture.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let mem = CreateCompatibleDC(screen);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDIBSection` in this scope
[INFO] [stdout]   --> src/capture.rs:33:28
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let result = match CreateDIBSection(screen, &bmi, DIB_RGB_COLORS, &mut bits, None, 0) {
[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/capture.rs:35:27
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 let old = SelectObject(mem, dib);
[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/capture.rs:36:26
[INFO] [stdout]    |
[INFO] [stdout] 36 |                 let ok = BitBlt(mem, 0, 0, w, h, screen, x, y, SRCCOPY | CAPTUREBLT).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 `SelectObject` in this scope
[INFO] [stdout]   --> src/capture.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SelectObject(mem, old);
[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/capture.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 let _ = DeleteObject(dib);
[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/capture.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let _ = DeleteDC(mem);
[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/capture.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         ReleaseDC(None, screen);
[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/card.rs:285:22
[INFO] [stdout]     |
[INFO] [stdout] 285 |             hCursor: LoadCursorW(None, IDC_ARROW).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 `RegisterClassExW` in this scope
[INFO] [stdout]    --> src/card.rs:289:9
[INFO] [stdout]     |
[INFO] [stdout] 289 |         RegisterClassExW(&wc);
[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/card.rs:299:17
[INFO] [stdout]     |
[INFO] [stdout] 299 |     let mut p = 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/card.rs:301:17
[INFO] [stdout]     |
[INFO] [stdout] 301 |         let _ = GetCursorPos(&mut p);
[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/card.rs:326:24
[INFO] [stdout]     |
[INFO] [stdout] 326 |         let Ok(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 `WPARAM` in this scope
[INFO] [stdout]    --> src/card.rs:341:60
[INFO] [stdout]     |
[INFO] [stdout] 341 |             let _ = PostMessageW(host, WM_APP_CARD_CLOSED, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/card.rs:341:71
[INFO] [stdout]     |
[INFO] [stdout] 341 |             let _ = PostMessageW(host, WM_APP_CARD_CLOSED, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope
[INFO] [stdout]    --> src/card.rs:341:21
[INFO] [stdout]     |
[INFO] [stdout] 341 |             let _ = PostMessageW(host, WM_APP_CARD_CLOSED, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope
[INFO] [stdout]    --> src/card.rs:361:21
[INFO] [stdout]     |
[INFO] [stdout] 361 |         let memdc = CreateCompatibleDC(None);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDIBSection` in this scope
[INFO] [stdout]    --> src/card.rs:363:19
[INFO] [stdout]     |
[INFO] [stdout] 363 |         let dib = CreateDIBSection(memdc, &bmi, DIB_RGB_COLORS, &mut bits, None, 0).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 `SelectObject` in this scope
[INFO] [stdout]    --> src/card.rs:364:19
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let old = SelectObject(memdc, dib);
[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/card.rs:412:17
[INFO] [stdout]     |
[INFO] [stdout] 412 |         let _ = ShowWindow(hwnd, 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 `HWND` in this scope
[INFO] [stdout]    --> src/card.rs:439:26
[INFO] [stdout]     |
[INFO] [stdout] 439 |             if !IsWindow(HWND(target as _)).as_bool() {
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 439 -             if !IsWindow(HWND(target as _)).as_bool() {
[INFO] [stdout] 439 +             if !IsWindow(hwnd(target as _)).as_bool() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindow` in this scope
[INFO] [stdout]    --> src/card.rs:439:17
[INFO] [stdout]     |
[INFO] [stdout] 439 |             if !IsWindow(HWND(target as _)).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 `HWND` in this scope
[INFO] [stdout]    --> src/card.rs:445:38
[INFO] [stdout]     |
[INFO] [stdout] 445 |                 let _ = PostMessageW(HWND(target as _), WM_APP_FRAME, WPARAM(0), LPARAM(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] 445 -                 let _ = PostMessageW(HWND(target as _), WM_APP_FRAME, WPARAM(0), LPARAM(0));
[INFO] [stdout] 445 +                 let _ = PostMessageW(hwnd(target as _), WM_APP_FRAME, WPARAM(0), LPARAM(0));
[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/card.rs:445:71
[INFO] [stdout]     |
[INFO] [stdout] 445 |                 let _ = PostMessageW(HWND(target as _), WM_APP_FRAME, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/card.rs:445:82
[INFO] [stdout]     |
[INFO] [stdout] 445 |                 let _ = PostMessageW(HWND(target as _), WM_APP_FRAME, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope
[INFO] [stdout]    --> src/card.rs:445:25
[INFO] [stdout]     |
[INFO] [stdout] 445 |                 let _ = PostMessageW(HWND(target as _), WM_APP_FRAME, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/card.rs:507:9
[INFO] [stdout]     |
[INFO] [stdout] 507 |         SelectObject(card.memdc, card.old);
[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/card.rs:508:17
[INFO] [stdout]     |
[INFO] [stdout] 508 |         let _ = DeleteObject(card.dib);
[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/card.rs:509:17
[INFO] [stdout]     |
[INFO] [stdout] 509 |         let _ = DeleteDC(card.memdc);
[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/card.rs:510:17
[INFO] [stdout]     |
[INFO] [stdout] 510 |         let _ = DestroyWindow(card.hwnd);
[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/card.rs:511:61
[INFO] [stdout]     |
[INFO] [stdout] 511 |         let _ = PostMessageW(card.host, WM_APP_CARD_CLOSED, WPARAM(card.restore as usize | (card.discard as usize) << 1), 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/card.rs:511:123
[INFO] [stdout]     |
[INFO] [stdout] 511 |         let _ = PostMessageW(card.host, WM_APP_CARD_CLOSED, WPARAM(card.restore as usize | (card.discard as usize) << 1), LPARAM(0));
[INFO] [stdout]     |                                                                                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope
[INFO] [stdout]    --> src/card.rs:511:17
[INFO] [stdout]     |
[INFO] [stdout] 511 |         let _ = PostMessageW(card.host, WM_APP_CARD_CLOSED, WPARAM(card.restore as usize | (card.discard as usize) << 1), LPARAM(0));
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/card.rs:644:53
[INFO] [stdout]     |
[INFO] [stdout] 644 |             let _ = PostMessageW(host, WM_APP_PICK, WPARAM(code), 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/card.rs:644:67
[INFO] [stdout]     |
[INFO] [stdout] 644 |             let _ = PostMessageW(host, WM_APP_PICK, WPARAM(code), LPARAM(0));
[INFO] [stdout]     |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope
[INFO] [stdout]    --> src/card.rs:644:21
[INFO] [stdout]     |
[INFO] [stdout] 644 |             let _ = PostMessageW(host, WM_APP_PICK, WPARAM(code), LPARAM(0));
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]    --> src/card.rs:655:20
[INFO] [stdout]     |
[INFO] [stdout] 655 |             return 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 `VIRTUAL_KEY` in this scope
[INFO] [stdout]    --> src/card.rs:659:23
[INFO] [stdout]     |
[INFO] [stdout] 659 |             let key = VIRTUAL_KEY(wp.0 as u16);
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope
[INFO] [stdout]    --> src/card.rs:680:48
[INFO] [stdout]     |
[INFO] [stdout] 680 |                     k if k.0 == b'Z' as u16 && GetKeyState(VK_CONTROL.0 as i32) < 0 => with_card(|c| {
[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/card.rs:686:20
[INFO] [stdout]     |
[INFO] [stdout] 686 |             return 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 `TrackMouseEvent` in this scope
[INFO] [stdout]    --> src/card.rs:710:25
[INFO] [stdout]     |
[INFO] [stdout] 710 |                 let _ = TrackMouseEvent(&mut tme);
[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/card.rs:712:20
[INFO] [stdout]     |
[INFO] [stdout] 712 |             return 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/card.rs:724:20
[INFO] [stdout]     |
[INFO] [stdout] 724 |             return 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 `SetCursor` in this scope
[INFO] [stdout]    --> src/card.rs:731:21
[INFO] [stdout]     |
[INFO] [stdout] 731 |                     SetCursor(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/card.rs:732:28
[INFO] [stdout]     |
[INFO] [stdout] 732 |                     return LRESULT(1);
[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/card.rs:735:31
[INFO] [stdout]     |
[INFO] [stdout] 735 |                     SetCursor(LoadCursorW(None, IDC_HAND).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 `SetCursor` in this scope
[INFO] [stdout]    --> src/card.rs:735:21
[INFO] [stdout]     |
[INFO] [stdout] 735 |                     SetCursor(LoadCursorW(None, IDC_HAND).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 `LRESULT` in this scope
[INFO] [stdout]    --> src/card.rs:736:28
[INFO] [stdout]     |
[INFO] [stdout] 736 |                     return LRESULT(1);
[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/card.rs:759:20
[INFO] [stdout]     |
[INFO] [stdout] 759 |             return 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/card.rs:771:20
[INFO] [stdout]     |
[INFO] [stdout] 771 |             return 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/card.rs:780:20
[INFO] [stdout]     |
[INFO] [stdout] 780 |             return 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/card.rs:786:33
[INFO] [stdout]     |
[INFO] [stdout] 786 |         WM_DPICHANGED => return 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/card.rs:789:5
[INFO] [stdout]     |
[INFO] [stdout] 789 |     DefWindowProcW(hwnd, msg, wp, lp)
[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/card.rs:1053:93
[INFO] [stdout]      |
[INFO] [stdout] 1053 |     let _ = UpdateLayeredWindow(c.hwnd, None, Some(&pos), Some(&size), c.memdc, Some(&src), COLORREF(0), Some(&blend), ULW_ALPHA);
[INFO] [stdout]      |                                                                                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateLayeredWindow` in this scope
[INFO] [stdout]     --> src/card.rs:1053:13
[INFO] [stdout]      |
[INFO] [stdout] 1053 |     let _ = UpdateLayeredWindow(c.hwnd, None, Some(&pos), Some(&size), c.memdc, Some(&src), COLORREF(0), Some(&blend), ULW_ALPHA);
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClipboardFormatW` in this scope
[INFO] [stdout]   --> src/clip.rs:45:31
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let png_format = unsafe { RegisterClipboardFormatW(w!("PNG")) };
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenClipboard` in this scope
[INFO] [stdout]   --> src/clip.rs:65:16
[INFO] [stdout]    |
[INFO] [stdout] 65 |             if OpenClipboard(owner).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 `EmptyClipboard` in this scope
[INFO] [stdout]   --> src/clip.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let _ = EmptyClipboard();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalAlloc` in this scope
[INFO] [stdout]   --> src/clip.rs:77:27
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let Ok(mem) = GlobalAlloc(GMEM_MOVEABLE, data.len()) else { return };
[INFO] [stdout]    |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalLock` in this scope
[INFO] [stdout]   --> src/clip.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |             let dst = GlobalLock(mem);
[INFO] [stdout]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalUnlock` in this scope
[INFO] [stdout]   --> src/clip.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |             let _ = GlobalUnlock(mem);
[INFO] [stdout]    |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetClipboardData` in this scope
[INFO] [stdout]   --> src/clip.rs:86:16
[INFO] [stdout]    |
[INFO] [stdout] 86 |             if SetClipboardData(format, HANDLE(mem.0)).is_err() {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseClipboard` in this scope
[INFO] [stdout]   --> src/clip.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let _ = CloseClipboard();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D2D1CreateFactory` in this scope
[INFO] [stdout]   --> src/gfx.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             D2D1CreateFactory::<ID2D1Factory>(D2D1_FACTORY_TYPE_SINGLE_THREADED, None).expect("Direct2D"),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DWriteCreateFactory` in this scope
[INFO] [stdout]   --> src/gfx.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |             DWriteCreateFactory::<IDWriteFactory>(DWRITE_FACTORY_TYPE_SHARED).expect("DirectWrite"),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DWRITE_TEXT_METRICS` in this scope
[INFO] [stdout]    --> src/gfx.rs:178:21
[INFO] [stdout]     |
[INFO] [stdout] 178 |         let mut m = DWRITE_TEXT_METRICS::default();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ use of undeclared type `DWRITE_TEXT_METRICS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]   --> src/overlay.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 |             let _ = DestroyWindow(hwnd);
[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/overlay.rs:64:22
[INFO] [stdout]    |
[INFO] [stdout] 64 |             hCursor: LoadCursorW(None, IDC_CROSS).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 `RegisterClassExW` in this scope
[INFO] [stdout]   --> src/overlay.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |         RegisterClassExW(&wc);
[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/overlay.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut p = 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/overlay.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let _ = GetCursorPos(&mut p);
[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/overlay.rs:84:15
[INFO] [stdout]    |
[INFO] [stdout] 84 |         match CreateWindowExW(WS_EX_TOPMOST | WS_EX_TOOLWINDOW, CLASS, w!(""), WS_POPUP, ox, oy, w, h, None, None, hinst, None) {
[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/overlay.rs:88:25
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 let _ = ShowWindow(hwnd, SW_SHOW);
[INFO] [stdout]    |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/overlay.rs:142:52
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let _ = PostMessageW(host, WM_APP_OVERLAY, WPARAM(ok 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/overlay.rs:142:73
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let _ = PostMessageW(host, WM_APP_OVERLAY, WPARAM(ok 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 `PostMessageW` in this scope
[INFO] [stdout]    --> src/overlay.rs:142:17
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let _ = PostMessageW(host, WM_APP_OVERLAY, WPARAM(ok 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 `LRESULT` in this scope
[INFO] [stdout]    --> src/overlay.rs:148:33
[INFO] [stdout]     |
[INFO] [stdout] 148 |         WM_ERASEBKGND => return LRESULT(1),
[INFO] [stdout]     |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named constant `RESULT` defined here
[INFO] [stdout]    --> src/overlay.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | / thread_local! {
[INFO] [stdout]  37 | |     static STATE: RefCell<Option<State>> = const { RefCell::new(None) };
[INFO] [stdout]  38 | |     static RESULT: RefCell<Option<(Image, RECT)>> = const { RefCell::new(None) };
[INFO] [stdout]  39 | |     /// The finished overlay stays on screen until the host calls `close`,
[INFO] [stdout]  40 | |     /// so focus can pass straight to the card instead of back to the previous app.
[INFO] [stdout]  41 | |     static FINISHED: RefCell<Option<HWND>> = const { RefCell::new(None) };
[INFO] [stdout]  42 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 148 -         WM_ERASEBKGND => return LRESULT(1),
[INFO] [stdout] 148 +         WM_ERASEBKGND => return RESULT(1),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stdout]    --> src/overlay.rs:150:26
[INFO] [stdout]     |
[INFO] [stdout] 150 |             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/overlay.rs:151:13
[INFO] [stdout]     |
[INFO] [stdout] 151 |             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 `EndPaint` in this scope
[INFO] [stdout]    --> src/overlay.rs:153:21
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let _ = 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 `LRESULT` in this scope
[INFO] [stdout]    --> src/overlay.rs:154:20
[INFO] [stdout]     |
[INFO] [stdout] 154 |             return LRESULT(0);
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named constant `RESULT` defined here
[INFO] [stdout]    --> src/overlay.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | / thread_local! {
[INFO] [stdout]  37 | |     static STATE: RefCell<Option<State>> = const { RefCell::new(None) };
[INFO] [stdout]  38 | |     static RESULT: RefCell<Option<(Image, RECT)>> = const { RefCell::new(None) };
[INFO] [stdout]  39 | |     /// The finished overlay stays on screen until the host calls `close`,
[INFO] [stdout]  40 | |     /// so focus can pass straight to the card instead of back to the previous app.
[INFO] [stdout]  41 | |     static FINISHED: RefCell<Option<HWND>> = const { RefCell::new(None) };
[INFO] [stdout]  42 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 154 -             return LRESULT(0);
[INFO] [stdout] 154 +             return RESULT(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCapture` in this scope
[INFO] [stdout]    --> src/overlay.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |             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 `InvalidateRect` in this scope
[INFO] [stdout]    --> src/overlay.rs:163:21
[INFO] [stdout]     |
[INFO] [stdout] 163 |             let _ = InvalidateRect(hwnd, None, false);
[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/overlay.rs:164:20
[INFO] [stdout]     |
[INFO] [stdout] 164 |             return LRESULT(0);
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named constant `RESULT` defined here
[INFO] [stdout]    --> src/overlay.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | / thread_local! {
[INFO] [stdout]  37 | |     static STATE: RefCell<Option<State>> = const { RefCell::new(None) };
[INFO] [stdout]  38 | |     static RESULT: RefCell<Option<(Image, RECT)>> = const { RefCell::new(None) };
[INFO] [stdout]  39 | |     /// The finished overlay stays on screen until the host calls `close`,
[INFO] [stdout]  40 | |     /// so focus can pass straight to the card instead of back to the previous app.
[INFO] [stdout]  41 | |     static FINISHED: RefCell<Option<HWND>> = const { RefCell::new(None) };
[INFO] [stdout]  42 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 164 -             return LRESULT(0);
[INFO] [stdout] 164 +             return RESULT(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope
[INFO] [stdout]    --> src/overlay.rs:169:21
[INFO] [stdout]     |
[INFO] [stdout] 169 |             let _ = InvalidateRect(hwnd, None, false);
[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/overlay.rs:170:20
[INFO] [stdout]     |
[INFO] [stdout] 170 |             return LRESULT(0);
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named constant `RESULT` defined here
[INFO] [stdout]    --> src/overlay.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | / thread_local! {
[INFO] [stdout]  37 | |     static STATE: RefCell<Option<State>> = const { RefCell::new(None) };
[INFO] [stdout]  38 | |     static RESULT: RefCell<Option<(Image, RECT)>> = const { RefCell::new(None) };
[INFO] [stdout]  39 | |     /// The finished overlay stays on screen until the host calls `close`,
[INFO] [stdout]  40 | |     /// so focus can pass straight to the card instead of back to the previous app.
[INFO] [stdout]  41 | |     static FINISHED: RefCell<Option<HWND>> = const { RefCell::new(None) };
[INFO] [stdout]  42 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 170 -             return LRESULT(0);
[INFO] [stdout] 170 +             return RESULT(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseCapture` in this scope
[INFO] [stdout]    --> src/overlay.rs:173:21
[INFO] [stdout]     |
[INFO] [stdout] 173 |             let _ = ReleaseCapture();
[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/overlay.rs:175:20
[INFO] [stdout]     |
[INFO] [stdout] 175 |             return LRESULT(0);
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named constant `RESULT` defined here
[INFO] [stdout]    --> src/overlay.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | / thread_local! {
[INFO] [stdout]  37 | |     static STATE: RefCell<Option<State>> = const { RefCell::new(None) };
[INFO] [stdout]  38 | |     static RESULT: RefCell<Option<(Image, RECT)>> = const { RefCell::new(None) };
[INFO] [stdout]  39 | |     /// The finished overlay stays on screen until the host calls `close`,
[INFO] [stdout]  40 | |     /// so focus can pass straight to the card instead of back to the previous app.
[INFO] [stdout]  41 | |     static FINISHED: RefCell<Option<HWND>> = const { RefCell::new(None) };
[INFO] [stdout]  42 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 175 -             return LRESULT(0);
[INFO] [stdout] 175 +             return RESULT(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/overlay.rs:179:20
[INFO] [stdout]     |
[INFO] [stdout] 179 |             return LRESULT(0);
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named constant `RESULT` defined here
[INFO] [stdout]    --> src/overlay.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | / thread_local! {
[INFO] [stdout]  37 | |     static STATE: RefCell<Option<State>> = const { RefCell::new(None) };
[INFO] [stdout]  38 | |     static RESULT: RefCell<Option<(Image, RECT)>> = const { RefCell::new(None) };
[INFO] [stdout]  39 | |     /// The finished overlay stays on screen until the host calls `close`,
[INFO] [stdout]  40 | |     /// so focus can pass straight to the card instead of back to the previous app.
[INFO] [stdout]  41 | |     static FINISHED: RefCell<Option<HWND>> = const { RefCell::new(None) };
[INFO] [stdout]  42 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 179 -             return LRESULT(0);
[INFO] [stdout] 179 +             return RESULT(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/overlay.rs:183:20
[INFO] [stdout]     |
[INFO] [stdout] 183 |             return LRESULT(0);
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named constant `RESULT` defined here
[INFO] [stdout]    --> src/overlay.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | / thread_local! {
[INFO] [stdout]  37 | |     static STATE: RefCell<Option<State>> = const { RefCell::new(None) };
[INFO] [stdout]  38 | |     static RESULT: RefCell<Option<(Image, RECT)>> = const { RefCell::new(None) };
[INFO] [stdout]  39 | |     /// The finished overlay stays on screen until the host calls `close`,
[INFO] [stdout]  40 | |     /// so focus can pass straight to the card instead of back to the previous app.
[INFO] [stdout]  41 | |     static FINISHED: RefCell<Option<HWND>> = const { RefCell::new(None) };
[INFO] [stdout]  42 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 183 -             return LRESULT(0);
[INFO] [stdout] 183 +             return RESULT(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/overlay.rs:189:33
[INFO] [stdout]     |
[INFO] [stdout] 189 |         WM_DPICHANGED => return LRESULT(0),
[INFO] [stdout]     |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named constant `RESULT` defined here
[INFO] [stdout]    --> src/overlay.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout]  36 | / thread_local! {
[INFO] [stdout]  37 | |     static STATE: RefCell<Option<State>> = const { RefCell::new(None) };
[INFO] [stdout]  38 | |     static RESULT: RefCell<Option<(Image, RECT)>> = const { RefCell::new(None) };
[INFO] [stdout]  39 | |     /// The finished overlay stays on screen until the host calls `close`,
[INFO] [stdout]  40 | |     /// so focus can pass straight to the card instead of back to the previous app.
[INFO] [stdout]  41 | |     static FINISHED: RefCell<Option<HWND>> = const { RefCell::new(None) };
[INFO] [stdout]  42 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 189 -         WM_DPICHANGED => return LRESULT(0),
[INFO] [stdout] 189 +         WM_DPICHANGED => return RESULT(0),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stdout]    --> src/overlay.rs:192:5
[INFO] [stdout]     |
[INFO] [stdout] 192 |     DefWindowProcW(hwnd, msg, wp, lp)
[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:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let _ = Shell_NotifyIconW(NIM_ADD, &nid);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope
[INFO] [stdout]   --> src/tray.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let _ = Shell_NotifyIconW(NIM_MODIFY, &nid);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope
[INFO] [stdout]   --> src/tray.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let _ = Shell_NotifyIconW(NIM_DELETE, &base(host));
[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:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let _ = Shell_NotifyIconW(NIM_MODIFY, &nid);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePopupMenu` in this scope
[INFO] [stdout]   --> src/tray.rs:68:21
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let Ok(m) = CreatePopupMenu() else { return 0 };
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AppendMenuW` in this scope
[INFO] [stdout]   --> src/tray.rs:73:29
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     let _ = AppendMenuW(m, MF_SEPARATOR, 0, None);
[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/tray.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |                     let _ = AppendMenuW(m, flags, i.id, PCWSTR(label.as_ptr()));
[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/tray.rs:87:21
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let mut p = 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/tray.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let _ = GetCursorPos(&mut p);
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope
[INFO] [stdout]   --> src/tray.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let _ = SetForegroundWindow(host);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackPopupMenu` in this scope
[INFO] [stdout]   --> src/tray.rs:91:19
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let cmd = TrackPopupMenu(m, TPM_RETURNCMD | TPM_RIGHTBUTTON | TPM_NONOTIFY, p.x, p.y, 0, host, 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/tray.rs:92:45
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let _ = PostMessageW(host, WM_NULL, WPARAM(0), LPARAM(0));
[INFO] [stdout]    |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]   --> src/tray.rs:92:56
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let _ = PostMessageW(host, WM_NULL, WPARAM(0), LPARAM(0));
[INFO] [stdout]    |                                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope
[INFO] [stdout]   --> src/tray.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let _ = PostMessageW(host, WM_NULL, WPARAM(0), LPARAM(0));
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyMenu` in this scope
[INFO] [stdout]   --> src/tray.rs:93:17
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let _ = DestroyMenu(m);
[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/tray.rs:100:25
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let size = unsafe { 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 `CreateDIBSection` in this scope
[INFO] [stdout]    --> src/tray.rs:158:25
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let Ok(color) = CreateDIBSection(None, &bmi, DIB_RGB_COLORS, &mut bits, None, 0) else { return HICON::default() };
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HICON` in this scope
[INFO] [stdout]    --> src/tray.rs:158:104
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let Ok(color) = CreateDIBSection(None, &bmi, DIB_RGB_COLORS, &mut bits, None, 0) else { return HICON::default() };
[INFO] [stdout]     |                                                                                                        ^^^^^ use of undeclared type `HICON`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateBitmap` in this scope
[INFO] [stdout]    --> src/tray.rs:160:20
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let 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 `CreateIconIndirect` in this scope
[INFO] [stdout]    --> src/tray.rs:162:20
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let icon = CreateIconIndirect(&info).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/tray.rs:163:17
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let _ = DeleteObject(color);
[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/tray.rs:164:17
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let _ = DeleteObject(mask);
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 |         if GetLastError() == ERROR_ALREADY_EXISTS {
[INFO] [stdout]     |            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in this scope
[INFO] [stdout]    --> src/main.rs:118:38
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 if let Ok(running) = FindWindowW(w!("ShotkeyHost"), 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/main.rs:119:65
[INFO] [stdout]     |
[INFO] [stdout] 119 |                     let _ = PostMessageW(running, WM_APP_READY, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:119:76
[INFO] [stdout]     |
[INFO] [stdout] 119 |                     let _ = PostMessageW(running, WM_APP_READY, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:119:29
[INFO] [stdout]     |
[INFO] [stdout] 119 |                     let _ = PostMessageW(running, WM_APP_READY, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stdout]    --> src/main.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |         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 `CreateWindowExW` in this scope
[INFO] [stdout]    --> src/main.rs:137:24
[INFO] [stdout]     |
[INFO] [stdout] 137 | ...   let Ok(host) = CreateWindowExW(Default::default(), w!("ShotkeyHost"), w!("Shotkey"), WS_OVERLAPPED, 0, 0, 0, 0, None, None, h...
[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/main.rs:147:31
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let taskbar_created = RegisterWindowMessageW(w!("TaskbarCreated"));
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:154:26
[INFO] [stdout]     |
[INFO] [stdout] 154 |                 prev_fg: HWND::default(),
[INFO] [stdout]     |                          ^^^^ use of undeclared type `HWND`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MSG` in this scope
[INFO] [stdout]    --> src/main.rs:172:23
[INFO] [stdout]     |
[INFO] [stdout] 172 |         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:173:15
[INFO] [stdout]     |
[INFO] [stdout] 173 |         while GetMessageW(&mut msg, None, 0, 0).as_bool() {
[INFO] [stdout]     |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout]    --> src/main.rs:174:21
[INFO] [stdout]     |
[INFO] [stdout] 174 |             let _ = TranslateMessage(&msg);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |             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 `DefWindowProcW` in this scope
[INFO] [stdout]    --> src/main.rs:240:21
[INFO] [stdout]     |
[INFO] [stdout] 240 |         _ => return DefWindowProcW(hwnd, msg, wp, lp),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LRESULT` in this scope
[INFO] [stdout]    --> src/main.rs:242:5
[INFO] [stdout]     |
[INFO] [stdout] 242 |     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 `GetForegroundWindow` in this scope
[INFO] [stdout]    --> src/main.rs:257:30
[INFO] [stdout]     |
[INFO] [stdout] 257 |         a.prev_fg = unsafe { GetForegroundWindow() };
[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/main.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |             GetSystemMetrics(SM_XVIRTUALSCREEN),
[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/main.rs:274:13
[INFO] [stdout]     |
[INFO] [stdout] 274 |             GetSystemMetrics(SM_YVIRTUALSCREEN),
[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/main.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |             GetSystemMetrics(SM_CXVIRTUALSCREEN),
[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/main.rs:276:13
[INFO] [stdout]     |
[INFO] [stdout] 276 |             GetSystemMetrics(SM_CYVIRTUALSCREEN),
[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:298:25
[INFO] [stdout]     |
[INFO] [stdout] 298 |                 let _ = SetForegroundWindow(prev);
[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:572:25
[INFO] [stdout]     |
[INFO] [stdout] 572 |                 let _ = SetForegroundWindow(prev);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/main.rs:609:20
[INFO] [stdout]     |
[INFO] [stdout] 609 |             if let Some(url) = link {
[INFO] [stdout]     |                    ^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Some`
[INFO] [stdout]    --> /rustc/3b0202dcde0ac75d57351de7b10dfa396747bd5e/library/core/src/option.rs:606:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stdout]    --> src/main.rs:623:23
[INFO] [stdout]     |
[INFO] [stdout] 623 |         8 => unsafe { 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 `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:637:42
[INFO] [stdout]     |
[INFO] [stdout] 637 |                     let _ = PostMessageW(HWND(host as _), WM_APP_RELOAD, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:637:74
[INFO] [stdout]     |
[INFO] [stdout] 637 |                     let _ = PostMessageW(HWND(host as _), WM_APP_RELOAD, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:637:85
[INFO] [stdout]     |
[INFO] [stdout] 637 |                     let _ = PostMessageW(HWND(host as _), WM_APP_RELOAD, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:637:29
[INFO] [stdout]     |
[INFO] [stdout] 637 |                     let _ = PostMessageW(HWND(host as _), WM_APP_RELOAD, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0408, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `shotkey` (bin "shotkey") due to 509 previous errors
[INFO] running `"docker" "inspect" "ad51abf95175cfae117010cd421521774eaa8325a1d8b40557c6e484817dc7c5"`
[INFO] running `"docker" "rm" "-f" "ad51abf95175cfae117010cd421521774eaa8325a1d8b40557c6e484817dc7c5"`
[INFO] [stdout] ad51abf95175cfae117010cd421521774eaa8325a1d8b40557c6e484817dc7c5
