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