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