[INFO] cloning repository https://github.com/davidrios/testwindowtabs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidrios/testwindowtabs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidrios%2Ftestwindowtabs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidrios%2Ftestwindowtabs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43f4ccf2e298376343a7597b45492e39bb5b34e9 [INFO] testing davidrios/testwindowtabs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidrios%2Ftestwindowtabs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidrios/testwindowtabs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config [INFO] started tweaking git repo https://github.com/davidrios/testwindowtabs [INFO] finished tweaking git repo https://github.com/davidrios/testwindowtabs [INFO] tweaked toml for git repo https://github.com/davidrios/testwindowtabs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/davidrios/testwindowtabs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vswhom v0.1.0 [INFO] [stderr] Downloaded embed-resource v1.6.5 [INFO] [stderr] Downloaded vswhom-sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5ced3f1558fc1c4f92a7d360ea934f22a2ea5e38b73758048295dce7ab5ca10 [INFO] running `Command { std: "docker" "start" "-a" "d5ced3f1558fc1c4f92a7d360ea934f22a2ea5e38b73758048295dce7ab5ca10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5ced3f1558fc1c4f92a7d360ea934f22a2ea5e38b73758048295dce7ab5ca10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5ced3f1558fc1c4f92a7d360ea934f22a2ea5e38b73758048295dce7ab5ca10", kill_on_drop: false }` [INFO] [stdout] d5ced3f1558fc1c4f92a7d360ea934f22a2ea5e38b73758048295dce7ab5ca10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bca6bd3f87430575caea918ab62af3c6ef7dc36ecb62f690065f80bbd500648 [INFO] running `Command { std: "docker" "start" "-a" "3bca6bd3f87430575caea918ab62af3c6ef7dc36ecb62f690065f80bbd500648", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling embed-resource v1.6.5 [INFO] [stderr] Compiling testwindowtabs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/button.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::d3d9types::D3DCOLORVALUE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/button.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::{FALSE, HINSTANCE, LPARAM, LRESULT, TRUE, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/button.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/button.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::d2d1::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/button.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::wingdi::{CreateSolidBrush, DeleteObject, RGB}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/button.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/component.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::{FALSE, HINSTANCE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/component.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::{HWND, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/component.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::InvalidateRect; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/wutils.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::windows::prelude::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/wutils.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::d3d9types::{D3DCOLORVALUE, D3DCOLOR_COLORVALUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/wutils.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/wutils.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/wutils.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::winerror::{HRESULT, S_OK}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/wutils.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::d2d1::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/wutils.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::uxtheme::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/wutils.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::shared::dxgiformat::DXGI_FORMAT_R8G8B8A8_UNORM; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::d2d1::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::dcommon::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::wincon::{AttachConsole, ATTACH_PARENT_PROCESS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::wingdi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/wutils.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::Interface`, `crate::wnd_proc_gen`, `crate::wpanic_ifeq`, `crate::wpanic_ifne`, `crate::wpanic_ifnull`, `crate::wutils`, `crate::wpanic_ifeq` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::{wnd_proc_gen, wpanic_ifeq, wpanic_ifne, wpanic_ifnull, wutils}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/component.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::wpanic_ifeq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `D2D1_RENDER_TARGET_PROPERTIES` [INFO] [stdout] --> src/button.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | &D2D1_RENDER_TARGET_PROPERTIES::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `D2D1_RENDER_TARGET_PROPERTIES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `D2D1_COLOR_F` [INFO] [stdout] --> src/button.rs:244:22 [INFO] [stdout] | [INFO] [stdout] 244 | &D2D1_COLOR_F::default(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `D2D1_COLOR_F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PAINTSTRUCT` [INFO] [stdout] --> src/button.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | let mut ps = PAINTSTRUCT::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PAINTSTRUCT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | if res as winapi::shared::minwindef::LPVOID == winapi::shared::ntdef::NULL { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 274 | let hdc = wpanic_ifnull!(BeginPaint(self.hwnd, &mut ps)); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wpanic_ifnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:27:64 [INFO] [stdout] | [INFO] [stdout] 27 | if res as winapi::shared::minwindef::LPVOID == winapi::shared::ntdef::NULL { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 274 | let hdc = wpanic_ifnull!(BeginPaint(self.hwnd, &mut ps)); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wpanic_ifnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PAINTSTRUCT` [INFO] [stdout] --> src/button.rs:617:22 [INFO] [stdout] | [INFO] [stdout] 617 | let mut ps = PAINTSTRUCT::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PAINTSTRUCT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | if res as winapi::shared::minwindef::LPVOID == winapi::shared::ntdef::NULL { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:618:19 [INFO] [stdout] | [INFO] [stdout] 618 | let hdc = wpanic_ifnull!(BeginPaint(self.hwnd, &mut ps)); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wpanic_ifnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:27:64 [INFO] [stdout] | [INFO] [stdout] 27 | if res as winapi::shared::minwindef::LPVOID == winapi::shared::ntdef::NULL { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:618:19 [INFO] [stdout] | [INFO] [stdout] 618 | let hdc = wpanic_ifnull!(BeginPaint(self.hwnd, &mut ps)); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wpanic_ifnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | if res as winapi::shared::minwindef::LPVOID == winapi::shared::ntdef::NULL { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:620:24 [INFO] [stdout] | [INFO] [stdout] 620 | let bg_brush = wpanic_ifnull!(CreateSolidBrush(RGB(0xff, 0xdd, 0xdd))); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wpanic_ifnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:27:64 [INFO] [stdout] | [INFO] [stdout] 27 | if res as winapi::shared::minwindef::LPVOID == winapi::shared::ntdef::NULL { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:620:24 [INFO] [stdout] | [INFO] [stdout] 620 | let bg_brush = wpanic_ifnull!(CreateSolidBrush(RGB(0xff, 0xdd, 0xdd))); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wpanic_ifnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | hwnd: winapi::shared::windef::HWND, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | message: winapi::shared::minwindef::UINT, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | wparam: winapi::shared::minwindef::WPARAM, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | lparam: winapi::shared::minwindef::LPARAM, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | ) -> winapi::shared::minwindef::LRESULT { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | if message == winapi::um::winuser::WM_NCCREATE [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | || message == winapi::um::winuser::WM_CREATE [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:59:51 [INFO] [stdout] | [INFO] [stdout] 59 | let cs = lparam as *const winapi::um::winuser::CREATESTRUCTW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | winapi::um::winuser::SetWindowLongPtrW( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | winapi::um::winuser::GWLP_USERDATA, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | winapi::um::winuser::GetWindowLongPtrW(hwnd, winapi::um::winuser::GWLP_USERDATA) [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:71:74 [INFO] [stdout] | [INFO] [stdout] 71 | winapi::um::winuser::GetWindowLongPtrW(hwnd, winapi::um::winuser::GWLP_USERDATA) [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | unsafe { winapi::um::winuser::DefWindowProcW(hwnd, message, wparam, lparam) } [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | hwnd: winapi::shared::windef::HWND, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | message: winapi::shared::minwindef::UINT, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | wparam: winapi::shared::minwindef::WPARAM, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | lparam: winapi::shared::minwindef::LPARAM, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | ) -> winapi::shared::minwindef::LRESULT { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | if message == winapi::um::winuser::WM_NCCREATE [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | || message == winapi::um::winuser::WM_CREATE [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:59:51 [INFO] [stdout] | [INFO] [stdout] 59 | let cs = lparam as *const winapi::um::winuser::CREATESTRUCTW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | winapi::um::winuser::SetWindowLongPtrW( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | winapi::um::winuser::GWLP_USERDATA, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | winapi::um::winuser::GetWindowLongPtrW(hwnd, winapi::um::winuser::GWLP_USERDATA) [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:71:74 [INFO] [stdout] | [INFO] [stdout] 71 | winapi::um::winuser::GetWindowLongPtrW(hwnd, winapi::um::winuser::GWLP_USERDATA) [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/macros.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | unsafe { winapi::um::winuser::DefWindowProcW(hwnd, message, wparam, lparam) } [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/wutils.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | let mut rect = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/wutils.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | let rect = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SIZE` [INFO] [stdout] --> src/wutils.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | let mut size = SIZE::default(); [INFO] [stdout] | ^^^^ use of undeclared type `SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/wutils.rs:227:16 [INFO] [stdout] | [INFO] [stdout] 227 | close: RECT::default(), [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/wutils.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | maximize: RECT::default(), [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/wutils.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | minimize: RECT::default(), [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `POINT` [INFO] [stdout] --> src/wutils.rs:267:28 [INFO] [stdout] | [INFO] [stdout] 267 | let mut cursor_point = POINT::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `POINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID2D1Factory` [INFO] [stdout] --> src/wutils.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | &ID2D1Factory::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ID2D1Factory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `D2D1_FACTORY_OPTIONS` [INFO] [stdout] --> src/wutils.rs:336:14 [INFO] [stdout] | [INFO] [stdout] 336 | &D2D1_FACTORY_OPTIONS::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `D2D1_FACTORY_OPTIONS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `D2D1_RENDER_TARGET_PROPERTIES` [INFO] [stdout] --> src/main.rs:447:22 [INFO] [stdout] | [INFO] [stdout] 447 | &D2D1_RENDER_TARGET_PROPERTIES::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `D2D1_RENDER_TARGET_PROPERTIES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `HTBOTTOM` is not bound in all patterns [INFO] [stdout] --> src/main.rs:559:21 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^ pattern doesn't bind `HTBOTTOM` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | pattern doesn't bind `HTBOTTOM` [INFO] [stdout] | | | | pattern doesn't bind `HTBOTTOM` [INFO] [stdout] | | | pattern doesn't bind `HTBOTTOM` [INFO] [stdout] | | pattern doesn't bind `HTBOTTOM` [INFO] [stdout] | pattern doesn't bind `HTBOTTOM` [INFO] [stdout] 560 | | HTBOTTOMRIGHT | HTBOTTOM | HTBOTTOMLEFT => { [INFO] [stdout] | ^^^^^^^^^^^^^ -------- ^^^^^^^^^^^^ pattern doesn't bind `HTBOTTOM` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `HTBOTTOM` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::HTBOTTOM` [INFO] [stdout] --> src/main.rs:560:39 [INFO] [stdout] | [INFO] [stdout] 560 | | HTBOTTOMRIGHT | HTBOTTOM | HTBOTTOMLEFT => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `HTBOTTOMLEFT` is not bound in all patterns [INFO] [stdout] --> src/main.rs:559:21 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^ pattern doesn't bind `HTBOTTOMLEFT` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | pattern doesn't bind `HTBOTTOMLEFT` [INFO] [stdout] | | | | pattern doesn't bind `HTBOTTOMLEFT` [INFO] [stdout] | | | pattern doesn't bind `HTBOTTOMLEFT` [INFO] [stdout] | | pattern doesn't bind `HTBOTTOMLEFT` [INFO] [stdout] | pattern doesn't bind `HTBOTTOMLEFT` [INFO] [stdout] 560 | | HTBOTTOMRIGHT | HTBOTTOM | HTBOTTOMLEFT => { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `HTBOTTOMLEFT` [INFO] [stdout] | pattern doesn't bind `HTBOTTOMLEFT` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::HTBOTTOMLEFT` [INFO] [stdout] --> src/main.rs:560:50 [INFO] [stdout] | [INFO] [stdout] 560 | | HTBOTTOMRIGHT | HTBOTTOM | HTBOTTOMLEFT => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `HTBOTTOMRIGHT` is not bound in all patterns [INFO] [stdout] --> src/main.rs:559:21 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^ pattern doesn't bind `HTBOTTOMRIGHT` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | pattern doesn't bind `HTBOTTOMRIGHT` [INFO] [stdout] | | | | pattern doesn't bind `HTBOTTOMRIGHT` [INFO] [stdout] | | | pattern doesn't bind `HTBOTTOMRIGHT` [INFO] [stdout] | | pattern doesn't bind `HTBOTTOMRIGHT` [INFO] [stdout] | pattern doesn't bind `HTBOTTOMRIGHT` [INFO] [stdout] 560 | | HTBOTTOMRIGHT | HTBOTTOM | HTBOTTOMLEFT => { [INFO] [stdout] | ------------- ^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `HTBOTTOMRIGHT` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `HTBOTTOMRIGHT` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::HTBOTTOMRIGHT` [INFO] [stdout] --> src/main.rs:560:23 [INFO] [stdout] | [INFO] [stdout] 560 | | HTBOTTOMRIGHT | HTBOTTOM | HTBOTTOMLEFT => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `HTLEFT` is not bound in all patterns [INFO] [stdout] --> src/main.rs:559:21 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ------ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^ pattern doesn't bind `HTLEFT` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | pattern doesn't bind `HTLEFT` [INFO] [stdout] | | | | pattern doesn't bind `HTLEFT` [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `HTLEFT` [INFO] [stdout] | pattern doesn't bind `HTLEFT` [INFO] [stdout] 560 | | HTBOTTOMRIGHT | HTBOTTOM | HTBOTTOMLEFT => { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `HTLEFT` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `HTLEFT` [INFO] [stdout] | pattern doesn't bind `HTLEFT` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::HTLEFT` [INFO] [stdout] --> src/main.rs:559:43 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `HTNOWHERE` is not bound in all patterns [INFO] [stdout] --> src/main.rs:559:33 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | --------- ^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^ pattern doesn't bind `HTNOWHERE` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | pattern doesn't bind `HTNOWHERE` [INFO] [stdout] | | | | pattern doesn't bind `HTNOWHERE` [INFO] [stdout] | | | pattern doesn't bind `HTNOWHERE` [INFO] [stdout] | | pattern doesn't bind `HTNOWHERE` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] 560 | | HTBOTTOMRIGHT | HTBOTTOM | HTBOTTOMLEFT => { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `HTNOWHERE` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `HTNOWHERE` [INFO] [stdout] | pattern doesn't bind `HTNOWHERE` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::HTNOWHERE` [INFO] [stdout] --> src/main.rs:559:21 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `HTRIGHT` is not bound in all patterns [INFO] [stdout] --> src/main.rs:559:21 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | ^^^^^^^^^ ------- ^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^ pattern doesn't bind `HTRIGHT` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | pattern doesn't bind `HTRIGHT` [INFO] [stdout] | | | | pattern doesn't bind `HTRIGHT` [INFO] [stdout] | | | pattern doesn't bind `HTRIGHT` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `HTRIGHT` [INFO] [stdout] 560 | | HTBOTTOMRIGHT | HTBOTTOM | HTBOTTOMLEFT => { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `HTRIGHT` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `HTRIGHT` [INFO] [stdout] | pattern doesn't bind `HTRIGHT` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::HTRIGHT` [INFO] [stdout] --> src/main.rs:559:33 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `HTTOP` is not bound in all patterns [INFO] [stdout] --> src/main.rs:559:21 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^ ----- ^^^^^^^^^^ pattern doesn't bind `HTTOP` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | variable not in all patterns [INFO] [stdout] | | | | pattern doesn't bind `HTTOP` [INFO] [stdout] | | | pattern doesn't bind `HTTOP` [INFO] [stdout] | | pattern doesn't bind `HTTOP` [INFO] [stdout] | pattern doesn't bind `HTTOP` [INFO] [stdout] 560 | | HTBOTTOMRIGHT | HTBOTTOM | HTBOTTOMLEFT => { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `HTTOP` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `HTTOP` [INFO] [stdout] | pattern doesn't bind `HTTOP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::HTTOP` [INFO] [stdout] --> src/main.rs:559:64 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `HTTOPLEFT` is not bound in all patterns [INFO] [stdout] --> src/main.rs:559:21 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ --------- ^^^^^ ^^^^^^^^^^ pattern doesn't bind `HTTOPLEFT` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | pattern doesn't bind `HTTOPLEFT` [INFO] [stdout] | | | | variable not in all patterns [INFO] [stdout] | | | pattern doesn't bind `HTTOPLEFT` [INFO] [stdout] | | pattern doesn't bind `HTTOPLEFT` [INFO] [stdout] | pattern doesn't bind `HTTOPLEFT` [INFO] [stdout] 560 | | HTBOTTOMRIGHT | HTBOTTOM | HTBOTTOMLEFT => { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `HTTOPLEFT` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `HTTOPLEFT` [INFO] [stdout] | pattern doesn't bind `HTTOPLEFT` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::HTTOPLEFT` [INFO] [stdout] --> src/main.rs:559:52 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `HTTOPRIGHT` is not bound in all patterns [INFO] [stdout] --> src/main.rs:559:21 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^ ---------- variable not in all patterns [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | pattern doesn't bind `HTTOPRIGHT` [INFO] [stdout] | | | | pattern doesn't bind `HTTOPRIGHT` [INFO] [stdout] | | | pattern doesn't bind `HTTOPRIGHT` [INFO] [stdout] | | pattern doesn't bind `HTTOPRIGHT` [INFO] [stdout] | pattern doesn't bind `HTTOPRIGHT` [INFO] [stdout] 560 | | HTBOTTOMRIGHT | HTBOTTOM | HTBOTTOMLEFT => { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ pattern doesn't bind `HTTOPRIGHT` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `HTTOPRIGHT` [INFO] [stdout] | pattern doesn't bind `HTTOPRIGHT` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::HTTOPRIGHT` [INFO] [stdout] --> src/main.rs:559:72 [INFO] [stdout] | [INFO] [stdout] 559 | HTNOWHERE | HTRIGHT | HTLEFT | HTTOPLEFT | HTTOP | HTTOPRIGHT [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PAINTSTRUCT` [INFO] [stdout] --> src/main.rs:633:30 [INFO] [stdout] | [INFO] [stdout] 633 | let mut ps = PAINTSTRUCT::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PAINTSTRUCT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | if res as winapi::shared::minwindef::LPVOID == winapi::shared::ntdef::NULL { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:634:27 [INFO] [stdout] | [INFO] [stdout] 634 | let hdc = wpanic_ifnull!(BeginPaint(self.hwnd, &mut ps)); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wpanic_ifnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:27:64 [INFO] [stdout] | [INFO] [stdout] 27 | if res as winapi::shared::minwindef::LPVOID == winapi::shared::ntdef::NULL { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:634:27 [INFO] [stdout] | [INFO] [stdout] 634 | let hdc = wpanic_ifnull!(BeginPaint(self.hwnd, &mut ps)); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wpanic_ifnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | if res as winapi::shared::minwindef::LPVOID == winapi::shared::ntdef::NULL { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:638:32 [INFO] [stdout] | [INFO] [stdout] 638 | let bg_brush = wpanic_ifnull!(CreateSolidBrush(bg_color)); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wpanic_ifnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:27:64 [INFO] [stdout] | [INFO] [stdout] 27 | if res as winapi::shared::minwindef::LPVOID == winapi::shared::ntdef::NULL { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:638:32 [INFO] [stdout] | [INFO] [stdout] 638 | let bg_brush = wpanic_ifnull!(CreateSolidBrush(bg_color)); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wpanic_ifnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | if res as winapi::shared::minwindef::LPVOID == winapi::shared::ntdef::NULL { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:645:39 [INFO] [stdout] | [INFO] [stdout] 645 | let title_bar_brush = wpanic_ifnull!(CreateSolidBrush(title_bar_color)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wpanic_ifnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:27:64 [INFO] [stdout] | [INFO] [stdout] 27 | if res as winapi::shared::minwindef::LPVOID == winapi::shared::ntdef::NULL { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:645:39 [INFO] [stdout] | [INFO] [stdout] 645 | let title_bar_brush = wpanic_ifnull!(CreateSolidBrush(title_bar_color)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wpanic_ifnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | if res as winapi::shared::minwindef::LPVOID == winapi::shared::ntdef::NULL { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:709:45 [INFO] [stdout] | [INFO] [stdout] 709 | let fake_top_shadow_brush = wpanic_ifnull!(CreateSolidBrush(fake_top_shadow_color)); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wpanic_ifnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:27:64 [INFO] [stdout] | [INFO] [stdout] 27 | if res as winapi::shared::minwindef::LPVOID == winapi::shared::ntdef::NULL { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:709:45 [INFO] [stdout] | [INFO] [stdout] 709 | let fake_top_shadow_brush = wpanic_ifnull!(CreateSolidBrush(fake_top_shadow_color)); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wpanic_ifnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/main.rs:754:37 [INFO] [stdout] | [INFO] [stdout] 754 | let mut size_rect = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/button.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | const CM_CLICK: UINT = WM_USER + 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/button.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | const CM_CLICK: UINT = WM_USER + 1; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/button.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | const CM_PAINTLAST: UINT = WM_USER + 2; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/button.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | const CM_PAINTLAST: UINT = WM_USER + 2; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | default: D3DCOLORVALUE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | hover: D3DCOLORVALUE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | down: D3DCOLORVALUE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(default: D3DCOLORVALUE, hover: D3DCOLORVALUE, down: D3DCOLORVALUE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(default: D3DCOLORVALUE, hover: D3DCOLORVALUE, down: D3DCOLORVALUE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:45:68 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(default: D3DCOLORVALUE, hover: D3DCOLORVALUE, down: D3DCOLORVALUE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn default(&self) -> D3DCOLORVALUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn hover(&self) -> D3DCOLORVALUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn down(&self) -> D3DCOLORVALUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/button.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/button.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | d2d_factory: &'a ID2D1Factory, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/button.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Button<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1HwndRenderTarget` [INFO] [stdout] ... [INFO] [stdout] 78 | d2d_render_target: Option<&'a ID2D1HwndRenderTarget>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/button.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Button<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1SolidColorBrush` [INFO] [stdout] ... [INFO] [stdout] 79 | d2d_brush: Option<&'a ID2D1SolidColorBrush>, [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/button.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | DestroyWindow(self.hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/button.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | fn hwnd(&self) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/button.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | fn register_class(h_inst: HINSTANCE) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/button.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | parent_hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/button.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | h_inst: HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/button.rs:158:33 [INFO] [stdout] | [INFO] [stdout] 149 | impl<'a> Button<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1Factory` [INFO] [stdout] ... [INFO] [stdout] 158 | d2d_factory: Option<&'a ID2D1Factory>, [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/button.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> src/button.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | WS_CHILD | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/button.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | WS_CHILD | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/button.rs:223:56 [INFO] [stdout] | [INFO] [stdout] 149 | impl<'a> Button<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1HwndRenderTarget` [INFO] [stdout] ... [INFO] [stdout] 223 | let mut render_target = MaybeUninit::<*mut ID2D1HwndRenderTarget>::uninit(); [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/button.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | &D2D1_HWND_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/button.rs:241:48 [INFO] [stdout] | [INFO] [stdout] 149 | impl<'a> Button<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1SolidColorBrush` [INFO] [stdout] ... [INFO] [stdout] 241 | let mut brush = MaybeUninit::<*mut ID2D1SolidColorBrush>::uninit(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_BRUSH_PROPERTIES` in this scope [INFO] [stdout] --> src/button.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | &D2D1_BRUSH_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/button.rs:258:35 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn d2d_factory(&self) -> &ID2D1Factory { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/button.rs:262:41 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn d2d_render_target(&self) -> &ID2D1HwndRenderTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/button.rs:266:33 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn d2d_brush(&self) -> &ID2D1SolidColorBrush { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> src/button.rs:274:34 [INFO] [stdout] | [INFO] [stdout] 274 | let hdc = wpanic_ifnull!(BeginPaint(self.hwnd, &mut ps)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/button.rs:299:22 [INFO] [stdout] | [INFO] [stdout] 299 | &D2D1_RECT_F { [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/button.rs:318:22 [INFO] [stdout] | [INFO] [stdout] 318 | wpanic_ifeq!(EndPaint(self.hwnd, &ps), FALSE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/button.rs:318:48 [INFO] [stdout] | [INFO] [stdout] 318 | wpanic_ifeq!(EndPaint(self.hwnd, &ps), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/button.rs:321:43 [INFO] [stdout] | [INFO] [stdout] 321 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/button.rs:321:57 [INFO] [stdout] | [INFO] [stdout] 321 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/button.rs:321:73 [INFO] [stdout] | [INFO] [stdout] 321 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/button.rs:321:84 [INFO] [stdout] | [INFO] [stdout] 321 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_SIZE_U` in this scope [INFO] [stdout] --> src/button.rs:325:28 [INFO] [stdout] | [INFO] [stdout] 325 | let size = D2D1_SIZE_U { [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/button.rs:349:35 [INFO] [stdout] | [INFO] [stdout] 349 | let mut trk = TRACKMOUSEEVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stdout] --> src/button.rs:350:48 [INFO] [stdout] | [INFO] [stdout] 149 | impl<'a> Button<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, TRACKMOUSEEVENT` [INFO] [stdout] ... [INFO] [stdout] 350 | cbSize: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TME_LEAVE` in this scope [INFO] [stdout] --> src/button.rs:351:34 [INFO] [stdout] | [INFO] [stdout] 351 | dwFlags: TME_LEAVE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackMouseEvent` in this scope [INFO] [stdout] --> src/button.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 356 | wpanic_ifeq!(TrackMouseEvent(&mut trk), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/button.rs:356:61 [INFO] [stdout] | [INFO] [stdout] 356 | wpanic_ifeq!(TrackMouseEvent(&mut trk), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MK_LBUTTON` in this scope [INFO] [stdout] --> src/button.rs:360:33 [INFO] [stdout] | [INFO] [stdout] 360 | if wparam & MK_LBUTTON > 0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCapture` in this scope [INFO] [stdout] --> src/button.rs:377:26 [INFO] [stdout] | [INFO] [stdout] 377 | unsafe { SetCapture(self.hwnd) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseCapture` in this scope [INFO] [stdout] --> src/button.rs:400:30 [INFO] [stdout] | [INFO] [stdout] 400 | wpanic_ifeq!(ReleaseCapture(), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/button.rs:400:48 [INFO] [stdout] | [INFO] [stdout] 400 | wpanic_ifeq!(ReleaseCapture(), FALSE); [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/button.rs:405:18 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe { DefWindowProcW(self.hwnd, message, wparam, lparam) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/button.rs:410:11 [INFO] [stdout] | [INFO] [stdout] 410 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/button.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | h_inst: HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/button.rs:413:22 [INFO] [stdout] | [INFO] [stdout] 413 | d2d_factory: &'a ID2D1Factory, [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/button.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | DestroyWindow(self.hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/button.rs:442:23 [INFO] [stdout] | [INFO] [stdout] 442 | fn hwnd(&self) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/button.rs:446:31 [INFO] [stdout] | [INFO] [stdout] 446 | fn register_class(h_inst: HINSTANCE) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/button.rs:475:22 [INFO] [stdout] | [INFO] [stdout] 475 | parent_hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/button.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 476 | h_inst: HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/button.rs:483:33 [INFO] [stdout] | [INFO] [stdout] 473 | impl<'a> ToggleButton<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1Factory` [INFO] [stdout] ... [INFO] [stdout] 483 | d2d_factory: Option<&'a ID2D1Factory>, [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/button.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 521 | CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> src/button.rs:525:17 [INFO] [stdout] | [INFO] [stdout] 525 | WS_CHILD | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/button.rs:525:28 [INFO] [stdout] | [INFO] [stdout] 525 | WS_CHILD | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in this scope [INFO] [stdout] --> src/button.rs:551:17 [INFO] [stdout] | [INFO] [stdout] 551 | MoveWindow( [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/button.rs:557:21 [INFO] [stdout] | [INFO] [stdout] 557 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/button.rs:580:13 [INFO] [stdout] | [INFO] [stdout] 580 | SendMessageW(hwnd, CM_CLICK, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/button.rs:584:13 [INFO] [stdout] | [INFO] [stdout] 584 | SendMessageW(hwnd, CM_PAINTLAST, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/button.rs:590:41 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn d2d_render_target(&self) -> &ID2D1HwndRenderTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/button.rs:594:33 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn d2d_brush(&self) -> &ID2D1SolidColorBrush { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> src/button.rs:618:34 [INFO] [stdout] | [INFO] [stdout] 618 | let hdc = wpanic_ifnull!(BeginPaint(self.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 `CreateSolidBrush` in this scope [INFO] [stdout] --> src/button.rs:620:39 [INFO] [stdout] | [INFO] [stdout] 620 | let bg_brush = wpanic_ifnull!(CreateSolidBrush(RGB(0xff, 0xdd, 0xdd))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/button.rs:620:56 [INFO] [stdout] | [INFO] [stdout] 620 | let bg_brush = wpanic_ifnull!(CreateSolidBrush(RGB(0xff, 0xdd, 0xdd))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope [INFO] [stdout] --> src/button.rs:621:22 [INFO] [stdout] | [INFO] [stdout] 621 | wpanic_ifeq!(FillRect(hdc, &ps.rcPaint, bg_brush), 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/button.rs:622:22 [INFO] [stdout] | [INFO] [stdout] 622 | wpanic_ifeq!(DeleteObject(bg_brush as _), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/button.rs:622:51 [INFO] [stdout] | [INFO] [stdout] 622 | wpanic_ifeq!(DeleteObject(bg_brush as _), FALSE); [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/button.rs:624:22 [INFO] [stdout] | [INFO] [stdout] 624 | wpanic_ifeq!(EndPaint(self.hwnd, &ps), FALSE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/button.rs:624:48 [INFO] [stdout] | [INFO] [stdout] 624 | wpanic_ifeq!(EndPaint(self.hwnd, &ps), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/button.rs:627:43 [INFO] [stdout] | [INFO] [stdout] 627 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/button.rs:627:57 [INFO] [stdout] | [INFO] [stdout] 627 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/button.rs:627:73 [INFO] [stdout] | [INFO] [stdout] 627 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/button.rs:627:84 [INFO] [stdout] | [INFO] [stdout] 627 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/button.rs:653:18 [INFO] [stdout] | [INFO] [stdout] 653 | unsafe { DefWindowProcW(self.hwnd, message, wparam, lparam) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/component.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | fn hwnd(&self) -> HWND; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/component.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn register_class(h_inst: HINSTANCE) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/component.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_client_rect(&self) -> RECT { [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/component.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | wpanic_ifeq!(InvalidateRect(self.hwnd(), null(), FALSE), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/component.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 19 | wpanic_ifeq!(InvalidateRect(self.hwnd(), null(), FALSE), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/component.rs:19:66 [INFO] [stdout] | [INFO] [stdout] 19 | wpanic_ifeq!(InvalidateRect(self.hwnd(), null(), FALSE), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/wutils.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe extern "system" fn(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/wutils.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe extern "system" fn(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/wutils.rs:32:66 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe extern "system" fn(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/wutils.rs:32:82 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe extern "system" fn(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/wutils.rs:32:93 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe extern "system" fn(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/wutils.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Hresult(HRESULT), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/wutils.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub close: RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/wutils.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub maximize: RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/wutils.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub minimize: RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/wutils.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | h_inst: HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/wutils.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | let class = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> src/wutils.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | style: CS_HREDRAW | CS_VREDRAW | CS_OWNDC, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> src/wutils.rs:104:37 [INFO] [stdout] | [INFO] [stdout] 104 | style: CS_HREDRAW | CS_VREDRAW | CS_OWNDC, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stdout] --> src/wutils.rs:104:50 [INFO] [stdout] | [INFO] [stdout] 104 | style: CS_HREDRAW | CS_VREDRAW | CS_OWNDC, [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/wutils.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | hCursor: unsafe { LoadCursorW(null_mut(), IDC_ARROW) }, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/wutils.rs:110:59 [INFO] [stdout] | [INFO] [stdout] 110 | hCursor: unsafe { LoadCursorW(null_mut(), IDC_ARROW) }, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> src/wutils.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | if unsafe { RegisterClassW(&class) } == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/wutils.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_client_rect(handle: HWND) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/wutils.rs:138:48 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_client_rect(handle: HWND) -> Result { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/wutils.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | if unsafe { GetClientRect(handle, &mut rect) } != TRUE { [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/wutils.rs:141:55 [INFO] [stdout] | [INFO] [stdout] 141 | if unsafe { GetClientRect(handle, &mut rect) } != TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/wutils.rs:148:35 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get_dpi_for_window(handle: HWND) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForWindow` in this scope [INFO] [stdout] --> src/wutils.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | let dpi = unsafe { GetDpiForWindow(handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetricsForDpi` in this scope [INFO] [stdout] --> src/wutils.rs:158:24 [INFO] [stdout] | [INFO] [stdout] 158 | let res = unsafe { GetSystemMetricsForDpi(n_index, dpi) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/wutils.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get_titlebar_rect(handle: HWND) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/wutils.rs:165:50 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get_titlebar_rect(handle: HWND) -> Result { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenThemeData` in this scope [INFO] [stdout] --> src/wutils.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | let theme = unsafe { OpenThemeData(handle, wide_string("WINDOW").as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThemePartSize` in this scope [INFO] [stdout] --> src/wutils.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | GetThemePartSize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TS_TRUE` in this scope [INFO] [stdout] --> src/wutils.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | TS_TRUE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/wutils.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | if res != S_OK { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseThemeData` in this scope [INFO] [stdout] --> src/wutils.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | let res = unsafe { CloseThemeData(theme) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/wutils.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | if res != S_OK { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/wutils.rs:210:33 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn fake_shadow_rect(handle: HWND) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/wutils.rs:210:49 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn fake_shadow_rect(handle: HWND) -> Result { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/wutils.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | handle: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/wutils.rs:219:22 [INFO] [stdout] | [INFO] [stdout] 219 | title_bar_rect: &RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDpiForWindow` in this scope [INFO] [stdout] --> src/wutils.rs:221:24 [INFO] [stdout] | [INFO] [stdout] 221 | let dpi = unsafe { GetDpiForWindow(handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/wutils.rs:253:36 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn window_is_maximized(handle: HWND) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WINDOWPLACEMENT` in this scope [INFO] [stdout] --> src/wutils.rs:254:25 [INFO] [stdout] | [INFO] [stdout] 254 | let mut placement = WINDOWPLACEMENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope [INFO] [stdout] --> src/wutils.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn window_is_maximized(handle: HWND) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 254 | let mut placement = WINDOWPLACEMENT { [INFO] [stdout] 255 | length: std::mem::size_of::() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowPlacement` in this scope [INFO] [stdout] --> src/wutils.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | if unsafe { GetWindowPlacement(handle, &mut placement) } != TRUE { [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/wutils.rs:259:65 [INFO] [stdout] | [INFO] [stdout] 259 | if unsafe { GetWindowPlacement(handle, &mut placement) } != TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOWMAXIMIZED` in this scope [INFO] [stdout] --> src/wutils.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | Ok(placement.showCmd == SW_SHOWMAXIMIZED as _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/wutils.rs:266:30 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn is_mouse_over(handle: HWND) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/wutils.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | if unsafe { GetCursorPos(&mut cursor_point) } != TRUE { [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/wutils.rs:268:54 [INFO] [stdout] | [INFO] [stdout] 268 | if unsafe { GetCursorPos(&mut cursor_point) } != TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ScreenToClient` in this scope [INFO] [stdout] --> src/wutils.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | if unsafe { ScreenToClient(handle, &mut cursor_point) } != TRUE { [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/wutils.rs:272:64 [INFO] [stdout] | [INFO] [stdout] 272 | if unsafe { ScreenToClient(handle, &mut cursor_point) } != TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PtInRect` in this scope [INFO] [stdout] --> src/wutils.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | Ok(unsafe { PtInRect(&rect, cursor_point) } == TRUE) [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/wutils.rs:278:52 [INFO] [stdout] | [INFO] [stdout] 278 | Ok(unsafe { PtInRect(&rect, cursor_point) } == TRUE) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/wutils.rs:281:44 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn center_rect_in_rect(to_center: &mut RECT, outer_rect: &RECT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/wutils.rs:281:63 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn center_rect_in_rect(to_center: &mut RECT, outer_rect: &RECT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/wutils.rs:294:47 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn center_d2drect_in_rect(to_center: &mut D2D1_RECT_F, outer_rect: &D2D1_RECT_F) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/wutils.rs:294:73 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn center_d2drect_in_rect(to_center: &mut D2D1_RECT_F, outer_rect: &D2D1_RECT_F) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/wutils.rs:307:39 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn color_from_argb(color: u32) -> D3DCOLORVALUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/wutils.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | D3DCOLORVALUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stdout] --> src/wutils.rs:316:35 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn color_from_colorref(color: COLORREF) -> D3DCOLORVALUE { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/wutils.rs:316:48 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn color_from_colorref(color: COLORREF) -> D3DCOLORVALUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/wutils.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | D3DCOLORVALUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/wutils.rs:325:33 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn color_to_colorref(color: D3DCOLORVALUE) -> COLORREF { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stdout] --> src/wutils.rs:325:51 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn color_to_colorref(color: D3DCOLORVALUE) -> COLORREF { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/wutils.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | let D3DCOLORVALUE { r, g, b, .. } = color; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/wutils.rs:330:47 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn create_d2d_factory<'a>() -> Result<&'a ID2D1Factory, Error> { [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, ID2D1Factory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/wutils.rs:331:46 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn create_d2d_factory<'a>() -> Result<&'a ID2D1Factory, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1Factory` [INFO] [stdout] 331 | let mut d2d_factory = MaybeUninit::<*mut ID2D1Factory>::uninit(); [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/wutils.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | D2D1CreateFactory( [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/wutils.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | D2D1_FACTORY_TYPE_SINGLE_THREADED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | h_inst: HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/main.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | d2d_factory: &'a ID2D1Factory, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/main.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Window<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1HwndRenderTarget` [INFO] [stdout] ... [INFO] [stdout] 53 | d2d_render_target: Option<&'a ID2D1HwndRenderTarget>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/main.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Window<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1SolidColorBrush` [INFO] [stdout] ... [INFO] [stdout] 54 | d2d_brush: Option<&'a ID2D1SolidColorBrush>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn register_class(h_inst: HINSTANCE) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(parent_hwnd: HWND, h_inst: HINSTANCE) -> Result, Error> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(parent_hwnd: HWND, h_inst: HINSTANCE) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_THICKFRAME` in this scope [INFO] [stdout] --> src/main.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | let window_style = WS_THICKFRAME // required for a standard resizeable window [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> src/main.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | | WS_SYSMENU // Explicitly ask for the titlebar to support snapping via Win + ← / Win + → [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> src/main.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | | WS_MAXIMIZEBOX // Add maximize button to support maximizing via mouse dragging [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> src/main.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | | WS_MINIMIZEBOX // Add minimize button to support minimizing by clicking on the taskbar icon [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/main.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | | WS_VISIBLE; // Make window visible after it is created (not important) [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:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | wpanic_ifisnull!(CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPCHILDREN` in this scope [INFO] [stdout] --> src/main.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | window_style | WS_CLIPCHILDREN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | let title_bg = RGB(TITLE_BG_COLOR.0, TITLE_BG_COLOR.1, TITLE_BG_COLOR.2); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | let btn_hover = RGB( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | let btn_down = RGB(TITLE_DOWN_COLOR.0, TITLE_DOWN_COLOR.1, TITLE_DOWN_COLOR.2); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | let rgb = RGB(100, 110, 120); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | wutils::color_from_colorref(RGB(232, 17, 35)), [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:160:45 [INFO] [stdout] | [INFO] [stdout] 160 | wutils::color_from_colorref(RGB(232, 73, 76)), [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/main.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | wpanic_ifeq!(ShowWindow(hwnd, SW_MINIMIZE), FALSE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_MINIMIZE` in this scope [INFO] [stdout] --> src/main.rs:180:43 [INFO] [stdout] | [INFO] [stdout] 180 | wpanic_ifeq!(ShowWindow(hwnd, SW_MINIMIZE), FALSE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:180:57 [INFO] [stdout] | [INFO] [stdout] 180 | wpanic_ifeq!(ShowWindow(hwnd, SW_MINIMIZE), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_NORMAL` in this scope [INFO] [stdout] --> src/main.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | SW_NORMAL [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_MAXIMIZE` in this scope [INFO] [stdout] --> src/main.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | SW_MAXIMIZE [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/main.rs:190:26 [INFO] [stdout] | [INFO] [stdout] 190 | wpanic_ifeq!(ShowWindow(hwnd, mode), FALSE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:190:50 [INFO] [stdout] | [INFO] [stdout] 190 | wpanic_ifeq!(ShowWindow(hwnd, mode), FALSE); [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:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | wpanic_ifeq!(PostMessageW(hwnd, WM_CLOSE, 0, 0), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/main.rs:194:45 [INFO] [stdout] | [INFO] [stdout] 194 | wpanic_ifeq!(PostMessageW(hwnd, WM_CLOSE, 0, 0), FALSE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:194:62 [INFO] [stdout] | [INFO] [stdout] 194 | wpanic_ifeq!(PostMessageW(hwnd, WM_CLOSE, 0, 0), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFocus` in this scope [INFO] [stdout] --> src/main.rs:198:39 [INFO] [stdout] | [INFO] [stdout] 198 | let has_focus = !unsafe { GetFocus() }.is_null(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | RGB(TITLE_ITEM_COLOR.0, TITLE_ITEM_COLOR.1, TITLE_ITEM_COLOR.2) [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | RGB( [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | let mut icon_rect = D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 228 | &D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | &D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFocus` in this scope [INFO] [stdout] --> src/main.rs:253:39 [INFO] [stdout] | [INFO] [stdout] 253 | let has_focus = !unsafe { GetFocus() }.is_null(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | RGB(TITLE_ITEM_COLOR.0, TITLE_ITEM_COLOR.1, TITLE_ITEM_COLOR.2) [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | RGB( [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:285:33 [INFO] [stdout] | [INFO] [stdout] 285 | let mut icon_rect = D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | &D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:306:26 [INFO] [stdout] | [INFO] [stdout] 306 | &D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:320:26 [INFO] [stdout] | [INFO] [stdout] 320 | &D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:332:26 [INFO] [stdout] | [INFO] [stdout] 332 | &D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:348:26 [INFO] [stdout] | [INFO] [stdout] 348 | &D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFocus` in this scope [INFO] [stdout] --> src/main.rs:363:39 [INFO] [stdout] | [INFO] [stdout] 363 | let has_focus = !unsafe { GetFocus() }.is_null(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | RGB(TITLE_ITEM_COLOR.0, TITLE_ITEM_COLOR.1, TITLE_ITEM_COLOR.2) [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | RGB( [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:385:33 [INFO] [stdout] | [INFO] [stdout] 385 | let mut icon_rect = D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:392:18 [INFO] [stdout] | [INFO] [stdout] 392 | &D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stdout] --> src/main.rs:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | D2D1_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stdout] --> src/main.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | D2D1_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stdout] --> src/main.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 425 | D2D1_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stdout] --> src/main.rs:429:21 [INFO] [stdout] | [INFO] [stdout] 429 | D2D1_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/main.rs:443:56 [INFO] [stdout] | [INFO] [stdout] 57 | impl<'a> Window<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1HwndRenderTarget` [INFO] [stdout] ... [INFO] [stdout] 443 | let mut render_target = MaybeUninit::<*mut ID2D1HwndRenderTarget>::uninit(); [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/main.rs:448:22 [INFO] [stdout] | [INFO] [stdout] 448 | &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 `D2D1_SIZE_U` in this scope [INFO] [stdout] --> src/main.rs:450:36 [INFO] [stdout] | [INFO] [stdout] 450 | pixelSize: D2D1_SIZE_U { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/main.rs:465:48 [INFO] [stdout] | [INFO] [stdout] 57 | impl<'a> Window<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1SolidColorBrush` [INFO] [stdout] ... [INFO] [stdout] 465 | let mut brush = MaybeUninit::<*mut ID2D1SolidColorBrush>::uninit(); [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/main.rs:468:22 [INFO] [stdout] | [INFO] [stdout] 468 | &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_BRUSH_PROPERTIES` in this scope [INFO] [stdout] --> src/main.rs:474:22 [INFO] [stdout] | [INFO] [stdout] 474 | &D2D1_BRUSH_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/main.rs:487:35 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn d2d_factory(&self) -> &ID2D1Factory { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/main.rs:491:41 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn d2d_render_target(&self) -> &ID2D1HwndRenderTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/main.rs:495:33 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn d2d_brush(&self) -> &ID2D1SolidColorBrush { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:499:85 [INFO] [stdout] | [INFO] [stdout] 499 | fn reposition_component(&self, button_ref: Option<&Box>, rect: RECT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in this scope [INFO] [stdout] --> src/main.rs:502:17 [INFO] [stdout] | [INFO] [stdout] 502 | MoveWindow( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:508:21 [INFO] [stdout] | [INFO] [stdout] 508 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:528:43 [INFO] [stdout] | [INFO] [stdout] 528 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:528:57 [INFO] [stdout] | [INFO] [stdout] 528 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:528:73 [INFO] [stdout] | [INFO] [stdout] 528 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:528:84 [INFO] [stdout] | [INFO] [stdout] 528 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_SIZE_U` in this scope [INFO] [stdout] --> src/main.rs:547:28 [INFO] [stdout] | [INFO] [stdout] 547 | let size = D2D1_SIZE_U { [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:556:39 [INFO] [stdout] | [INFO] [stdout] 556 | let result = unsafe { DefWindowProcW(self.hwnd, message, wparam, lparam) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYFRAME` in this scope [INFO] [stdout] --> src/main.rs:569:66 [INFO] [stdout] | [INFO] [stdout] 569 | let frame_y = wutils::get_system_metrics_for_dpi(SM_CYFRAME, dpi).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXPADDEDBORDER` in this scope [INFO] [stdout] --> src/main.rs:570:66 [INFO] [stdout] | [INFO] [stdout] 570 | let padding = wutils::get_system_metrics_for_dpi(SM_CXPADDEDBORDER, dpi).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKEPOINTS` in this scope [INFO] [stdout] --> src/main.rs:572:36 [INFO] [stdout] | [INFO] [stdout] 572 | let cursor_point = MAKEPOINTS(lparam as u32); [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/main.rs:573:40 [INFO] [stdout] | [INFO] [stdout] 573 | let mut cursor_point = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ScreenToClient` in this scope [INFO] [stdout] --> src/main.rs:577:30 [INFO] [stdout] | [INFO] [stdout] 577 | wpanic_ifeq!(ScreenToClient(self.hwnd, &mut cursor_point), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:577:76 [INFO] [stdout] | [INFO] [stdout] 577 | wpanic_ifeq!(ScreenToClient(self.hwnd, &mut cursor_point), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HTTOP` in this scope [INFO] [stdout] --> src/main.rs:581:28 [INFO] [stdout] | [INFO] [stdout] 581 | return HTTOP; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HTCAPTION` in this scope [INFO] [stdout] --> src/main.rs:586:28 [INFO] [stdout] | [INFO] [stdout] 586 | return HTCAPTION; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HTCLIENT` in this scope [INFO] [stdout] --> src/main.rs:589:24 [INFO] [stdout] | [INFO] [stdout] 589 | return HTCLIENT; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCapture` in this scope [INFO] [stdout] --> src/main.rs:593:26 [INFO] [stdout] | [INFO] [stdout] 593 | unsafe { SetCapture(self.hwnd) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKEPOINTS` in this scope [INFO] [stdout] --> src/main.rs:598:36 [INFO] [stdout] | [INFO] [stdout] 598 | let cursor_point = MAKEPOINTS(lparam as u32); [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/main.rs:599:40 [INFO] [stdout] | [INFO] [stdout] 599 | let mut cursor_point = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PtInRect` in this scope [INFO] [stdout] --> src/main.rs:603:40 [INFO] [stdout] | [INFO] [stdout] 603 | let in_area = unsafe { PtInRect(&title_rect, cursor_point) > 0 }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClientToScreen` in this scope [INFO] [stdout] --> src/main.rs:606:34 [INFO] [stdout] | [INFO] [stdout] 606 | wpanic_ifeq!(ClientToScreen(self.hwnd, &mut cursor_point), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:606:80 [INFO] [stdout] | [INFO] [stdout] 606 | wpanic_ifeq!(ClientToScreen(self.hwnd, &mut cursor_point), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMenu` in this scope [INFO] [stdout] --> src/main.rs:609:36 [INFO] [stdout] | [INFO] [stdout] 609 | let menu = GetSystemMenu(self.hwnd, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackPopupMenuEx` in this scope [INFO] [stdout] --> src/main.rs:610:35 [INFO] [stdout] | [INFO] [stdout] 610 | let cmd = TrackPopupMenuEx( [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/main.rs:612:29 [INFO] [stdout] | [INFO] [stdout] 612 | ... TPM_RETURNCMD, [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:619:29 [INFO] [stdout] | [INFO] [stdout] 619 | ... PostMessageW(self.hwnd, WM_SYSCOMMAND, cmd as _, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> src/main.rs:619:53 [INFO] [stdout] | [INFO] [stdout] 619 | ... PostMessageW(self.hwnd, WM_SYSCOMMAND, cmd as _, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseCapture` in this scope [INFO] [stdout] --> src/main.rs:625:30 [INFO] [stdout] | [INFO] [stdout] 625 | wpanic_ifeq!(ReleaseCapture(), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:625:48 [INFO] [stdout] | [INFO] [stdout] 625 | wpanic_ifeq!(ReleaseCapture(), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFocus` in this scope [INFO] [stdout] --> src/main.rs:631:43 [INFO] [stdout] | [INFO] [stdout] 631 | let has_focus = !unsafe { GetFocus() }.is_null(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> src/main.rs:634:42 [INFO] [stdout] | [INFO] [stdout] 634 | let hdc = wpanic_ifnull!(BeginPaint(self.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 `RGB` in this scope [INFO] [stdout] --> src/main.rs:637:32 [INFO] [stdout] | [INFO] [stdout] 637 | let bg_color = RGB(200, 250, 230); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/main.rs:638:47 [INFO] [stdout] | [INFO] [stdout] 638 | let bg_brush = wpanic_ifnull!(CreateSolidBrush(bg_color)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope [INFO] [stdout] --> src/main.rs:640:30 [INFO] [stdout] | [INFO] [stdout] 640 | wpanic_ifeq!(FillRect(hdc, &ps.rcPaint, bg_brush), 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:641:30 [INFO] [stdout] | [INFO] [stdout] 641 | wpanic_ifeq!(DeleteObject(bg_brush as _), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:641:59 [INFO] [stdout] | [INFO] [stdout] 641 | wpanic_ifeq!(DeleteObject(bg_brush as _), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:644:39 [INFO] [stdout] | [INFO] [stdout] 644 | let title_bar_color = RGB(150, 200, 180); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/main.rs:645:54 [INFO] [stdout] | [INFO] [stdout] 645 | let title_bar_brush = wpanic_ifnull!(CreateSolidBrush(title_bar_color)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope [INFO] [stdout] --> src/main.rs:653:30 [INFO] [stdout] | [INFO] [stdout] 653 | wpanic_ifeq!(FillRect(hdc, &title_bar_rect, title_bar_brush), 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:654:30 [INFO] [stdout] | [INFO] [stdout] 654 | wpanic_ifeq!(DeleteObject(title_bar_brush as _), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:654:66 [INFO] [stdout] | [INFO] [stdout] 654 | wpanic_ifeq!(DeleteObject(title_bar_brush as _), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:705:21 [INFO] [stdout] | [INFO] [stdout] 705 | RGB(112, 112, 112) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/main.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | RGB(170, 170, 170) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/main.rs:709:60 [INFO] [stdout] | [INFO] [stdout] 709 | let fake_top_shadow_brush = wpanic_ifnull!(CreateSolidBrush(fake_top_shadow_color)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope [INFO] [stdout] --> src/main.rs:712:21 [INFO] [stdout] | [INFO] [stdout] 712 | FillRect(hdc, &fake_top_shadow_rect, fake_top_shadow_brush), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:715:30 [INFO] [stdout] | [INFO] [stdout] 715 | wpanic_ifeq!(DeleteObject(fake_top_shadow_brush as _), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:715:72 [INFO] [stdout] | [INFO] [stdout] 715 | wpanic_ifeq!(DeleteObject(fake_top_shadow_brush as _), FALSE); [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/main.rs:717:30 [INFO] [stdout] | [INFO] [stdout] 717 | wpanic_ifeq!(EndPaint(self.hwnd, &ps), FALSE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:717:56 [INFO] [stdout] | [INFO] [stdout] 717 | wpanic_ifeq!(EndPaint(self.hwnd, &ps), FALSE); [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/main.rs:726:42 [INFO] [stdout] | [INFO] [stdout] 726 | render_target.Clear(&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_POINT_2F` in this scope [INFO] [stdout] --> src/main.rs:733:25 [INFO] [stdout] | [INFO] [stdout] 733 | D2D1_POINT_2F { x: 0.0, y: 0.0 }, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stdout] --> src/main.rs:734:25 [INFO] [stdout] | [INFO] [stdout] 734 | D2D1_POINT_2F { x: 300.0, y: 300.0 }, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:741:26 [INFO] [stdout] | [INFO] [stdout] 741 | &D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/main.rs:756:30 [INFO] [stdout] | [INFO] [stdout] 756 | wpanic_ifeq!(GetWindowRect(self.hwnd, &mut size_rect), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:756:72 [INFO] [stdout] | [INFO] [stdout] 756 | wpanic_ifeq!(GetWindowRect(self.hwnd, &mut size_rect), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/main.rs:761:21 [INFO] [stdout] | [INFO] [stdout] 761 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_FRAMECHANGED` in this scope [INFO] [stdout] --> src/main.rs:768:25 [INFO] [stdout] | [INFO] [stdout] 768 | SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stdout] --> src/main.rs:768:44 [INFO] [stdout] | [INFO] [stdout] 768 | SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope [INFO] [stdout] --> src/main.rs:768:57 [INFO] [stdout] | [INFO] [stdout] 768 | SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:770:21 [INFO] [stdout] | [INFO] [stdout] 770 | FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/main.rs:777:26 [INFO] [stdout] | [INFO] [stdout] 777 | 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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/main.rs:783:18 [INFO] [stdout] | [INFO] [stdout] 783 | unsafe { DefWindowProcW(self.hwnd, message, wparam, lparam) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AttachConsole` in this scope [INFO] [stdout] --> src/main.rs:789:9 [INFO] [stdout] | [INFO] [stdout] 789 | AttachConsole(ATTACH_PARENT_PROCESS); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ATTACH_PARENT_PROCESS` in this scope [INFO] [stdout] --> src/main.rs:789:23 [INFO] [stdout] | [INFO] [stdout] 789 | AttachConsole(ATTACH_PARENT_PROCESS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDpiAwarenessContext` in this scope [INFO] [stdout] --> src/main.rs:794:9 [INFO] [stdout] | [INFO] [stdout] 794 | SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2` in this scope [INFO] [stdout] --> src/main.rs:794:39 [INFO] [stdout] | [INFO] [stdout] 794 | SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/main.rs:797:35 [INFO] [stdout] | [INFO] [stdout] 797 | let h_inst = wpanic_ifisnull!(GetModuleHandleW(null())); [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:802:9 [INFO] [stdout] | [INFO] [stdout] 802 | CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> src/main.rs:806:13 [INFO] [stdout] | [INFO] [stdout] 806 | WS_CHILD | WS_VISIBLE | BS_DEFPUSHBUTTON, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/main.rs:806:24 [INFO] [stdout] | [INFO] [stdout] 806 | WS_CHILD | WS_VISIBLE | BS_DEFPUSHBUTTON, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BS_DEFPUSHBUTTON` in this scope [INFO] [stdout] --> src/main.rs:806:37 [INFO] [stdout] | [INFO] [stdout] 806 | WS_CHILD | WS_VISIBLE | BS_DEFPUSHBUTTON, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:829:18 [INFO] [stdout] | [INFO] [stdout] 829 | &D2D1_RECT_F { [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/main.rs:844:22 [INFO] [stdout] | [INFO] [stdout] 844 | wpanic_ifeq!(InvalidateRect(hwnd, null_mut(), FALSE), FALSE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:844:55 [INFO] [stdout] | [INFO] [stdout] 844 | wpanic_ifeq!(InvalidateRect(hwnd, null_mut(), FALSE), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:844:63 [INFO] [stdout] | [INFO] [stdout] 844 | wpanic_ifeq!(InvalidateRect(hwnd, null_mut(), FALSE), FALSE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:864:29 [INFO] [stdout] | [INFO] [stdout] 864 | let mut icon_rect = D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:871:14 [INFO] [stdout] | [INFO] [stdout] 871 | &D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/main.rs:884:18 [INFO] [stdout] | [INFO] [stdout] 884 | &D2D1_RECT_F { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:895:18 [INFO] [stdout] | [INFO] [stdout] 895 | let mut msg: MSG = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/main.rs:897:15 [INFO] [stdout] | [INFO] [stdout] 897 | while GetMessageW(&mut msg, window.hwnd, 0, 0) == TRUE { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:897:59 [INFO] [stdout] | [INFO] [stdout] 897 | while GetMessageW(&mut msg, window.hwnd, 0, 0) == TRUE { [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:898:13 [INFO] [stdout] | [INFO] [stdout] 898 | TranslateMessage(&mut 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:899:13 [INFO] [stdout] | [INFO] [stdout] 899 | DispatchMessageW(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:904:35 [INFO] [stdout] | [INFO] [stdout] 904 | extern "system" fn wnd_proc(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:904:50 [INFO] [stdout] | [INFO] [stdout] 904 | extern "system" fn wnd_proc(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:904:64 [INFO] [stdout] | [INFO] [stdout] 904 | extern "system" fn wnd_proc(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:904:80 [INFO] [stdout] | [INFO] [stdout] 904 | extern "system" fn wnd_proc(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:904:91 [INFO] [stdout] | [INFO] [stdout] 904 | extern "system" fn wnd_proc(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_NCCREATE` in this scope [INFO] [stdout] --> src/main.rs:907:19 [INFO] [stdout] | [INFO] [stdout] 907 | if message == WM_NCCREATE || message == WM_CREATE { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CREATE` in this scope [INFO] [stdout] --> src/main.rs:907:45 [INFO] [stdout] | [INFO] [stdout] 907 | if message == WM_NCCREATE || message == WM_CREATE { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CREATESTRUCTW` in this scope [INFO] [stdout] --> src/main.rs:908:35 [INFO] [stdout] | [INFO] [stdout] 908 | let cs = lparam as *const CREATESTRUCTW; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/main.rs:911:18 [INFO] [stdout] | [INFO] [stdout] 911 | unsafe { SetWindowLongPtrW(hwnd, GWLP_USERDATA, window as _) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/main.rs:911:42 [INFO] [stdout] | [INFO] [stdout] 911 | unsafe { SetWindowLongPtrW(hwnd, GWLP_USERDATA, window as _) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/main.rs:913:27 [INFO] [stdout] | [INFO] [stdout] 913 | window = unsafe { GetWindowLongPtrW(hwnd, GWLP_USERDATA) } as *mut Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/main.rs:913:51 [INFO] [stdout] | [INFO] [stdout] 913 | window = unsafe { GetWindowLongPtrW(hwnd, GWLP_USERDATA) } as *mut Window; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_NCCALCSIZE` in this scope [INFO] [stdout] --> src/main.rs:916:19 [INFO] [stdout] | [INFO] [stdout] 916 | if message == WM_NCCALCSIZE && wparam == 1 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXFRAME` in this scope [INFO] [stdout] --> src/main.rs:919:58 [INFO] [stdout] | [INFO] [stdout] 919 | let frame_x = wutils::get_system_metrics_for_dpi(SM_CXFRAME, dpi).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYFRAME` in this scope [INFO] [stdout] --> src/main.rs:920:58 [INFO] [stdout] | [INFO] [stdout] 920 | let frame_y = wutils::get_system_metrics_for_dpi(SM_CYFRAME, dpi).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXPADDEDBORDER` in this scope [INFO] [stdout] --> src/main.rs:921:58 [INFO] [stdout] | [INFO] [stdout] 921 | let padding = wutils::get_system_metrics_for_dpi(SM_CXPADDEDBORDER, dpi).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCCALCSIZE_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:923:47 [INFO] [stdout] | [INFO] [stdout] 923 | let params = unsafe { (lparam as *mut NCCALCSIZE_PARAMS).as_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_NCCALCSIZE` in this scope [INFO] [stdout] --> src/main.rs:940:19 [INFO] [stdout] | [INFO] [stdout] 940 | if message == WM_NCCALCSIZE && wparam == 1 { [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:944:14 [INFO] [stdout] | [INFO] [stdout] 944 | unsafe { DefWindowProcW(hwnd, message, wparam, lparam) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io`, `mem` [INFO] [stdout] --> src/main.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{io, mem}; [INFO] [stdout] | ^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/wutils.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 419 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `testwindowtabs` due to 420 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3bca6bd3f87430575caea918ab62af3c6ef7dc36ecb62f690065f80bbd500648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bca6bd3f87430575caea918ab62af3c6ef7dc36ecb62f690065f80bbd500648", kill_on_drop: false }` [INFO] [stdout] 3bca6bd3f87430575caea918ab62af3c6ef7dc36ecb62f690065f80bbd500648