[INFO] updating cached repository skeleten/wintests [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/skeleten/wintests [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/skeleten/wintests" "work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/skeleten/wintests"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/skeleten/wintests'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/skeleten/wintests" "work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/skeleten/wintests"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/skeleten/wintests'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c6e592d75efe0f751179ec15e453f64c12ff6e0c [INFO] sha for GitHub repo skeleten/wintests: c6e592d75efe0f751179ec15e453f64c12ff6e0c [INFO] validating manifest of skeleten/wintests on toolchain master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of skeleten/wintests on toolchain try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing skeleten/wintests [INFO] finished frobbing skeleten/wintests [INFO] frobbed toml for skeleten/wintests written to work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/skeleten/wintests/Cargo.toml [INFO] started frobbing skeleten/wintests [INFO] finished frobbing skeleten/wintests [INFO] frobbed toml for skeleten/wintests written to work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/skeleten/wintests/Cargo.toml [INFO] crate skeleten/wintests already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/skeleten/wintests/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking skeleten/wintests against master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 for pr-59199 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-59199/worker-7/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/skeleten/wintests:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ff88570d5c17e7ab63769f3c3e9a078cc2adca3affaa215806dcbd83dac7c1f8 [INFO] running `"docker" "start" "-a" "ff88570d5c17e7ab63769f3c3e9a078cc2adca3affaa215806dcbd83dac7c1f8"` [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Compiling gdi32-sys v0.2.0 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking wio v0.2.0 [INFO] [stderr] Checking windows-test v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `wio::wide` [INFO] [stderr] --> src/font.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | use wio::wide::*; [INFO] [stderr] | ^^^^ could not find `wide` in `wio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wio::wide` [INFO] [stderr] --> src/controls/label.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | use wio::wide::*; [INFO] [stderr] | ^^^^ could not find `wide` in `wio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/controls/mod.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use ::winapi::winuser::NMHDR; [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::marker::Reflect` [INFO] [stderr] --> src/message.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use ::std::marker::Reflect; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ no `Reflect` in `marker` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wio::wide` [INFO] [stderr] --> src/window.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | use wio::wide::*; [INFO] [stderr] | ^^^^ could not find `wide` in `wio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::marker::Reflect` [INFO] [stderr] --> src/window.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::marker::Reflect; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `Reflect` in `marker` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wio::wide` [INFO] [stderr] --> src/font.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | use wio::wide::*; [INFO] [stderr] | ^^^^ could not find `wide` in `wio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wio::wide` [INFO] [stderr] --> src/controls/label.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | use wio::wide::*; [INFO] [stderr] | ^^^^ could not find `wide` in `wio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/controls/mod.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use ::winapi::winuser::NMHDR; [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::marker::Reflect` [INFO] [stderr] --> src/message.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use ::std::marker::Reflect; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ no `Reflect` in `marker` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wio::wide` [INFO] [stderr] --> src/window.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | use wio::wide::*; [INFO] [stderr] | ^^^^ could not find `wide` in `wio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::marker::Reflect` [INFO] [stderr] --> src/window.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::marker::Reflect; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `Reflect` in `marker` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/ml.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | window: &'a HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/ml.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | context: HDC, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/ml.rs:15:32 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn from_hwnd(hwnd: &'a HWND) -> Self { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetDC` in this scope [INFO] [stderr] --> src/ml.rs:19:26 [INFO] [stderr] | [INFO] [stderr] 19 | context: GetDC(*hwnd), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ReleaseDC` in this scope [INFO] [stderr] --> src/ml.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | ReleaseDC(*self.window, self.context); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/ml.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | type Target = HDC; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/ml.rs:42:21 [INFO] [stderr] | [INFO] [stderr] 42 | pub window: &'a HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/ml.rs:43:18 [INFO] [stderr] | [INFO] [stderr] 43 | pub context: HDC, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stderr] --> src/ml.rs:44:22 [INFO] [stderr] | [INFO] [stderr] 44 | pub paintstruct: PAINTSTRUCT, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/ml.rs:48:36 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn begin_paint(handle: &'a HWND) -> Self { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `BeginPaint` in this scope [INFO] [stderr] --> src/ml.rs:51:23 [INFO] [stderr] | [INFO] [stderr] 51 | let hdc = BeginPaint(*handle, &mut ps); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `EndPaint` in this scope [INFO] [stderr] --> src/ml.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 64 | EndPaint(*self.window, &mut self.paintstruct); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/ml.rs:70:19 [INFO] [stderr] | [INFO] [stderr] 70 | type Target = HDC; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_DONTCARE` in this scope [INFO] [stderr] --> src/font.rs:31:44 [INFO] [stderr] | [INFO] [stderr] 31 | FontWeight::DontCare => FW_DONTCARE, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_THIN` in this scope [INFO] [stderr] --> src/font.rs:32:44 [INFO] [stderr] | [INFO] [stderr] 32 | FontWeight::Thin => FW_THIN, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_EXTRALIGHT` in this scope [INFO] [stderr] --> src/font.rs:33:44 [INFO] [stderr] | [INFO] [stderr] 33 | FontWeight::ExtraLight => FW_EXTRALIGHT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_ULTRALIGHT` in this scope [INFO] [stderr] --> src/font.rs:34:44 [INFO] [stderr] | [INFO] [stderr] 34 | FontWeight::UltraLight => FW_ULTRALIGHT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_LIGHT` in this scope [INFO] [stderr] --> src/font.rs:35:44 [INFO] [stderr] | [INFO] [stderr] 35 | FontWeight::Light => FW_LIGHT, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_NORMAL` in this scope [INFO] [stderr] --> src/font.rs:36:44 [INFO] [stderr] | [INFO] [stderr] 36 | FontWeight::Normal => FW_NORMAL, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_REGULAR` in this scope [INFO] [stderr] --> src/font.rs:37:44 [INFO] [stderr] | [INFO] [stderr] 37 | FontWeight::Regular => FW_REGULAR, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_MEDIUM` in this scope [INFO] [stderr] --> src/font.rs:38:44 [INFO] [stderr] | [INFO] [stderr] 38 | FontWeight::Medium => FW_MEDIUM, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_SEMIBOLD` in this scope [INFO] [stderr] --> src/font.rs:39:44 [INFO] [stderr] | [INFO] [stderr] 39 | FontWeight::Semibold => FW_SEMIBOLD, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_DEMIBOLD` in this scope [INFO] [stderr] --> src/font.rs:40:44 [INFO] [stderr] | [INFO] [stderr] 40 | FontWeight::Demibold => FW_DEMIBOLD, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_BOLD` in this scope [INFO] [stderr] --> src/font.rs:41:44 [INFO] [stderr] | [INFO] [stderr] 41 | FontWeight::Bold => FW_BOLD, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_EXTRABOLD` in this scope [INFO] [stderr] --> src/font.rs:42:44 [INFO] [stderr] | [INFO] [stderr] 42 | FontWeight::ExtraBold => FW_EXTRABOLD, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_ULTRABOLD` in this scope [INFO] [stderr] --> src/font.rs:43:44 [INFO] [stderr] | [INFO] [stderr] 43 | FontWeight::UltraBold => FW_ULTRABOLD, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_HEAVY` in this scope [INFO] [stderr] --> src/font.rs:44:44 [INFO] [stderr] | [INFO] [stderr] 44 | FontWeight::Heavy => FW_HEAVY, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_BLACK` in this scope [INFO] [stderr] --> src/font.rs:45:44 [INFO] [stderr] | [INFO] [stderr] 45 | FontWeight::Black => FW_BLACK, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `ANSI_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:76:44 [INFO] [stderr] | [INFO] [stderr] 76 | CharSet::Ansi => ANSI_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BALTIC_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:77:44 [INFO] [stderr] | [INFO] [stderr] 77 | CharSet::Baltic => BALTIC_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CHINESEBIG5_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:78:44 [INFO] [stderr] | [INFO] [stderr] 78 | CharSet::ChineseBig5 => CHINESEBIG5_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DEFAULT_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:79:44 [INFO] [stderr] | [INFO] [stderr] 79 | CharSet::Default => DEFAULT_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EASTEUROPE_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:80:44 [INFO] [stderr] | [INFO] [stderr] 80 | CharSet::EastEurope => EASTEUROPE_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GB2312_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:81:44 [INFO] [stderr] | [INFO] [stderr] 81 | CharSet::Gb2312 => GB2312_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GREEK_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:82:44 [INFO] [stderr] | [INFO] [stderr] 82 | CharSet::Greek => GREEK_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HANGUL_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:83:44 [INFO] [stderr] | [INFO] [stderr] 83 | CharSet::Hangul => HANGUL_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MAC_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:84:44 [INFO] [stderr] | [INFO] [stderr] 84 | CharSet::Mac => MAC_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OEM_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:85:44 [INFO] [stderr] | [INFO] [stderr] 85 | CharSet::OEM => OEM_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RUSSIAN_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:86:44 [INFO] [stderr] | [INFO] [stderr] 86 | CharSet::Russian => RUSSIAN_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SHIFTJIS_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:87:44 [INFO] [stderr] | [INFO] [stderr] 87 | CharSet::ShiftJIS => SHIFTJIS_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SYMBOL_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:88:44 [INFO] [stderr] | [INFO] [stderr] 88 | CharSet::Symbol => SYMBOL_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TURKISH_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:89:44 [INFO] [stderr] | [INFO] [stderr] 89 | CharSet::Turkish => TURKISH_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `VIETNAMESE_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:90:44 [INFO] [stderr] | [INFO] [stderr] 90 | CharSet::Vietnamese => VIETNAMESE_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `JOHAB_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:91:44 [INFO] [stderr] | [INFO] [stderr] 91 | CharSet::Johab => JOHAB_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `ARABIC_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:92:44 [INFO] [stderr] | [INFO] [stderr] 92 | CharSet::Arabic => ARABIC_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HEBREW_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:93:44 [INFO] [stderr] | [INFO] [stderr] 93 | CharSet::Hebrew => HEBREW_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `THAI_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:94:44 [INFO] [stderr] | [INFO] [stderr] 94 | CharSet::Thai => THAI_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_CHARACTER_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:115:56 [INFO] [stderr] | [INFO] [stderr] 115 | OutputPrecision::Character => OUT_CHARACTER_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_DEFAULT_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:116:56 [INFO] [stderr] | [INFO] [stderr] 116 | OutputPrecision::Default => OUT_DEFAULT_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_DEVICE_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:117:56 [INFO] [stderr] | [INFO] [stderr] 117 | OutputPrecision::Device => OUT_DEVICE_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_OUTLINE_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:118:56 [INFO] [stderr] | [INFO] [stderr] 118 | OutputPrecision::Outline => OUT_OUTLINE_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_PS_ONLY_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:119:56 [INFO] [stderr] | [INFO] [stderr] 119 | OutputPrecision::PsOnly => OUT_PS_ONLY_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_RASTER_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:120:56 [INFO] [stderr] | [INFO] [stderr] 120 | OutputPrecision::Raster => OUT_RASTER_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_STRING_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:121:56 [INFO] [stderr] | [INFO] [stderr] 121 | OutputPrecision::String => OUT_STRING_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_STROKE_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:122:56 [INFO] [stderr] | [INFO] [stderr] 122 | OutputPrecision::Stroke => OUT_STROKE_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_TT_ONLY_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:123:56 [INFO] [stderr] | [INFO] [stderr] 123 | OutputPrecision::TrueTypeOnly => OUT_TT_ONLY_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_TT_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:124:56 [INFO] [stderr] | [INFO] [stderr] 124 | OutputPrecision::TrueType => OUT_TT_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLIP_CHARACTER_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:144:48 [INFO] [stderr] | [INFO] [stderr] 144 | ClipPrecision::Character => CLIP_CHARACTER_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLIP_DEFAULT_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:145:48 [INFO] [stderr] | [INFO] [stderr] 145 | ClipPrecision::Default => CLIP_DEFAULT_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLIP_DFA_DISABLE` in this scope [INFO] [stderr] --> src/font.rs:146:48 [INFO] [stderr] | [INFO] [stderr] 146 | ClipPrecision::DFADisable => CLIP_DFA_DISABLE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLIP_EMBEDDED` in this scope [INFO] [stderr] --> src/font.rs:147:48 [INFO] [stderr] | [INFO] [stderr] 147 | ClipPrecision::Embedded => CLIP_EMBEDDED, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLIP_LH_ANGLES` in this scope [INFO] [stderr] --> src/font.rs:148:48 [INFO] [stderr] | [INFO] [stderr] 148 | ClipPrecision::LHAngles => CLIP_LH_ANGLES, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLIP_MASK` in this scope [INFO] [stderr] --> src/font.rs:149:48 [INFO] [stderr] | [INFO] [stderr] 149 | ClipPrecision::Mask => CLIP_MASK, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLIP_STROKE_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:150:48 [INFO] [stderr] | [INFO] [stderr] 150 | ClipPrecision::Stroke => CLIP_STROKE_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLIP_TT_ALWAYS` in this scope [INFO] [stderr] --> src/font.rs:151:48 [INFO] [stderr] | [INFO] [stderr] 151 | ClipPrecision::TrueTypeAlways => CLIP_TT_ALWAYS, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `ANTIALIASED_QUALITY` in this scope [INFO] [stderr] --> src/font.rs:171:44 [INFO] [stderr] | [INFO] [stderr] 171 | FontQuality::AntiAliased => ANTIALIASED_QUALITY, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLEARTYPE_QUALITY` in this scope [INFO] [stderr] --> src/font.rs:172:44 [INFO] [stderr] | [INFO] [stderr] 172 | FontQuality::ClearType => CLEARTYPE_QUALITY, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DEFAULT_QUALITY` in this scope [INFO] [stderr] --> src/font.rs:173:44 [INFO] [stderr] | [INFO] [stderr] 173 | FontQuality::Default => DEFAULT_QUALITY, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DRAFT_QUALITY` in this scope [INFO] [stderr] --> src/font.rs:174:44 [INFO] [stderr] | [INFO] [stderr] 174 | FontQuality::Draft => DRAFT_QUALITY, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NONANTIALIASED_QUALITY` in this scope [INFO] [stderr] --> src/font.rs:175:44 [INFO] [stderr] | [INFO] [stderr] 175 | FontQuality::NonAntiAliased => NONANTIALIASED_QUALITY, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PROOF_QUALITY` in this scope [INFO] [stderr] --> src/font.rs:176:44 [INFO] [stderr] | [INFO] [stderr] 176 | FontQuality::Proof => PROOF_QUALITY, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/font.rs:244:41 [INFO] [stderr] | [INFO] [stderr] 244 | pub fn build(&self) -> Result { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/font.rs:247:43 [INFO] [stderr] | [INFO] [stderr] 247 | let italic = if self.italic { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/font.rs:247:51 [INFO] [stderr] | [INFO] [stderr] 247 | let italic = if self.italic { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/font.rs:247:66 [INFO] [stderr] | [INFO] [stderr] 247 | let italic = if self.italic { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/font.rs:247:75 [INFO] [stderr] | [INFO] [stderr] 247 | let italic = if self.italic { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/font.rs:248:49 [INFO] [stderr] | [INFO] [stderr] 248 | let underline = if self.underline { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/font.rs:248:57 [INFO] [stderr] | [INFO] [stderr] 248 | let underline = if self.underline { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/font.rs:248:72 [INFO] [stderr] | [INFO] [stderr] 248 | let underline = if self.underline { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/font.rs:248:81 [INFO] [stderr] | [INFO] [stderr] 248 | let underline = if self.underline { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/font.rs:249:49 [INFO] [stderr] | [INFO] [stderr] 249 | let strikeout = if self.strikeout { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/font.rs:249:57 [INFO] [stderr] | [INFO] [stderr] 249 | let strikeout = if self.strikeout { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/font.rs:249:72 [INFO] [stderr] | [INFO] [stderr] 249 | let strikeout = if self.strikeout { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/font.rs:249:81 [INFO] [stderr] | [INFO] [stderr] 249 | let strikeout = if self.strikeout { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateFontW` in this scope [INFO] [stderr] --> src/font.rs:251:26 [INFO] [stderr] | [INFO] [stderr] 251 | let handle = CreateFontW( [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetLastError` in this scope [INFO] [stderr] --> src/font.rs:268:21 [INFO] [stderr] | [INFO] [stderr] 268 | Err(GetLastError()) [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/font.rs:346:17 [INFO] [stderr] | [INFO] [stderr] 346 | pub struct Font(HFONT); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/font.rs:349:24 [INFO] [stderr] | [INFO] [stderr] 349 | pub fn new(handle: HFONT) -> Self { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/font.rs:355:19 [INFO] [stderr] | [INFO] [stderr] 355 | type Target = HFONT; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/font.rs:367:13 [INFO] [stderr] | [INFO] [stderr] 367 | DeleteObject(*handle as *mut c_void); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/font.rs:367:42 [INFO] [stderr] | [INFO] [stderr] 367 | DeleteObject(*handle as *mut c_void); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use bitflags::_core::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 1 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/controls/label.rs:51:28 [INFO] [stderr] | [INFO] [stderr] 51 | let old_font = SelectObject(**context, *font as *mut c_void); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/controls/label.rs:51:66 [INFO] [stderr] | [INFO] [stderr] 51 | let old_font = SelectObject(**context, *font as *mut c_void); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use bitflags::_core::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 1 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetTextColor` in this scope [INFO] [stderr] --> src/controls/label.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | SetTextColor(**context, self.foreground_color.to_int()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/controls/label.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | let mut rect = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetBkMode` in this scope [INFO] [stderr] --> src/controls/label.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | SetBkMode(**context, TRANSPARENT); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRANSPARENT` in this scope [INFO] [stderr] --> src/controls/label.rs:59:34 [INFO] [stderr] | [INFO] [stderr] 59 | SetBkMode(**context, TRANSPARENT); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DrawTextW` in this scope [INFO] [stderr] --> src/controls/label.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | DrawTextW(**context, text.as_ptr(), -1, &mut rect, DT_NOCLIP); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_NOCLIP` in this scope [INFO] [stderr] --> src/controls/label.rs:60:64 [INFO] [stderr] | [INFO] [stderr] 60 | DrawTextW(**context, text.as_ptr(), -1, &mut rect, DT_NOCLIP); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/controls/label.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | SelectObject(**context, old_font); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NMHDR` in this scope [INFO] [stderr] --> src/controls/label.rs:80:46 [INFO] [stderr] | [INFO] [stderr] 80 | fn handle_notify(&mut self, info: *const NMHDR) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/message.rs:6:30 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn send_message(hwnd: HWND, msg: T) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/message.rs:7:47 [INFO] [stderr] | [INFO] [stderr] 7 | let msg = Box::into_raw(Box::new(msg)) as LPARAM; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SendMessageW` in module `user32` [INFO] [stderr] --> src/message.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | unsafe {::user32::SendMessageW(hwnd, WM_APP, 0, msg)}; [INFO] [stderr] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stderr] --> src/message.rs:8:42 [INFO] [stderr] | [INFO] [stderr] 8 | unsafe {::user32::SendMessageW(hwnd, WM_APP, 0, msg)}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | style: UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/window.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | icon: HICON, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/window.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | icon_small: HICON, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stderr] --> src/window.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | cursor: HCURSOR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/window.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | background_brush: HBRUSH, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:46:37 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn register(self, instance: HINSTANCE) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/window.rs:55:31 [INFO] [stderr] | [INFO] [stderr] 55 | let mut wndclass: WNDCLASSEXW = ::std::mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/ml.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | window: &'a HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/window.rs:56:53 [INFO] [stderr] | [INFO] [stderr] 56 | wndclass.cbSize = ::std::mem::size_of::() as UINT; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/ml.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | context: HDC, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/ml.rs:15:32 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn from_hwnd(hwnd: &'a HWND) -> Self { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:56:71 [INFO] [stderr] | [INFO] [stderr] error[E0425]: cannot find function `GetDC` in this scope [INFO] [stderr] --> src/ml.rs:19:26 [INFO] [stderr] | [INFO] [stderr] 19 | context: GetDC(*hwnd), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] 56 | wndclass.cbSize = ::std::mem::size_of::() as UINT; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/window.rs:66:13 [INFO] [stderr] error[E0425]: cannot find function `ReleaseDC` in this scope [INFO] [stderr] --> src/ml.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | ReleaseDC(*self.window, self.context); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/ml.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | type Target = HDC; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] 66 | RegisterClassExW(&wndclass); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/ml.rs:42:21 [INFO] [stderr] | [INFO] [stderr] 42 | pub window: &'a HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:82:13 [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/ml.rs:43:18 [INFO] [stderr] | [INFO] [stderr] 43 | pub context: HDC, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stderr] --> src/ml.rs:44:22 [INFO] [stderr] | [INFO] [stderr] 44 | pub paintstruct: PAINTSTRUCT, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] 82 | parent: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/ml.rs:48:36 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn begin_paint(handle: &'a HWND) -> Self { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/window.rs:83:11 [INFO] [stderr] error[E0425]: cannot find function `BeginPaint` in this scope [INFO] [stderr] --> src/ml.rs:51:23 [INFO] [stderr] | [INFO] [stderr] 51 | let hdc = BeginPaint(*handle, &mut ps); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] 83 | menu: HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] error[E0425]: cannot find function `EndPaint` in this scope [INFO] [stderr] --> src/ml.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 64 | EndPaint(*self.window, &mut self.paintstruct); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] --> src/window.rs:84:16 [INFO] [stderr] | [INFO] [stderr] 84 | hinstance: HINSTANCE, [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/ml.rs:70:19 [INFO] [stderr] | [INFO] [stderr] 70 | type Target = HDC; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_DONTCARE` in this scope [INFO] [stderr] --> src/font.rs:31:44 [INFO] [stderr] | [INFO] [stderr] 31 | FontWeight::DontCare => FW_DONTCARE, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/window.rs:85:15 [INFO] [stderr] | [INFO] [stderr] 85 | lp_param: LPVOID, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_THIN` in this scope [INFO] [stderr] --> src/font.rs:32:44 [INFO] [stderr] | [INFO] [stderr] 32 | FontWeight::Thin => FW_THIN, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_EXTRALIGHT` in this scope [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:89:47 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn get_window_from_handle<'a>(handle: &'a HWND) -> &'a Box { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/window.rs:91:19 [INFO] [stderr] --> src/font.rs:33:44 [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] 91 | let ptr = GetWindowLongPtrW(*handle, GWLP_USERDATA) as *mut Box; [INFO] [stderr] 33 | FontWeight::ExtraLight => FW_EXTRALIGHT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/window.rs:91:46 [INFO] [stderr] | [INFO] [stderr] 91 | let ptr = GetWindowLongPtrW(*handle, GWLP_USERDATA) as *mut Box; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:99:55 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn get_window_from_handle_mut<'a>(handle: &'a mut HWND) -> &'a mut Box { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_ULTRALIGHT` in this scope [INFO] [stderr] --> src/font.rs:34:44 [INFO] [stderr] | [INFO] [stderr] 34 | FontWeight::UltraLight => FW_ULTRALIGHT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_LIGHT` in this scope [INFO] [stderr] --> src/font.rs:35:44 [INFO] [stderr] | [INFO] [stderr] 35 | FontWeight::Light => FW_LIGHT, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_NORMAL` in this scope [INFO] [stderr] --> src/font.rs:36:44 [INFO] [stderr] | [INFO] [stderr] 36 | FontWeight::Normal => FW_NORMAL, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_REGULAR` in this scope [INFO] [stderr] --> src/font.rs:37:44 [INFO] [stderr] | [INFO] [stderr] 37 | FontWeight::Regular => FW_REGULAR, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/window.rs:101:19 [INFO] [stderr] | [INFO] [stderr] 101 | let ptr = GetWindowLongPtrW(*handle, GWLP_USERDATA) as *mut Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] error[E0425]: cannot find value `FW_MEDIUM` in this scope [INFO] [stderr] --> src/window.rs:101:46 [INFO] [stderr] | [INFO] [stderr] --> src/font.rs:38:44 [INFO] [stderr] 101 | let ptr = GetWindowLongPtrW(*handle, GWLP_USERDATA) as *mut Box; [INFO] [stderr] | [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] 38 | FontWeight::Medium => FW_MEDIUM, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_SEMIBOLD` in this scope [INFO] [stderr] --> src/font.rs:39:44 [INFO] [stderr] | [INFO] [stderr] 39 | FontWeight::Semibold => FW_SEMIBOLD, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_DEMIBOLD` in this scope [INFO] [stderr] --> src/font.rs:40:44 [INFO] [stderr] | [INFO] [stderr] 40 | FontWeight::Demibold => FW_DEMIBOLD, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:107:26 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn new(instance: HINSTANCE) -> Self { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_BOLD` in this scope [INFO] [stderr] --> src/font.rs:41:44 [INFO] [stderr] | [INFO] [stderr] 41 | FontWeight::Bold => FW_BOLD, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/window.rs:113:20 [INFO] [stderr] | [INFO] [stderr] 113 | pos_x: CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_EXTRABOLD` in this scope [INFO] [stderr] --> src/font.rs:42:44 [INFO] [stderr] | [INFO] [stderr] 42 | FontWeight::ExtraBold => FW_EXTRABOLD, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] error[E0425]: cannot find value `FW_ULTRABOLD` in this scope [INFO] [stderr] --> src/font.rs:43:44 [INFO] [stderr] | [INFO] [stderr] 43 | FontWeight::UltraBold => FW_ULTRABOLD, [INFO] [stderr] --> src/window.rs:114:20 [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] 114 | pos_y: CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_HEAVY` in this scope [INFO] [stderr] --> src/font.rs:44:44 [INFO] [stderr] | [INFO] [stderr] 44 | FontWeight::Heavy => FW_HEAVY, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] [INFO] [stderr] --> src/window.rs:115:20 [INFO] [stderr] | [INFO] [stderr] 115 | width: CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FW_BLACK` in this scope [INFO] [stderr] --> src/font.rs:45:44 [INFO] [stderr] | [INFO] [stderr] 45 | FontWeight::Black => FW_BLACK, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/window.rs:116:21 [INFO] [stderr] | [INFO] [stderr] 116 | height: CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `ANSI_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:76:44 [INFO] [stderr] | [INFO] [stderr] 76 | CharSet::Ansi => ANSI_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BALTIC_CHARSET` in this scope [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:125:34 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn build(self) -> Result { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] --> src/font.rs:77:44 [INFO] [stderr] | [INFO] [stderr] 77 | CharSet::Baltic => BALTIC_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CHINESEBIG5_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:78:44 [INFO] [stderr] | [INFO] [stderr] 78 | CharSet::ChineseBig5 => CHINESEBIG5_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/window.rs:125:40 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn build(self) -> Result { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DEFAULT_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:79:44 [INFO] [stderr] | [INFO] [stderr] 79 | CharSet::Default => DEFAULT_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/window.rs:130:26 [INFO] [stderr] | [INFO] [stderr] 130 | let handle = CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EASTEUROPE_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:80:44 [INFO] [stderr] | [INFO] [stderr] 80 | CharSet::EastEurope => EASTEUROPE_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/window.rs:142:46 [INFO] [stderr] | [INFO] [stderr] 142 | Box::into_raw(wnd_struct) as LPVOID [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find value `GB2312_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:81:44 [INFO] [stderr] | [INFO] [stderr] 81 | CharSet::Gb2312 => GB2312_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GREEK_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:82:44 [INFO] [stderr] | [INFO] [stderr] 82 | CharSet::Greek => GREEK_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find function `GetLastError` in this scope [INFO] [stderr] --> src/window.rs:146:21 [INFO] [stderr] | [INFO] [stderr] 146 | Err(GetLastError()) [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HANGUL_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:83:44 [INFO] [stderr] | [INFO] [stderr] 83 | CharSet::Hangul => HANGUL_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MAC_CHARSET` in this scope [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:174:41 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn set_parent(mut self, parent: HWND) -> Self { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] --> src/font.rs:84:44 [INFO] [stderr] | [INFO] [stderr] 84 | CharSet::Mac => MAC_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OEM_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:85:44 [INFO] [stderr] | [INFO] [stderr] 85 | CharSet::OEM => OEM_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/window.rs:179:37 [INFO] [stderr] | [INFO] [stderr] 179 | pub fn set_menu(mut self, menu: HMENU) -> Self { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RUSSIAN_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:86:44 [INFO] [stderr] | [INFO] [stderr] 86 | CharSet::Russian => RUSSIAN_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/window.rs:184:45 [INFO] [stderr] | [INFO] [stderr] 184 | pub fn set_lp_param(mut self, lp_param: LPVOID) -> Self { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find value `SHIFTJIS_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:87:44 [INFO] [stderr] | [INFO] [stderr] 87 | CharSet::ShiftJIS => SHIFTJIS_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SYMBOL_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:88:44 [INFO] [stderr] | [INFO] [stderr] 88 | CharSet::Symbol => SYMBOL_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/window.rs:193:36 [INFO] [stderr] | [INFO] [stderr] 193 | fn default_extended_style() -> DWORD { WS_EX_CLIENTEDGE } [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TURKISH_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:89:44 [INFO] [stderr] | [INFO] [stderr] 89 | CharSet::Turkish => TURKISH_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_EX_CLIENTEDGE` in this scope [INFO] [stderr] --> src/window.rs:193:44 [INFO] [stderr] | [INFO] [stderr] 193 | fn default_extended_style() -> DWORD { WS_EX_CLIENTEDGE } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find value `VIETNAMESE_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:90:44 [INFO] [stderr] | [INFO] [stderr] 90 | CharSet::Vietnamese => VIETNAMESE_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `JOHAB_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:91:44 [INFO] [stderr] | [INFO] [stderr] 91 | CharSet::Johab => JOHAB_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:194:27 [INFO] [stderr] | [INFO] [stderr] 194 | fn default_style() -> UINT { WS_TILEDWINDOW } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `ARABIC_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:92:44 [INFO] [stderr] | [INFO] [stderr] 92 | CharSet::Arabic => ARABIC_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HEBREW_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:93:44 [INFO] [stderr] | [INFO] [stderr] 93 | CharSet::Hebrew => HEBREW_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_TILEDWINDOW` in this scope [INFO] [stderr] --> src/window.rs:194:34 [INFO] [stderr] | [INFO] [stderr] 194 | fn default_style() -> UINT { WS_TILEDWINDOW } [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `THAI_CHARSET` in this scope [INFO] [stderr] --> src/font.rs:94:44 [INFO] [stderr] | [INFO] [stderr] 94 | CharSet::Thai => THAI_CHARSET, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_CHARACTER_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:115:56 [INFO] [stderr] | [INFO] [stderr] 115 | OutputPrecision::Character => OUT_CHARACTER_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:195:33 [INFO] [stderr] | [INFO] [stderr] 195 | fn default_class_style() -> UINT { CS_DROPSHADOW | CS_HREDRAW | CS_VREDRAW } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_DEFAULT_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:116:56 [INFO] [stderr] | [INFO] [stderr] 116 | OutputPrecision::Default => OUT_DEFAULT_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_DROPSHADOW` in this scope [INFO] [stderr] --> src/window.rs:195:40 [INFO] [stderr] | [INFO] [stderr] 195 | fn default_class_style() -> UINT { CS_DROPSHADOW | CS_HREDRAW | CS_VREDRAW } [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_DEVICE_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:117:56 [INFO] [stderr] | [INFO] [stderr] 117 | OutputPrecision::Device => OUT_DEVICE_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_OUTLINE_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:118:56 [INFO] [stderr] | [INFO] [stderr] 118 | OutputPrecision::Outline => OUT_OUTLINE_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] [INFO] [stderr] --> src/window.rs:195:56 [INFO] [stderr] | [INFO] [stderr] 195 | fn default_class_style() -> UINT { CS_DROPSHADOW | CS_HREDRAW | CS_VREDRAW } [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_PS_ONLY_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:119:56 [INFO] [stderr] | [INFO] [stderr] 119 | OutputPrecision::PsOnly => OUT_PS_ONLY_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/window.rs:195:69 [INFO] [stderr] | [INFO] [stderr] 195 | fn default_class_style() -> UINT { CS_DROPSHADOW | CS_HREDRAW | CS_VREDRAW } [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find value `OUT_RASTER_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:120:56 [INFO] [stderr] | [INFO] [stderr] 120 | OutputPrecision::Raster => OUT_RASTER_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_STRING_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:121:56 [INFO] [stderr] | [INFO] [stderr] 121 | OutputPrecision::String => OUT_STRING_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/window.rs:196:26 [INFO] [stderr] | [INFO] [stderr] 196 | fn default_icon() -> HICON { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find value `OUT_STROKE_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:122:56 [INFO] [stderr] | [INFO] [stderr] 122 | OutputPrecision::Stroke => OUT_STROKE_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_TT_ONLY_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:123:56 [INFO] [stderr] | [INFO] [stderr] 123 | OutputPrecision::TrueTypeOnly => OUT_TT_ONLY_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadIconW` in this scope [INFO] [stderr] --> src/window.rs:197:18 [INFO] [stderr] | [INFO] [stderr] 197 | unsafe { LoadIconW(::std::ptr::null_mut(), IDI_APPLICATION) } [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OUT_TT_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:124:56 [INFO] [stderr] | [INFO] [stderr] 124 | OutputPrecision::TrueType => OUT_TT_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stderr] --> src/window.rs:197:52 [INFO] [stderr] | [INFO] [stderr] 197 | unsafe { LoadIconW(::std::ptr::null_mut(), IDI_APPLICATION) } [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find value `CLIP_CHARACTER_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:144:48 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] 144 | ClipPrecision::Character => CLIP_CHARACTER_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLIP_DEFAULT_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:145:48 [INFO] [stderr] | [INFO] [stderr] 145 | ClipPrecision::Default => CLIP_DEFAULT_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/window.rs:199:32 [INFO] [stderr] | [INFO] [stderr] 199 | fn default_icon_small() -> HICON { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLIP_DFA_DISABLE` in this scope [INFO] [stderr] --> src/font.rs:146:48 [INFO] [stderr] | [INFO] [stderr] 146 | ClipPrecision::DFADisable => CLIP_DFA_DISABLE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadIconW` in this scope [INFO] [stderr] error[E0425]: cannot find value `CLIP_EMBEDDED` in this scope [INFO] [stderr] --> src/font.rs:147:48 [INFO] [stderr] | [INFO] [stderr] 147 | ClipPrecision::Embedded => CLIP_EMBEDDED, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] --> src/window.rs:200:18 [INFO] [stderr] | [INFO] [stderr] 200 | unsafe { LoadIconW(::std::ptr::null_mut(), IDI_APPLICATION) } [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLIP_LH_ANGLES` in this scope [INFO] [stderr] --> src/font.rs:148:48 [INFO] [stderr] | [INFO] [stderr] 148 | ClipPrecision::LHAngles => CLIP_LH_ANGLES, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stderr] error[E0425]: cannot find value `CLIP_MASK` in this scope [INFO] [stderr] --> src/font.rs:149:48 [INFO] [stderr] | [INFO] [stderr] 149 | ClipPrecision::Mask => CLIP_MASK, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] --> src/window.rs:200:52 [INFO] [stderr] | [INFO] [stderr] 200 | unsafe { LoadIconW(::std::ptr::null_mut(), IDI_APPLICATION) } [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLIP_STROKE_PRECIS` in this scope [INFO] [stderr] --> src/font.rs:150:48 [INFO] [stderr] | [INFO] [stderr] 150 | ClipPrecision::Stroke => CLIP_STROKE_PRECIS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/window.rs:203:38 [INFO] [stderr] | [INFO] [stderr] 203 | fn default_background_brush() -> HBRUSH { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find value `CLIP_TT_ALWAYS` in this scope [INFO] [stderr] --> src/font.rs:151:48 [INFO] [stderr] | [INFO] [stderr] 151 | ClipPrecision::TrueTypeAlways => CLIP_TT_ALWAYS, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `ANTIALIASED_QUALITY` in this scope [INFO] [stderr] --> src/font.rs:171:44 [INFO] [stderr] | [INFO] [stderr] 171 | FontQuality::AntiAliased => ANTIALIASED_QUALITY, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in module `gdi32` [INFO] [stderr] --> src/window.rs:204:27 [INFO] [stderr] | [INFO] [stderr] 204 | unsafe { ::gdi32::CreateSolidBrush(Color(0, 255, 255, 255).to_int()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `gdi32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLEARTYPE_QUALITY` in this scope [INFO] [stderr] --> src/font.rs:172:44 [INFO] [stderr] | [INFO] [stderr] 172 | FontQuality::ClearType => CLEARTYPE_QUALITY, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DEFAULT_QUALITY` in this scope [INFO] [stderr] --> src/font.rs:173:44 [INFO] [stderr] | [INFO] [stderr] 173 | FontQuality::Default => DEFAULT_QUALITY, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stderr] --> src/window.rs:206:28 [INFO] [stderr] | [INFO] [stderr] 206 | fn default_cursor() -> HCURSOR { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DRAFT_QUALITY` in this scope [INFO] [stderr] --> src/font.rs:174:44 [INFO] [stderr] | [INFO] [stderr] 174 | FontQuality::Draft => DRAFT_QUALITY, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadCursorW` in this scope [INFO] [stderr] --> src/window.rs:207:18 [INFO] [stderr] | [INFO] [stderr] 207 | unsafe { LoadCursorW(::std::ptr::null_mut(), IDC_ARROW) } [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NONANTIALIASED_QUALITY` in this scope [INFO] [stderr] --> src/font.rs:175:44 [INFO] [stderr] | [INFO] [stderr] 175 | FontQuality::NonAntiAliased => NONANTIALIASED_QUALITY, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PROOF_QUALITY` in this scope [INFO] [stderr] --> src/font.rs:176:44 [INFO] [stderr] | [INFO] [stderr] 176 | FontQuality::Proof => PROOF_QUALITY, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/window.rs:207:54 [INFO] [stderr] | [INFO] [stderr] 207 | unsafe { LoadCursorW(::std::ptr::null_mut(), IDC_ARROW) } [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/font.rs:244:41 [INFO] [stderr] | [INFO] [stderr] 244 | pub fn build(&self) -> Result { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:214:39 [INFO] [stderr] | [INFO] [stderr] 214 | fn init_handle(&mut self, handle: HWND); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/font.rs:247:43 [INFO] [stderr] | [INFO] [stderr] 247 | let italic = if self.italic { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/font.rs:247:51 [INFO] [stderr] | [INFO] [stderr] 247 | let italic = if self.italic { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:223:17 [INFO] [stderr] | [INFO] [stderr] 223 | handle: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/font.rs:247:66 [INFO] [stderr] | [INFO] [stderr] 247 | let italic = if self.italic { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:230:32 [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] | [INFO] [stderr] --> src/font.rs:247:75 [INFO] [stderr] 230 | pub fn from_handle(handle: HWND) -> Self { [INFO] [stderr] | [INFO] [stderr] 247 | let italic = if self.italic { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/font.rs:248:49 [INFO] [stderr] | [INFO] [stderr] 248 | let underline = if self.underline { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/font.rs:248:57 [INFO] [stderr] | [INFO] [stderr] error[E0425]: cannot find function `ShowWindow` in this scope [INFO] [stderr] 248 | let underline = if self.underline { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] --> src/window.rs:245:13 [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] 245 | ShowWindow(self.handle, cmd_show); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/font.rs:248:72 [INFO] [stderr] | [INFO] [stderr] 248 | let underline = if self.underline { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `UpdateWindow` in this scope [INFO] [stderr] --> src/window.rs:251:13 [INFO] [stderr] | [INFO] [stderr] 251 | UpdateWindow(self.handle); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/font.rs:248:81 [INFO] [stderr] | [INFO] [stderr] 248 | let underline = if self.underline { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:284:49 [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] | [INFO] [stderr] --> src/font.rs:249:49 [INFO] [stderr] | [INFO] [stderr] 284 | unsafe extern "system" fn window_proc(mut hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stderr] 249 | let strikeout = if self.strikeout { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/font.rs:249:57 [INFO] [stderr] | [INFO] [stderr] 249 | let strikeout = if self.strikeout { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:284:60 [INFO] [stderr] | [INFO] [stderr] 284 | unsafe extern "system" fn window_proc(mut hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/font.rs:249:72 [INFO] [stderr] | [INFO] [stderr] 249 | let strikeout = if self.strikeout { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/window.rs:284:75 [INFO] [stderr] | [INFO] [stderr] 284 | unsafe extern "system" fn window_proc(mut hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] --> src/font.rs:249:81 [INFO] [stderr] | [INFO] [stderr] 249 | let strikeout = if self.strikeout { TRUE as DWORD } else { FALSE as DWORD }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateFontW` in this scope [INFO] [stderr] --> src/font.rs:251:26 [INFO] [stderr] | [INFO] [stderr] 251 | let handle = CreateFontW( [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/window.rs:284:92 [INFO] [stderr] | [INFO] [stderr] 284 | unsafe extern "system" fn window_proc(mut hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetLastError` in this scope [INFO] [stderr] --> src/font.rs:268:21 [INFO] [stderr] | [INFO] [stderr] 268 | Err(GetLastError()) [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/font.rs:346:17 [INFO] [stderr] | [INFO] [stderr] 346 | pub struct Font(HFONT); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/window.rs:284:103 [INFO] [stderr] | [INFO] [stderr] 284 | unsafe extern "system" fn window_proc(mut hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/font.rs:349:24 [INFO] [stderr] | [INFO] [stderr] 349 | pub fn new(handle: HFONT) -> Self { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CREATESTRUCTW` in this scope [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/font.rs:355:19 [INFO] [stderr] | [INFO] [stderr] 355 | type Target = HFONT; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] --> src/window.rs:288:38 [INFO] [stderr] | [INFO] [stderr] 288 | let st = l_param as *mut CREATESTRUCTW; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DeleteObject` in this scope [INFO] [stderr] --> src/font.rs:367:13 [INFO] [stderr] | [INFO] [stderr] 367 | DeleteObject(*handle as *mut c_void); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/window.rs:294:13 [INFO] [stderr] | [INFO] [stderr] 294 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, Box::into_raw(wnd) as LONG_PTR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/font.rs:367:42 [INFO] [stderr] | [INFO] [stderr] 367 | DeleteObject(*handle as *mut c_void); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use bitflags::_core::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 1 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/window.rs:294:37 [INFO] [stderr] | [INFO] [stderr] 294 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, Box::into_raw(wnd) as LONG_PTR); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/controls/label.rs:51:28 [INFO] [stderr] | [INFO] [stderr] 51 | let old_font = SelectObject(**context, *font as *mut c_void); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stderr] --> src/window.rs:294:74 [INFO] [stderr] | [INFO] [stderr] 294 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, Box::into_raw(wnd) as LONG_PTR); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/controls/label.rs:51:66 [INFO] [stderr] | [INFO] [stderr] 51 | let old_font = SelectObject(**context, *font as *mut c_void); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find function `DestroyWindow` in this scope [INFO] [stderr] --> src/window.rs:300:13 [INFO] [stderr] | [INFO] [stderr] 300 | DestroyWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use bitflags::_core::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 1 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetTextColor` in this scope [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/window.rs:304:13 [INFO] [stderr] | [INFO] [stderr] 304 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] --> src/controls/label.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | SetTextColor(**context, self.foreground_color.to_int()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/controls/label.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | let mut rect = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/window.rs:310:16 [INFO] [stderr] | [INFO] [stderr] 310 | msg => DefWindowProcW(hwnd, msg, w_param, l_param) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:42:39 [INFO] [stderr] | [INFO] [stderr] 42 | fn init_handle(&mut self, handle: HWND) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find function `SetBkMode` in this scope [INFO] [stderr] --> src/controls/label.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | SetBkMode(**context, TRANSPARENT); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:79:25 [INFO] [stderr] | [INFO] [stderr] 79 | let modhandle = GetModuleHandleW(std::ptr::null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRANSPARENT` in this scope [INFO] [stderr] --> src/controls/label.rs:59:34 [INFO] [stderr] | [INFO] [stderr] 59 | SetBkMode(**context, TRANSPARENT); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stderr] --> src/main.rs:80:72 [INFO] [stderr] | [INFO] [stderr] 80 | WinMain(modhandle, std::ptr::null_mut(), std::ptr::null_mut(), SW_SHOW); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:85:50 [INFO] [stderr] | [INFO] [stderr] 85 | pub unsafe extern "system" fn WinMain(hinstance: HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find function `DrawTextW` in this scope [INFO] [stderr] --> src/controls/label.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | DrawTextW(**context, text.as_ptr(), -1, &mut rect, DT_NOCLIP); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:86:53 [INFO] [stderr] | [INFO] [stderr] 86 | prevInstance: HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DT_NOCLIP` in this scope [INFO] [stderr] --> src/controls/label.rs:60:64 [INFO] [stderr] | [INFO] [stderr] 60 | DrawTextW(**context, text.as_ptr(), -1, &mut rect, DT_NOCLIP); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stderr] --> src/main.rs:87:48 [INFO] [stderr] | [INFO] [stderr] 87 | cmdLine: LPSTR, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ShowWindow` in this scope [INFO] [stderr] --> src/main.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | ShowWindow(hwnd, cmdShow); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SelectObject` in this scope [INFO] [stderr] --> src/controls/label.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | SelectObject(**context, old_font); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find function `UpdateWindow` in this scope [INFO] [stderr] --> src/main.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | UpdateWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:106:18 [INFO] [stderr] | [INFO] [stderr] 106 | let mut msg: MSG = std::mem::zeroed(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NMHDR` in this scope [INFO] [stderr] --> src/controls/label.rs:80:46 [INFO] [stderr] | [INFO] [stderr] 80 | fn handle_notify(&mut self, info: *const NMHDR) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find function `GetMessageW` in this scope [INFO] [stderr] --> src/main.rs:107:11 [INFO] [stderr] | [INFO] [stderr] 107 | while GetMessageW(&mut msg, std::ptr::null_mut(), 0, 0) > 0 { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TranslateMessage` in this scope [INFO] [stderr] --> src/main.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 108 | TranslateMessage(&mut msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/message.rs:6:30 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn send_message(hwnd: HWND, msg: T) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find function `DispatchMessageW` in this scope [INFO] [stderr] --> src/main.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | DispatchMessageW(&mut msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/message.rs:7:47 [INFO] [stderr] | [INFO] [stderr] 7 | let msg = Box::into_raw(Box::new(msg)) as LPARAM; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] --> src/main.rs:120:27 [INFO] [stderr] | [INFO] [stderr] 120 | fn destroy_window(handle: HWND) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/main.rs:122:23 [INFO] [stderr] | [INFO] [stderr] 122 | Box::from_raw(GetWindowLongPtrW(handle, GWLP_USERDATA) as *mut Box) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SendMessageW` in module `user32` [INFO] [stderr] --> src/message.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | unsafe {::user32::SendMessageW(hwnd, WM_APP, 0, msg)}; [INFO] [stderr] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/main.rs:122:49 [INFO] [stderr] | [INFO] [stderr] 122 | Box::from_raw(GetWindowLongPtrW(handle, GWLP_USERDATA) as *mut Box) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:128:45 [INFO] [stderr] | [INFO] [stderr] 128 | unsafe extern "system" fn wndProc(mut hwnd: HWND, msg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stderr] --> src/message.rs:8:42 [INFO] [stderr] | [INFO] [stderr] 8 | unsafe {::user32::SendMessageW(hwnd, WM_APP, 0, msg)}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:128:56 [INFO] [stderr] | [INFO] [stderr] 128 | unsafe extern "system" fn wndProc(mut hwnd: HWND, msg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:128:70 [INFO] [stderr] | [INFO] [stderr] 128 | unsafe extern "system" fn wndProc(mut hwnd: HWND, msg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | style: UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:128:86 [INFO] [stderr] | [INFO] [stderr] 128 | unsafe extern "system" fn wndProc(mut hwnd: HWND, msg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:128:97 [INFO] [stderr] | [INFO] [stderr] 128 | unsafe extern "system" fn wndProc(mut hwnd: HWND, msg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/window.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | icon: HICON, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CREATESTRUCTW` in this scope [INFO] [stderr] --> src/main.rs:132:37 [INFO] [stderr] | [INFO] [stderr] 132 | let st = lParam as *mut CREATESTRUCTW; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/window.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | icon_small: HICON, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/main.rs:138:13 [INFO] [stderr] | [INFO] [stderr] 138 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, Box::into_raw(wnd) as LONG_PTR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/main.rs:138:37 [INFO] [stderr] | [INFO] [stderr] 138 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, Box::into_raw(wnd) as LONG_PTR); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stderr] --> src/window.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | cursor: HCURSOR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stderr] --> src/main.rs:138:74 [INFO] [stderr] | [INFO] [stderr] 138 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, Box::into_raw(wnd) as LONG_PTR); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DestroyWindow` in this scope [INFO] [stderr] --> src/main.rs:144:13 [INFO] [stderr] | [INFO] [stderr] 144 | DestroyWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `destroy_window` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/window.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | background_brush: HBRUSH, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 149 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:156:16 [INFO] [stderr] | [INFO] [stderr] 156 | msg => DefWindowProcW(hwnd, msg, wParam, lParam) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:46:37 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn register(self, instance: HINSTANCE) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/window.rs:55:31 [INFO] [stderr] | [INFO] [stderr] 55 | let mut wndclass: WNDCLASSEXW = ::std::mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/window.rs:56:53 [INFO] [stderr] | [INFO] [stderr] 56 | wndclass.cbSize = ::std::mem::size_of::() as UINT; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:56:71 [INFO] [stderr] | [INFO] [stderr] 56 | wndclass.cbSize = ::std::mem::size_of::() as UINT; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/window.rs:66:13 [INFO] [stderr] | [INFO] [stderr] 66 | RegisterClassExW(&wndclass); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | parent: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/window.rs:83:11 [INFO] [stderr] | [INFO] [stderr] 83 | menu: HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:84:16 [INFO] [stderr] | [INFO] [stderr] 84 | hinstance: HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/window.rs:85:15 [INFO] [stderr] | [INFO] [stderr] 85 | lp_param: LPVOID, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:89:47 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn get_window_from_handle<'a>(handle: &'a HWND) -> &'a Box { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/window.rs:91:19 [INFO] [stderr] | [INFO] [stderr] 91 | let ptr = GetWindowLongPtrW(*handle, GWLP_USERDATA) as *mut Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/window.rs:91:46 [INFO] [stderr] | [INFO] [stderr] 91 | let ptr = GetWindowLongPtrW(*handle, GWLP_USERDATA) as *mut Box; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:99:55 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn get_window_from_handle_mut<'a>(handle: &'a mut HWND) -> &'a mut Box { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/window.rs:101:19 [INFO] [stderr] | [INFO] [stderr] 101 | let ptr = GetWindowLongPtrW(*handle, GWLP_USERDATA) as *mut Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/window.rs:101:46 [INFO] [stderr] | [INFO] [stderr] 101 | let ptr = GetWindowLongPtrW(*handle, GWLP_USERDATA) as *mut Box; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/window.rs:107:26 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn new(instance: HINSTANCE) -> Self { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/window.rs:113:20 [INFO] [stderr] | [INFO] [stderr] 113 | pos_x: CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/window.rs:114:20 [INFO] [stderr] | [INFO] [stderr] 114 | pos_y: CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/window.rs:115:20 [INFO] [stderr] | [INFO] [stderr] 115 | width: CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/window.rs:116:21 [INFO] [stderr] | [INFO] [stderr] 116 | height: CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:125:34 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn build(self) -> Result { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/window.rs:125:40 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn build(self) -> Result { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/window.rs:130:26 [INFO] [stderr] | [INFO] [stderr] 130 | let handle = CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/window.rs:142:46 [INFO] [stderr] | [INFO] [stderr] 142 | Box::into_raw(wnd_struct) as LPVOID [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetLastError` in this scope [INFO] [stderr] --> src/window.rs:146:21 [INFO] [stderr] | [INFO] [stderr] 146 | Err(GetLastError()) [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:174:41 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn set_parent(mut self, parent: HWND) -> Self { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/window.rs:179:37 [INFO] [stderr] | [INFO] [stderr] 179 | pub fn set_menu(mut self, menu: HMENU) -> Self { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/window.rs:184:45 [INFO] [stderr] | [INFO] [stderr] 184 | pub fn set_lp_param(mut self, lp_param: LPVOID) -> Self { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/window.rs:193:36 [INFO] [stderr] | [INFO] [stderr] 193 | fn default_extended_style() -> DWORD { WS_EX_CLIENTEDGE } [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[macro_use] extern crate bitflags; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_EX_CLIENTEDGE` in this scope [INFO] [stderr] --> src/window.rs:193:44 [INFO] [stderr] | [INFO] [stderr] 193 | fn default_extended_style() -> DWORD { WS_EX_CLIENTEDGE } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/ml.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/ml.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:194:27 [INFO] [stderr] | [INFO] [stderr] 194 | fn default_style() -> UINT { WS_TILEDWINDOW } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_TILEDWINDOW` in this scope [INFO] [stderr] --> src/window.rs:194:34 [INFO] [stderr] | [INFO] [stderr] 194 | fn default_style() -> UINT { WS_TILEDWINDOW } [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/font.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `gdi32::*` [INFO] [stderr] --> src/font.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use gdi32::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:195:33 [INFO] [stderr] | [INFO] [stderr] 195 | fn default_class_style() -> UINT { CS_DROPSHADOW | CS_HREDRAW | CS_VREDRAW } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `kernel32::*` [INFO] [stderr] --> src/font.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use kernel32::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `wio::wide::*` [INFO] [stderr] --> src/font.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use wio::wide::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_DROPSHADOW` in this scope [INFO] [stderr] --> src/window.rs:195:40 [INFO] [stderr] | [INFO] [stderr] 195 | fn default_class_style() -> UINT { CS_DROPSHADOW | CS_HREDRAW | CS_VREDRAW } [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/window.rs:195:56 [INFO] [stderr] | [INFO] [stderr] 195 | fn default_class_style() -> UINT { CS_DROPSHADOW | CS_HREDRAW | CS_VREDRAW } [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/window.rs:195:69 [INFO] [stderr] | [INFO] [stderr] 195 | fn default_class_style() -> UINT { CS_DROPSHADOW | CS_HREDRAW | CS_VREDRAW } [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/controls/label.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/controls/label.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `gdi32::*` [INFO] [stderr] --> src/controls/label.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use gdi32::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/window.rs:196:26 [INFO] [stderr] | [INFO] [stderr] 196 | fn default_icon() -> HICON { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: unused import: `wio::wide::*` [INFO] [stderr] --> src/controls/label.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use wio::wide::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadIconW` in this scope [INFO] [stderr] --> src/window.rs:197:18 [INFO] [stderr] | [INFO] [stderr] 197 | unsafe { LoadIconW(::std::ptr::null_mut(), IDI_APPLICATION) } [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `::winapi::*` [INFO] [stderr] --> src/message.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use ::winapi::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stderr] --> src/window.rs:197:52 [INFO] [stderr] | [INFO] [stderr] 197 | unsafe { LoadIconW(::std::ptr::null_mut(), IDI_APPLICATION) } [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/window.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/window.rs:199:32 [INFO] [stderr] | [INFO] [stderr] 199 | fn default_icon_small() -> HICON { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/window.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `kernel32::*` [INFO] [stderr] --> src/window.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use kernel32::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `wio::wide::*` [INFO] [stderr] --> src/window.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use wio::wide::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] error[E0425]: cannot find function `LoadIconW` in this scope [INFO] [stderr] --> src/window.rs:200:18 [INFO] [stderr] | [INFO] [stderr] 200 | unsafe { LoadIconW(::std::ptr::null_mut(), IDI_APPLICATION) } [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stderr] --> src/window.rs:200:52 [INFO] [stderr] | [INFO] [stderr] 200 | unsafe { LoadIconW(::std::ptr::null_mut(), IDI_APPLICATION) } [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/window.rs:203:38 [INFO] [stderr] | [INFO] [stderr] 203 | fn default_background_brush() -> HBRUSH { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateSolidBrush` in module `gdi32` [INFO] [stderr] --> src/window.rs:204:27 [INFO] [stderr] | [INFO] [stderr] 204 | unsafe { ::gdi32::CreateSolidBrush(Color(0, 255, 255, 255).to_int()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `gdi32` [INFO] [stderr] warning: unused import: `kernel32::*` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use kernel32::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stderr] --> src/window.rs:206:28 [INFO] [stderr] | [INFO] [stderr] 206 | fn default_cursor() -> HCURSOR { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadCursorW` in this scope [INFO] [stderr] --> src/window.rs:207:18 [INFO] [stderr] | [INFO] [stderr] 207 | unsafe { LoadCursorW(::std::ptr::null_mut(), IDC_ARROW) } [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/window.rs:207:54 [INFO] [stderr] | [INFO] [stderr] 207 | unsafe { LoadCursorW(::std::ptr::null_mut(), IDC_ARROW) } [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:214:39 [INFO] [stderr] | [INFO] [stderr] 214 | fn init_handle(&mut self, handle: HWND); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:223:17 [INFO] [stderr] | [INFO] [stderr] 223 | handle: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:230:32 [INFO] [stderr] | [INFO] [stderr] 230 | pub fn from_handle(handle: HWND) -> Self { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ShowWindow` in this scope [INFO] [stderr] --> src/window.rs:245:13 [INFO] [stderr] | [INFO] [stderr] 245 | ShowWindow(self.handle, cmd_show); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `UpdateWindow` in this scope [INFO] [stderr] --> src/window.rs:251:13 [INFO] [stderr] | [INFO] [stderr] 251 | UpdateWindow(self.handle); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/window.rs:284:49 [INFO] [stderr] | [INFO] [stderr] 284 | unsafe extern "system" fn window_proc(mut hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/window.rs:284:60 [INFO] [stderr] | [INFO] [stderr] 284 | unsafe extern "system" fn window_proc(mut hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/window.rs:284:75 [INFO] [stderr] | [INFO] [stderr] 284 | unsafe extern "system" fn window_proc(mut hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/window.rs:284:92 [INFO] [stderr] | [INFO] [stderr] 284 | unsafe extern "system" fn window_proc(mut hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/window.rs:284:103 [INFO] [stderr] | [INFO] [stderr] 284 | unsafe extern "system" fn window_proc(mut hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CREATESTRUCTW` in this scope [INFO] [stderr] --> src/window.rs:288:38 [INFO] [stderr] | [INFO] [stderr] 288 | let st = l_param as *mut CREATESTRUCTW; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/window.rs:294:13 [INFO] [stderr] | [INFO] [stderr] 294 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, Box::into_raw(wnd) as LONG_PTR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/window.rs:294:37 [INFO] [stderr] | [INFO] [stderr] 294 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, Box::into_raw(wnd) as LONG_PTR); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stderr] --> src/window.rs:294:74 [INFO] [stderr] | [INFO] [stderr] 294 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, Box::into_raw(wnd) as LONG_PTR); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DestroyWindow` in this scope [INFO] [stderr] --> src/window.rs:300:13 [INFO] [stderr] | [INFO] [stderr] 300 | DestroyWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/window.rs:304:13 [INFO] [stderr] | [INFO] [stderr] 304 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/window.rs:310:16 [INFO] [stderr] | [INFO] [stderr] 310 | msg => DefWindowProcW(hwnd, msg, w_param, l_param) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:42:39 [INFO] [stderr] | [INFO] [stderr] 42 | fn init_handle(&mut self, handle: HWND) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:79:25 [INFO] [stderr] | [INFO] [stderr] 79 | let modhandle = GetModuleHandleW(std::ptr::null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stderr] --> src/main.rs:80:72 [INFO] [stderr] | [INFO] [stderr] 80 | WinMain(modhandle, std::ptr::null_mut(), std::ptr::null_mut(), SW_SHOW); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:85:50 [INFO] [stderr] | [INFO] [stderr] 85 | pub unsafe extern "system" fn WinMain(hinstance: HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:86:53 [INFO] [stderr] | [INFO] [stderr] 86 | prevInstance: HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stderr] --> src/main.rs:87:48 [INFO] [stderr] | [INFO] [stderr] 87 | cmdLine: LPSTR, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ShowWindow` in this scope [INFO] [stderr] --> src/main.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | ShowWindow(hwnd, cmdShow); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `UpdateWindow` in this scope [INFO] [stderr] --> src/main.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | UpdateWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:106:18 [INFO] [stderr] | [INFO] [stderr] 106 | let mut msg: MSG = std::mem::zeroed(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetMessageW` in this scope [INFO] [stderr] --> src/main.rs:107:11 [INFO] [stderr] | [INFO] [stderr] 107 | while GetMessageW(&mut msg, std::ptr::null_mut(), 0, 0) > 0 { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TranslateMessage` in this scope [INFO] [stderr] --> src/main.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 108 | TranslateMessage(&mut msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DispatchMessageW` in this scope [INFO] [stderr] --> src/main.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | DispatchMessageW(&mut msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:120:27 [INFO] [stderr] | [INFO] [stderr] 120 | fn destroy_window(handle: HWND) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowLongPtrW` in this scope [INFO] [stderr] --> src/main.rs:122:23 [INFO] [stderr] | [INFO] [stderr] 122 | Box::from_raw(GetWindowLongPtrW(handle, GWLP_USERDATA) as *mut Box) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/main.rs:122:49 [INFO] [stderr] | [INFO] [stderr] 122 | Box::from_raw(GetWindowLongPtrW(handle, GWLP_USERDATA) as *mut Box) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:128:45 [INFO] [stderr] | [INFO] [stderr] 128 | unsafe extern "system" fn wndProc(mut hwnd: HWND, msg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:128:56 [INFO] [stderr] | [INFO] [stderr] 128 | unsafe extern "system" fn wndProc(mut hwnd: HWND, msg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:128:70 [INFO] [stderr] | [INFO] [stderr] 128 | unsafe extern "system" fn wndProc(mut hwnd: HWND, msg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:128:86 [INFO] [stderr] | [INFO] [stderr] 128 | unsafe extern "system" fn wndProc(mut hwnd: HWND, msg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:128:97 [INFO] [stderr] | [INFO] [stderr] 128 | unsafe extern "system" fn wndProc(mut hwnd: HWND, msg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CREATESTRUCTW` in this scope [INFO] [stderr] --> src/main.rs:132:37 [INFO] [stderr] | [INFO] [stderr] 132 | let st = lParam as *mut CREATESTRUCTW; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetWindowLongPtrW` in this scope [INFO] [stderr] --> src/main.rs:138:13 [INFO] [stderr] | [INFO] [stderr] 138 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, Box::into_raw(wnd) as LONG_PTR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stderr] --> src/main.rs:138:37 [INFO] [stderr] | [INFO] [stderr] 138 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, Box::into_raw(wnd) as LONG_PTR); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stderr] --> src/main.rs:138:74 [INFO] [stderr] | [INFO] [stderr] 138 | SetWindowLongPtrW(hwnd, GWLP_USERDATA, Box::into_raw(wnd) as LONG_PTR); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DestroyWindow` in this scope [INFO] [stderr] --> src/main.rs:144:13 [INFO] [stderr] | [INFO] [stderr] 144 | DestroyWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `destroy_window` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 149 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:156:16 [INFO] [stderr] | [INFO] [stderr] 156 | msg => DefWindowProcW(hwnd, msg, wParam, lParam) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[macro_use] extern crate bitflags; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/ml.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/ml.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/font.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `gdi32::*` [INFO] [stderr] --> src/font.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use gdi32::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `kernel32::*` [INFO] [stderr] --> src/font.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use kernel32::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `wio::wide::*` [INFO] [stderr] --> src/font.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use wio::wide::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/controls/label.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/controls/label.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `gdi32::*` [INFO] [stderr] --> src/controls/label.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use gdi32::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `wio::wide::*` [INFO] [stderr] --> src/controls/label.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use wio::wide::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `::winapi::*` [INFO] [stderr] --> src/message.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use ::winapi::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/window.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/window.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `kernel32::*` [INFO] [stderr] --> src/window.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use kernel32::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `wio::wide::*` [INFO] [stderr] --> src/window.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use wio::wide::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `kernel32::*` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use kernel32::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 207 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0412, E0422, E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `windows-test`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 207 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0412, E0422, E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `windows-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ff88570d5c17e7ab63769f3c3e9a078cc2adca3affaa215806dcbd83dac7c1f8"` [INFO] running `"docker" "rm" "-f" "ff88570d5c17e7ab63769f3c3e9a078cc2adca3affaa215806dcbd83dac7c1f8"` [INFO] [stdout] ff88570d5c17e7ab63769f3c3e9a078cc2adca3affaa215806dcbd83dac7c1f8