[INFO] updating cached repository https://github.com/hummingly/rust-directwrite-simple_text_example
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 9a19c383e5ad06fb626cd679a5e1cd0853f8267e
[INFO] checking hummingly/rust-directwrite-simple_text_example against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-directwrite-simple_text_example" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/hummingly/rust-directwrite-simple_text_example on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/hummingly/rust-directwrite-simple_text_example
[INFO] finished tweaking git repo https://github.com/hummingly/rust-directwrite-simple_text_example
[INFO] tweaked toml for git repo https://github.com/hummingly/rust-directwrite-simple_text_example written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/hummingly/rust-directwrite-simple_text_example already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e04691a1fc0b9f1f23234511c8f0864ff9aac46db70a7e7627f652fb2149c0ac
[INFO] running `"docker" "start" "-a" "e04691a1fc0b9f1f23234511c8f0864ff9aac46db70a7e7627f652fb2149c0ac"`
[INFO] [stderr]     Checking directwrite v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]  --> src/utils.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt;
[INFO] [stderr]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `kernel32::GetLastError`, `kernel32::GetModuleHandleW`, `kernel32::GetProcAddress`, `kernel32::LoadLibraryW`
[INFO] [stderr]  --> src/utils.rs:6:16
[INFO] [stderr]   |
[INFO] [stderr] 6 | use kernel32::{GetLastError, GetModuleHandleW, GetProcAddress, LoadLibraryW};
[INFO] [stderr]   |                ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^ no `LoadLibraryW` in the root
[INFO] [stderr]   |                |             |                 |
[INFO] [stderr]   |                |             |                 no `GetProcAddress` in the root
[INFO] [stderr]   |                |             no `GetModuleHandleW` in the root
[INFO] [stderr]   |                no `GetLastError` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `user32::MessageBoxW`
[INFO] [stderr]  --> src/utils.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use user32::MessageBoxW;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^ no `MessageBoxW` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::d2d1`
[INFO] [stderr]  --> src/utils.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::d2d1::*;
[INFO] [stderr]   |             ^^^^ could not find `d2d1` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::dwrite`
[INFO] [stderr]  --> src/utils.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::dwrite::*;
[INFO] [stderr]   |             ^^^^^^ could not find `dwrite` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::dcommon`
[INFO] [stderr]   --> src/utils.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::dcommon::{D2D1_ALPHA_MODE_IGNORE, D2D1_PIXEL_FORMAT};
[INFO] [stderr]    |             ^^^^^^^ could not find `dcommon` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::dxgiformat`
[INFO] [stderr]   --> src/utils.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::dxgiformat::DXGI_FORMAT;
[INFO] [stderr]    |             ^^^^^^^^^^ could not find `dxgiformat` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::c_void`
[INFO] [stderr]   --> src/utils.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::c_void;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^ no `c_void` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::guiddef`
[INFO] [stderr]   --> src/utils.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::guiddef::{IID, REFIID};
[INFO] [stderr]    |             ^^^^^^^ could not find `guiddef` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stderr]   --> src/utils.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::minwindef::HMODULE;
[INFO] [stderr]    |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::unknwnbase`
[INFO] [stderr]   --> src/utils.rs:15:13
[INFO] [stderr]    |
[INFO] [stderr] 15 | use winapi::unknwnbase::IUnknown;
[INFO] [stderr]    |             ^^^^^^^^^^ could not find `unknwnbase` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::windef`
[INFO] [stderr]   --> src/utils.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 | use winapi::windef::{POINT, RECT};
[INFO] [stderr]    |             ^^^^^^ could not find `windef` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::winerror`
[INFO] [stderr]   --> src/utils.rs:17:13
[INFO] [stderr]    |
[INFO] [stderr] 17 | use winapi::winerror::HRESULT;
[INFO] [stderr]    |             ^^^^^^^^ could not find `winerror` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::winuser`
[INFO] [stderr]   --> src/utils.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::winuser::{MB_OK, MSG, PAINTSTRUCT};
[INFO] [stderr]    |             ^^^^^^^ could not find `winuser` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `gdi32::GetDeviceCaps`
[INFO] [stderr]   --> src/main.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use gdi32::GetDeviceCaps;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^ no `GetDeviceCaps` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]  --> src/utils.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt;
[INFO] [stderr]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `kernel32::GetLastError`, `kernel32::GetModuleHandleW`, `kernel32::GetProcAddress`, `kernel32::LoadLibraryW`
[INFO] [stderr]  --> src/utils.rs:6:16
[INFO] [stderr]   |
[INFO] [stderr] 6 | use kernel32::{GetLastError, GetModuleHandleW, GetProcAddress, LoadLibraryW};
[INFO] [stderr]   |                ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^ no `LoadLibraryW` in the root
[INFO] [stderr]   |                |             |                 |
[INFO] [stderr]   |                |             |                 no `GetProcAddress` in the root
[INFO] [stderr]   |                |             no `GetModuleHandleW` in the root
[INFO] [stderr]   |                no `GetLastError` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `user32::MessageBoxW`
[INFO] [stderr]  --> src/utils.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use user32::MessageBoxW;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^ no `MessageBoxW` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::d2d1`
[INFO] [stderr]  --> src/utils.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::d2d1::*;
[INFO] [stderr]   |             ^^^^ could not find `d2d1` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::dwrite`
[INFO] [stderr]  --> src/utils.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::dwrite::*;
[INFO] [stderr]   |             ^^^^^^ could not find `dwrite` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::dcommon`
[INFO] [stderr]   --> src/utils.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::dcommon::{D2D1_ALPHA_MODE_IGNORE, D2D1_PIXEL_FORMAT};
[INFO] [stderr]    |             ^^^^^^^ could not find `dcommon` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::dxgiformat`
[INFO] [stderr]   --> src/utils.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::dxgiformat::DXGI_FORMAT;
[INFO] [stderr]    |             ^^^^^^^^^^ could not find `dxgiformat` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::c_void`
[INFO] [stderr]   --> src/utils.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::c_void;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^ no `c_void` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::guiddef`
[INFO] [stderr]   --> src/utils.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::guiddef::{IID, REFIID};
[INFO] [stderr]    |             ^^^^^^^ could not find `guiddef` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stderr]   --> src/utils.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::minwindef::HMODULE;
[INFO] [stderr]    |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::unknwnbase`
[INFO] [stderr]   --> src/utils.rs:15:13
[INFO] [stderr]    |
[INFO] [stderr] 15 | use winapi::unknwnbase::IUnknown;
[INFO] [stderr]    |             ^^^^^^^^^^ could not find `unknwnbase` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::windef`
[INFO] [stderr]   --> src/utils.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 | use winapi::windef::{POINT, RECT};
[INFO] [stderr]    |             ^^^^^^ could not find `windef` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::winerror`
[INFO] [stderr]   --> src/utils.rs:17:13
[INFO] [stderr]    |
[INFO] [stderr] 17 | use winapi::winerror::HRESULT;
[INFO] [stderr]    |             ^^^^^^^^ could not find `winerror` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::winuser`
[INFO] [stderr]   --> src/utils.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::winuser::{MB_OK, MSG, PAINTSTRUCT};
[INFO] [stderr]    |             ^^^^^^^ could not find `winuser` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `gdi32::GetDeviceCaps`
[INFO] [stderr]   --> src/main.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use gdi32::GetDeviceCaps;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^ no `GetDeviceCaps` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope
[INFO] [stderr]   --> src/utils.rs:49:18
[INFO] [stderr]    |
[INFO] [stderr] 49 |     factoryType: D2D1_FACTORY_TYPE,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope
[INFO] [stderr]   --> src/utils.rs:51:29
[INFO] [stderr]    |
[INFO] [stderr] 51 |     pFactoryOptions: *const D2D1_FACTORY_OPTIONS,
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWRITE_FACTORY_TYPE` in this scope
[INFO] [stderr]   --> src/utils.rs:56:18
[INFO] [stderr]    |
[INFO] [stderr] 56 |     factoryType: DWRITE_FACTORY_TYPE,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope
[INFO] [stderr]    --> src/utils.rs:103:19
[INFO] [stderr]     |
[INFO] [stderr] 103 |     factory_type: D2D1_FACTORY_TYPE,
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope
[INFO] [stderr]    --> src/utils.rs:105:31
[INFO] [stderr]     |
[INFO] [stderr] 105 |     p_factory_options: *const D2D1_FACTORY_OPTIONS,
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWRITE_FACTORY_TYPE` in this scope
[INFO] [stderr]    --> src/utils.rs:113:19
[INFO] [stderr]     |
[INFO] [stderr] 113 |     factory_type: DWRITE_FACTORY_TYPE,
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_RENDER_TARGET_PROPERTIES` in this scope
[INFO] [stderr]    --> src/utils.rs:171:20
[INFO] [stderr]     |
[INFO] [stderr] 171 | impl WinStruct for D2D1_RENDER_TARGET_PROPERTIES {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_RENDER_TARGET_PROPERTIES` in this scope
[INFO] [stderr]    --> src/utils.rs:173:9
[INFO] [stderr]     |
[INFO] [stderr] 173 |         D2D1_RENDER_TARGET_PROPERTIES {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_RENDER_TARGET_TYPE_DEFAULT` in this scope
[INFO] [stderr]    --> src/utils.rs:174:20
[INFO] [stderr]     |
[INFO] [stderr] 174 |             _type: D2D1_RENDER_TARGET_TYPE_DEFAULT,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE` in this scope
[INFO] [stderr]    --> src/utils.rs:178:20
[INFO] [stderr]     |
[INFO] [stderr] 178 |             usage: D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_FEATURE_LEVEL_DEFAULT` in this scope
[INFO] [stderr]    --> src/utils.rs:179:23
[INFO] [stderr]     |
[INFO] [stderr] 179 |             minLevel: D2D1_FEATURE_LEVEL_DEFAULT,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_MATRIX_3X2_F` in this scope
[INFO] [stderr]    --> src/utils.rs:193:20
[INFO] [stderr]     |
[INFO] [stderr] 193 | impl WinStruct for D2D1_MATRIX_3X2_F {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_MATRIX_3X2_F` in this scope
[INFO] [stderr]    --> src/utils.rs:195:9
[INFO] [stderr]     |
[INFO] [stderr] 195 |         D2D1_MATRIX_3X2_F {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_POINT_2F` in this scope
[INFO] [stderr]    --> src/utils.rs:201:20
[INFO] [stderr]     |
[INFO] [stderr] 201 | impl WinStruct for D2D1_POINT_2F {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope
[INFO] [stderr]    --> src/utils.rs:203:9
[INFO] [stderr]     |
[INFO] [stderr] 203 |         D2D1_POINT_2F { x: 0.0, y: 0.0 }
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_COLOR_F` in this scope
[INFO] [stderr]    --> src/utils.rs:211:16
[INFO] [stderr]     |
[INFO] [stderr] 211 | impl Brush for D2D1_COLOR_F {
[INFO] [stderr]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope
[INFO] [stderr]    --> src/utils.rs:213:9
[INFO] [stderr]     |
[INFO] [stderr] 213 |         D2D1_COLOR_F {
[INFO] [stderr]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:19:11
[INFO] [stderr]    |
[INFO] [stderr] 19 |     hwnd: HWND,
[INFO] [stderr]    |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope
[INFO] [stderr]   --> src/main.rs:22:17
[INFO] [stderr]    |
[INFO] [stderr] 22 |     brush: *mut ID2D1SolidColorBrush,
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope
[INFO] [stderr]   --> src/main.rs:23:25
[INFO] [stderr]    |
[INFO] [stderr] 23 |     render_target: *mut ID2D1HwndRenderTarget,
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope
[INFO] [stderr]   --> src/main.rs:24:24
[INFO] [stderr]    |
[INFO] [stderr] 24 |     d2d1_factory: *mut ID2D1Factory,
[INFO] [stderr]    |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope
[INFO] [stderr]   --> src/main.rs:25:26
[INFO] [stderr]    |
[INFO] [stderr] 25 |     dwrite_factory: *mut IDWriteFactory,
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope
[INFO] [stderr]   --> src/main.rs:26:23
[INFO] [stderr]    |
[INFO] [stderr] 26 |     text_format: *mut IDWriteTextFormat,
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]   --> src/main.rs:47:34
[INFO] [stderr]    |
[INFO] [stderr] 47 |         let mut d2_factory: *mut c_void = null_mut();
[INFO] [stderr]    |                                  ^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 7  | use std::ffi::c_void;
[INFO] [stderr]    |
[INFO] [stderr] 7  | use std::os::raw::c_void;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_FACTORY_OPTIONS` in this scope
[INFO] [stderr]   --> src/main.rs:48:31
[INFO] [stderr]    |
[INFO] [stderr] 48 |         let factory_options = D2D1_FACTORY_OPTIONS {
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_DEBUG_LEVEL_NONE` in this scope
[INFO] [stderr]   --> src/main.rs:49:25
[INFO] [stderr]    |
[INFO] [stderr] 49 |             debugLevel: D2D1_DEBUG_LEVEL_NONE,
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_MULTI_THREADED` in this scope
[INFO] [stderr]   --> src/main.rs:53:13
[INFO] [stderr]    |
[INFO] [stderr] 53 |             D2D1_FACTORY_TYPE_MULTI_THREADED,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope
[INFO] [stderr]   --> src/utils.rs:49:18
[INFO] [stderr]    |
[INFO] [stderr] 49 |     factoryType: D2D1_FACTORY_TYPE,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `UuidOfID2D1Factory` in this scope
[INFO] [stderr]    --> src/main.rs:54:14
[INFO] [stderr]     |
[INFO] [stderr] 54  |             &UuidOfID2D1Factory,
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `UuidOfIDWriteFactory`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/utils.rs:122:1
[INFO] [stderr]     |
[INFO] [stderr] 122 | pub const UuidOfIDWriteFactory: IID = IID {
[INFO] [stderr]     | ----------------------------------------- similarly named constant `UuidOfIDWriteFactory` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope
[INFO] [stderr]   --> src/main.rs:55:40
[INFO] [stderr]    |
[INFO] [stderr] 55 |             &factory_options as *const D2D1_FACTORY_OPTIONS,
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope
[INFO] [stderr]   --> src/utils.rs:51:29
[INFO] [stderr]    |
[INFO] [stderr] 51 |     pFactoryOptions: *const D2D1_FACTORY_OPTIONS,
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]   --> src/main.rs:59:28
[INFO] [stderr]    |
[INFO] [stderr] 59 |         if d2d1_factory != S_OK {
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWRITE_FACTORY_TYPE` in this scope
[INFO] [stderr]   --> src/utils.rs:56:18
[INFO] [stderr]    |
[INFO] [stderr] 56 |     factoryType: DWRITE_FACTORY_TYPE,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope
[INFO] [stderr]   --> src/main.rs:62:51
[INFO] [stderr]    |
[INFO] [stderr] 62 |             app.d2d1_factory = d2_factory as *mut ID2D1Factory;
[INFO] [stderr]    |                                                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope
[INFO] [stderr]   --> src/main.rs:65:34
[INFO] [stderr]    |
[INFO] [stderr] 65 |         let mut dw_factory: *mut IUnknown = null_mut();
[INFO] [stderr]    |                                  ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope
[INFO] [stderr]    --> src/utils.rs:103:19
[INFO] [stderr]     |
[INFO] [stderr] 103 |     factory_type: D2D1_FACTORY_TYPE,
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DWRITE_FACTORY_TYPE_SHARED` in this scope
[INFO] [stderr]   --> src/main.rs:68:13
[INFO] [stderr]    |
[INFO] [stderr] 68 |             DWRITE_FACTORY_TYPE_SHARED,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope
[INFO] [stderr]    --> src/utils.rs:105:31
[INFO] [stderr]     |
[INFO] [stderr] 105 |     p_factory_options: *const D2D1_FACTORY_OPTIONS,
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]   --> src/main.rs:73:30
[INFO] [stderr]    |
[INFO] [stderr] 73 |         if dwrite_factory != S_OK {
[INFO] [stderr]    |                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWRITE_FACTORY_TYPE` in this scope
[INFO] [stderr]    --> src/utils.rs:113:19
[INFO] [stderr]     |
[INFO] [stderr] 113 |     factory_type: DWRITE_FACTORY_TYPE,
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope
[INFO] [stderr]   --> src/main.rs:76:53
[INFO] [stderr]    |
[INFO] [stderr] 76 |             app.dwrite_factory = dw_factory as *mut IDWriteFactory;
[INFO] [stderr]    |                                                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope
[INFO] [stderr]   --> src/main.rs:83:34
[INFO] [stderr]    |
[INFO] [stderr] 83 |         let dwrite_factory: &mut IDWriteFactory = &mut *app.dwrite_factory;
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_RENDER_TARGET_PROPERTIES` in this scope
[INFO] [stderr]    --> src/utils.rs:171:20
[INFO] [stderr]     |
[INFO] [stderr] 171 | impl WinStruct for D2D1_RENDER_TARGET_PROPERTIES {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_REGULAR` in this scope
[INFO] [stderr]   --> src/main.rs:88:13
[INFO] [stderr]    |
[INFO] [stderr] 88 |             DWRITE_FONT_WEIGHT_REGULAR,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_RENDER_TARGET_PROPERTIES` in this scope
[INFO] [stderr]    --> src/utils.rs:173:9
[INFO] [stderr]     |
[INFO] [stderr] 173 |         D2D1_RENDER_TARGET_PROPERTIES {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DWRITE_FONT_STYLE_NORMAL` in this scope
[INFO] [stderr]   --> src/main.rs:89:13
[INFO] [stderr]    |
[INFO] [stderr] 89 |             DWRITE_FONT_STYLE_NORMAL,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_RENDER_TARGET_TYPE_DEFAULT` in this scope
[INFO] [stderr]    --> src/utils.rs:174:20
[INFO] [stderr]     |
[INFO] [stderr] 174 |             _type: D2D1_RENDER_TARGET_TYPE_DEFAULT,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DWRITE_FONT_STRETCH_NORMAL` in this scope
[INFO] [stderr]   --> src/main.rs:90:13
[INFO] [stderr]    |
[INFO] [stderr] 90 |             DWRITE_FONT_STRETCH_NORMAL,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]   --> src/main.rs:94:14
[INFO] [stderr]    |
[INFO] [stderr] 94 |         ) != S_OK
[INFO] [stderr]    |              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE` in this scope
[INFO] [stderr]    --> src/utils.rs:178:20
[INFO] [stderr]     |
[INFO] [stderr] 178 |             usage: D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope
[INFO] [stderr]   --> src/main.rs:99:31
[INFO] [stderr]    |
[INFO] [stderr] 99 |         let text_format: &mut IDWriteTextFormat = &mut *app.text_format;
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_FEATURE_LEVEL_DEFAULT` in this scope
[INFO] [stderr]    --> src/utils.rs:179:23
[INFO] [stderr]     |
[INFO] [stderr] 179 |             minLevel: D2D1_FEATURE_LEVEL_DEFAULT,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DWRITE_TEXT_ALIGNMENT_CENTER` in this scope
[INFO] [stderr]    --> src/main.rs:101:41
[INFO] [stderr]     |
[INFO] [stderr] 101 |         if text_format.SetTextAlignment(DWRITE_TEXT_ALIGNMENT_CENTER) != S_OK {
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_MATRIX_3X2_F` in this scope
[INFO] [stderr]    --> src/utils.rs:193:20
[INFO] [stderr]     |
[INFO] [stderr] 193 | impl WinStruct for D2D1_MATRIX_3X2_F {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/main.rs:101:74
[INFO] [stderr]     |
[INFO] [stderr] 101 |         if text_format.SetTextAlignment(DWRITE_TEXT_ALIGNMENT_CENTER) != S_OK {
[INFO] [stderr]     |                                                                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_MATRIX_3X2_F` in this scope
[INFO] [stderr]    --> src/utils.rs:195:9
[INFO] [stderr]     |
[INFO] [stderr] 195 |         D2D1_MATRIX_3X2_F {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DWRITE_PARAGRAPH_ALIGNMENT_CENTER` in this scope
[INFO] [stderr]    --> src/main.rs:105:46
[INFO] [stderr]     |
[INFO] [stderr] 105 |         if text_format.SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT_CENTER) != S_OK {
[INFO] [stderr]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_POINT_2F` in this scope
[INFO] [stderr]    --> src/utils.rs:201:20
[INFO] [stderr]     |
[INFO] [stderr] 201 | impl WinStruct for D2D1_POINT_2F {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/main.rs:105:84
[INFO] [stderr]     |
[INFO] [stderr] 105 |         if text_format.SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT_CENTER) != S_OK {
[INFO] [stderr]     |                                                                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/main.rs:116:27
[INFO] [stderr]     |
[INFO] [stderr] 116 |             let mut rect: RECT = WinStruct::default();
[INFO] [stderr]     |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope
[INFO] [stderr]    --> src/utils.rs:203:9
[INFO] [stderr]     |
[INFO] [stderr] 203 |         D2D1_POINT_2F { x: 0.0, y: 0.0 }
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope
[INFO] [stderr]    --> src/main.rs:118:13
[INFO] [stderr]     |
[INFO] [stderr] 118 |             GetClientRect(app.hwnd, &mut rect as *mut RECT);
[INFO] [stderr]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_COLOR_F` in this scope
[INFO] [stderr]    --> src/utils.rs:211:16
[INFO] [stderr]     |
[INFO] [stderr] 211 | impl Brush for D2D1_COLOR_F {
[INFO] [stderr]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/main.rs:118:55
[INFO] [stderr]     |
[INFO] [stderr] 118 |             GetClientRect(app.hwnd, &mut rect as *mut RECT);
[INFO] [stderr]     |                                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope
[INFO] [stderr]    --> src/utils.rs:213:9
[INFO] [stderr]     |
[INFO] [stderr] 213 |         D2D1_COLOR_F {
[INFO] [stderr]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_SIZE_U` in this scope
[INFO] [stderr]    --> src/main.rs:120:28
[INFO] [stderr]     |
[INFO] [stderr] 120 |             let d2d_rect = D2D1_SIZE_U {
[INFO] [stderr]     |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:19:11
[INFO] [stderr]    |
[INFO] [stderr] 19 |     hwnd: HWND,
[INFO] [stderr]    |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_RENDER_TARGET_PROPERTIES` in this scope
[INFO] [stderr]    --> src/main.rs:125:36
[INFO] [stderr]     |
[INFO] [stderr] 125 |             let render_properties: D2D1_RENDER_TARGET_PROPERTIES = WinStruct::default();
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope
[INFO] [stderr]   --> src/main.rs:22:17
[INFO] [stderr]    |
[INFO] [stderr] 22 |     brush: *mut ID2D1SolidColorBrush,
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_HWND_RENDER_TARGET_PROPERTIES` in this scope
[INFO] [stderr]    --> src/main.rs:127:42
[INFO] [stderr]     |
[INFO] [stderr] 127 |             let hwnd_render_properties = D2D1_HWND_RENDER_TARGET_PROPERTIES {
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope
[INFO] [stderr]   --> src/main.rs:23:25
[INFO] [stderr]    |
[INFO] [stderr] 23 |     render_target: *mut ID2D1HwndRenderTarget,
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope
[INFO] [stderr]    --> src/main.rs:130:33
[INFO] [stderr]     |
[INFO] [stderr] 130 |                 presentOptions: D2D1_PRESENT_OPTIONS_NONE,
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope
[INFO] [stderr]    --> src/main.rs:133:31
[INFO] [stderr]     |
[INFO] [stderr] 133 |             let factory: &mut ID2D1Factory = &mut *app.d2d1_factory;
[INFO] [stderr]     |                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope
[INFO] [stderr]   --> src/main.rs:24:24
[INFO] [stderr]    |
[INFO] [stderr] 24 |     d2d1_factory: *mut ID2D1Factory,
[INFO] [stderr]    |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/main.rs:139:18
[INFO] [stderr]     |
[INFO] [stderr] 139 |             ) != S_OK
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope
[INFO] [stderr]   --> src/main.rs:25:26
[INFO] [stderr]    |
[INFO] [stderr] 25 |     dwrite_factory: *mut IDWriteFactory,
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope
[INFO] [stderr]    --> src/main.rs:144:37
[INFO] [stderr]     |
[INFO] [stderr] 144 |             let render_target: &mut ID2D1HwndRenderTarget = &mut *app.render_target;
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope
[INFO] [stderr]   --> src/main.rs:26:23
[INFO] [stderr]    |
[INFO] [stderr] 26 |     text_format: *mut IDWriteTextFormat,
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/main.rs:148:87
[INFO] [stderr]     |
[INFO] [stderr] 148 |             if render_target.CreateSolidColorBrush(&black, null(), &mut app.brush) != S_OK {
[INFO] [stderr]     |                                                                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]    --> src/main.rs:156:38
[INFO] [stderr]     |
[INFO] [stderr] 156 | fn on_paint(app: &mut SimpleText) -> HRESULT {
[INFO] [stderr]     |                                      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]   --> src/main.rs:47:34
[INFO] [stderr]    |
[INFO] [stderr] 47 |         let mut d2_factory: *mut c_void = null_mut();
[INFO] [stderr]    |                                  ^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 7  | use std::ffi::c_void;
[INFO] [stderr]    |
[INFO] [stderr] 7  | use std::os::raw::c_void;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_MATRIX_3X2_F` in this scope
[INFO] [stderr]    --> src/main.rs:158:26
[INFO] [stderr]     |
[INFO] [stderr] 158 |         let d2d1_matrix: D2D1_MATRIX_3X2_F = WinStruct::default();
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_FACTORY_OPTIONS` in this scope
[INFO] [stderr]   --> src/main.rs:48:31
[INFO] [stderr]    |
[INFO] [stderr] 48 |         let factory_options = D2D1_FACTORY_OPTIONS {
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/main.rs:159:23
[INFO] [stderr]     |
[INFO] [stderr] 159 |         let mut rect: RECT = WinStruct::default();
[INFO] [stderr]     |                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_DEBUG_LEVEL_NONE` in this scope
[INFO] [stderr]   --> src/main.rs:49:25
[INFO] [stderr]    |
[INFO] [stderr] 49 |             debugLevel: D2D1_DEBUG_LEVEL_NONE,
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope
[INFO] [stderr]    --> src/main.rs:160:9
[INFO] [stderr]     |
[INFO] [stderr] 160 |         GetClientRect(app.hwnd, &mut rect as *mut RECT);
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_MULTI_THREADED` in this scope
[INFO] [stderr]   --> src/main.rs:53:13
[INFO] [stderr]    |
[INFO] [stderr] 53 |             D2D1_FACTORY_TYPE_MULTI_THREADED,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/main.rs:160:51
[INFO] [stderr]     |
[INFO] [stderr] 160 |         GetClientRect(app.hwnd, &mut rect as *mut RECT);
[INFO] [stderr]     |                                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stderr]    --> src/main.rs:162:22
[INFO] [stderr]     |
[INFO] [stderr] 162 |         let screen = GetDC(null_mut());
[INFO] [stderr]     |                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `UuidOfID2D1Factory` in this scope
[INFO] [stderr]    --> src/main.rs:54:14
[INFO] [stderr]     |
[INFO] [stderr] 54  |             &UuidOfID2D1Factory,
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `UuidOfIDWriteFactory`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/utils.rs:122:1
[INFO] [stderr]     |
[INFO] [stderr] 122 | pub const UuidOfIDWriteFactory: IID = IID {
[INFO] [stderr]     | ----------------------------------------- similarly named constant `UuidOfIDWriteFactory` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope
[INFO] [stderr]   --> src/main.rs:55:40
[INFO] [stderr]    |
[INFO] [stderr] 55 |             &factory_options as *const D2D1_FACTORY_OPTIONS,
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]   --> src/main.rs:59:28
[INFO] [stderr]    |
[INFO] [stderr] 59 |         if d2d1_factory != S_OK {
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope
[INFO] [stderr]   --> src/main.rs:62:51
[INFO] [stderr]    |
[INFO] [stderr] 62 |             app.d2d1_factory = d2_factory as *mut ID2D1Factory;
[INFO] [stderr]    |                                                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope
[INFO] [stderr]   --> src/main.rs:65:34
[INFO] [stderr]    |
[INFO] [stderr] 65 |         let mut dw_factory: *mut IUnknown = null_mut();
[INFO] [stderr]    |                                  ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DWRITE_FACTORY_TYPE_SHARED` in this scope
[INFO] [stderr]   --> src/main.rs:68:13
[INFO] [stderr]    |
[INFO] [stderr] 68 |             DWRITE_FACTORY_TYPE_SHARED,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]   --> src/main.rs:73:30
[INFO] [stderr]    |
[INFO] [stderr] 73 |         if dwrite_factory != S_OK {
[INFO] [stderr]    |                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope
[INFO] [stderr]   --> src/main.rs:76:53
[INFO] [stderr]    |
[INFO] [stderr] 76 |             app.dwrite_factory = dw_factory as *mut IDWriteFactory;
[INFO] [stderr]    |                                                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope
[INFO] [stderr]   --> src/main.rs:83:34
[INFO] [stderr]    |
[INFO] [stderr] 83 |         let dwrite_factory: &mut IDWriteFactory = &mut *app.dwrite_factory;
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_REGULAR` in this scope
[INFO] [stderr]   --> src/main.rs:88:13
[INFO] [stderr]    |
[INFO] [stderr] 88 |             DWRITE_FONT_WEIGHT_REGULAR,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DWRITE_FONT_STYLE_NORMAL` in this scope
[INFO] [stderr]   --> src/main.rs:89:13
[INFO] [stderr]    |
[INFO] [stderr] 89 |             DWRITE_FONT_STYLE_NORMAL,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DWRITE_FONT_STRETCH_NORMAL` in this scope
[INFO] [stderr]   --> src/main.rs:90:13
[INFO] [stderr]    |
[INFO] [stderr] 90 |             DWRITE_FONT_STRETCH_NORMAL,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]   --> src/main.rs:94:14
[INFO] [stderr]    |
[INFO] [stderr] 94 |         ) != S_OK
[INFO] [stderr]    |              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope
[INFO] [stderr]   --> src/main.rs:99:31
[INFO] [stderr]    |
[INFO] [stderr] 99 |         let text_format: &mut IDWriteTextFormat = &mut *app.text_format;
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DWRITE_TEXT_ALIGNMENT_CENTER` in this scope
[INFO] [stderr]    --> src/main.rs:101:41
[INFO] [stderr]     |
[INFO] [stderr] 101 |         if text_format.SetTextAlignment(DWRITE_TEXT_ALIGNMENT_CENTER) != S_OK {
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/main.rs:101:74
[INFO] [stderr]     |
[INFO] [stderr] 101 |         if text_format.SetTextAlignment(DWRITE_TEXT_ALIGNMENT_CENTER) != S_OK {
[INFO] [stderr]     |                                                                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DWRITE_PARAGRAPH_ALIGNMENT_CENTER` in this scope
[INFO] [stderr]    --> src/main.rs:105:46
[INFO] [stderr]     |
[INFO] [stderr] 105 |         if text_format.SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT_CENTER) != S_OK {
[INFO] [stderr]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/main.rs:105:84
[INFO] [stderr]     |
[INFO] [stderr] 105 |         if text_format.SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT_CENTER) != S_OK {
[INFO] [stderr]     |                                                                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/main.rs:116:27
[INFO] [stderr]     |
[INFO] [stderr] 116 |             let mut rect: RECT = WinStruct::default();
[INFO] [stderr]     |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope
[INFO] [stderr]    --> src/main.rs:118:13
[INFO] [stderr]     |
[INFO] [stderr] 118 |             GetClientRect(app.hwnd, &mut rect as *mut RECT);
[INFO] [stderr]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/main.rs:118:55
[INFO] [stderr]     |
[INFO] [stderr] 118 |             GetClientRect(app.hwnd, &mut rect as *mut RECT);
[INFO] [stderr]     |                                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_SIZE_U` in this scope
[INFO] [stderr]    --> src/main.rs:120:28
[INFO] [stderr]     |
[INFO] [stderr] 120 |             let d2d_rect = D2D1_SIZE_U {
[INFO] [stderr]     |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_RENDER_TARGET_PROPERTIES` in this scope
[INFO] [stderr]    --> src/main.rs:125:36
[INFO] [stderr]     |
[INFO] [stderr] 125 |             let render_properties: D2D1_RENDER_TARGET_PROPERTIES = WinStruct::default();
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_HWND_RENDER_TARGET_PROPERTIES` in this scope
[INFO] [stderr]    --> src/main.rs:127:42
[INFO] [stderr]     |
[INFO] [stderr] 127 |             let hwnd_render_properties = D2D1_HWND_RENDER_TARGET_PROPERTIES {
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope
[INFO] [stderr]    --> src/main.rs:130:33
[INFO] [stderr]     |
[INFO] [stderr] 130 |                 presentOptions: D2D1_PRESENT_OPTIONS_NONE,
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope
[INFO] [stderr]    --> src/main.rs:133:31
[INFO] [stderr]     |
[INFO] [stderr] 133 |             let factory: &mut ID2D1Factory = &mut *app.d2d1_factory;
[INFO] [stderr]     |                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/main.rs:139:18
[INFO] [stderr]     |
[INFO] [stderr] 139 |             ) != S_OK
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope
[INFO] [stderr]    --> src/main.rs:144:37
[INFO] [stderr]     |
[INFO] [stderr] 144 |             let render_target: &mut ID2D1HwndRenderTarget = &mut *app.render_target;
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/main.rs:148:87
[INFO] [stderr]     |
[INFO] [stderr] 148 |             if render_target.CreateSolidColorBrush(&black, null(), &mut app.brush) != S_OK {
[INFO] [stderr]     |                                                                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]    --> src/main.rs:156:38
[INFO] [stderr]     |
[INFO] [stderr] 156 | fn on_paint(app: &mut SimpleText) -> HRESULT {
[INFO] [stderr]     |                                      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_MATRIX_3X2_F` in this scope
[INFO] [stderr]    --> src/main.rs:158:26
[INFO] [stderr]     |
[INFO] [stderr] 158 |         let d2d1_matrix: D2D1_MATRIX_3X2_F = WinStruct::default();
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/main.rs:159:23
[INFO] [stderr]     |
[INFO] [stderr] 159 |         let mut rect: RECT = WinStruct::default();
[INFO] [stderr]     |                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope
[INFO] [stderr]    --> src/main.rs:160:9
[INFO] [stderr]     |
[INFO] [stderr] 160 |         GetClientRect(app.hwnd, &mut rect as *mut RECT);
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/main.rs:160:51
[INFO] [stderr]     |
[INFO] [stderr] 160 |         GetClientRect(app.hwnd, &mut rect as *mut RECT);
[INFO] [stderr]     |                                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `LOGPIXELSX` in this scope
[INFO] [stderr]    --> src/main.rs:163:49
[INFO] [stderr]     |
[INFO] [stderr] 163 |         let dpi_scale_x = GetDeviceCaps(screen, LOGPIXELSX) / 96;
[INFO] [stderr]     |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stderr]    --> src/main.rs:162:22
[INFO] [stderr]     |
[INFO] [stderr] 162 |         let screen = GetDC(null_mut());
[INFO] [stderr]     |                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `LOGPIXELSX` in this scope
[INFO] [stderr]    --> src/main.rs:163:49
[INFO] [stderr]     |
[INFO] [stderr] 163 |         let dpi_scale_x = GetDeviceCaps(screen, LOGPIXELSX) / 96;
[INFO] [stderr]     |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `LOGPIXELSY` in this scope
[INFO] [stderr]    --> src/main.rs:164:49
[INFO] [stderr]     |
[INFO] [stderr] 164 |         let dpi_scale_y = GetDeviceCaps(screen, LOGPIXELSY) / 96;
[INFO] [stderr]     |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope
[INFO] [stderr]    --> src/main.rs:166:27
[INFO] [stderr]     |
[INFO] [stderr] 166 |         let layout_rect = D2D1_RECT_F {
[INFO] [stderr]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `LOGPIXELSY` in this scope
[INFO] [stderr]    --> src/main.rs:164:49
[INFO] [stderr]     |
[INFO] [stderr] 164 |         let dpi_scale_y = GetDeviceCaps(screen, LOGPIXELSY) / 96;
[INFO] [stderr]     |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope
[INFO] [stderr]    --> src/main.rs:166:27
[INFO] [stderr]     |
[INFO] [stderr] 166 |         let layout_rect = D2D1_RECT_F {
[INFO] [stderr]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Brush` in this scope
[INFO] [stderr]    --> src/main.rs:187:38
[INFO] [stderr]     |
[INFO] [stderr] 187 |             &mut **app.brush as *mut ID2D1Brush,
[INFO] [stderr]     |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D2D1_DRAW_TEXT_OPTIONS` in this scope
[INFO] [stderr]    --> src/main.rs:188:13
[INFO] [stderr]     |
[INFO] [stderr] 188 |             D2D1_DRAW_TEXT_OPTIONS(0),
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Brush` in this scope
[INFO] [stderr]    --> src/main.rs:187:38
[INFO] [stderr]     |
[INFO] [stderr] 187 |             &mut **app.brush as *mut ID2D1Brush,
[INFO] [stderr]     |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DWRITE_MEASURING_MODE` in this scope
[INFO] [stderr]    --> src/main.rs:189:13
[INFO] [stderr]     |
[INFO] [stderr] 189 |             DWRITE_MEASURING_MODE(0),
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D2D1_DRAW_TEXT_OPTIONS` in this scope
[INFO] [stderr]    --> src/main.rs:188:13
[INFO] [stderr]     |
[INFO] [stderr] 188 |             D2D1_DRAW_TEXT_OPTIONS(0),
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:230:11
[INFO] [stderr]     |
[INFO] [stderr] 230 |     hwnd: HWND,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DWRITE_MEASURING_MODE` in this scope
[INFO] [stderr]    --> src/main.rs:189:13
[INFO] [stderr]     |
[INFO] [stderr] 189 |             DWRITE_MEASURING_MODE(0),
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope
[INFO] [stderr]    --> src/main.rs:231:14
[INFO] [stderr]     |
[INFO] [stderr] 231 |     message: UINT32,
[INFO] [stderr]     |              ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:230:11
[INFO] [stderr]     |
[INFO] [stderr] 230 |     hwnd: HWND,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:232:13
[INFO] [stderr]     |
[INFO] [stderr] 232 |     wparam: WPARAM,
[INFO] [stderr]     |             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope
[INFO] [stderr]    --> src/main.rs:231:14
[INFO] [stderr]     |
[INFO] [stderr] 231 |     message: UINT32,
[INFO] [stderr]     |              ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:233:13
[INFO] [stderr]     |
[INFO] [stderr] 233 |     lparam: LPARAM,
[INFO] [stderr]     |             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:232:13
[INFO] [stderr]     |
[INFO] [stderr] 232 |     wparam: WPARAM,
[INFO] [stderr]     |             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/main.rs:234:6
[INFO] [stderr]     |
[INFO] [stderr] 234 | ) -> LRESULT {
[INFO] [stderr]     |      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:233:13
[INFO] [stderr]     |
[INFO] [stderr] 233 |     lparam: LPARAM,
[INFO] [stderr]     |             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope
[INFO] [stderr]    --> src/main.rs:235:19
[INFO] [stderr]     |
[INFO] [stderr] 235 |     let app_ptr = GetWindowLongPtrW(hwnd, 0) as *mut SimpleText;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/main.rs:234:6
[INFO] [stderr]     |
[INFO] [stderr] 234 | ) -> LRESULT {
[INFO] [stderr]     |      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2DERR_RECREATE_TARGET` in this scope
[INFO] [stderr]    --> src/main.rs:240:33
[INFO] [stderr]     |
[INFO] [stderr] 240 |             if on_paint(app) == D2DERR_RECREATE_TARGET {
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GET_X_LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:246:25
[INFO] [stderr]     |
[INFO] [stderr] 246 |             let width = GET_X_LPARAM(lparam);
[INFO] [stderr]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope
[INFO] [stderr]    --> src/main.rs:235:19
[INFO] [stderr]     |
[INFO] [stderr] 235 |     let app_ptr = GetWindowLongPtrW(hwnd, 0) as *mut SimpleText;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GET_Y_LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:247:26
[INFO] [stderr]     |
[INFO] [stderr] 247 |             let height = GET_Y_LPARAM(lparam);
[INFO] [stderr]     |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2DERR_RECREATE_TARGET` in this scope
[INFO] [stderr]    --> src/main.rs:240:33
[INFO] [stderr]     |
[INFO] [stderr] 240 |             if on_paint(app) == D2DERR_RECREATE_TARGET {
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope
[INFO] [stderr]    --> src/main.rs:250:35
[INFO] [stderr]     |
[INFO] [stderr] 250 |                 let render_size = D2D_SIZE_U {
[INFO] [stderr]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GET_X_LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:246:25
[INFO] [stderr]     |
[INFO] [stderr] 246 |             let width = GET_X_LPARAM(lparam);
[INFO] [stderr]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stderr]    --> src/main.rs:262:13
[INFO] [stderr]     |
[INFO] [stderr] 262 |             PostQuitMessage(0);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GET_Y_LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:247:26
[INFO] [stderr]     |
[INFO] [stderr] 247 |             let height = GET_Y_LPARAM(lparam);
[INFO] [stderr]     |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stderr]    --> src/main.rs:265:14
[INFO] [stderr]     |
[INFO] [stderr] 265 |         _ => DefWindowProcW(hwnd, message, wparam, lparam),
[INFO] [stderr]     |              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope
[INFO] [stderr]    --> src/main.rs:250:35
[INFO] [stderr]     |
[INFO] [stderr] 250 |                 let render_size = D2D_SIZE_U {
[INFO] [stderr]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/main.rs:273:21
[INFO] [stderr]     |
[INFO] [stderr] 273 |         let wndcl = WNDCLASSEXW {
[INFO] [stderr]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stderr]    --> src/main.rs:262:13
[INFO] [stderr]     |
[INFO] [stderr] 262 |             PostQuitMessage(0);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stderr]    --> src/main.rs:265:14
[INFO] [stderr]     |
[INFO] [stderr] 265 |         _ => DefWindowProcW(hwnd, message, wparam, lparam),
[INFO] [stderr]     |              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/main.rs:274:36
[INFO] [stderr]     |
[INFO] [stderr] 270 | pub fn init_class() {
[INFO] [stderr]     |                  - help: you might be missing a type parameter: `<WNDCLASSEXW>`
[INFO] [stderr] ...
[INFO] [stderr] 274 |             cbSize: mem::size_of::<WNDCLASSEXW>() as UINT32,
[INFO] [stderr]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/main.rs:273:21
[INFO] [stderr]     |
[INFO] [stderr] 273 |         let wndcl = WNDCLASSEXW {
[INFO] [stderr]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope
[INFO] [stderr]    --> src/main.rs:274:54
[INFO] [stderr]     |
[INFO] [stderr] 274 |             cbSize: mem::size_of::<WNDCLASSEXW>() as UINT32,
[INFO] [stderr]     |                                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/main.rs:274:36
[INFO] [stderr]     |
[INFO] [stderr] 270 | pub fn init_class() {
[INFO] [stderr]     |                  - help: you might be missing a type parameter: `<WNDCLASSEXW>`
[INFO] [stderr] ...
[INFO] [stderr] 274 |             cbSize: mem::size_of::<WNDCLASSEXW>() as UINT32,
[INFO] [stderr]     |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stderr]    --> src/main.rs:275:20
[INFO] [stderr]     |
[INFO] [stderr] 275 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]     |                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope
[INFO] [stderr]    --> src/main.rs:274:54
[INFO] [stderr]     |
[INFO] [stderr] 274 |             cbSize: mem::size_of::<WNDCLASSEXW>() as UINT32,
[INFO] [stderr]     |                                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stderr]    --> src/main.rs:275:33
[INFO] [stderr]     |
[INFO] [stderr] 275 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stderr]    --> src/main.rs:275:20
[INFO] [stderr]     |
[INFO] [stderr] 275 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]     |                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stderr]    --> src/main.rs:275:33
[INFO] [stderr]     |
[INFO] [stderr] 275 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `INT32` in this scope
[INFO] [stderr]    --> src/main.rs:278:57
[INFO] [stderr]     |
[INFO] [stderr] 278 |             cbWndExtra: mem::size_of::<SimpleText>() as INT32,
[INFO] [stderr]     |                                                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `INT32` in this scope
[INFO] [stderr]    --> src/main.rs:278:57
[INFO] [stderr]     |
[INFO] [stderr] 278 |             cbWndExtra: mem::size_of::<SimpleText>() as INT32,
[INFO] [stderr]     |                                                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]    --> src/main.rs:279:24
[INFO] [stderr]     |
[INFO] [stderr] 279 |             hInstance: GetModuleHandleW(null_mut()),
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]    --> src/main.rs:279:24
[INFO] [stderr]     |
[INFO] [stderr] 279 |             hInstance: GetModuleHandleW(null_mut()),
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:280:25
[INFO] [stderr]     |
[INFO] [stderr] 280 |             hIcon: 0 as HICON,
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:280:25
[INFO] [stderr]     |
[INFO] [stderr] 280 |             hIcon: 0 as HICON,
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stderr]    --> src/main.rs:281:22
[INFO] [stderr]     |
[INFO] [stderr] 281 |             hCursor: LoadCursorW(null_mut(), IDC_ARROW),
[INFO] [stderr]     |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stderr]    --> src/main.rs:281:22
[INFO] [stderr]     |
[INFO] [stderr] 281 |             hCursor: LoadCursorW(null_mut(), IDC_ARROW),
[INFO] [stderr]     |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stderr]    --> src/main.rs:281:46
[INFO] [stderr]     |
[INFO] [stderr] 281 |             hCursor: LoadCursorW(null_mut(), IDC_ARROW),
[INFO] [stderr]     |                                              ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stderr]    --> src/main.rs:281:46
[INFO] [stderr]     |
[INFO] [stderr] 281 |             hCursor: LoadCursorW(null_mut(), IDC_ARROW),
[INFO] [stderr]     |                                              ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOWFRAME` in this scope
[INFO] [stderr]    --> src/main.rs:282:28
[INFO] [stderr]     |
[INFO] [stderr] 282 |             hbrBackground: COLOR_WINDOWFRAME as HBRUSH,
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOWFRAME` in this scope
[INFO] [stderr]    --> src/main.rs:282:28
[INFO] [stderr]     |
[INFO] [stderr] 282 |             hbrBackground: COLOR_WINDOWFRAME as HBRUSH,
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/main.rs:282:49
[INFO] [stderr]     |
[INFO] [stderr] 282 |             hbrBackground: COLOR_WINDOWFRAME as HBRUSH,
[INFO] [stderr]     |                                                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/main.rs:282:49
[INFO] [stderr]     |
[INFO] [stderr] 282 |             hbrBackground: COLOR_WINDOWFRAME as HBRUSH,
[INFO] [stderr]     |                                                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:285:27
[INFO] [stderr]     |
[INFO] [stderr] 285 |             hIconSm: 0 as HICON,
[INFO] [stderr]     |                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:285:27
[INFO] [stderr]     |
[INFO] [stderr] 285 |             hIconSm: 0 as HICON,
[INFO] [stderr]     |                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stderr]    --> src/main.rs:288:12
[INFO] [stderr]     |
[INFO] [stderr] 288 |         if RegisterClassExW(&wndcl) == 0 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stderr]    --> src/main.rs:288:12
[INFO] [stderr]     |
[INFO] [stderr] 288 |         if RegisterClassExW(&wndcl) == 0 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stderr]    --> src/main.rs:290:13
[INFO] [stderr]     |
[INFO] [stderr] 290 |             PostQuitMessage(0);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stderr]    --> src/main.rs:290:13
[INFO] [stderr]     |
[INFO] [stderr] 290 |             PostQuitMessage(0);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stderr]    --> src/main.rs:292:13
[INFO] [stderr]     |
[INFO] [stderr] 292 |             RegisterClassExW(&wndcl);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stderr]    --> src/main.rs:292:13
[INFO] [stderr]     |
[INFO] [stderr] 292 |             RegisterClassExW(&wndcl);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stderr]    --> src/main.rs:299:20
[INFO] [stderr]     |
[INFO] [stderr] 299 |         let hwnd = CreateWindowExW(
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stderr]    --> src/main.rs:299:20
[INFO] [stderr]     |
[INFO] [stderr] 299 |         let hwnd = CreateWindowExW(
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_EX_COMPOSITED` in this scope
[INFO] [stderr]    --> src/main.rs:300:13
[INFO] [stderr]     |
[INFO] [stderr] 300 |             WS_EX_COMPOSITED,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_EX_COMPOSITED` in this scope
[INFO] [stderr]    --> src/main.rs:300:13
[INFO] [stderr]     |
[INFO] [stderr] 300 |             WS_EX_COMPOSITED,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]    --> src/main.rs:303:13
[INFO] [stderr]     |
[INFO] [stderr] 303 |             WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]    --> src/main.rs:303:13
[INFO] [stderr]     |
[INFO] [stderr] 303 |             WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]    --> src/main.rs:303:35
[INFO] [stderr]     |
[INFO] [stderr] 303 |             WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stderr]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/main.rs:304:13
[INFO] [stderr]     |
[INFO] [stderr] 304 |             CW_USEDEFAULT,
[INFO] [stderr]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]    --> src/main.rs:303:35
[INFO] [stderr]     |
[INFO] [stderr] 303 |             WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stderr]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/main.rs:304:13
[INFO] [stderr]     |
[INFO] [stderr] 304 |             CW_USEDEFAULT,
[INFO] [stderr]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/main.rs:305:13
[INFO] [stderr]     |
[INFO] [stderr] 305 |             CW_USEDEFAULT,
[INFO] [stderr]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/main.rs:305:13
[INFO] [stderr]     |
[INFO] [stderr] 305 |             CW_USEDEFAULT,
[INFO] [stderr]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]    --> src/main.rs:310:13
[INFO] [stderr]     |
[INFO] [stderr] 310 |             GetModuleHandleW(null_mut()),
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]    --> src/main.rs:310:13
[INFO] [stderr]     |
[INFO] [stderr] 310 |             GetModuleHandleW(null_mut()),
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stderr]    --> src/main.rs:316:13
[INFO] [stderr]     |
[INFO] [stderr] 316 |             PostQuitMessage(0);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stderr]    --> src/main.rs:316:13
[INFO] [stderr]     |
[INFO] [stderr] 316 |             PostQuitMessage(0);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope
[INFO] [stderr]    --> src/main.rs:326:9
[INFO] [stderr]     |
[INFO] [stderr] 326 |         SetWindowLongPtrW(app.hwnd, 0, app as *mut SimpleText as LONG_PTR);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope
[INFO] [stderr]    --> src/main.rs:326:9
[INFO] [stderr]     |
[INFO] [stderr] 326 |         SetWindowLongPtrW(app.hwnd, 0, app as *mut SimpleText as LONG_PTR);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG_PTR` in this scope
[INFO] [stderr]    --> src/main.rs:326:66
[INFO] [stderr]     |
[INFO] [stderr] 326 |         SetWindowLongPtrW(app.hwnd, 0, app as *mut SimpleText as LONG_PTR);
[INFO] [stderr]     |                                                                  ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG_PTR` in this scope
[INFO] [stderr]    --> src/main.rs:326:66
[INFO] [stderr]     |
[INFO] [stderr] 326 |         SetWindowLongPtrW(app.hwnd, 0, app as *mut SimpleText as LONG_PTR);
[INFO] [stderr]     |                                                                  ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/main.rs:343:22
[INFO] [stderr]     |
[INFO] [stderr] 343 |         let mut msg: MSG = WinStruct::default();
[INFO] [stderr]     |                      ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/main.rs:343:22
[INFO] [stderr]     |
[INFO] [stderr] 343 |         let mut msg: MSG = WinStruct::default();
[INFO] [stderr]     |                      ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stderr]    --> src/main.rs:345:15
[INFO] [stderr]     |
[INFO] [stderr] 345 |         while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 {
[INFO] [stderr]     |               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stderr]    --> src/main.rs:345:15
[INFO] [stderr]     |
[INFO] [stderr] 345 |         while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 {
[INFO] [stderr]     |               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/main.rs:345:44
[INFO] [stderr]     |
[INFO] [stderr] 345 |         while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 {
[INFO] [stderr]     |                                            ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/main.rs:345:44
[INFO] [stderr]     |
[INFO] [stderr] 345 |         while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 {
[INFO] [stderr]     |                                            ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:345:54
[INFO] [stderr]     |
[INFO] [stderr] 345 |         while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 {
[INFO] [stderr]     |                                                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:345:54
[INFO] [stderr]     |
[INFO] [stderr] 345 |         while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 {
[INFO] [stderr]     |                                                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stderr]    --> src/main.rs:346:13
[INFO] [stderr]     |
[INFO] [stderr] 346 |             TranslateMessage(&msg as *const MSG);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stderr]    --> src/main.rs:346:13
[INFO] [stderr]     |
[INFO] [stderr] 346 |             TranslateMessage(&msg as *const MSG);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/main.rs:346:45
[INFO] [stderr]     |
[INFO] [stderr] 346 |             TranslateMessage(&msg as *const MSG);
[INFO] [stderr]     |                                             ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stderr]    --> src/main.rs:347:13
[INFO] [stderr]     |
[INFO] [stderr] 347 |             DispatchMessageW(&msg as *const MSG);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/main.rs:346:45
[INFO] [stderr]     |
[INFO] [stderr] 346 |             TranslateMessage(&msg as *const MSG);
[INFO] [stderr]     |                                             ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/main.rs:347:45
[INFO] [stderr]     |
[INFO] [stderr] 347 |             DispatchMessageW(&msg as *const MSG);
[INFO] [stderr]     |                                             ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stderr]    --> src/main.rs:347:13
[INFO] [stderr]     |
[INFO] [stderr] 347 |             DispatchMessageW(&msg as *const MSG);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/main.rs:347:45
[INFO] [stderr]     |
[INFO] [stderr] 347 |             DispatchMessageW(&msg as *const MSG);
[INFO] [stderr]     |                                             ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `winapi::*`
[INFO] [stderr]  --> src/main.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `user32::*`
[INFO] [stderr]   --> src/main.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use user32::*;
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `kernel32::*`
[INFO] [stderr]   --> src/main.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use kernel32::*;
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `winapi::*`
[INFO] [stderr]  --> src/main.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `user32::*`
[INFO] [stderr]   --> src/main.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use user32::*;
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `kernel32::*`
[INFO] [stderr]   --> src/main.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use kernel32::*;
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stderr]   --> src/utils.rs:26:31
[INFO] [stderr]    |
[INFO] [stderr] 26 |         ffi::OsStr::new(self).encode_wide().chain(Some(0)).collect()
[INFO] [stderr]    |                               ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stderr]   --> src/utils.rs:32:31
[INFO] [stderr]    |
[INFO] [stderr] 32 |         ffi::OsStr::new(self).encode_wide().chain(Some(0)).collect()
[INFO] [stderr]    |                               ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stderr]   --> src/utils.rs:26:31
[INFO] [stderr]    |
[INFO] [stderr] 26 |         ffi::OsStr::new(self).encode_wide().chain(Some(0)).collect()
[INFO] [stderr]    |                               ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stderr]   --> src/utils.rs:32:31
[INFO] [stderr]    |
[INFO] [stderr] 32 |         ffi::OsStr::new(self).encode_wide().chain(Some(0)).collect()
[INFO] [stderr]    |                               ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 131 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: aborting due to 131 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `directwrite`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `directwrite`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "e04691a1fc0b9f1f23234511c8f0864ff9aac46db70a7e7627f652fb2149c0ac"`
[INFO] running `"docker" "rm" "-f" "e04691a1fc0b9f1f23234511c8f0864ff9aac46db70a7e7627f652fb2149c0ac"`
[INFO] [stdout] e04691a1fc0b9f1f23234511c8f0864ff9aac46db70a7e7627f652fb2149c0ac
