[INFO] updating cached repository hamaluik/rust-win32-custom-ctl-test [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/hamaluik/rust-win32-custom-ctl-test [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/hamaluik/rust-win32-custom-ctl-test" "work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/hamaluik/rust-win32-custom-ctl-test"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/hamaluik/rust-win32-custom-ctl-test'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/hamaluik/rust-win32-custom-ctl-test" "work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/hamaluik/rust-win32-custom-ctl-test"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/hamaluik/rust-win32-custom-ctl-test'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3e3f34829fb38103d076f1898d8d2b0554177cd5 [INFO] sha for GitHub repo hamaluik/rust-win32-custom-ctl-test: 3e3f34829fb38103d076f1898d8d2b0554177cd5 [INFO] validating manifest of hamaluik/rust-win32-custom-ctl-test on toolchain master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of hamaluik/rust-win32-custom-ctl-test on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing hamaluik/rust-win32-custom-ctl-test [INFO] finished frobbing hamaluik/rust-win32-custom-ctl-test [INFO] frobbed toml for hamaluik/rust-win32-custom-ctl-test written to work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/hamaluik/rust-win32-custom-ctl-test/Cargo.toml [INFO] started frobbing hamaluik/rust-win32-custom-ctl-test [INFO] finished frobbing hamaluik/rust-win32-custom-ctl-test [INFO] frobbed toml for hamaluik/rust-win32-custom-ctl-test written to work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/hamaluik/rust-win32-custom-ctl-test/Cargo.toml [INFO] crate hamaluik/rust-win32-custom-ctl-test already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking hamaluik/rust-win32-custom-ctl-test against try#06a150c7d11500b41499224f165e9de1de096768 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-1/try#06a150c7d11500b41499224f165e9de1de096768:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/hamaluik/rust-win32-custom-ctl-test:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 350355dd2b10c8c24f1587e4f3afaa2b4c4cb91e0069463e2b7bf5eca73ab211 [INFO] running `"docker" "start" "-a" "350355dd2b10c8c24f1587e4f3afaa2b4c4cb91e0069463e2b7bf5eca73ab211"` [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Checking win32_test v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/util.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/brushes.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::shared::windef::HGDIOBJ; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/brushes.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::wingdi::DeleteObject; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/brushes.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::wingdi::PS_SOLID; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/brushes.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::um::wingdi::CreatePen; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/brushes.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::wingdi::CreateSolidBrush; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/brushes.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::windef::{HBRUSH, HPEN, COLORREF}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/close_button.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::windowsx::{GET_X_LPARAM, GET_Y_LPARAM}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/close_button.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/close_button.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/close_button.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::wingdi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/close_button.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/button.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/button.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::winnt::PVOID; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/button.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::windowsx::{GET_X_LPARAM, GET_Y_LPARAM}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/button.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/button.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/button.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::wingdi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/button.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/progress.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/progress.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/progress.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/progress.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:10:34 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn default_rect() -> winapi::shared::windef::RECT { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | winapi::shared::windef::RECT { left: 0, top: 0, right: 0, bottom: 0 } [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/util.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/brushes.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::shared::windef::HGDIOBJ; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/brushes.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::wingdi::DeleteObject; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/brushes.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::wingdi::PS_SOLID; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/brushes.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::um::wingdi::CreatePen; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/brushes.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::wingdi::CreateSolidBrush; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/brushes.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::windef::{HBRUSH, HPEN, COLORREF}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/close_button.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::windowsx::{GET_X_LPARAM, GET_Y_LPARAM}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/close_button.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/close_button.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/close_button.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::wingdi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/close_button.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/button.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/button.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::winnt::PVOID; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/button.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::windowsx::{GET_X_LPARAM, GET_Y_LPARAM}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/button.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/button.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/button.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::wingdi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/button.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/progress.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/progress.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/progress.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/progress.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::winuser::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:10:34 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn default_rect() -> winapi::shared::windef::RECT { [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | winapi::shared::windef::RECT { left: 0, top: 0, right: 0, bottom: 0 } [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:29:28 [INFO] [stderr] | [INFO] [stderr] 29 | pub static COLOUR_POLAR_0: COLORREF = 0x40342e; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:30:28 [INFO] [stderr] | [INFO] [stderr] 30 | pub static COLOUR_POLAR_1: COLORREF = 0x52423b; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:31:28 [INFO] [stderr] | [INFO] [stderr] 31 | pub static COLOUR_POLAR_2: COLORREF = 0x5e4c43; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:32:28 [INFO] [stderr] | [INFO] [stderr] 32 | pub static COLOUR_POLAR_3: COLORREF = 0x6a564c; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:33:27 [INFO] [stderr] | [INFO] [stderr] 33 | pub static COLOUR_SNOW_0: COLORREF = 0xe9ded8; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:34:27 [INFO] [stderr] | [INFO] [stderr] 34 | pub static COLOUR_SNOW_1: COLORREF = 0xf0e9e5; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:35:27 [INFO] [stderr] | [INFO] [stderr] 35 | pub static COLOUR_SNOW_2: COLORREF = 0xf4efec; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:36:28 [INFO] [stderr] | [INFO] [stderr] 36 | pub static COLOUR_FROST_0: COLORREF = 0xbbbc8f; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:37:28 [INFO] [stderr] | [INFO] [stderr] 37 | pub static COLOUR_FROST_1: COLORREF = 0xd0c088; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:38:28 [INFO] [stderr] | [INFO] [stderr] 38 | pub static COLOUR_FROST_2: COLORREF = 0xc1a181; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:39:28 [INFO] [stderr] | [INFO] [stderr] 39 | pub static COLOUR_FROST_3: COLORREF = 0xac815e; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:40:29 [INFO] [stderr] | [INFO] [stderr] 40 | pub static COLOUR_AURORA_0: COLORREF = 0x6a61bf; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:41:29 [INFO] [stderr] | [INFO] [stderr] 41 | pub static COLOUR_AURORA_1: COLORREF = 0x7087d0; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:42:29 [INFO] [stderr] | [INFO] [stderr] 42 | pub static COLOUR_AURORA_2: COLORREF = 0x8bcbeb; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:43:29 [INFO] [stderr] | [INFO] [stderr] 43 | pub static COLOUR_AURORA_3: COLORREF = 0x8cbea3; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:44:29 [INFO] [stderr] | [INFO] [stderr] 44 | pub static COLOUR_AURORA_4: COLORREF = 0xad8eb4; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:46:31 [INFO] [stderr] | [INFO] [stderr] 46 | pub static mut BRUSH_POLAR_0: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:47:31 [INFO] [stderr] | [INFO] [stderr] 47 | pub static mut BRUSH_POLAR_1: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:48:31 [INFO] [stderr] | [INFO] [stderr] 48 | pub static mut BRUSH_POLAR_2: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:49:31 [INFO] [stderr] | [INFO] [stderr] 49 | pub static mut BRUSH_POLAR_3: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:50:30 [INFO] [stderr] | [INFO] [stderr] 50 | pub static mut BRUSH_SNOW_0: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:51:30 [INFO] [stderr] | [INFO] [stderr] 51 | pub static mut BRUSH_SNOW_1: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:52:30 [INFO] [stderr] | [INFO] [stderr] 52 | pub static mut BRUSH_SNOW_2: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:53:31 [INFO] [stderr] | [INFO] [stderr] 53 | pub static mut BRUSH_FROST_0: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:54:31 [INFO] [stderr] | [INFO] [stderr] 54 | pub static mut BRUSH_FROST_1: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:55:31 [INFO] [stderr] | [INFO] [stderr] 55 | pub static mut BRUSH_FROST_2: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:56:31 [INFO] [stderr] | [INFO] [stderr] 56 | pub static mut BRUSH_FROST_3: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:57:32 [INFO] [stderr] | [INFO] [stderr] 57 | pub static mut BRUSH_AURORA_0: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:58:32 [INFO] [stderr] | [INFO] [stderr] 58 | pub static mut BRUSH_AURORA_1: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:59:32 [INFO] [stderr] | [INFO] [stderr] 59 | pub static mut BRUSH_AURORA_2: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:60:32 [INFO] [stderr] | [INFO] [stderr] 60 | pub static mut BRUSH_AURORA_3: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:61:32 [INFO] [stderr] | [INFO] [stderr] 61 | pub static mut BRUSH_AURORA_4: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:63:29 [INFO] [stderr] | [INFO] [stderr] 63 | pub static mut PEN_POLAR_0: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:64:29 [INFO] [stderr] | [INFO] [stderr] 64 | pub static mut PEN_POLAR_1: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:65:29 [INFO] [stderr] | [INFO] [stderr] 65 | pub static mut PEN_POLAR_2: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:66:29 [INFO] [stderr] | [INFO] [stderr] 66 | pub static mut PEN_POLAR_3: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:67:28 [INFO] [stderr] | [INFO] [stderr] 67 | pub static mut PEN_SNOW_0: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:68:28 [INFO] [stderr] | [INFO] [stderr] 68 | pub static mut PEN_SNOW_1: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:69:28 [INFO] [stderr] | [INFO] [stderr] 69 | pub static mut PEN_SNOW_2: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:70:29 [INFO] [stderr] | [INFO] [stderr] 70 | pub static mut PEN_FROST_0: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:71:29 [INFO] [stderr] | [INFO] [stderr] 71 | pub static mut PEN_FROST_1: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:72:29 [INFO] [stderr] | [INFO] [stderr] 72 | pub static mut PEN_FROST_2: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:73:29 [INFO] [stderr] | [INFO] [stderr] 73 | pub static mut PEN_FROST_3: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:74:30 [INFO] [stderr] | [INFO] [stderr] 74 | pub static mut PEN_AURORA_0: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:75:30 [INFO] [stderr] | [INFO] [stderr] 75 | pub static mut PEN_AURORA_1: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:76:30 [INFO] [stderr] | [INFO] [stderr] 76 | pub static mut PEN_AURORA_2: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:77:30 [INFO] [stderr] | [INFO] [stderr] 77 | pub static mut PEN_AURORA_3: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:78:30 [INFO] [stderr] | [INFO] [stderr] 78 | pub static mut PEN_AURORA_4: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:82:25 [INFO] [stderr] | [INFO] [stderr] 82 | BRUSH_POLAR_0 = CreateSolidBrush(COLOUR_POLAR_0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 83 | BRUSH_POLAR_1 = CreateSolidBrush(COLOUR_POLAR_1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:84:25 [INFO] [stderr] | [INFO] [stderr] 84 | BRUSH_POLAR_2 = CreateSolidBrush(COLOUR_POLAR_2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:85:25 [INFO] [stderr] | [INFO] [stderr] 85 | BRUSH_POLAR_3 = CreateSolidBrush(COLOUR_POLAR_3); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:86:24 [INFO] [stderr] | [INFO] [stderr] 86 | BRUSH_SNOW_0 = CreateSolidBrush(COLOUR_SNOW_0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:87:24 [INFO] [stderr] | [INFO] [stderr] 87 | BRUSH_SNOW_1 = CreateSolidBrush(COLOUR_SNOW_1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:88:24 [INFO] [stderr] | [INFO] [stderr] 88 | BRUSH_SNOW_2 = CreateSolidBrush(COLOUR_SNOW_2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | BRUSH_FROST_0 = CreateSolidBrush(COLOUR_FROST_0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:90:25 [INFO] [stderr] | [INFO] [stderr] 90 | BRUSH_FROST_1 = CreateSolidBrush(COLOUR_FROST_1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:91:25 [INFO] [stderr] | [INFO] [stderr] 91 | BRUSH_FROST_2 = CreateSolidBrush(COLOUR_FROST_2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:92:25 [INFO] [stderr] | [INFO] [stderr] 92 | BRUSH_FROST_3 = CreateSolidBrush(COLOUR_FROST_3); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:93:26 [INFO] [stderr] | [INFO] [stderr] 93 | BRUSH_AURORA_0 = CreateSolidBrush(COLOUR_AURORA_0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:94:26 [INFO] [stderr] | [INFO] [stderr] 94 | BRUSH_AURORA_1 = CreateSolidBrush(COLOUR_AURORA_1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:95:26 [INFO] [stderr] | [INFO] [stderr] 95 | BRUSH_AURORA_2 = CreateSolidBrush(COLOUR_AURORA_2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:96:26 [INFO] [stderr] | [INFO] [stderr] 96 | BRUSH_AURORA_3 = CreateSolidBrush(COLOUR_AURORA_3); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:97:26 [INFO] [stderr] | [INFO] [stderr] 97 | BRUSH_AURORA_4 = CreateSolidBrush(COLOUR_AURORA_4); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:99:23 [INFO] [stderr] | [INFO] [stderr] 99 | PEN_POLAR_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_0); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:99:33 [INFO] [stderr] | [INFO] [stderr] 99 | PEN_POLAR_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_0); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:100:23 [INFO] [stderr] | [INFO] [stderr] 100 | PEN_POLAR_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_1); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:100:33 [INFO] [stderr] | [INFO] [stderr] 100 | PEN_POLAR_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_1); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:101:23 [INFO] [stderr] | [INFO] [stderr] 101 | PEN_POLAR_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_2); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:101:33 [INFO] [stderr] | [INFO] [stderr] 101 | PEN_POLAR_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_2); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:102:23 [INFO] [stderr] | [INFO] [stderr] 102 | PEN_POLAR_3 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_3); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:102:33 [INFO] [stderr] | [INFO] [stderr] 102 | PEN_POLAR_3 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_3); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:103:22 [INFO] [stderr] | [INFO] [stderr] 103 | PEN_SNOW_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_SNOW_0); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:103:32 [INFO] [stderr] | [INFO] [stderr] 103 | PEN_SNOW_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_SNOW_0); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:104:22 [INFO] [stderr] | [INFO] [stderr] 104 | PEN_SNOW_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_SNOW_1); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:104:32 [INFO] [stderr] | [INFO] [stderr] 104 | PEN_SNOW_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_SNOW_1); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:105:22 [INFO] [stderr] | [INFO] [stderr] 105 | PEN_SNOW_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_SNOW_2); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:105:32 [INFO] [stderr] | [INFO] [stderr] 105 | PEN_SNOW_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_SNOW_2); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:106:23 [INFO] [stderr] | [INFO] [stderr] 106 | PEN_FROST_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_0); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:106:33 [INFO] [stderr] | [INFO] [stderr] 106 | PEN_FROST_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_0); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:107:23 [INFO] [stderr] | [INFO] [stderr] 107 | PEN_FROST_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_1); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:107:33 [INFO] [stderr] | [INFO] [stderr] 107 | PEN_FROST_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_1); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:108:23 [INFO] [stderr] | [INFO] [stderr] 108 | PEN_FROST_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_2); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:108:33 [INFO] [stderr] | [INFO] [stderr] 108 | PEN_FROST_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_2); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:109:23 [INFO] [stderr] | [INFO] [stderr] 109 | PEN_FROST_3 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_3); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:109:33 [INFO] [stderr] | [INFO] [stderr] 109 | PEN_FROST_3 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_3); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:110:24 [INFO] [stderr] | [INFO] [stderr] 110 | PEN_AURORA_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_0); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:110:34 [INFO] [stderr] | [INFO] [stderr] 110 | PEN_AURORA_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_0); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:111:24 [INFO] [stderr] | [INFO] [stderr] 111 | PEN_AURORA_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_1); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:111:34 [INFO] [stderr] | [INFO] [stderr] 111 | PEN_AURORA_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_1); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:112:24 [INFO] [stderr] | [INFO] [stderr] 112 | PEN_AURORA_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_2); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:112:34 [INFO] [stderr] | [INFO] [stderr] 112 | PEN_AURORA_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_2); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:113:24 [INFO] [stderr] | [INFO] [stderr] 113 | PEN_AURORA_3 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_3); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:113:34 [INFO] [stderr] | [INFO] [stderr] 113 | PEN_AURORA_3 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_3); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:114:24 [INFO] [stderr] | [INFO] [stderr] 114 | PEN_AURORA_4 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_4); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:114:34 [INFO] [stderr] | [INFO] [stderr] 114 | PEN_AURORA_4 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_4); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 120 | DeleteObject(BRUSH_POLAR_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:120:39 [INFO] [stderr] | [INFO] [stderr] 120 | DeleteObject(BRUSH_POLAR_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | DeleteObject(BRUSH_POLAR_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:121:39 [INFO] [stderr] | [INFO] [stderr] 121 | DeleteObject(BRUSH_POLAR_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | DeleteObject(BRUSH_POLAR_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:122:39 [INFO] [stderr] | [INFO] [stderr] 122 | DeleteObject(BRUSH_POLAR_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | DeleteObject(BRUSH_POLAR_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:123:39 [INFO] [stderr] | [INFO] [stderr] 123 | DeleteObject(BRUSH_POLAR_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 124 | DeleteObject(BRUSH_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:124:38 [INFO] [stderr] | [INFO] [stderr] 124 | DeleteObject(BRUSH_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | DeleteObject(BRUSH_SNOW_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:125:38 [INFO] [stderr] | [INFO] [stderr] 125 | DeleteObject(BRUSH_SNOW_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:126:9 [INFO] [stderr] | [INFO] [stderr] 126 | DeleteObject(BRUSH_SNOW_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:126:38 [INFO] [stderr] | [INFO] [stderr] 126 | DeleteObject(BRUSH_SNOW_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 127 | DeleteObject(BRUSH_FROST_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:127:39 [INFO] [stderr] | [INFO] [stderr] 127 | DeleteObject(BRUSH_FROST_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:128:9 [INFO] [stderr] | [INFO] [stderr] 128 | DeleteObject(BRUSH_FROST_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:128:39 [INFO] [stderr] | [INFO] [stderr] 128 | DeleteObject(BRUSH_FROST_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:129:9 [INFO] [stderr] | [INFO] [stderr] 129 | DeleteObject(BRUSH_FROST_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:129:39 [INFO] [stderr] | [INFO] [stderr] 129 | DeleteObject(BRUSH_FROST_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:130:9 [INFO] [stderr] | [INFO] [stderr] 130 | DeleteObject(BRUSH_FROST_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:130:39 [INFO] [stderr] | [INFO] [stderr] 130 | DeleteObject(BRUSH_FROST_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | DeleteObject(BRUSH_AURORA_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:131:40 [INFO] [stderr] | [INFO] [stderr] 131 | DeleteObject(BRUSH_AURORA_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | DeleteObject(BRUSH_AURORA_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:132:40 [INFO] [stderr] | [INFO] [stderr] 132 | DeleteObject(BRUSH_AURORA_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:133:9 [INFO] [stderr] | [INFO] [stderr] 133 | DeleteObject(BRUSH_AURORA_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:133:40 [INFO] [stderr] | [INFO] [stderr] 133 | DeleteObject(BRUSH_AURORA_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | DeleteObject(BRUSH_AURORA_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:134:40 [INFO] [stderr] | [INFO] [stderr] 134 | DeleteObject(BRUSH_AURORA_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | DeleteObject(BRUSH_AURORA_4 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:135:40 [INFO] [stderr] | [INFO] [stderr] 135 | DeleteObject(BRUSH_AURORA_4 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | DeleteObject(PEN_POLAR_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:136:37 [INFO] [stderr] | [INFO] [stderr] 136 | DeleteObject(PEN_POLAR_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:137:9 [INFO] [stderr] | [INFO] [stderr] 137 | DeleteObject(PEN_POLAR_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:137:37 [INFO] [stderr] | [INFO] [stderr] 137 | DeleteObject(PEN_POLAR_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:138:9 [INFO] [stderr] | [INFO] [stderr] 138 | DeleteObject(PEN_POLAR_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:138:37 [INFO] [stderr] | [INFO] [stderr] 138 | DeleteObject(PEN_POLAR_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:139:9 [INFO] [stderr] | [INFO] [stderr] 139 | DeleteObject(PEN_POLAR_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:139:37 [INFO] [stderr] | [INFO] [stderr] 139 | DeleteObject(PEN_POLAR_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | DeleteObject(PEN_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:140:36 [INFO] [stderr] | [INFO] [stderr] 140 | DeleteObject(PEN_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | DeleteObject(PEN_SNOW_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:141:36 [INFO] [stderr] | [INFO] [stderr] 141 | DeleteObject(PEN_SNOW_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 142 | DeleteObject(PEN_SNOW_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:142:36 [INFO] [stderr] | [INFO] [stderr] 142 | DeleteObject(PEN_SNOW_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | DeleteObject(PEN_FROST_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:143:37 [INFO] [stderr] | [INFO] [stderr] 143 | DeleteObject(PEN_FROST_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 144 | DeleteObject(PEN_FROST_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:144:37 [INFO] [stderr] | [INFO] [stderr] 144 | DeleteObject(PEN_FROST_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:145:9 [INFO] [stderr] | [INFO] [stderr] 145 | DeleteObject(PEN_FROST_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:145:37 [INFO] [stderr] | [INFO] [stderr] 145 | DeleteObject(PEN_FROST_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 146 | DeleteObject(PEN_FROST_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:146:37 [INFO] [stderr] | [INFO] [stderr] 146 | DeleteObject(PEN_FROST_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:147:9 [INFO] [stderr] | [INFO] [stderr] 147 | DeleteObject(PEN_AURORA_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:147:38 [INFO] [stderr] | [INFO] [stderr] 147 | DeleteObject(PEN_AURORA_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:148:9 [INFO] [stderr] | [INFO] [stderr] 148 | DeleteObject(PEN_AURORA_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:148:38 [INFO] [stderr] | [INFO] [stderr] 148 | DeleteObject(PEN_AURORA_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:149:9 [INFO] [stderr] | [INFO] [stderr] 149 | DeleteObject(PEN_AURORA_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:149:38 [INFO] [stderr] | [INFO] [stderr] 149 | DeleteObject(PEN_AURORA_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | DeleteObject(PEN_AURORA_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:150:38 [INFO] [stderr] | [INFO] [stderr] 150 | DeleteObject(PEN_AURORA_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | DeleteObject(PEN_AURORA_4 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:151:38 [INFO] [stderr] | [INFO] [stderr] 151 | DeleteObject(PEN_AURORA_4 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/close_button.rs:20:31 [INFO] [stderr] | [INFO] [stderr] 20 | static mut HWND_CLOSE_BUTTON: HWND = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/close_button.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | fn paint_button(hwnd: HWND, state: &ButtonState) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stderr] --> src/close_button.rs:23:17 [INFO] [stderr] | [INFO] [stderr] 23 | let mut ps: PAINTSTRUCT = PAINTSTRUCT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `PAINTSTRUCT` in this scope [INFO] [stderr] --> src/close_button.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | let mut ps: PAINTSTRUCT = PAINTSTRUCT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | fErase: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:27:19 [INFO] [stderr] | [INFO] [stderr] 27 | fRestore: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:28:21 [INFO] [stderr] | [INFO] [stderr] 28 | fIncUpdate: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `BeginPaint` in this scope [INFO] [stderr] --> src/close_button.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | let hdc = BeginPaint(hwnd, &mut ps); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/close_button.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FillRect` in this scope [INFO] [stderr] --> src/close_button.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | FillRect(hdc, &rect, match state { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/close_button.rs:43:23 [INFO] [stderr] | [INFO] [stderr] 43 | let old_pen = SelectObject(hdc, PEN_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/close_button.rs:43:55 [INFO] [stderr] | [INFO] [stderr] 43 | let old_pen = SelectObject(hdc, PEN_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `MoveToEx` in this scope [INFO] [stderr] --> src/close_button.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | MoveToEx(hdc, rect.left + 8, rect.top + 8, null_mut()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LineTo` in this scope [INFO] [stderr] --> src/close_button.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | LineTo(hdc, rect.right - 7, rect.bottom - 7); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `MoveToEx` in this scope [INFO] [stderr] --> src/close_button.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | MoveToEx(hdc, rect.right - 8, rect.top + 8, null_mut()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LineTo` in this scope [INFO] [stderr] --> src/close_button.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | LineTo(hdc, rect.left + 7, rect.bottom - 7); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/close_button.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | SelectObject(hdc, old_pen); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `EndPaint` in this scope [INFO] [stderr] --> src/close_button.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | EndPaint(hwnd, &mut ps); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/close_button.rs:54:44 [INFO] [stderr] | [INFO] [stderr] 54 | extern "system" fn close_button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/close_button.rs:54:55 [INFO] [stderr] | [INFO] [stderr] 54 | extern "system" fn close_button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/close_button.rs:54:69 [INFO] [stderr] | [INFO] [stderr] 54 | extern "system" fn close_button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/close_button.rs:54:85 [INFO] [stderr] | [INFO] [stderr] 54 | extern "system" fn close_button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/close_button.rs:54:96 [INFO] [stderr] | [INFO] [stderr] 54 | extern "system" fn close_button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/close_button.rs:55:24 [INFO] [stderr] | [INFO] [stderr] 55 | let ptr = unsafe { GetWindowLongPtrW(hwnd, 0) as *mut u8 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:64:28 [INFO] [stderr] | [INFO] [stderr] 64 | return FALSE as isize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/close_button.rs:67:20 [INFO] [stderr] | [INFO] [stderr] 67 | if SetWindowLongPtrW(hwnd, 0, new_ptr as isize) != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:68:28 [INFO] [stderr] | [INFO] [stderr] 68 | return FALSE as isize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/close_button.rs:71:20 [INFO] [stderr] | [INFO] [stderr] 71 | return TRUE as isize; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/close_button.rs:88:23 [INFO] [stderr] | [INFO] [stderr] 88 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_X_LPARAM` in this scope [INFO] [stderr] --> src/close_button.rs:88:34 [INFO] [stderr] | [INFO] [stderr] 88 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_Y_LPARAM` in this scope [INFO] [stderr] --> src/close_button.rs:88:59 [INFO] [stderr] | [INFO] [stderr] 88 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/close_button.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TRACKMOUSEEVENT` in this scope [INFO] [stderr] --> src/close_button.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | let mut track = TRACKMOUSEEVENT { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stderr] --> src/close_button.rs:93:40 [INFO] [stderr] | [INFO] [stderr] 93 | cbSize: mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TME_LEAVE` in this scope [INFO] [stderr] --> src/close_button.rs:94:26 [INFO] [stderr] | [INFO] [stderr] 94 | dwFlags: TME_LEAVE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HOVER_DEFAULT` in this scope [INFO] [stderr] --> src/close_button.rs:96:30 [INFO] [stderr] | [INFO] [stderr] 96 | dwHoverTime: HOVER_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TrackMouseEvent` in this scope [INFO] [stderr] --> src/close_button.rs:98:13 [INFO] [stderr] | [INFO] [stderr] 98 | TrackMouseEvent(&mut track); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PtInRect` in this scope [INFO] [stderr] --> src/close_button.rs:100:32 [INFO] [stderr] | [INFO] [stderr] 100 | *button_state = if PtInRect(&rect, pos) != 0 { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/close_button.rs:110:13 [INFO] [stderr] | [INFO] [stderr] 110 | InvalidateRect(hwnd, &rect, FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:110:41 [INFO] [stderr] | [INFO] [stderr] 110 | InvalidateRect(hwnd, &rect, FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/close_button.rs:116:13 [INFO] [stderr] | [INFO] [stderr] 116 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:116:46 [INFO] [stderr] | [INFO] [stderr] 116 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/close_button.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:122:46 [INFO] [stderr] | [INFO] [stderr] 122 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/close_button.rs:127:23 [INFO] [stderr] | [INFO] [stderr] 127 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_X_LPARAM` in this scope [INFO] [stderr] --> src/close_button.rs:127:34 [INFO] [stderr] | [INFO] [stderr] 127 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_Y_LPARAM` in this scope [INFO] [stderr] --> src/close_button.rs:127:59 [INFO] [stderr] | [INFO] [stderr] 127 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/close_button.rs:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetParent` in this scope [INFO] [stderr] --> src/close_button.rs:132:30 [INFO] [stderr] | [INFO] [stderr] 132 | let parent = GetParent(hwnd); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostMessageW` in this scope [INFO] [stderr] --> src/close_button.rs:133:17 [INFO] [stderr] | [INFO] [stderr] 133 | PostMessageW(parent, WM_CLOSE, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stderr] --> src/close_button.rs:133:38 [INFO] [stderr] | [INFO] [stderr] 133 | PostMessageW(parent, WM_CLOSE, 0, 0); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PtInRect` in this scope [INFO] [stderr] --> src/close_button.rs:136:32 [INFO] [stderr] | [INFO] [stderr] 136 | *button_state = if PtInRect(&rect, pos) != 0 { ButtonState::Hover } else { ButtonState::Idle }; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/close_button.rs:138:13 [INFO] [stderr] | [INFO] [stderr] 138 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:138:46 [INFO] [stderr] | [INFO] [stderr] 138 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/close_button.rs:145:21 [INFO] [stderr] | [INFO] [stderr] 145 | return unsafe { DefWindowProcW(hwnd, msg, wparam, lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/close_button.rs:149:21 [INFO] [stderr] | [INFO] [stderr] 149 | let btn_class = WNDCLASSEXW { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/close_button.rs:150:32 [INFO] [stderr] | [INFO] [stderr] 150 | cbSize: mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/close_button.rs:151:16 [INFO] [stderr] | [INFO] [stderr] 151 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/close_button.rs:151:29 [INFO] [stderr] | [INFO] [stderr] 151 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/close_button.rs:163:14 [INFO] [stderr] | [INFO] [stderr] 163 | unsafe { RegisterClassExW(&btn_class) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `UnregisterClassW` in this scope [INFO] [stderr] --> src/close_button.rs:167:14 [INFO] [stderr] | [INFO] [stderr] 167 | unsafe { UnregisterClassW(crate::util::win32_string("close_button").as_ptr(), crate::H_INSTANCE) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/close_button.rs:170:36 [INFO] [stderr] | [INFO] [stderr] 170 | pub fn create_close_button(parent: HWND) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/close_button.rs:172:29 [INFO] [stderr] | [INFO] [stderr] 172 | HWND_CLOSE_BUTTON = CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stderr] --> src/close_button.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | WS_CHILD | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stderr] --> src/close_button.rs:176:24 [INFO] [stderr] | [INFO] [stderr] 176 | WS_CHILD | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/close_button.rs:186:38 [INFO] [stderr] | [INFO] [stderr] 186 | pub fn position_close_button(parent: HWND) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/close_button.rs:189:9 [INFO] [stderr] | [INFO] [stderr] 189 | GetClientRect(parent, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowPos` in this scope [INFO] [stderr] --> src/close_button.rs:190:9 [INFO] [stderr] | [INFO] [stderr] 190 | SetWindowPos(HWND_CLOSE_BUTTON, HWND_TOP, rect.right - 24, rect.top, 24, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stderr] --> src/close_button.rs:190:41 [INFO] [stderr] | [INFO] [stderr] 190 | SetWindowPos(HWND_CLOSE_BUTTON, HWND_TOP, rect.right - 24, rect.top, 24, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stderr] --> src/close_button.rs:190:86 [INFO] [stderr] | [INFO] [stderr] 190 | SetWindowPos(HWND_CLOSE_BUTTON, HWND_TOP, rect.right - 24, rect.top, 24, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/button.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | font: HFONT, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDPROC` in this scope [INFO] [stderr] --> src/button.rs:30:30 [INFO] [stderr] | [INFO] [stderr] 30 | static mut LPFN_BUTTON_PROC: WNDPROC = None; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/button.rs:33:23 [INFO] [stderr] | [INFO] [stderr] 33 | fn custom_paint(hwnd: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ButtonData) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/button.rs:33:34 [INFO] [stderr] | [INFO] [stderr] 33 | fn custom_paint(hwnd: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ButtonData) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/button.rs:33:50 [INFO] [stderr] | [INFO] [stderr] 33 | fn custom_paint(hwnd: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ButtonData) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/button.rs:33:64 [INFO] [stderr] | [INFO] [stderr] 33 | fn custom_paint(hwnd: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ButtonData) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FillRect` in this scope [INFO] [stderr] --> src/button.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | FillRect(hdc, rect, match data.state { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/button.rs:47:23 [INFO] [stderr] | [INFO] [stderr] 47 | let old_pen = SelectObject(hdc, PEN_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/button.rs:47:55 [INFO] [stderr] | [INFO] [stderr] 47 | let old_pen = SelectObject(hdc, PEN_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `MoveToEx` in this scope [INFO] [stderr] --> src/button.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | MoveToEx(hdc, rect.left, rect.top, null_mut()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LineTo` in this scope [INFO] [stderr] --> src/button.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | LineTo(hdc, rect.right, rect.top); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LineTo` in this scope [INFO] [stderr] --> src/button.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | LineTo(hdc, rect.right, rect.bottom); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LineTo` in this scope [INFO] [stderr] --> src/button.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | LineTo(hdc, rect.left, rect.bottom); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LineTo` in this scope [INFO] [stderr] --> src/button.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | LineTo(hdc, rect.left, rect.top); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/button.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | SelectObject(hdc, old_pen); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetBkMode` in this scope [INFO] [stderr] --> src/button.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | SetBkMode(hdc, TRANSPARENT as i32); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRANSPARENT` in this scope [INFO] [stderr] --> src/button.rs:55:24 [INFO] [stderr] | [INFO] [stderr] 55 | SetBkMode(hdc, TRANSPARENT as i32); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowTextLengthW` in this scope [INFO] [stderr] --> src/button.rs:57:19 [INFO] [stderr] | [INFO] [stderr] 57 | let len = GetWindowTextLengthW(hwnd) + 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowTextW` in this scope [INFO] [stderr] --> src/button.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | GetWindowTextW(hwnd, text.as_mut_ptr(), len); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/button.rs:61:24 [INFO] [stderr] | [INFO] [stderr] 61 | let old_font = SelectObject(hdc, data.font as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/button.rs:61:55 [INFO] [stderr] | [INFO] [stderr] 61 | let old_font = SelectObject(hdc, data.font as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetTextColor` in this scope [INFO] [stderr] --> src/button.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | SetTextColor(hdc, crate::brushes::COLOUR_SNOW_0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DrawTextW` in this scope [INFO] [stderr] --> src/button.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | DrawTextW(hdc, text.as_ptr(), -1, rect, DT_SINGLELINE | DT_CENTER | DT_VCENTER); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_SINGLELINE` in this scope [INFO] [stderr] --> src/button.rs:63:49 [INFO] [stderr] | [INFO] [stderr] 63 | DrawTextW(hdc, text.as_ptr(), -1, rect, DT_SINGLELINE | DT_CENTER | DT_VCENTER); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_CENTER` in this scope [INFO] [stderr] --> src/button.rs:63:65 [INFO] [stderr] | [INFO] [stderr] 63 | DrawTextW(hdc, text.as_ptr(), -1, rect, DT_SINGLELINE | DT_CENTER | DT_VCENTER); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_VCENTER` in this scope [INFO] [stderr] --> src/button.rs:63:77 [INFO] [stderr] | [INFO] [stderr] 63 | DrawTextW(hdc, text.as_ptr(), -1, rect, DT_SINGLELINE | DT_CENTER | DT_VCENTER); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/button.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | SelectObject(hdc, old_font); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/button.rs:68:38 [INFO] [stderr] | [INFO] [stderr] 68 | extern "system" fn button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/button.rs:68:49 [INFO] [stderr] | [INFO] [stderr] 68 | extern "system" fn button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/button.rs:68:63 [INFO] [stderr] | [INFO] [stderr] 68 | extern "system" fn button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/button.rs:68:79 [INFO] [stderr] | [INFO] [stderr] 68 | extern "system" fn button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/button.rs:68:90 [INFO] [stderr] | [INFO] [stderr] 68 | extern "system" fn button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/button.rs:69:24 [INFO] [stderr] | [INFO] [stderr] 69 | let ptr = unsafe { GetWindowLongPtrW(hwnd, CB_WND_EXTRA) as *mut u8 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CallWindowProcW` in this scope [INFO] [stderr] --> src/button.rs:75:20 [INFO] [stderr] | [INFO] [stderr] 75 | if CallWindowProcW(LPFN_BUTTON_PROC, hwnd, msg, wparam, lparam) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:76:28 [INFO] [stderr] | [INFO] [stderr] 76 | return FALSE as isize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:84:28 [INFO] [stderr] | [INFO] [stderr] 84 | return FALSE as isize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NONCLIENTMETRICSW` in this scope [INFO] [stderr] --> src/button.rs:87:34 [INFO] [stderr] | [INFO] [stderr] 87 | let mut metrics: NONCLIENTMETRICSW = NONCLIENTMETRICSW { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NONCLIENTMETRICSW` in this scope [INFO] [stderr] --> src/button.rs:87:54 [INFO] [stderr] | [INFO] [stderr] 87 | let mut metrics: NONCLIENTMETRICSW = NONCLIENTMETRICSW { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NONCLIENTMETRICSW` in this scope [INFO] [stderr] --> src/button.rs:88:44 [INFO] [stderr] | [INFO] [stderr] 88 | cbSize: mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SystemParametersInfoW` in this scope [INFO] [stderr] --> src/button.rs:105:31 [INFO] [stderr] | [INFO] [stderr] 105 | let font = if SystemParametersInfoW(SPI_GETNONCLIENTMETRICS, mem::size_of::() as u32, &mut metrics as *mut _ as PVOID, 0) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SPI_GETNONCLIENTMETRICS` in this scope [INFO] [stderr] --> src/button.rs:105:53 [INFO] [stderr] | [INFO] [stderr] 105 | let font = if SystemParametersInfoW(SPI_GETNONCLIENTMETRICS, mem::size_of::() as u32, &mut metrics as *mut _ as PVOID, 0) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NONCLIENTMETRICSW` in this scope [INFO] [stderr] --> src/button.rs:105:93 [INFO] [stderr] | [INFO] [stderr] 105 | let font = if SystemParametersInfoW(SPI_GETNONCLIENTMETRICS, mem::size_of::() as u32, &mut metrics as *mut _ as PVOID, 0) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/button.rs:105:148 [INFO] [stderr] | [INFO] [stderr] 105 | let font = if SystemParametersInfoW(SPI_GETNONCLIENTMETRICS, mem::size_of::() as u32, &mut metrics as *mut _ as PVOID, 0) == 0 { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetLastError` in this scope [INFO] [stderr] --> src/button.rs:106:76 [INFO] [stderr] | [INFO] [stderr] 106 | eprintln!("failed to get SPI_GETNONCLIENTMETRICS: {}", GetLastError()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetStockObject` in this scope [INFO] [stderr] --> src/button.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | GetStockObject(SYSTEM_FONT as i32) as HFONT [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SYSTEM_FONT` in this scope [INFO] [stderr] --> src/button.rs:107:36 [INFO] [stderr] | [INFO] [stderr] 107 | GetStockObject(SYSTEM_FONT as i32) as HFONT [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/button.rs:107:59 [INFO] [stderr] | [INFO] [stderr] 107 | GetStockObject(SYSTEM_FONT as i32) as HFONT [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateFontIndirectW` in this scope [INFO] [stderr] --> src/button.rs:110:21 [INFO] [stderr] | [INFO] [stderr] 110 | CreateFontIndirectW(&metrics.lfMessageFont) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/button.rs:119:20 [INFO] [stderr] | [INFO] [stderr] 119 | if SetWindowLongPtrW(hwnd, CB_WND_EXTRA, new_ptr as isize) != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:120:28 [INFO] [stderr] | [INFO] [stderr] 120 | return FALSE as isize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/button.rs:123:20 [INFO] [stderr] | [INFO] [stderr] 123 | return TRUE as isize; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/button.rs:131:25 [INFO] [stderr] | [INFO] [stderr] 131 | DeleteObject((*button_data).font as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/button.rs:131:61 [INFO] [stderr] | [INFO] [stderr] 131 | DeleteObject((*button_data).font as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/button.rs:143:21 [INFO] [stderr] | [INFO] [stderr] 143 | DeleteObject((*button_data).font as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/button.rs:143:57 [INFO] [stderr] | [INFO] [stderr] 143 | DeleteObject((*button_data).font as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/button.rs:145:49 [INFO] [stderr] | [INFO] [stderr] 145 | (*button_data).font = wparam as HFONT; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/button.rs:148:21 [INFO] [stderr] | [INFO] [stderr] 148 | InvalidateRect(hwnd, null_mut(), TRUE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/button.rs:148:54 [INFO] [stderr] | [INFO] [stderr] 148 | InvalidateRect(hwnd, null_mut(), TRUE); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/button.rs:156:47 [INFO] [stderr] | [INFO] [stderr] 156 | return (*button_data).font as LRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stderr] --> src/button.rs:165:25 [INFO] [stderr] | [INFO] [stderr] 165 | let mut ps: PAINTSTRUCT = PAINTSTRUCT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `PAINTSTRUCT` in this scope [INFO] [stderr] --> src/button.rs:165:39 [INFO] [stderr] | [INFO] [stderr] 165 | let mut ps: PAINTSTRUCT = PAINTSTRUCT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:167:25 [INFO] [stderr] | [INFO] [stderr] 167 | fErase: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:169:27 [INFO] [stderr] | [INFO] [stderr] 169 | fRestore: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:170:29 [INFO] [stderr] | [INFO] [stderr] 170 | fIncUpdate: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `BeginPaint` in this scope [INFO] [stderr] --> src/button.rs:174:17 [INFO] [stderr] | [INFO] [stderr] 174 | BeginPaint(hwnd, &mut ps); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `EndPaint` in this scope [INFO] [stderr] --> src/button.rs:176:17 [INFO] [stderr] | [INFO] [stderr] 176 | EndPaint(hwnd, &ps); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/button.rs:182:25 [INFO] [stderr] | [INFO] [stderr] 182 | let mut rc: RECT = default_rect(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/button.rs:184:17 [INFO] [stderr] | [INFO] [stderr] 184 | GetClientRect(hwnd, &mut rc); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/button.rs:185:46 [INFO] [stderr] | [INFO] [stderr] 185 | custom_paint(hwnd, wparam as HDC, &mut rc, TRUE, &*button_data); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/button.rs:185:60 [INFO] [stderr] | [INFO] [stderr] 185 | custom_paint(hwnd, wparam as HDC, &mut rc, TRUE, &*button_data); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/button.rs:191:23 [INFO] [stderr] | [INFO] [stderr] 191 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_X_LPARAM` in this scope [INFO] [stderr] --> src/button.rs:191:34 [INFO] [stderr] | [INFO] [stderr] 191 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_Y_LPARAM` in this scope [INFO] [stderr] --> src/button.rs:191:59 [INFO] [stderr] | [INFO] [stderr] 191 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/button.rs:193:13 [INFO] [stderr] | [INFO] [stderr] 193 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TRACKMOUSEEVENT` in this scope [INFO] [stderr] --> src/button.rs:195:29 [INFO] [stderr] | [INFO] [stderr] 195 | let mut track = TRACKMOUSEEVENT { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stderr] --> src/button.rs:196:40 [INFO] [stderr] | [INFO] [stderr] 196 | cbSize: mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TME_LEAVE` in this scope [INFO] [stderr] --> src/button.rs:197:26 [INFO] [stderr] | [INFO] [stderr] 197 | dwFlags: TME_LEAVE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HOVER_DEFAULT` in this scope [INFO] [stderr] --> src/button.rs:199:30 [INFO] [stderr] | [INFO] [stderr] 199 | dwHoverTime: HOVER_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TrackMouseEvent` in this scope [INFO] [stderr] --> src/button.rs:201:13 [INFO] [stderr] | [INFO] [stderr] 201 | TrackMouseEvent(&mut track); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PtInRect` in this scope [INFO] [stderr] --> src/button.rs:203:39 [INFO] [stderr] | [INFO] [stderr] 203 | (*button_data).state = if PtInRect(&rect, pos) != 0 { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/button.rs:213:13 [INFO] [stderr] | [INFO] [stderr] 213 | InvalidateRect(hwnd, &rect, FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:213:41 [INFO] [stderr] | [INFO] [stderr] 213 | InvalidateRect(hwnd, &rect, FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/button.rs:218:13 [INFO] [stderr] | [INFO] [stderr] 218 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:218:46 [INFO] [stderr] | [INFO] [stderr] 218 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/button.rs:223:13 [INFO] [stderr] | [INFO] [stderr] 223 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:223:46 [INFO] [stderr] | [INFO] [stderr] 223 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/button.rs:227:23 [INFO] [stderr] | [INFO] [stderr] 227 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_X_LPARAM` in this scope [INFO] [stderr] --> src/button.rs:227:34 [INFO] [stderr] | [INFO] [stderr] 227 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_Y_LPARAM` in this scope [INFO] [stderr] --> src/button.rs:227:59 [INFO] [stderr] | [INFO] [stderr] 227 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/button.rs:229:13 [INFO] [stderr] | [INFO] [stderr] 229 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PtInRect` in this scope [INFO] [stderr] --> src/button.rs:231:39 [INFO] [stderr] | [INFO] [stderr] 231 | (*button_data).state = if PtInRect(&rect, pos) != 0 { ButtonState::Hover } else { ButtonState::Idle }; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/button.rs:233:13 [INFO] [stderr] | [INFO] [stderr] 233 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:233:46 [INFO] [stderr] | [INFO] [stderr] 233 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CallWindowProcW` in this scope [INFO] [stderr] --> src/button.rs:239:21 [INFO] [stderr] | [INFO] [stderr] 239 | return unsafe { CallWindowProcW(LPFN_BUTTON_PROC, hwnd, msg, wparam, lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/button.rs:243:25 [INFO] [stderr] | [INFO] [stderr] 243 | let mut btn_class = WNDCLASSEXW { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/button.rs:244:32 [INFO] [stderr] | [INFO] [stderr] 244 | cbSize: mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/button.rs:245:16 [INFO] [stderr] | [INFO] [stderr] 245 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/button.rs:245:29 [INFO] [stderr] | [INFO] [stderr] 245 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClassInfoExW` in this scope [INFO] [stderr] --> src/button.rs:258:9 [INFO] [stderr] | [INFO] [stderr] 258 | GetClassInfoExW(crate::H_INSTANCE, win32_string("BUTTON").as_ptr(), &mut btn_class); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_GLOBALCLASS` in this scope [INFO] [stderr] --> src/button.rs:263:29 [INFO] [stderr] | [INFO] [stderr] 263 | btn_class.style &= !CS_GLOBALCLASS; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/button.rs:268:9 [INFO] [stderr] | [INFO] [stderr] 268 | RegisterClassExW(&btn_class) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `UnregisterClassW` in this scope [INFO] [stderr] --> src/button.rs:273:14 [INFO] [stderr] | [INFO] [stderr] 273 | unsafe { UnregisterClassW(win32_string(BUTTON_CLASS_NAME).as_ptr(), crate::H_INSTANCE) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/button.rs:276:30 [INFO] [stderr] | [INFO] [stderr] 276 | pub fn create_button(parent: HWND, id: i32, text: &str, colour: Aurora) -> HWND { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/button.rs:276:76 [INFO] [stderr] | [INFO] [stderr] 276 | pub fn create_button(parent: HWND, id: i32, text: &str, colour: Aurora) -> HWND { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/button.rs:278:22 [INFO] [stderr] | [INFO] [stderr] 278 | let handle = CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stderr] --> src/button.rs:282:13 [INFO] [stderr] | [INFO] [stderr] 282 | WS_CHILD | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stderr] --> src/button.rs:282:24 [INFO] [stderr] | [INFO] [stderr] 282 | WS_CHILD | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/button.rs:285:19 [INFO] [stderr] | [INFO] [stderr] 285 | id as HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/button.rs:290:19 [INFO] [stderr] | [INFO] [stderr] 290 | let ptr = GetWindowLongPtrW(handle, CB_WND_EXTRA) as *mut u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/button.rs:293:12 [INFO] [stderr] | [INFO] [stderr] 293 | if SetWindowLongPtrW(handle, CB_WND_EXTRA, ptr as isize) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetLastError` in this scope [INFO] [stderr] --> src/button.rs:294:61 [INFO] [stderr] | [INFO] [stderr] 294 | eprintln!("Failed to set colour of button: {}", GetLastError()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/progress.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | fn custom_paint(_: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ProgressData) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/progress.rs:19:31 [INFO] [stderr] | [INFO] [stderr] 19 | fn custom_paint(_: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ProgressData) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/progress.rs:19:47 [INFO] [stderr] | [INFO] [stderr] 19 | fn custom_paint(_: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ProgressData) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/progress.rs:19:61 [INFO] [stderr] | [INFO] [stderr] 19 | fn custom_paint(_: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ProgressData) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/progress.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | let fg: RECT = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/progress.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | let fg: RECT = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/progress.rs:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | let bg: RECT = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/progress.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | let bg: RECT = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FillRect` in this scope [INFO] [stderr] --> src/progress.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | FillRect(hdc, &bg, BRUSH_POLAR_1); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FillRect` in this scope [INFO] [stderr] --> src/progress.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | FillRect(hdc, &fg, BRUSH_SNOW_2); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/progress.rs:35:40 [INFO] [stderr] | [INFO] [stderr] 35 | extern "system" fn progress_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/progress.rs:35:51 [INFO] [stderr] | [INFO] [stderr] 35 | extern "system" fn progress_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/progress.rs:35:65 [INFO] [stderr] | [INFO] [stderr] 35 | extern "system" fn progress_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/progress.rs:35:81 [INFO] [stderr] | [INFO] [stderr] 35 | extern "system" fn progress_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/progress.rs:35:92 [INFO] [stderr] | [INFO] [stderr] 35 | extern "system" fn progress_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/progress.rs:36:24 [INFO] [stderr] | [INFO] [stderr] 36 | let ptr = unsafe { GetWindowLongPtrW(hwnd, 0) as *mut u8 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/progress.rs:45:28 [INFO] [stderr] | [INFO] [stderr] 45 | return FALSE as isize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/progress.rs:51:20 [INFO] [stderr] | [INFO] [stderr] 51 | if SetWindowLongPtrW(hwnd, 0, new_ptr as isize) != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/progress.rs:52:28 [INFO] [stderr] | [INFO] [stderr] 52 | return FALSE as isize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/progress.rs:55:20 [INFO] [stderr] | [INFO] [stderr] 55 | return TRUE as isize; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stderr] --> src/progress.rs:73:25 [INFO] [stderr] | [INFO] [stderr] 73 | let mut ps: PAINTSTRUCT = PAINTSTRUCT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `PAINTSTRUCT` in this scope [INFO] [stderr] --> src/progress.rs:73:39 [INFO] [stderr] | [INFO] [stderr] 73 | let mut ps: PAINTSTRUCT = PAINTSTRUCT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/progress.rs:75:25 [INFO] [stderr] | [INFO] [stderr] 75 | fErase: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/progress.rs:77:27 [INFO] [stderr] | [INFO] [stderr] 77 | fRestore: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/progress.rs:78:29 [INFO] [stderr] | [INFO] [stderr] 78 | fIncUpdate: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `BeginPaint` in this scope [INFO] [stderr] --> src/progress.rs:82:17 [INFO] [stderr] | [INFO] [stderr] 82 | BeginPaint(hwnd, &mut ps); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `EndPaint` in this scope [INFO] [stderr] --> src/progress.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 84 | EndPaint(hwnd, &ps); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/progress.rs:90:25 [INFO] [stderr] | [INFO] [stderr] 90 | let mut rc: RECT = default_rect(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/progress.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | GetClientRect(hwnd, &mut rc); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/progress.rs:93:46 [INFO] [stderr] | [INFO] [stderr] 93 | custom_paint(hwnd, wparam as HDC, &mut rc, TRUE, &*progress_data); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/progress.rs:93:60 [INFO] [stderr] | [INFO] [stderr] 93 | custom_paint(hwnd, wparam as HDC, &mut rc, TRUE, &*progress_data); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/progress.rs:101:21 [INFO] [stderr] | [INFO] [stderr] 101 | return unsafe { DefWindowProcW(hwnd, msg, wparam, lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/progress.rs:105:26 [INFO] [stderr] | [INFO] [stderr] 105 | let progress_class = WNDCLASSEXW { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/progress.rs:106:32 [INFO] [stderr] | [INFO] [stderr] 106 | cbSize: mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/progress.rs:107:16 [INFO] [stderr] | [INFO] [stderr] 107 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/progress.rs:107:29 [INFO] [stderr] | [INFO] [stderr] 107 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/progress.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 120 | RegisterClassExW(&progress_class) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `UnregisterClassW` in this scope [INFO] [stderr] --> src/progress.rs:125:14 [INFO] [stderr] | [INFO] [stderr] 125 | unsafe { UnregisterClassW(win32_string(PROGRESS_CLASS_NAME).as_ptr(), crate::H_INSTANCE) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/progress.rs:128:26 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn set_progress(bar: HWND, progress: f64) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/progress.rs:130:19 [INFO] [stderr] | [INFO] [stderr] 130 | let ptr = GetWindowLongPtrW(bar, 0) as *mut u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/progress.rs:133:12 [INFO] [stderr] | [INFO] [stderr] 133 | if SetWindowLongPtrW(bar, 0, ptr as isize) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetLastError` in this scope [INFO] [stderr] --> src/progress.rs:134:68 [INFO] [stderr] | [INFO] [stderr] 134 | eprintln!("Failed to set progress of progressbar: {}", GetLastError()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/progress.rs:139:32 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn create_progress(parent: HWND, progress: f64) -> HWND { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/progress.rs:139:56 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn create_progress(parent: HWND, progress: f64) -> HWND { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/progress.rs:141:22 [INFO] [stderr] | [INFO] [stderr] 141 | let handle = CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stderr] --> src/progress.rs:145:13 [INFO] [stderr] | [INFO] [stderr] 145 | WS_CHILD | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stderr] --> src/progress.rs:145:24 [INFO] [stderr] | [INFO] [stderr] 145 | WS_CHILD | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | static mut H_INSTANCE: HINSTANCE = null_mut(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:26:38 [INFO] [stderr] | [INFO] [stderr] 26 | extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:26:49 [INFO] [stderr] | [INFO] [stderr] 26 | extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:26:63 [INFO] [stderr] | [INFO] [stderr] 26 | extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:26:79 [INFO] [stderr] | [INFO] [stderr] 26 | extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:26:90 [INFO] [stderr] | [INFO] [stderr] 26 | extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/main.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 37 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowPos` in this scope [INFO] [stderr] --> src/main.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | SetWindowPos(next, HWND_TOP, rect.right - (8+64), rect.bottom - (8+24), 64, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stderr] --> src/main.rs:39:36 [INFO] [stderr] | [INFO] [stderr] 39 | SetWindowPos(next, HWND_TOP, rect.right - (8+64), rect.bottom - (8+24), 64, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stderr] --> src/main.rs:39:97 [INFO] [stderr] | [INFO] [stderr] 39 | SetWindowPos(next, HWND_TOP, rect.right - (8+64), rect.bottom - (8+24), 64, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowPos` in this scope [INFO] [stderr] --> src/main.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | SetWindowPos(back, HWND_TOP, rect.right - (8+64+8+64), rect.bottom - (8+24), 64, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stderr] --> src/main.rs:40:36 [INFO] [stderr] | [INFO] [stderr] 40 | SetWindowPos(back, HWND_TOP, rect.right - (8+64+8+64), rect.bottom - (8+24), 64, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stderr] --> src/main.rs:40:102 [INFO] [stderr] | [INFO] [stderr] 40 | SetWindowPos(back, HWND_TOP, rect.right - (8+64+8+64), rect.bottom - (8+24), 64, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowPos` in this scope [INFO] [stderr] --> src/main.rs:41:17 [INFO] [stderr] | [INFO] [stderr] 41 | SetWindowPos(progress, HWND_TOP, rect.left + 8, rect.bottom - (24), rect.right - rect.left - (8+64+8+64+8+8), 8, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stderr] --> src/main.rs:41:40 [INFO] [stderr] | [INFO] [stderr] 41 | SetWindowPos(progress, HWND_TOP, rect.left + 8, rect.bottom - (24), rect.right - rect.left - (8+64+8+64+8+8), 8, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stderr] --> src/main.rs:41:130 [INFO] [stderr] | [INFO] [stderr] 41 | SetWindowPos(progress, HWND_TOP, rect.left + 8, rect.bottom - (24), rect.right - rect.left - (8+64+8+64+8+8), 8, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DestroyWindow` in this scope [INFO] [stderr] --> src/main.rs:51:17 [INFO] [stderr] | [INFO] [stderr] 51 | DestroyWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:64:27 [INFO] [stderr] | [INFO] [stderr] 64 | let mut hit = DefWindowProcW(hwnd, msg, wparam, lparam); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HTCLIENT` in this scope [INFO] [stderr] --> src/main.rs:65:23 [INFO] [stderr] | [INFO] [stderr] 65 | if hit == HTCLIENT { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HTCAPTION` in this scope [INFO] [stderr] --> src/main.rs:66:23 [INFO] [stderr] | [INFO] [stderr] 66 | hit = HTCAPTION; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:85:14 [INFO] [stderr] | [INFO] [stderr] 85 | unsafe { DefWindowProcW(hwnd, msg, wparam, lparam) } [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:90:22 [INFO] [stderr] | [INFO] [stderr] 90 | H_INSTANCE = GetModuleHandleW(null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stderr] --> src/main.rs:96:21 [INFO] [stderr] | [INFO] [stderr] 96 | let wnd_class = WNDCLASSW { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stderr] --> src/main.rs:97:16 [INFO] [stderr] | [INFO] [stderr] 97 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/main.rs:97:27 [INFO] [stderr] | [INFO] [stderr] 97 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/main.rs:97:40 [INFO] [stderr] | [INFO] [stderr] 97 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadCursorW` in this scope [INFO] [stderr] --> src/main.rs:104:27 [INFO] [stderr] | [INFO] [stderr] 104 | hCursor: unsafe { LoadCursorW(H_INSTANCE, IDC_ARROW) }, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/main.rs:104:51 [INFO] [stderr] | [INFO] [stderr] 104 | hCursor: unsafe { LoadCursorW(H_INSTANCE, IDC_ARROW) }, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassW` in this scope [INFO] [stderr] --> src/main.rs:108:14 [INFO] [stderr] | [INFO] [stderr] 108 | unsafe { RegisterClassW(&wnd_class) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetDesktopWindow` in this scope [INFO] [stderr] --> src/main.rs:111:28 [INFO] [stderr] | [INFO] [stderr] 111 | let desktop = unsafe { GetDesktopWindow() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/main.rs:113:14 [INFO] [stderr] | [INFO] [stderr] 113 | unsafe { GetClientRect(desktop, &mut rect) }; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/main.rs:115:25 [INFO] [stderr] | [INFO] [stderr] 115 | let hwnd = unsafe { CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_CLIPSIBLINGS` in this scope [INFO] [stderr] --> src/main.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_POPUP | WS_BORDER, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_CLIPCHILDREN` in this scope [INFO] [stderr] --> src/main.rs:119:31 [INFO] [stderr] | [INFO] [stderr] 119 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_POPUP | WS_BORDER, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stderr] --> src/main.rs:119:49 [INFO] [stderr] | [INFO] [stderr] 119 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_POPUP | WS_BORDER, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_BORDER` in this scope [INFO] [stderr] --> src/main.rs:119:60 [INFO] [stderr] | [INFO] [stderr] 119 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_POPUP | WS_BORDER, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ShowWindow` in this scope [INFO] [stderr] --> src/main.rs:128:14 [INFO] [stderr] | [INFO] [stderr] 128 | unsafe { ShowWindow(hwnd, SW_SHOW) }; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stderr] --> src/main.rs:128:31 [INFO] [stderr] | [INFO] [stderr] 128 | unsafe { ShowWindow(hwnd, SW_SHOW) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:131:22 [INFO] [stderr] | [INFO] [stderr] 131 | let mut msg: MSG = mem::uninitialized(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetMessageW` in this scope [INFO] [stderr] --> src/main.rs:132:15 [INFO] [stderr] | [INFO] [stderr] 132 | while GetMessageW(&mut msg as *mut MSG, null_mut(), 0, 0) > 0 { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:132:44 [INFO] [stderr] | [INFO] [stderr] 132 | while GetMessageW(&mut msg as *mut MSG, null_mut(), 0, 0) > 0 { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TranslateMessage` in this scope [INFO] [stderr] --> src/main.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | TranslateMessage(&msg as *const MSG); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:133:45 [INFO] [stderr] | [INFO] [stderr] 133 | TranslateMessage(&msg as *const MSG); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DispatchMessageW` in this scope [INFO] [stderr] --> src/main.rs:134:13 [INFO] [stderr] | [INFO] [stderr] 134 | DispatchMessageW(&msg as *const MSG); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:134:45 [INFO] [stderr] | [INFO] [stderr] 134 | DispatchMessageW(&msg as *const MSG); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::*` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::libloaderapi::GetModuleHandleW` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/util.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::HGDIOBJ` [INFO] [stderr] --> src/brushes.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::shared::windef::HGDIOBJ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wingdi::DeleteObject` [INFO] [stderr] --> src/brushes.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::wingdi::DeleteObject; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wingdi::PS_SOLID` [INFO] [stderr] --> src/brushes.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::wingdi::PS_SOLID; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wingdi::CreatePen` [INFO] [stderr] --> src/brushes.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::um::wingdi::CreatePen; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wingdi::CreateSolidBrush` [INFO] [stderr] --> src/brushes.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::wingdi::CreateSolidBrush; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `COLORREF`, `HBRUSH`, `HPEN` [INFO] [stderr] --> src/brushes.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::windef::{HBRUSH, HPEN, COLORREF}; [INFO] [stderr] | ^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GET_X_LPARAM`, `GET_Y_LPARAM` [INFO] [stderr] --> src/close_button.rs:2:32 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::windowsx::{GET_X_LPARAM, GET_Y_LPARAM}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::*` [INFO] [stderr] --> src/close_button.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/close_button.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wingdi::*` [INFO] [stderr] --> src/close_button.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::wingdi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/close_button.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::errhandlingapi::GetLastError` [INFO] [stderr] --> src/button.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winnt::PVOID` [INFO] [stderr] --> src/button.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::winnt::PVOID; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GET_X_LPARAM`, `GET_Y_LPARAM` [INFO] [stderr] --> src/button.rs:4:32 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::windowsx::{GET_X_LPARAM, GET_Y_LPARAM}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::*` [INFO] [stderr] --> src/button.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/button.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wingdi::*` [INFO] [stderr] --> src/button.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::wingdi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/button.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::errhandlingapi::GetLastError` [INFO] [stderr] --> src/progress.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::*` [INFO] [stderr] --> src/progress.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/progress.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/progress.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/util.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | .encode_wide() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 464 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `win32_test`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:29:28 [INFO] [stderr] | [INFO] [stderr] 29 | pub static COLOUR_POLAR_0: COLORREF = 0x40342e; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:30:28 [INFO] [stderr] | [INFO] [stderr] 30 | pub static COLOUR_POLAR_1: COLORREF = 0x52423b; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:31:28 [INFO] [stderr] | [INFO] [stderr] 31 | pub static COLOUR_POLAR_2: COLORREF = 0x5e4c43; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:32:28 [INFO] [stderr] | [INFO] [stderr] 32 | pub static COLOUR_POLAR_3: COLORREF = 0x6a564c; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:33:27 [INFO] [stderr] | [INFO] [stderr] 33 | pub static COLOUR_SNOW_0: COLORREF = 0xe9ded8; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:34:27 [INFO] [stderr] | [INFO] [stderr] 34 | pub static COLOUR_SNOW_1: COLORREF = 0xf0e9e5; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:35:27 [INFO] [stderr] | [INFO] [stderr] 35 | pub static COLOUR_SNOW_2: COLORREF = 0xf4efec; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:36:28 [INFO] [stderr] | [INFO] [stderr] 36 | pub static COLOUR_FROST_0: COLORREF = 0xbbbc8f; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:37:28 [INFO] [stderr] | [INFO] [stderr] 37 | pub static COLOUR_FROST_1: COLORREF = 0xd0c088; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:38:28 [INFO] [stderr] | [INFO] [stderr] 38 | pub static COLOUR_FROST_2: COLORREF = 0xc1a181; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:39:28 [INFO] [stderr] | [INFO] [stderr] 39 | pub static COLOUR_FROST_3: COLORREF = 0xac815e; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:40:29 [INFO] [stderr] | [INFO] [stderr] 40 | pub static COLOUR_AURORA_0: COLORREF = 0x6a61bf; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:41:29 [INFO] [stderr] | [INFO] [stderr] 41 | pub static COLOUR_AURORA_1: COLORREF = 0x7087d0; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:42:29 [INFO] [stderr] | [INFO] [stderr] 42 | pub static COLOUR_AURORA_2: COLORREF = 0x8bcbeb; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:43:29 [INFO] [stderr] | [INFO] [stderr] 43 | pub static COLOUR_AURORA_3: COLORREF = 0x8cbea3; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/brushes.rs:44:29 [INFO] [stderr] | [INFO] [stderr] 44 | pub static COLOUR_AURORA_4: COLORREF = 0xad8eb4; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:46:31 [INFO] [stderr] | [INFO] [stderr] 46 | pub static mut BRUSH_POLAR_0: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:47:31 [INFO] [stderr] | [INFO] [stderr] 47 | pub static mut BRUSH_POLAR_1: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:48:31 [INFO] [stderr] | [INFO] [stderr] 48 | pub static mut BRUSH_POLAR_2: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:49:31 [INFO] [stderr] | [INFO] [stderr] 49 | pub static mut BRUSH_POLAR_3: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:50:30 [INFO] [stderr] | [INFO] [stderr] 50 | pub static mut BRUSH_SNOW_0: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:51:30 [INFO] [stderr] | [INFO] [stderr] 51 | pub static mut BRUSH_SNOW_1: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:52:30 [INFO] [stderr] | [INFO] [stderr] 52 | pub static mut BRUSH_SNOW_2: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:53:31 [INFO] [stderr] | [INFO] [stderr] 53 | pub static mut BRUSH_FROST_0: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:54:31 [INFO] [stderr] | [INFO] [stderr] 54 | pub static mut BRUSH_FROST_1: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:55:31 [INFO] [stderr] | [INFO] [stderr] 55 | pub static mut BRUSH_FROST_2: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:56:31 [INFO] [stderr] | [INFO] [stderr] 56 | pub static mut BRUSH_FROST_3: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:57:32 [INFO] [stderr] | [INFO] [stderr] 57 | pub static mut BRUSH_AURORA_0: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:58:32 [INFO] [stderr] | [INFO] [stderr] 58 | pub static mut BRUSH_AURORA_1: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:59:32 [INFO] [stderr] | [INFO] [stderr] 59 | pub static mut BRUSH_AURORA_2: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:60:32 [INFO] [stderr] | [INFO] [stderr] 60 | pub static mut BRUSH_AURORA_3: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/brushes.rs:61:32 [INFO] [stderr] | [INFO] [stderr] 61 | pub static mut BRUSH_AURORA_4: HBRUSH = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:63:29 [INFO] [stderr] | [INFO] [stderr] 63 | pub static mut PEN_POLAR_0: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:64:29 [INFO] [stderr] | [INFO] [stderr] 64 | pub static mut PEN_POLAR_1: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:65:29 [INFO] [stderr] | [INFO] [stderr] 65 | pub static mut PEN_POLAR_2: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:66:29 [INFO] [stderr] | [INFO] [stderr] 66 | pub static mut PEN_POLAR_3: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:67:28 [INFO] [stderr] | [INFO] [stderr] 67 | pub static mut PEN_SNOW_0: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:68:28 [INFO] [stderr] | [INFO] [stderr] 68 | pub static mut PEN_SNOW_1: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:69:28 [INFO] [stderr] | [INFO] [stderr] 69 | pub static mut PEN_SNOW_2: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:70:29 [INFO] [stderr] | [INFO] [stderr] 70 | pub static mut PEN_FROST_0: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:71:29 [INFO] [stderr] | [INFO] [stderr] 71 | pub static mut PEN_FROST_1: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:72:29 [INFO] [stderr] | [INFO] [stderr] 72 | pub static mut PEN_FROST_2: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:73:29 [INFO] [stderr] | [INFO] [stderr] 73 | pub static mut PEN_FROST_3: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:74:30 [INFO] [stderr] | [INFO] [stderr] 74 | pub static mut PEN_AURORA_0: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:75:30 [INFO] [stderr] | [INFO] [stderr] 75 | pub static mut PEN_AURORA_1: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:76:30 [INFO] [stderr] | [INFO] [stderr] 76 | pub static mut PEN_AURORA_2: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:77:30 [INFO] [stderr] | [INFO] [stderr] 77 | pub static mut PEN_AURORA_3: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HPEN` in this scope [INFO] [stderr] --> src/brushes.rs:78:30 [INFO] [stderr] | [INFO] [stderr] 78 | pub static mut PEN_AURORA_4: HPEN = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:82:25 [INFO] [stderr] | [INFO] [stderr] 82 | BRUSH_POLAR_0 = CreateSolidBrush(COLOUR_POLAR_0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 83 | BRUSH_POLAR_1 = CreateSolidBrush(COLOUR_POLAR_1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:84:25 [INFO] [stderr] | [INFO] [stderr] 84 | BRUSH_POLAR_2 = CreateSolidBrush(COLOUR_POLAR_2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:85:25 [INFO] [stderr] | [INFO] [stderr] 85 | BRUSH_POLAR_3 = CreateSolidBrush(COLOUR_POLAR_3); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:86:24 [INFO] [stderr] | [INFO] [stderr] 86 | BRUSH_SNOW_0 = CreateSolidBrush(COLOUR_SNOW_0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:87:24 [INFO] [stderr] | [INFO] [stderr] 87 | BRUSH_SNOW_1 = CreateSolidBrush(COLOUR_SNOW_1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:88:24 [INFO] [stderr] | [INFO] [stderr] 88 | BRUSH_SNOW_2 = CreateSolidBrush(COLOUR_SNOW_2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | BRUSH_FROST_0 = CreateSolidBrush(COLOUR_FROST_0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:90:25 [INFO] [stderr] | [INFO] [stderr] 90 | BRUSH_FROST_1 = CreateSolidBrush(COLOUR_FROST_1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:91:25 [INFO] [stderr] | [INFO] [stderr] 91 | BRUSH_FROST_2 = CreateSolidBrush(COLOUR_FROST_2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:92:25 [INFO] [stderr] | [INFO] [stderr] 92 | BRUSH_FROST_3 = CreateSolidBrush(COLOUR_FROST_3); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:93:26 [INFO] [stderr] | [INFO] [stderr] 93 | BRUSH_AURORA_0 = CreateSolidBrush(COLOUR_AURORA_0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:94:26 [INFO] [stderr] | [INFO] [stderr] 94 | BRUSH_AURORA_1 = CreateSolidBrush(COLOUR_AURORA_1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:95:26 [INFO] [stderr] | [INFO] [stderr] 95 | BRUSH_AURORA_2 = CreateSolidBrush(COLOUR_AURORA_2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:96:26 [INFO] [stderr] | [INFO] [stderr] 96 | BRUSH_AURORA_3 = CreateSolidBrush(COLOUR_AURORA_3); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in this scope [INFO] [stderr] --> src/brushes.rs:97:26 [INFO] [stderr] | [INFO] [stderr] 97 | BRUSH_AURORA_4 = CreateSolidBrush(COLOUR_AURORA_4); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:99:23 [INFO] [stderr] | [INFO] [stderr] 99 | PEN_POLAR_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_0); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:99:33 [INFO] [stderr] | [INFO] [stderr] 99 | PEN_POLAR_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_0); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:100:23 [INFO] [stderr] | [INFO] [stderr] 100 | PEN_POLAR_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_1); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:100:33 [INFO] [stderr] | [INFO] [stderr] 100 | PEN_POLAR_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_1); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:101:23 [INFO] [stderr] | [INFO] [stderr] 101 | PEN_POLAR_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_2); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:101:33 [INFO] [stderr] | [INFO] [stderr] 101 | PEN_POLAR_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_2); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:102:23 [INFO] [stderr] | [INFO] [stderr] 102 | PEN_POLAR_3 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_3); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:102:33 [INFO] [stderr] | [INFO] [stderr] 102 | PEN_POLAR_3 = CreatePen(PS_SOLID as i32, 1, COLOUR_POLAR_3); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:103:22 [INFO] [stderr] | [INFO] [stderr] 103 | PEN_SNOW_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_SNOW_0); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:103:32 [INFO] [stderr] | [INFO] [stderr] 103 | PEN_SNOW_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_SNOW_0); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:104:22 [INFO] [stderr] | [INFO] [stderr] 104 | PEN_SNOW_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_SNOW_1); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:104:32 [INFO] [stderr] | [INFO] [stderr] 104 | PEN_SNOW_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_SNOW_1); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:105:22 [INFO] [stderr] | [INFO] [stderr] 105 | PEN_SNOW_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_SNOW_2); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:105:32 [INFO] [stderr] | [INFO] [stderr] 105 | PEN_SNOW_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_SNOW_2); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:106:23 [INFO] [stderr] | [INFO] [stderr] 106 | PEN_FROST_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_0); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:106:33 [INFO] [stderr] | [INFO] [stderr] 106 | PEN_FROST_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_0); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:107:23 [INFO] [stderr] | [INFO] [stderr] 107 | PEN_FROST_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_1); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:107:33 [INFO] [stderr] | [INFO] [stderr] 107 | PEN_FROST_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_1); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:108:23 [INFO] [stderr] | [INFO] [stderr] 108 | PEN_FROST_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_2); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:108:33 [INFO] [stderr] | [INFO] [stderr] 108 | PEN_FROST_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_2); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:109:23 [INFO] [stderr] | [INFO] [stderr] 109 | PEN_FROST_3 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_3); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:109:33 [INFO] [stderr] | [INFO] [stderr] 109 | PEN_FROST_3 = CreatePen(PS_SOLID as i32, 1, COLOUR_FROST_3); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:110:24 [INFO] [stderr] | [INFO] [stderr] 110 | PEN_AURORA_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_0); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:110:34 [INFO] [stderr] | [INFO] [stderr] 110 | PEN_AURORA_0 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_0); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:111:24 [INFO] [stderr] | [INFO] [stderr] 111 | PEN_AURORA_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_1); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:111:34 [INFO] [stderr] | [INFO] [stderr] 111 | PEN_AURORA_1 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_1); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:112:24 [INFO] [stderr] | [INFO] [stderr] 112 | PEN_AURORA_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_2); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:112:34 [INFO] [stderr] | [INFO] [stderr] 112 | PEN_AURORA_2 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_2); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:113:24 [INFO] [stderr] | [INFO] [stderr] 113 | PEN_AURORA_3 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_3); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:113:34 [INFO] [stderr] | [INFO] [stderr] 113 | PEN_AURORA_3 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_3); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreatePen` in this scope [INFO] [stderr] --> src/brushes.rs:114:24 [INFO] [stderr] | [INFO] [stderr] 114 | PEN_AURORA_4 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_4); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PS_SOLID` in this scope [INFO] [stderr] --> src/brushes.rs:114:34 [INFO] [stderr] | [INFO] [stderr] 114 | PEN_AURORA_4 = CreatePen(PS_SOLID as i32, 1, COLOUR_AURORA_4); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 120 | DeleteObject(BRUSH_POLAR_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:120:39 [INFO] [stderr] | [INFO] [stderr] 120 | DeleteObject(BRUSH_POLAR_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | DeleteObject(BRUSH_POLAR_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:121:39 [INFO] [stderr] | [INFO] [stderr] 121 | DeleteObject(BRUSH_POLAR_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | DeleteObject(BRUSH_POLAR_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:122:39 [INFO] [stderr] | [INFO] [stderr] 122 | DeleteObject(BRUSH_POLAR_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | DeleteObject(BRUSH_POLAR_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:123:39 [INFO] [stderr] | [INFO] [stderr] 123 | DeleteObject(BRUSH_POLAR_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 124 | DeleteObject(BRUSH_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:124:38 [INFO] [stderr] | [INFO] [stderr] 124 | DeleteObject(BRUSH_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | DeleteObject(BRUSH_SNOW_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:125:38 [INFO] [stderr] | [INFO] [stderr] 125 | DeleteObject(BRUSH_SNOW_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:126:9 [INFO] [stderr] | [INFO] [stderr] 126 | DeleteObject(BRUSH_SNOW_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:126:38 [INFO] [stderr] | [INFO] [stderr] 126 | DeleteObject(BRUSH_SNOW_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 127 | DeleteObject(BRUSH_FROST_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:127:39 [INFO] [stderr] | [INFO] [stderr] 127 | DeleteObject(BRUSH_FROST_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:128:9 [INFO] [stderr] | [INFO] [stderr] 128 | DeleteObject(BRUSH_FROST_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:128:39 [INFO] [stderr] | [INFO] [stderr] 128 | DeleteObject(BRUSH_FROST_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:129:9 [INFO] [stderr] | [INFO] [stderr] 129 | DeleteObject(BRUSH_FROST_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:129:39 [INFO] [stderr] | [INFO] [stderr] 129 | DeleteObject(BRUSH_FROST_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:130:9 [INFO] [stderr] | [INFO] [stderr] 130 | DeleteObject(BRUSH_FROST_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:130:39 [INFO] [stderr] | [INFO] [stderr] 130 | DeleteObject(BRUSH_FROST_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | DeleteObject(BRUSH_AURORA_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:131:40 [INFO] [stderr] | [INFO] [stderr] 131 | DeleteObject(BRUSH_AURORA_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | DeleteObject(BRUSH_AURORA_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:132:40 [INFO] [stderr] | [INFO] [stderr] 132 | DeleteObject(BRUSH_AURORA_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:133:9 [INFO] [stderr] | [INFO] [stderr] 133 | DeleteObject(BRUSH_AURORA_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:133:40 [INFO] [stderr] | [INFO] [stderr] 133 | DeleteObject(BRUSH_AURORA_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | DeleteObject(BRUSH_AURORA_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:134:40 [INFO] [stderr] | [INFO] [stderr] 134 | DeleteObject(BRUSH_AURORA_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | DeleteObject(BRUSH_AURORA_4 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:135:40 [INFO] [stderr] | [INFO] [stderr] 135 | DeleteObject(BRUSH_AURORA_4 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | DeleteObject(PEN_POLAR_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:136:37 [INFO] [stderr] | [INFO] [stderr] 136 | DeleteObject(PEN_POLAR_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:137:9 [INFO] [stderr] | [INFO] [stderr] 137 | DeleteObject(PEN_POLAR_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:137:37 [INFO] [stderr] | [INFO] [stderr] 137 | DeleteObject(PEN_POLAR_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:138:9 [INFO] [stderr] | [INFO] [stderr] 138 | DeleteObject(PEN_POLAR_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:138:37 [INFO] [stderr] | [INFO] [stderr] 138 | DeleteObject(PEN_POLAR_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:139:9 [INFO] [stderr] | [INFO] [stderr] 139 | DeleteObject(PEN_POLAR_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:139:37 [INFO] [stderr] | [INFO] [stderr] 139 | DeleteObject(PEN_POLAR_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | DeleteObject(PEN_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:140:36 [INFO] [stderr] | [INFO] [stderr] 140 | DeleteObject(PEN_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | DeleteObject(PEN_SNOW_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:141:36 [INFO] [stderr] | [INFO] [stderr] 141 | DeleteObject(PEN_SNOW_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 142 | DeleteObject(PEN_SNOW_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:142:36 [INFO] [stderr] | [INFO] [stderr] 142 | DeleteObject(PEN_SNOW_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | DeleteObject(PEN_FROST_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:143:37 [INFO] [stderr] | [INFO] [stderr] 143 | DeleteObject(PEN_FROST_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 144 | DeleteObject(PEN_FROST_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:144:37 [INFO] [stderr] | [INFO] [stderr] 144 | DeleteObject(PEN_FROST_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:145:9 [INFO] [stderr] | [INFO] [stderr] 145 | DeleteObject(PEN_FROST_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:145:37 [INFO] [stderr] | [INFO] [stderr] 145 | DeleteObject(PEN_FROST_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 146 | DeleteObject(PEN_FROST_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:146:37 [INFO] [stderr] | [INFO] [stderr] 146 | DeleteObject(PEN_FROST_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:147:9 [INFO] [stderr] | [INFO] [stderr] 147 | DeleteObject(PEN_AURORA_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:147:38 [INFO] [stderr] | [INFO] [stderr] 147 | DeleteObject(PEN_AURORA_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:148:9 [INFO] [stderr] | [INFO] [stderr] 148 | DeleteObject(PEN_AURORA_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:148:38 [INFO] [stderr] | [INFO] [stderr] 148 | DeleteObject(PEN_AURORA_1 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:149:9 [INFO] [stderr] | [INFO] [stderr] 149 | DeleteObject(PEN_AURORA_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:149:38 [INFO] [stderr] | [INFO] [stderr] 149 | DeleteObject(PEN_AURORA_2 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | DeleteObject(PEN_AURORA_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:150:38 [INFO] [stderr] | [INFO] [stderr] 150 | DeleteObject(PEN_AURORA_3 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/brushes.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | DeleteObject(PEN_AURORA_4 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/brushes.rs:151:38 [INFO] [stderr] | [INFO] [stderr] 151 | DeleteObject(PEN_AURORA_4 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/close_button.rs:20:31 [INFO] [stderr] | [INFO] [stderr] 20 | static mut HWND_CLOSE_BUTTON: HWND = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/close_button.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | fn paint_button(hwnd: HWND, state: &ButtonState) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stderr] --> src/close_button.rs:23:17 [INFO] [stderr] | [INFO] [stderr] 23 | let mut ps: PAINTSTRUCT = PAINTSTRUCT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `PAINTSTRUCT` in this scope [INFO] [stderr] --> src/close_button.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | let mut ps: PAINTSTRUCT = PAINTSTRUCT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | fErase: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:27:19 [INFO] [stderr] | [INFO] [stderr] 27 | fRestore: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:28:21 [INFO] [stderr] | [INFO] [stderr] 28 | fIncUpdate: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `BeginPaint` in this scope [INFO] [stderr] --> src/close_button.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | let hdc = BeginPaint(hwnd, &mut ps); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/close_button.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FillRect` in this scope [INFO] [stderr] --> src/close_button.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | FillRect(hdc, &rect, match state { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/close_button.rs:43:23 [INFO] [stderr] | [INFO] [stderr] 43 | let old_pen = SelectObject(hdc, PEN_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/close_button.rs:43:55 [INFO] [stderr] | [INFO] [stderr] 43 | let old_pen = SelectObject(hdc, PEN_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `MoveToEx` in this scope [INFO] [stderr] --> src/close_button.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | MoveToEx(hdc, rect.left + 8, rect.top + 8, null_mut()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LineTo` in this scope [INFO] [stderr] --> src/close_button.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | LineTo(hdc, rect.right - 7, rect.bottom - 7); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `MoveToEx` in this scope [INFO] [stderr] --> src/close_button.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | MoveToEx(hdc, rect.right - 8, rect.top + 8, null_mut()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LineTo` in this scope [INFO] [stderr] --> src/close_button.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | LineTo(hdc, rect.left + 7, rect.bottom - 7); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/close_button.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | SelectObject(hdc, old_pen); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `EndPaint` in this scope [INFO] [stderr] --> src/close_button.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | EndPaint(hwnd, &mut ps); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/close_button.rs:54:44 [INFO] [stderr] | [INFO] [stderr] 54 | extern "system" fn close_button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/close_button.rs:54:55 [INFO] [stderr] | [INFO] [stderr] 54 | extern "system" fn close_button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/close_button.rs:54:69 [INFO] [stderr] | [INFO] [stderr] 54 | extern "system" fn close_button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/close_button.rs:54:85 [INFO] [stderr] | [INFO] [stderr] 54 | extern "system" fn close_button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/close_button.rs:54:96 [INFO] [stderr] | [INFO] [stderr] 54 | extern "system" fn close_button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/close_button.rs:55:24 [INFO] [stderr] | [INFO] [stderr] 55 | let ptr = unsafe { GetWindowLongPtrW(hwnd, 0) as *mut u8 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:64:28 [INFO] [stderr] | [INFO] [stderr] 64 | return FALSE as isize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/close_button.rs:67:20 [INFO] [stderr] | [INFO] [stderr] 67 | if SetWindowLongPtrW(hwnd, 0, new_ptr as isize) != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:68:28 [INFO] [stderr] | [INFO] [stderr] 68 | return FALSE as isize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/close_button.rs:71:20 [INFO] [stderr] | [INFO] [stderr] 71 | return TRUE as isize; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/close_button.rs:88:23 [INFO] [stderr] | [INFO] [stderr] 88 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_X_LPARAM` in this scope [INFO] [stderr] --> src/close_button.rs:88:34 [INFO] [stderr] | [INFO] [stderr] 88 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_Y_LPARAM` in this scope [INFO] [stderr] --> src/close_button.rs:88:59 [INFO] [stderr] | [INFO] [stderr] 88 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/close_button.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TRACKMOUSEEVENT` in this scope [INFO] [stderr] --> src/close_button.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | let mut track = TRACKMOUSEEVENT { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stderr] --> src/close_button.rs:93:40 [INFO] [stderr] | [INFO] [stderr] 93 | cbSize: mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TME_LEAVE` in this scope [INFO] [stderr] --> src/close_button.rs:94:26 [INFO] [stderr] | [INFO] [stderr] 94 | dwFlags: TME_LEAVE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HOVER_DEFAULT` in this scope [INFO] [stderr] --> src/close_button.rs:96:30 [INFO] [stderr] | [INFO] [stderr] 96 | dwHoverTime: HOVER_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TrackMouseEvent` in this scope [INFO] [stderr] --> src/close_button.rs:98:13 [INFO] [stderr] | [INFO] [stderr] 98 | TrackMouseEvent(&mut track); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PtInRect` in this scope [INFO] [stderr] --> src/close_button.rs:100:32 [INFO] [stderr] | [INFO] [stderr] 100 | *button_state = if PtInRect(&rect, pos) != 0 { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/close_button.rs:110:13 [INFO] [stderr] | [INFO] [stderr] 110 | InvalidateRect(hwnd, &rect, FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:110:41 [INFO] [stderr] | [INFO] [stderr] 110 | InvalidateRect(hwnd, &rect, FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/close_button.rs:116:13 [INFO] [stderr] | [INFO] [stderr] 116 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:116:46 [INFO] [stderr] | [INFO] [stderr] 116 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/close_button.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:122:46 [INFO] [stderr] | [INFO] [stderr] 122 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/close_button.rs:127:23 [INFO] [stderr] | [INFO] [stderr] 127 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_X_LPARAM` in this scope [INFO] [stderr] --> src/close_button.rs:127:34 [INFO] [stderr] | [INFO] [stderr] 127 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_Y_LPARAM` in this scope [INFO] [stderr] --> src/close_button.rs:127:59 [INFO] [stderr] | [INFO] [stderr] 127 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/close_button.rs:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetParent` in this scope [INFO] [stderr] --> src/close_button.rs:132:30 [INFO] [stderr] | [INFO] [stderr] 132 | let parent = GetParent(hwnd); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostMessageW` in this scope [INFO] [stderr] --> src/close_button.rs:133:17 [INFO] [stderr] | [INFO] [stderr] 133 | PostMessageW(parent, WM_CLOSE, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stderr] --> src/close_button.rs:133:38 [INFO] [stderr] | [INFO] [stderr] 133 | PostMessageW(parent, WM_CLOSE, 0, 0); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PtInRect` in this scope [INFO] [stderr] --> src/close_button.rs:136:32 [INFO] [stderr] | [INFO] [stderr] 136 | *button_state = if PtInRect(&rect, pos) != 0 { ButtonState::Hover } else { ButtonState::Idle }; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/close_button.rs:138:13 [INFO] [stderr] | [INFO] [stderr] 138 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/close_button.rs:138:46 [INFO] [stderr] | [INFO] [stderr] 138 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/close_button.rs:145:21 [INFO] [stderr] | [INFO] [stderr] 145 | return unsafe { DefWindowProcW(hwnd, msg, wparam, lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/close_button.rs:149:21 [INFO] [stderr] | [INFO] [stderr] 149 | let btn_class = WNDCLASSEXW { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/close_button.rs:150:32 [INFO] [stderr] | [INFO] [stderr] 150 | cbSize: mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/close_button.rs:151:16 [INFO] [stderr] | [INFO] [stderr] 151 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/close_button.rs:151:29 [INFO] [stderr] | [INFO] [stderr] 151 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/close_button.rs:163:14 [INFO] [stderr] | [INFO] [stderr] 163 | unsafe { RegisterClassExW(&btn_class) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `UnregisterClassW` in this scope [INFO] [stderr] --> src/close_button.rs:167:14 [INFO] [stderr] | [INFO] [stderr] 167 | unsafe { UnregisterClassW(crate::util::win32_string("close_button").as_ptr(), crate::H_INSTANCE) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/close_button.rs:170:36 [INFO] [stderr] | [INFO] [stderr] 170 | pub fn create_close_button(parent: HWND) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/close_button.rs:172:29 [INFO] [stderr] | [INFO] [stderr] 172 | HWND_CLOSE_BUTTON = CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stderr] --> src/close_button.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | WS_CHILD | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stderr] --> src/close_button.rs:176:24 [INFO] [stderr] | [INFO] [stderr] 176 | WS_CHILD | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/close_button.rs:186:38 [INFO] [stderr] | [INFO] [stderr] 186 | pub fn position_close_button(parent: HWND) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/close_button.rs:189:9 [INFO] [stderr] | [INFO] [stderr] 189 | GetClientRect(parent, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowPos` in this scope [INFO] [stderr] --> src/close_button.rs:190:9 [INFO] [stderr] | [INFO] [stderr] 190 | SetWindowPos(HWND_CLOSE_BUTTON, HWND_TOP, rect.right - 24, rect.top, 24, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stderr] --> src/close_button.rs:190:41 [INFO] [stderr] | [INFO] [stderr] 190 | SetWindowPos(HWND_CLOSE_BUTTON, HWND_TOP, rect.right - 24, rect.top, 24, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stderr] --> src/close_button.rs:190:86 [INFO] [stderr] | [INFO] [stderr] 190 | SetWindowPos(HWND_CLOSE_BUTTON, HWND_TOP, rect.right - 24, rect.top, 24, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/button.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | font: HFONT, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDPROC` in this scope [INFO] [stderr] --> src/button.rs:30:30 [INFO] [stderr] | [INFO] [stderr] 30 | static mut LPFN_BUTTON_PROC: WNDPROC = None; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/button.rs:33:23 [INFO] [stderr] | [INFO] [stderr] 33 | fn custom_paint(hwnd: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ButtonData) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/button.rs:33:34 [INFO] [stderr] | [INFO] [stderr] 33 | fn custom_paint(hwnd: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ButtonData) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/button.rs:33:50 [INFO] [stderr] | [INFO] [stderr] 33 | fn custom_paint(hwnd: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ButtonData) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/button.rs:33:64 [INFO] [stderr] | [INFO] [stderr] 33 | fn custom_paint(hwnd: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ButtonData) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FillRect` in this scope [INFO] [stderr] --> src/button.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | FillRect(hdc, rect, match data.state { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/button.rs:47:23 [INFO] [stderr] | [INFO] [stderr] 47 | let old_pen = SelectObject(hdc, PEN_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/button.rs:47:55 [INFO] [stderr] | [INFO] [stderr] 47 | let old_pen = SelectObject(hdc, PEN_SNOW_0 as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `MoveToEx` in this scope [INFO] [stderr] --> src/button.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | MoveToEx(hdc, rect.left, rect.top, null_mut()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LineTo` in this scope [INFO] [stderr] --> src/button.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | LineTo(hdc, rect.right, rect.top); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LineTo` in this scope [INFO] [stderr] --> src/button.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | LineTo(hdc, rect.right, rect.bottom); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LineTo` in this scope [INFO] [stderr] --> src/button.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | LineTo(hdc, rect.left, rect.bottom); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LineTo` in this scope [INFO] [stderr] --> src/button.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | LineTo(hdc, rect.left, rect.top); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/button.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | SelectObject(hdc, old_pen); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetBkMode` in this scope [INFO] [stderr] --> src/button.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | SetBkMode(hdc, TRANSPARENT as i32); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRANSPARENT` in this scope [INFO] [stderr] --> src/button.rs:55:24 [INFO] [stderr] | [INFO] [stderr] 55 | SetBkMode(hdc, TRANSPARENT as i32); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowTextLengthW` in this scope [INFO] [stderr] --> src/button.rs:57:19 [INFO] [stderr] | [INFO] [stderr] 57 | let len = GetWindowTextLengthW(hwnd) + 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowTextW` in this scope [INFO] [stderr] --> src/button.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | GetWindowTextW(hwnd, text.as_mut_ptr(), len); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/button.rs:61:24 [INFO] [stderr] | [INFO] [stderr] 61 | let old_font = SelectObject(hdc, data.font as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/button.rs:61:55 [INFO] [stderr] | [INFO] [stderr] 61 | let old_font = SelectObject(hdc, data.font as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetTextColor` in this scope [INFO] [stderr] --> src/button.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | SetTextColor(hdc, crate::brushes::COLOUR_SNOW_0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DrawTextW` in this scope [INFO] [stderr] --> src/button.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | DrawTextW(hdc, text.as_ptr(), -1, rect, DT_SINGLELINE | DT_CENTER | DT_VCENTER); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_SINGLELINE` in this scope [INFO] [stderr] --> src/button.rs:63:49 [INFO] [stderr] | [INFO] [stderr] 63 | DrawTextW(hdc, text.as_ptr(), -1, rect, DT_SINGLELINE | DT_CENTER | DT_VCENTER); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_CENTER` in this scope [INFO] [stderr] --> src/button.rs:63:65 [INFO] [stderr] | [INFO] [stderr] 63 | DrawTextW(hdc, text.as_ptr(), -1, rect, DT_SINGLELINE | DT_CENTER | DT_VCENTER); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_VCENTER` in this scope [INFO] [stderr] --> src/button.rs:63:77 [INFO] [stderr] | [INFO] [stderr] 63 | DrawTextW(hdc, text.as_ptr(), -1, rect, DT_SINGLELINE | DT_CENTER | DT_VCENTER); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/button.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | SelectObject(hdc, old_font); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/button.rs:68:38 [INFO] [stderr] | [INFO] [stderr] 68 | extern "system" fn button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/button.rs:68:49 [INFO] [stderr] | [INFO] [stderr] 68 | extern "system" fn button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/button.rs:68:63 [INFO] [stderr] | [INFO] [stderr] 68 | extern "system" fn button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/button.rs:68:79 [INFO] [stderr] | [INFO] [stderr] 68 | extern "system" fn button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/button.rs:68:90 [INFO] [stderr] | [INFO] [stderr] 68 | extern "system" fn button_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/button.rs:69:24 [INFO] [stderr] | [INFO] [stderr] 69 | let ptr = unsafe { GetWindowLongPtrW(hwnd, CB_WND_EXTRA) as *mut u8 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CallWindowProcW` in this scope [INFO] [stderr] --> src/button.rs:75:20 [INFO] [stderr] | [INFO] [stderr] 75 | if CallWindowProcW(LPFN_BUTTON_PROC, hwnd, msg, wparam, lparam) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:76:28 [INFO] [stderr] | [INFO] [stderr] 76 | return FALSE as isize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:84:28 [INFO] [stderr] | [INFO] [stderr] 84 | return FALSE as isize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NONCLIENTMETRICSW` in this scope [INFO] [stderr] --> src/button.rs:87:34 [INFO] [stderr] | [INFO] [stderr] 87 | let mut metrics: NONCLIENTMETRICSW = NONCLIENTMETRICSW { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NONCLIENTMETRICSW` in this scope [INFO] [stderr] --> src/button.rs:87:54 [INFO] [stderr] | [INFO] [stderr] 87 | let mut metrics: NONCLIENTMETRICSW = NONCLIENTMETRICSW { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NONCLIENTMETRICSW` in this scope [INFO] [stderr] --> src/button.rs:88:44 [INFO] [stderr] | [INFO] [stderr] 88 | cbSize: mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SystemParametersInfoW` in this scope [INFO] [stderr] --> src/button.rs:105:31 [INFO] [stderr] | [INFO] [stderr] 105 | let font = if SystemParametersInfoW(SPI_GETNONCLIENTMETRICS, mem::size_of::() as u32, &mut metrics as *mut _ as PVOID, 0) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SPI_GETNONCLIENTMETRICS` in this scope [INFO] [stderr] --> src/button.rs:105:53 [INFO] [stderr] | [INFO] [stderr] 105 | let font = if SystemParametersInfoW(SPI_GETNONCLIENTMETRICS, mem::size_of::() as u32, &mut metrics as *mut _ as PVOID, 0) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NONCLIENTMETRICSW` in this scope [INFO] [stderr] --> src/button.rs:105:93 [INFO] [stderr] | [INFO] [stderr] 105 | let font = if SystemParametersInfoW(SPI_GETNONCLIENTMETRICS, mem::size_of::() as u32, &mut metrics as *mut _ as PVOID, 0) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/button.rs:105:148 [INFO] [stderr] | [INFO] [stderr] 105 | let font = if SystemParametersInfoW(SPI_GETNONCLIENTMETRICS, mem::size_of::() as u32, &mut metrics as *mut _ as PVOID, 0) == 0 { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetLastError` in this scope [INFO] [stderr] --> src/button.rs:106:76 [INFO] [stderr] | [INFO] [stderr] 106 | eprintln!("failed to get SPI_GETNONCLIENTMETRICS: {}", GetLastError()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetStockObject` in this scope [INFO] [stderr] --> src/button.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | GetStockObject(SYSTEM_FONT as i32) as HFONT [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SYSTEM_FONT` in this scope [INFO] [stderr] --> src/button.rs:107:36 [INFO] [stderr] | [INFO] [stderr] 107 | GetStockObject(SYSTEM_FONT as i32) as HFONT [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/button.rs:107:59 [INFO] [stderr] | [INFO] [stderr] 107 | GetStockObject(SYSTEM_FONT as i32) as HFONT [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateFontIndirectW` in this scope [INFO] [stderr] --> src/button.rs:110:21 [INFO] [stderr] | [INFO] [stderr] 110 | CreateFontIndirectW(&metrics.lfMessageFont) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/button.rs:119:20 [INFO] [stderr] | [INFO] [stderr] 119 | if SetWindowLongPtrW(hwnd, CB_WND_EXTRA, new_ptr as isize) != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:120:28 [INFO] [stderr] | [INFO] [stderr] 120 | return FALSE as isize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/button.rs:123:20 [INFO] [stderr] | [INFO] [stderr] 123 | return TRUE as isize; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/button.rs:131:25 [INFO] [stderr] | [INFO] [stderr] 131 | DeleteObject((*button_data).font as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/button.rs:131:61 [INFO] [stderr] | [INFO] [stderr] 131 | DeleteObject((*button_data).font as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/button.rs:143:21 [INFO] [stderr] | [INFO] [stderr] 143 | DeleteObject((*button_data).font as HGDIOBJ); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/button.rs:143:57 [INFO] [stderr] | [INFO] [stderr] 143 | DeleteObject((*button_data).font as HGDIOBJ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/button.rs:145:49 [INFO] [stderr] | [INFO] [stderr] 145 | (*button_data).font = wparam as HFONT; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/button.rs:148:21 [INFO] [stderr] | [INFO] [stderr] 148 | InvalidateRect(hwnd, null_mut(), TRUE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/button.rs:148:54 [INFO] [stderr] | [INFO] [stderr] 148 | InvalidateRect(hwnd, null_mut(), TRUE); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/button.rs:156:47 [INFO] [stderr] | [INFO] [stderr] 156 | return (*button_data).font as LRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stderr] --> src/button.rs:165:25 [INFO] [stderr] | [INFO] [stderr] 165 | let mut ps: PAINTSTRUCT = PAINTSTRUCT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `PAINTSTRUCT` in this scope [INFO] [stderr] --> src/button.rs:165:39 [INFO] [stderr] | [INFO] [stderr] 165 | let mut ps: PAINTSTRUCT = PAINTSTRUCT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:167:25 [INFO] [stderr] | [INFO] [stderr] 167 | fErase: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:169:27 [INFO] [stderr] | [INFO] [stderr] 169 | fRestore: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:170:29 [INFO] [stderr] | [INFO] [stderr] 170 | fIncUpdate: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `BeginPaint` in this scope [INFO] [stderr] --> src/button.rs:174:17 [INFO] [stderr] | [INFO] [stderr] 174 | BeginPaint(hwnd, &mut ps); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `EndPaint` in this scope [INFO] [stderr] --> src/button.rs:176:17 [INFO] [stderr] | [INFO] [stderr] 176 | EndPaint(hwnd, &ps); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/button.rs:182:25 [INFO] [stderr] | [INFO] [stderr] 182 | let mut rc: RECT = default_rect(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/button.rs:184:17 [INFO] [stderr] | [INFO] [stderr] 184 | GetClientRect(hwnd, &mut rc); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/button.rs:185:46 [INFO] [stderr] | [INFO] [stderr] 185 | custom_paint(hwnd, wparam as HDC, &mut rc, TRUE, &*button_data); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/button.rs:185:60 [INFO] [stderr] | [INFO] [stderr] 185 | custom_paint(hwnd, wparam as HDC, &mut rc, TRUE, &*button_data); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/button.rs:191:23 [INFO] [stderr] | [INFO] [stderr] 191 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_X_LPARAM` in this scope [INFO] [stderr] --> src/button.rs:191:34 [INFO] [stderr] | [INFO] [stderr] 191 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_Y_LPARAM` in this scope [INFO] [stderr] --> src/button.rs:191:59 [INFO] [stderr] | [INFO] [stderr] 191 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/button.rs:193:13 [INFO] [stderr] | [INFO] [stderr] 193 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TRACKMOUSEEVENT` in this scope [INFO] [stderr] --> src/button.rs:195:29 [INFO] [stderr] | [INFO] [stderr] 195 | let mut track = TRACKMOUSEEVENT { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stderr] --> src/button.rs:196:40 [INFO] [stderr] | [INFO] [stderr] 196 | cbSize: mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TME_LEAVE` in this scope [INFO] [stderr] --> src/button.rs:197:26 [INFO] [stderr] | [INFO] [stderr] 197 | dwFlags: TME_LEAVE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HOVER_DEFAULT` in this scope [INFO] [stderr] --> src/button.rs:199:30 [INFO] [stderr] | [INFO] [stderr] 199 | dwHoverTime: HOVER_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TrackMouseEvent` in this scope [INFO] [stderr] --> src/button.rs:201:13 [INFO] [stderr] | [INFO] [stderr] 201 | TrackMouseEvent(&mut track); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PtInRect` in this scope [INFO] [stderr] --> src/button.rs:203:39 [INFO] [stderr] | [INFO] [stderr] 203 | (*button_data).state = if PtInRect(&rect, pos) != 0 { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/button.rs:213:13 [INFO] [stderr] | [INFO] [stderr] 213 | InvalidateRect(hwnd, &rect, FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:213:41 [INFO] [stderr] | [INFO] [stderr] 213 | InvalidateRect(hwnd, &rect, FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/button.rs:218:13 [INFO] [stderr] | [INFO] [stderr] 218 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:218:46 [INFO] [stderr] | [INFO] [stderr] 218 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/button.rs:223:13 [INFO] [stderr] | [INFO] [stderr] 223 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:223:46 [INFO] [stderr] | [INFO] [stderr] 223 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/button.rs:227:23 [INFO] [stderr] | [INFO] [stderr] 227 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_X_LPARAM` in this scope [INFO] [stderr] --> src/button.rs:227:34 [INFO] [stderr] | [INFO] [stderr] 227 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GET_Y_LPARAM` in this scope [INFO] [stderr] --> src/button.rs:227:59 [INFO] [stderr] | [INFO] [stderr] 227 | let pos = POINT { x: GET_X_LPARAM(lparam), y: GET_Y_LPARAM(lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/button.rs:229:13 [INFO] [stderr] | [INFO] [stderr] 229 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PtInRect` in this scope [INFO] [stderr] --> src/button.rs:231:39 [INFO] [stderr] | [INFO] [stderr] 231 | (*button_data).state = if PtInRect(&rect, pos) != 0 { ButtonState::Hover } else { ButtonState::Idle }; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `InvalidateRect` in this scope [INFO] [stderr] --> src/button.rs:233:13 [INFO] [stderr] | [INFO] [stderr] 233 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/button.rs:233:46 [INFO] [stderr] | [INFO] [stderr] 233 | InvalidateRect(hwnd, null_mut(), FALSE); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CallWindowProcW` in this scope [INFO] [stderr] --> src/button.rs:239:21 [INFO] [stderr] | [INFO] [stderr] 239 | return unsafe { CallWindowProcW(LPFN_BUTTON_PROC, hwnd, msg, wparam, lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/button.rs:243:25 [INFO] [stderr] | [INFO] [stderr] 243 | let mut btn_class = WNDCLASSEXW { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/button.rs:244:32 [INFO] [stderr] | [INFO] [stderr] 244 | cbSize: mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/button.rs:245:16 [INFO] [stderr] | [INFO] [stderr] 245 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/button.rs:245:29 [INFO] [stderr] | [INFO] [stderr] 245 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClassInfoExW` in this scope [INFO] [stderr] --> src/button.rs:258:9 [INFO] [stderr] | [INFO] [stderr] 258 | GetClassInfoExW(crate::H_INSTANCE, win32_string("BUTTON").as_ptr(), &mut btn_class); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_GLOBALCLASS` in this scope [INFO] [stderr] --> src/button.rs:263:29 [INFO] [stderr] | [INFO] [stderr] 263 | btn_class.style &= !CS_GLOBALCLASS; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/button.rs:268:9 [INFO] [stderr] | [INFO] [stderr] 268 | RegisterClassExW(&btn_class) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `UnregisterClassW` in this scope [INFO] [stderr] --> src/button.rs:273:14 [INFO] [stderr] | [INFO] [stderr] 273 | unsafe { UnregisterClassW(win32_string(BUTTON_CLASS_NAME).as_ptr(), crate::H_INSTANCE) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/button.rs:276:30 [INFO] [stderr] | [INFO] [stderr] 276 | pub fn create_button(parent: HWND, id: i32, text: &str, colour: Aurora) -> HWND { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/button.rs:276:76 [INFO] [stderr] | [INFO] [stderr] 276 | pub fn create_button(parent: HWND, id: i32, text: &str, colour: Aurora) -> HWND { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/button.rs:278:22 [INFO] [stderr] | [INFO] [stderr] 278 | let handle = CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stderr] --> src/button.rs:282:13 [INFO] [stderr] | [INFO] [stderr] 282 | WS_CHILD | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stderr] --> src/button.rs:282:24 [INFO] [stderr] | [INFO] [stderr] 282 | WS_CHILD | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/button.rs:285:19 [INFO] [stderr] | [INFO] [stderr] 285 | id as HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/button.rs:290:19 [INFO] [stderr] | [INFO] [stderr] 290 | let ptr = GetWindowLongPtrW(handle, CB_WND_EXTRA) as *mut u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/button.rs:293:12 [INFO] [stderr] | [INFO] [stderr] 293 | if SetWindowLongPtrW(handle, CB_WND_EXTRA, ptr as isize) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetLastError` in this scope [INFO] [stderr] --> src/button.rs:294:61 [INFO] [stderr] | [INFO] [stderr] 294 | eprintln!("Failed to set colour of button: {}", GetLastError()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/progress.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | fn custom_paint(_: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ProgressData) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/progress.rs:19:31 [INFO] [stderr] | [INFO] [stderr] 19 | fn custom_paint(_: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ProgressData) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/progress.rs:19:47 [INFO] [stderr] | [INFO] [stderr] 19 | fn custom_paint(_: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ProgressData) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/progress.rs:19:61 [INFO] [stderr] | [INFO] [stderr] 19 | fn custom_paint(_: HWND, hdc: HDC, rect: &mut RECT, _erase: BOOL, data: &ProgressData) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/progress.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | let fg: RECT = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/progress.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | let fg: RECT = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/progress.rs:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | let bg: RECT = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/progress.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | let bg: RECT = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FillRect` in this scope [INFO] [stderr] --> src/progress.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | FillRect(hdc, &bg, BRUSH_POLAR_1); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FillRect` in this scope [INFO] [stderr] --> src/progress.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | FillRect(hdc, &fg, BRUSH_SNOW_2); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/progress.rs:35:40 [INFO] [stderr] | [INFO] [stderr] 35 | extern "system" fn progress_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/progress.rs:35:51 [INFO] [stderr] | [INFO] [stderr] 35 | extern "system" fn progress_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/progress.rs:35:65 [INFO] [stderr] | [INFO] [stderr] 35 | extern "system" fn progress_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/progress.rs:35:81 [INFO] [stderr] | [INFO] [stderr] 35 | extern "system" fn progress_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/progress.rs:35:92 [INFO] [stderr] | [INFO] [stderr] 35 | extern "system" fn progress_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/progress.rs:36:24 [INFO] [stderr] | [INFO] [stderr] 36 | let ptr = unsafe { GetWindowLongPtrW(hwnd, 0) as *mut u8 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/progress.rs:45:28 [INFO] [stderr] | [INFO] [stderr] 45 | return FALSE as isize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/progress.rs:51:20 [INFO] [stderr] | [INFO] [stderr] 51 | if SetWindowLongPtrW(hwnd, 0, new_ptr as isize) != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/progress.rs:52:28 [INFO] [stderr] | [INFO] [stderr] 52 | return FALSE as isize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/progress.rs:55:20 [INFO] [stderr] | [INFO] [stderr] 55 | return TRUE as isize; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stderr] --> src/progress.rs:73:25 [INFO] [stderr] | [INFO] [stderr] 73 | let mut ps: PAINTSTRUCT = PAINTSTRUCT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `PAINTSTRUCT` in this scope [INFO] [stderr] --> src/progress.rs:73:39 [INFO] [stderr] | [INFO] [stderr] 73 | let mut ps: PAINTSTRUCT = PAINTSTRUCT { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/progress.rs:75:25 [INFO] [stderr] | [INFO] [stderr] 75 | fErase: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/progress.rs:77:27 [INFO] [stderr] | [INFO] [stderr] 77 | fRestore: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/progress.rs:78:29 [INFO] [stderr] | [INFO] [stderr] 78 | fIncUpdate: FALSE, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `BeginPaint` in this scope [INFO] [stderr] --> src/progress.rs:82:17 [INFO] [stderr] | [INFO] [stderr] 82 | BeginPaint(hwnd, &mut ps); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `EndPaint` in this scope [INFO] [stderr] --> src/progress.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 84 | EndPaint(hwnd, &ps); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/progress.rs:90:25 [INFO] [stderr] | [INFO] [stderr] 90 | let mut rc: RECT = default_rect(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/progress.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | GetClientRect(hwnd, &mut rc); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/progress.rs:93:46 [INFO] [stderr] | [INFO] [stderr] 93 | custom_paint(hwnd, wparam as HDC, &mut rc, TRUE, &*progress_data); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/progress.rs:93:60 [INFO] [stderr] | [INFO] [stderr] 93 | custom_paint(hwnd, wparam as HDC, &mut rc, TRUE, &*progress_data); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/progress.rs:101:21 [INFO] [stderr] | [INFO] [stderr] 101 | return unsafe { DefWindowProcW(hwnd, msg, wparam, lparam) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/progress.rs:105:26 [INFO] [stderr] | [INFO] [stderr] 105 | let progress_class = WNDCLASSEXW { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/progress.rs:106:32 [INFO] [stderr] | [INFO] [stderr] 106 | cbSize: mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/progress.rs:107:16 [INFO] [stderr] | [INFO] [stderr] 107 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/progress.rs:107:29 [INFO] [stderr] | [INFO] [stderr] 107 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/progress.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 120 | RegisterClassExW(&progress_class) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `UnregisterClassW` in this scope [INFO] [stderr] --> src/progress.rs:125:14 [INFO] [stderr] | [INFO] [stderr] 125 | unsafe { UnregisterClassW(win32_string(PROGRESS_CLASS_NAME).as_ptr(), crate::H_INSTANCE) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/progress.rs:128:26 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn set_progress(bar: HWND, progress: f64) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/progress.rs:130:19 [INFO] [stderr] | [INFO] [stderr] 130 | let ptr = GetWindowLongPtrW(bar, 0) as *mut u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/progress.rs:133:12 [INFO] [stderr] | [INFO] [stderr] 133 | if SetWindowLongPtrW(bar, 0, ptr as isize) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetLastError` in this scope [INFO] [stderr] --> src/progress.rs:134:68 [INFO] [stderr] | [INFO] [stderr] 134 | eprintln!("Failed to set progress of progressbar: {}", GetLastError()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/progress.rs:139:32 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn create_progress(parent: HWND, progress: f64) -> HWND { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/progress.rs:139:56 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn create_progress(parent: HWND, progress: f64) -> HWND { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/progress.rs:141:22 [INFO] [stderr] | [INFO] [stderr] 141 | let handle = CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stderr] --> src/progress.rs:145:13 [INFO] [stderr] | [INFO] [stderr] 145 | WS_CHILD | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stderr] --> src/progress.rs:145:24 [INFO] [stderr] | [INFO] [stderr] 145 | WS_CHILD | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | static mut H_INSTANCE: HINSTANCE = null_mut(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:26:38 [INFO] [stderr] | [INFO] [stderr] 26 | extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:26:49 [INFO] [stderr] | [INFO] [stderr] 26 | extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:26:63 [INFO] [stderr] | [INFO] [stderr] 26 | extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:26:79 [INFO] [stderr] | [INFO] [stderr] 26 | extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:26:90 [INFO] [stderr] | [INFO] [stderr] 26 | extern "system" fn window_proc(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/main.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 37 | GetClientRect(hwnd, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowPos` in this scope [INFO] [stderr] --> src/main.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | SetWindowPos(next, HWND_TOP, rect.right - (8+64), rect.bottom - (8+24), 64, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stderr] --> src/main.rs:39:36 [INFO] [stderr] | [INFO] [stderr] 39 | SetWindowPos(next, HWND_TOP, rect.right - (8+64), rect.bottom - (8+24), 64, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stderr] --> src/main.rs:39:97 [INFO] [stderr] | [INFO] [stderr] 39 | SetWindowPos(next, HWND_TOP, rect.right - (8+64), rect.bottom - (8+24), 64, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowPos` in this scope [INFO] [stderr] --> src/main.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | SetWindowPos(back, HWND_TOP, rect.right - (8+64+8+64), rect.bottom - (8+24), 64, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stderr] --> src/main.rs:40:36 [INFO] [stderr] | [INFO] [stderr] 40 | SetWindowPos(back, HWND_TOP, rect.right - (8+64+8+64), rect.bottom - (8+24), 64, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stderr] --> src/main.rs:40:102 [INFO] [stderr] | [INFO] [stderr] 40 | SetWindowPos(back, HWND_TOP, rect.right - (8+64+8+64), rect.bottom - (8+24), 64, 24, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowPos` in this scope [INFO] [stderr] --> src/main.rs:41:17 [INFO] [stderr] | [INFO] [stderr] 41 | SetWindowPos(progress, HWND_TOP, rect.left + 8, rect.bottom - (24), rect.right - rect.left - (8+64+8+64+8+8), 8, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stderr] --> src/main.rs:41:40 [INFO] [stderr] | [INFO] [stderr] 41 | SetWindowPos(progress, HWND_TOP, rect.left + 8, rect.bottom - (24), rect.right - rect.left - (8+64+8+64+8+8), 8, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SWP_NOZORDER` in this scope [INFO] [stderr] --> src/main.rs:41:130 [INFO] [stderr] | [INFO] [stderr] 41 | SetWindowPos(progress, HWND_TOP, rect.left + 8, rect.bottom - (24), rect.right - rect.left - (8+64+8+64+8+8), 8, SWP_NOZORDER); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DestroyWindow` in this scope [INFO] [stderr] --> src/main.rs:51:17 [INFO] [stderr] | [INFO] [stderr] 51 | DestroyWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:64:27 [INFO] [stderr] | [INFO] [stderr] 64 | let mut hit = DefWindowProcW(hwnd, msg, wparam, lparam); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HTCLIENT` in this scope [INFO] [stderr] --> src/main.rs:65:23 [INFO] [stderr] | [INFO] [stderr] 65 | if hit == HTCLIENT { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HTCAPTION` in this scope [INFO] [stderr] --> src/main.rs:66:23 [INFO] [stderr] | [INFO] [stderr] 66 | hit = HTCAPTION; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:85:14 [INFO] [stderr] | [INFO] [stderr] 85 | unsafe { DefWindowProcW(hwnd, msg, wparam, lparam) } [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:90:22 [INFO] [stderr] | [INFO] [stderr] 90 | H_INSTANCE = GetModuleHandleW(null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stderr] --> src/main.rs:96:21 [INFO] [stderr] | [INFO] [stderr] 96 | let wnd_class = WNDCLASSW { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stderr] --> src/main.rs:97:16 [INFO] [stderr] | [INFO] [stderr] 97 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/main.rs:97:27 [INFO] [stderr] | [INFO] [stderr] 97 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/main.rs:97:40 [INFO] [stderr] | [INFO] [stderr] 97 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadCursorW` in this scope [INFO] [stderr] --> src/main.rs:104:27 [INFO] [stderr] | [INFO] [stderr] 104 | hCursor: unsafe { LoadCursorW(H_INSTANCE, IDC_ARROW) }, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/main.rs:104:51 [INFO] [stderr] | [INFO] [stderr] 104 | hCursor: unsafe { LoadCursorW(H_INSTANCE, IDC_ARROW) }, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassW` in this scope [INFO] [stderr] --> src/main.rs:108:14 [INFO] [stderr] | [INFO] [stderr] 108 | unsafe { RegisterClassW(&wnd_class) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetDesktopWindow` in this scope [INFO] [stderr] --> src/main.rs:111:28 [INFO] [stderr] | [INFO] [stderr] 111 | let desktop = unsafe { GetDesktopWindow() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetClientRect` in this scope [INFO] [stderr] --> src/main.rs:113:14 [INFO] [stderr] | [INFO] [stderr] 113 | unsafe { GetClientRect(desktop, &mut rect) }; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/main.rs:115:25 [INFO] [stderr] | [INFO] [stderr] 115 | let hwnd = unsafe { CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_CLIPSIBLINGS` in this scope [INFO] [stderr] --> src/main.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_POPUP | WS_BORDER, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_CLIPCHILDREN` in this scope [INFO] [stderr] --> src/main.rs:119:31 [INFO] [stderr] | [INFO] [stderr] 119 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_POPUP | WS_BORDER, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stderr] --> src/main.rs:119:49 [INFO] [stderr] | [INFO] [stderr] 119 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_POPUP | WS_BORDER, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_BORDER` in this scope [INFO] [stderr] --> src/main.rs:119:60 [INFO] [stderr] | [INFO] [stderr] 119 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_POPUP | WS_BORDER, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ShowWindow` in this scope [INFO] [stderr] --> src/main.rs:128:14 [INFO] [stderr] | [INFO] [stderr] 128 | unsafe { ShowWindow(hwnd, SW_SHOW) }; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stderr] --> src/main.rs:128:31 [INFO] [stderr] | [INFO] [stderr] 128 | unsafe { ShowWindow(hwnd, SW_SHOW) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:131:22 [INFO] [stderr] | [INFO] [stderr] 131 | let mut msg: MSG = mem::uninitialized(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetMessageW` in this scope [INFO] [stderr] --> src/main.rs:132:15 [INFO] [stderr] | [INFO] [stderr] 132 | while GetMessageW(&mut msg as *mut MSG, null_mut(), 0, 0) > 0 { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:132:44 [INFO] [stderr] | [INFO] [stderr] 132 | while GetMessageW(&mut msg as *mut MSG, null_mut(), 0, 0) > 0 { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TranslateMessage` in this scope [INFO] [stderr] --> src/main.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | TranslateMessage(&msg as *const MSG); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:133:45 [INFO] [stderr] | [INFO] [stderr] 133 | TranslateMessage(&msg as *const MSG); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DispatchMessageW` in this scope [INFO] [stderr] --> src/main.rs:134:13 [INFO] [stderr] | [INFO] [stderr] 134 | DispatchMessageW(&msg as *const MSG); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:134:45 [INFO] [stderr] | [INFO] [stderr] 134 | DispatchMessageW(&msg as *const MSG); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::*` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::libloaderapi::GetModuleHandleW` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/util.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::HGDIOBJ` [INFO] [stderr] --> src/brushes.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::shared::windef::HGDIOBJ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wingdi::DeleteObject` [INFO] [stderr] --> src/brushes.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::wingdi::DeleteObject; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wingdi::PS_SOLID` [INFO] [stderr] --> src/brushes.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::wingdi::PS_SOLID; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wingdi::CreatePen` [INFO] [stderr] --> src/brushes.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::um::wingdi::CreatePen; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wingdi::CreateSolidBrush` [INFO] [stderr] --> src/brushes.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::wingdi::CreateSolidBrush; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `COLORREF`, `HBRUSH`, `HPEN` [INFO] [stderr] --> src/brushes.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::windef::{HBRUSH, HPEN, COLORREF}; [INFO] [stderr] | ^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GET_X_LPARAM`, `GET_Y_LPARAM` [INFO] [stderr] --> src/close_button.rs:2:32 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::windowsx::{GET_X_LPARAM, GET_Y_LPARAM}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::*` [INFO] [stderr] --> src/close_button.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/close_button.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wingdi::*` [INFO] [stderr] --> src/close_button.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::wingdi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/close_button.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::errhandlingapi::GetLastError` [INFO] [stderr] --> src/button.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winnt::PVOID` [INFO] [stderr] --> src/button.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::winnt::PVOID; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GET_X_LPARAM`, `GET_Y_LPARAM` [INFO] [stderr] --> src/button.rs:4:32 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::windowsx::{GET_X_LPARAM, GET_Y_LPARAM}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::*` [INFO] [stderr] --> src/button.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/button.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::wingdi::*` [INFO] [stderr] --> src/button.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::wingdi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/button.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::errhandlingapi::GetLastError` [INFO] [stderr] --> src/progress.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::*` [INFO] [stderr] --> src/progress.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::minwindef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::*` [INFO] [stderr] --> src/progress.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::windef::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winuser::*` [INFO] [stderr] --> src/progress.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::winuser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/util.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | .encode_wide() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 464 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `win32_test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "350355dd2b10c8c24f1587e4f3afaa2b4c4cb91e0069463e2b7bf5eca73ab211"` [INFO] running `"docker" "rm" "-f" "350355dd2b10c8c24f1587e4f3afaa2b4c4cb91e0069463e2b7bf5eca73ab211"` [INFO] [stdout] 350355dd2b10c8c24f1587e4f3afaa2b4c4cb91e0069463e2b7bf5eca73ab211