[INFO] updating cached repository https://github.com/Connicpu/d2d1test-rs
[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] c6853ca6adeea01c1065531a2e6e0dba6b4b8745
[INFO] checking Connicpu/d2d1test-rs against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConnicpu%2Fd2d1test-rs" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Connicpu/d2d1test-rs on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/Connicpu/d2d1test-rs
[INFO] finished tweaking git repo https://github.com/Connicpu/d2d1test-rs
[INFO] tweaked toml for git repo https://github.com/Connicpu/d2d1test-rs written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/Connicpu/d2d1test-rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] 11b33f8ad1cd485c0a2127beecc9a6aac30c9e6a160ea35ed5aae88d29620d07
[INFO] running `"docker" "start" "-a" "11b33f8ad1cd485c0a2127beecc9a6aac30c9e6a160ea35ed5aae88d29620d07"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling num-traits v0.2.1
[INFO] [stderr]    Compiling winapi v0.3.4
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling serde v0.9.15
[INFO] [stderr]    Compiling dtoa v0.4.2
[INFO] [stderr]    Compiling phf_shared v0.7.21
[INFO] [stderr]    Compiling phf_generator v0.7.21
[INFO] [stderr]    Compiling phf v0.7.21
[INFO] [stderr]    Compiling phf_codegen v0.7.21
[INFO] [stderr]    Compiling target_build_utils v0.3.1
[INFO] [stderr]     Checking wio v0.2.0
[INFO] [stderr]     Checking directwrite v0.0.9
[INFO] [stderr]     Checking direct2d v0.0.9
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling serde_json v0.9.10
[INFO] [stderr]    Compiling libloading v0.3.4
[INFO] [stderr]     Checking d2d1test-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/hwnd_rt.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::um::d2d1::*;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/hwnd_rt.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::um::d2d1_1::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/hwnd_rt.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::um::dcommon::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/hwnd_rt.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::shared::dxgiformat::*;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/hwnd_rt.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::shared::windef::*;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/hwnd_rt.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::shared::winerror::*;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]  --> src/util.rs:2:14
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::os::windows::ffi::OsStrExt;
[INFO] [stderr]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/util.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::shared::winerror::*;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/util.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::um::shellscalingapi::*;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `direct2d::render_target`
[INFO] [stderr]   --> src/hwnd_rt.rs:16:15
[INFO] [stderr]    |
[INFO] [stderr] 16 | use direct2d::render_target::RenderTargetBacking;
[INFO] [stderr]    |               ^^^^^^^^^^^^^ could not find `render_target` in `direct2d`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/window.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | use winapi::shared::basetsd::LONG_PTR;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/window.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::shared::minwindef::*;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/window.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::shared::windef::*;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/window.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::um::winuser::*;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/window.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::um::winnt::LPCWSTR;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/main.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::shared::minwindef::*;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/main.rs:19:13
[INFO] [stderr]    |
[INFO] [stderr] 19 | use winapi::shared::ntdef::LPCWSTR;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/main.rs:20:13
[INFO] [stderr]    |
[INFO] [stderr] 20 | use winapi::shared::windef::*;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:21:13
[INFO] [stderr]    |
[INFO] [stderr] 21 | use winapi::um::d2d1::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:22:13
[INFO] [stderr]    |
[INFO] [stderr] 22 | use winapi::um::wingdi::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:23:13
[INFO] [stderr]    |
[INFO] [stderr] 23 | use winapi::um::winuser::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stderr]  --> src/window.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::ctypes::c_int;
[INFO] [stderr]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `direct2d::RenderTarget`, `direct2d::brush`
[INFO] [stderr]   --> src/main.rs:25:16
[INFO] [stderr]    |
[INFO] [stderr] 25 | use direct2d::{RenderTarget, brush};
[INFO] [stderr]    |                ^^^^^^^^^^^^  ^^^^^ no `brush` in the root
[INFO] [stderr]    |                |
[INFO] [stderr]    |                no `RenderTarget` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `direct2d::geometry`
[INFO] [stderr]   --> src/main.rs:26:15
[INFO] [stderr]    |
[INFO] [stderr] 26 | use direct2d::geometry::{FigureBegin, FigureEnd};
[INFO] [stderr]    |               ^^^^^^^^ could not find `geometry` in `direct2d`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `direct2d::math`
[INFO] [stderr]   --> src/main.rs:27:15
[INFO] [stderr]    |
[INFO] [stderr] 27 | use direct2d::math::*;
[INFO] [stderr]    |               ^^^^ could not find `math` in `direct2d`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `direct2d::render_target`
[INFO] [stderr]   --> src/main.rs:28:15
[INFO] [stderr]    |
[INFO] [stderr] 28 | use direct2d::render_target::DrawTextOption;
[INFO] [stderr]    |               ^^^^^^^^^^^^^ could not find `render_target` in `direct2d`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `directwrite::text_format`, `directwrite::text_format`
[INFO] [stderr]   --> src/main.rs:29:32
[INFO] [stderr]    |
[INFO] [stderr] 29 | use directwrite::text_format::{self, TextFormat};
[INFO] [stderr]    |                  ^^^^^^^^^^^   ^^^^ no `text_format` in the root
[INFO] [stderr]    |                  |
[INFO] [stderr]    |                  could not find `text_format` in `directwrite`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/hwnd_rt.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::um::d2d1::*;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/hwnd_rt.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::um::d2d1_1::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/hwnd_rt.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::um::dcommon::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/hwnd_rt.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::shared::dxgiformat::*;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/hwnd_rt.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::shared::windef::*;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/hwnd_rt.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::shared::winerror::*;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]  --> src/util.rs:2:14
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::os::windows::ffi::OsStrExt;
[INFO] [stderr]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/util.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::shared::winerror::*;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/util.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::um::shellscalingapi::*;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `direct2d::render_target`
[INFO] [stderr]   --> src/hwnd_rt.rs:16:15
[INFO] [stderr]    |
[INFO] [stderr] 16 | use direct2d::render_target::RenderTargetBacking;
[INFO] [stderr]    |               ^^^^^^^^^^^^^ could not find `render_target` in `direct2d`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/window.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | use winapi::shared::basetsd::LONG_PTR;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/window.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::shared::minwindef::*;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/window.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::shared::windef::*;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/window.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::um::winuser::*;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/window.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::um::winnt::LPCWSTR;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/main.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::shared::minwindef::*;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/main.rs:19:13
[INFO] [stderr]    |
[INFO] [stderr] 19 | use winapi::shared::ntdef::LPCWSTR;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/main.rs:20:13
[INFO] [stderr]    |
[INFO] [stderr] 20 | use winapi::shared::windef::*;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:21:13
[INFO] [stderr]    |
[INFO] [stderr] 21 | use winapi::um::d2d1::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:22:13
[INFO] [stderr]    |
[INFO] [stderr] 22 | use winapi::um::wingdi::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:23:13
[INFO] [stderr]    |
[INFO] [stderr] 23 | use winapi::um::winuser::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stderr]  --> src/window.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::ctypes::c_int;
[INFO] [stderr]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `direct2d::RenderTarget`, `direct2d::brush`
[INFO] [stderr]   --> src/main.rs:25:16
[INFO] [stderr]    |
[INFO] [stderr] 25 | use direct2d::{RenderTarget, brush};
[INFO] [stderr]    |                ^^^^^^^^^^^^  ^^^^^ no `brush` in the root
[INFO] [stderr]    |                |
[INFO] [stderr]    |                no `RenderTarget` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `direct2d::geometry`
[INFO] [stderr]   --> src/main.rs:26:15
[INFO] [stderr]    |
[INFO] [stderr] 26 | use direct2d::geometry::{FigureBegin, FigureEnd};
[INFO] [stderr]    |               ^^^^^^^^ could not find `geometry` in `direct2d`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `direct2d::math`
[INFO] [stderr]   --> src/main.rs:27:15
[INFO] [stderr]    |
[INFO] [stderr] 27 | use direct2d::math::*;
[INFO] [stderr]    |               ^^^^ could not find `math` in `direct2d`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `direct2d::render_target`
[INFO] [stderr]   --> src/main.rs:28:15
[INFO] [stderr]    |
[INFO] [stderr] 28 | use direct2d::render_target::DrawTextOption;
[INFO] [stderr]    |               ^^^^^^^^^^^^^ could not find `render_target` in `direct2d`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `directwrite::text_format`, `directwrite::text_format`
[INFO] [stderr]   --> src/main.rs:29:32
[INFO] [stderr]    |
[INFO] [stderr] 29 | use directwrite::text_format::{self, TextFormat};
[INFO] [stderr]    |                  ^^^^^^^^^^^   ^^^^ no `text_format` in the root
[INFO] [stderr]    |                  |
[INFO] [stderr]    |                  could not find `text_format` in `directwrite`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `Factory` in `direct2d`
[INFO] [stderr]   --> src/main.rs:51:36
[INFO] [stderr]    |
[INFO] [stderr] 51 |             d2d_factory: direct2d::Factory::new().unwrap(),
[INFO] [stderr]    |                                    ^^^^^^^ could not find `Factory` in `direct2d`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `Factory` in `directwrite`
[INFO] [stderr]   --> src/main.rs:52:42
[INFO] [stderr]    |
[INFO] [stderr] 52 |             dwrite_factory: directwrite::Factory::new().unwrap(),
[INFO] [stderr]    |                                          ^^^^^^^ could not find `Factory` in `directwrite`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BrushProperties`
[INFO] [stderr]   --> src/main.rs:66:56
[INFO] [stderr]    |
[INFO] [stderr] 66 |             fg: rt.create_solid_color_brush(0xf0f0ea, &BrushProperties::default()).unwrap(),
[INFO] [stderr]    |                                                        ^^^^^^^^^^^^^^^ use of undeclared type or module `BrushProperties`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BrushProperties`
[INFO] [stderr]   --> src/main.rs:67:56
[INFO] [stderr]    |
[INFO] [stderr] 67 |             bg: rt.create_solid_color_brush(0x272822, &BrushProperties::default()).unwrap(),
[INFO] [stderr]    |                                                        ^^^^^^^^^^^^^^^ use of undeclared type or module `BrushProperties`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RectF`
[INFO] [stderr]   --> src/main.rs:81:24
[INFO] [stderr]    |
[INFO] [stderr] 81 |             let rect = RectF::from((0.0, 0.0, size.width, size.height));
[INFO] [stderr]    |                        ^^^^^ use of undeclared type or module `RectF`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:83:27
[INFO] [stderr]    |
[INFO] [stderr] 83 |             rt.draw_line(&Point2F::from((10.0, 50.0)), &Point2F::from((90.0, 90.0)),
[INFO] [stderr]    |                           ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:83:57
[INFO] [stderr]    |
[INFO] [stderr] 83 |             rt.draw_line(&Point2F::from((10.0, 50.0)), &Point2F::from((90.0, 90.0)),
[INFO] [stderr]    |                                                         ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BezierSegment`
[INFO] [stderr]   --> src/main.rs:89:49
[INFO] [stderr]    |
[INFO] [stderr] 89 |                 let figure = figure.add_bezier(&BezierSegment::new(Point2F::from((190.0, 70.0)),
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^^ use of undeclared type or module `BezierSegment`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:89:68
[INFO] [stderr]    |
[INFO] [stderr] 89 |                 let figure = figure.add_bezier(&BezierSegment::new(Point2F::from((190.0, 70.0)),
[INFO] [stderr]    |                                                                    ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:90:21
[INFO] [stderr]    |
[INFO] [stderr] 90 |                     Point2F::from((90.0, 80.0)),
[INFO] [stderr]    |                     ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:91:21
[INFO] [stderr]    |
[INFO] [stderr] 91 |                     Point2F::from((180.0, 60.0))));
[INFO] [stderr]    |                     ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BezierSegment`
[INFO] [stderr]   --> src/main.rs:94:49
[INFO] [stderr]    |
[INFO] [stderr] 94 |                 let figure = figure.add_bezier(&BezierSegment::new(Point2F::from((190.0, 90.0)),
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^^ use of undeclared type or module `BezierSegment`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:94:68
[INFO] [stderr]    |
[INFO] [stderr] 94 |                 let figure = figure.add_bezier(&BezierSegment::new(Point2F::from((190.0, 90.0)),
[INFO] [stderr]    |                                                                    ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:95:21
[INFO] [stderr]    |
[INFO] [stderr] 95 |                     Point2F::from((90.0, 100.0)),
[INFO] [stderr]    |                     ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:96:21
[INFO] [stderr]    |
[INFO] [stderr] 96 |                     Point2F::from((180.0, 80.0))));
[INFO] [stderr]    |                     ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RectF`
[INFO] [stderr]    --> src/main.rs:105:18
[INFO] [stderr]     |
[INFO] [stderr] 105 |                 &RectF::from((10.0, 10.0, 300.0, 90.0)),
[INFO] [stderr]     |                  ^^^^^ use of undeclared type or module `RectF`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:19:15
[INFO] [stderr]    |
[INFO] [stderr] 19 |     pub hwnd: HWND,
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory1` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:25:42
[INFO] [stderr]    |
[INFO] [stderr] 25 |     fn create_target(self, factory: &mut ID2D1Factory1) -> Result<*mut ID2D1RenderTarget, HRESULT> {
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1RenderTarget` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:25:72
[INFO] [stderr]    |
[INFO] [stderr] 24 | unsafe impl RenderTargetBacking for HwndRtParams {
[INFO] [stderr]    |            - help: you might be missing a type parameter: `<ID2D1RenderTarget>`
[INFO] [stderr] 25 |     fn create_target(self, factory: &mut ID2D1Factory1) -> Result<*mut ID2D1RenderTarget, HRESULT> {
[INFO] [stderr]    |                                                                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:25:91
[INFO] [stderr]    |
[INFO] [stderr] 24 | unsafe impl RenderTargetBacking for HwndRtParams {
[INFO] [stderr]    |            - help: you might be missing a type parameter: `<HRESULT>`
[INFO] [stderr] 25 |     fn create_target(self, factory: &mut ID2D1Factory1) -> Result<*mut ID2D1RenderTarget, HRESULT> {
[INFO] [stderr]    |                                                                                           ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:27:31
[INFO] [stderr]    |
[INFO] [stderr] 27 |             let mut ptr: *mut ID2D1HwndRenderTarget = null_mut();
[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/hwnd_rt.rs:28:25
[INFO] [stderr]    |
[INFO] [stderr] 28 |             let props = 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/hwnd_rt.rs:29:24
[INFO] [stderr]    |
[INFO] [stderr] 29 |                 _type: D2D1_RENDER_TARGET_TYPE_DEFAULT,
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_PIXEL_FORMAT` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:30:30
[INFO] [stderr]    |
[INFO] [stderr] 30 |                 pixelFormat: D2D1_PIXEL_FORMAT {
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:31:29
[INFO] [stderr]    |
[INFO] [stderr] 31 |                     format: DXGI_FORMAT_UNKNOWN,
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_ALPHA_MODE_UNKNOWN` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:32:32
[INFO] [stderr]    |
[INFO] [stderr] 32 |                     alphaMode: D2D1_ALPHA_MODE_UNKNOWN,
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_NONE` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:36:24
[INFO] [stderr]    |
[INFO] [stderr] 36 |                 usage: D2D1_RENDER_TARGET_USAGE_NONE,
[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/hwnd_rt.rs:37:27
[INFO] [stderr]    |
[INFO] [stderr] 37 |                 minLevel: D2D1_FEATURE_LEVEL_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/hwnd_rt.rs:39:26
[INFO] [stderr]    |
[INFO] [stderr] 39 |             let hprops = D2D1_HWND_RENDER_TARGET_PROPERTIES {
[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/hwnd_rt.rs:41:28
[INFO] [stderr]    |
[INFO] [stderr] 41 |                 pixelSize: D2D1_SIZE_U {
[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/hwnd_rt.rs:45:33
[INFO] [stderr]    |
[INFO] [stderr] 45 |                 presentOptions: D2D1_PRESENT_OPTIONS_NONE,
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:53:16
[INFO] [stderr]    |
[INFO] [stderr] 53 |             if SUCCEEDED(hr) {
[INFO] [stderr]    |                ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]   --> src/util.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 |     Hr(HRESULT),
[INFO] [stderr]    |        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]   --> src/util.rs:15:11
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl From<HRESULT> for Error {
[INFO] [stderr]    |     -     ^^^^^^^ not found in this scope
[INFO] [stderr]    |     |
[INFO] [stderr]    |     help: you might be missing a type parameter: `<HRESULT>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]   --> src/util.rs:16:17
[INFO] [stderr]    |
[INFO] [stderr] 16 |     fn from(hr: HRESULT) -> Error {
[INFO] [stderr]    |                 ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PROCESS_DPI_AWARENESS` in this scope
[INFO] [stderr]   --> src/util.rs:37:64
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub fn dpi_aware() {
[INFO] [stderr]    |                 - help: you might be missing a type parameter: `<PROCESS_DPI_AWARENESS>`
[INFO] [stderr] 36 |     let shcore_lib = Library::new("ShCore.dll").unwrap();
[INFO] [stderr] 37 |     let set_aware: Symbol<unsafe extern "system" fn(awareness: PROCESS_DPI_AWARENESS) -> HRESULT>;
[INFO] [stderr]    |                                                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]   --> src/util.rs:37:90
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub fn dpi_aware() {
[INFO] [stderr]    |                 - help: you might be missing a type parameter: `<HRESULT>`
[INFO] [stderr] 36 |     let shcore_lib = Library::new("ShCore.dll").unwrap();
[INFO] [stderr] 37 |     let set_aware: Symbol<unsafe extern "system" fn(awareness: PROCESS_DPI_AWARENESS) -> HRESULT>;
[INFO] [stderr]    |                                                                                          ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_SYSTEM_DPI_AWARE` in this scope
[INFO] [stderr]   --> src/util.rs:44:19
[INFO] [stderr]    |
[INFO] [stderr] 44 |         set_aware(PROCESS_SYSTEM_DPI_AWARE);
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/window.rs:13:33
[INFO] [stderr]    |
[INFO] [stderr] 13 |     fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT>;
[INFO] [stderr]    |                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/window.rs:13:44
[INFO] [stderr]    |
[INFO] [stderr] 13 |     fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT>;
[INFO] [stderr]    |                                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]   --> src/window.rs:13:58
[INFO] [stderr]    |
[INFO] [stderr] 13 |     fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT>;
[INFO] [stderr]    |                                                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/window.rs:13:74
[INFO] [stderr]    |
[INFO] [stderr] 13 |     fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT>;
[INFO] [stderr]    |                                                                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/window.rs:13:92
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub trait WndProc {
[INFO] [stderr]    |                  - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] 13 |     fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT>;
[INFO] [stderr]    |                                                                                            ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/window.rs:16:55
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM)
[INFO] [stderr]    |                                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/window.rs:16:66
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, 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/window.rs:16:80
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM)
[INFO] [stderr]    |                                                                                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/window.rs:16:96
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM)
[INFO] [stderr]    |                                                                                                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/window.rs:17:8
[INFO] [stderr]    |
[INFO] [stderr] 17 |     -> LRESULT
[INFO] [stderr]    |        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_CREATE` in this scope
[INFO] [stderr]   --> src/window.rs:19:15
[INFO] [stderr]    |
[INFO] [stderr] 19 |     if msg == WM_CREATE {
[INFO] [stderr]    |               ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `CREATESTRUCTW` in this scope
[INFO] [stderr]   --> src/window.rs:20:49
[INFO] [stderr]    |
[INFO] [stderr] 20 |         let create_struct = &*(lparam as *const CREATESTRUCTW);
[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/window.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 22 |         SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope
[INFO] [stderr]   --> src/window.rs:22:33
[INFO] [stderr]    |
[INFO] [stderr] 22 |         SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR);
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG_PTR` in this scope
[INFO] [stderr]   --> src/window.rs:22:63
[INFO] [stderr]    |
[INFO] [stderr] 22 |         SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR);
[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/window.rs:24:23
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let wndproc_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const Box<WndProc>;
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope
[INFO] [stderr]   --> src/window.rs:24:47
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let wndproc_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const Box<WndProc>;
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_NCDESTROY` in this scope
[INFO] [stderr]   --> src/window.rs:33:15
[INFO] [stderr]    |
[INFO] [stderr] 33 |     if msg == WM_NCDESTROY {
[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/window.rs:35:13
[INFO] [stderr]    |
[INFO] [stderr] 35 |             SetWindowLongPtrW(hwnd, GWLP_USERDATA, 0);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope
[INFO] [stderr]   --> src/window.rs:35:37
[INFO] [stderr]    |
[INFO] [stderr] 35 |             SetWindowLongPtrW(hwnd, GWLP_USERDATA, 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/window.rs:41:17
[INFO] [stderr]    |
[INFO] [stderr] 41 |         None => DefWindowProcW(hwnd, msg, wparam, lparam),
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/window.rs:48:20
[INFO] [stderr]    |
[INFO] [stderr] 48 |         dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int,
[INFO] [stderr]    |                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]   --> src/window.rs:48:40
[INFO] [stderr]    |
[INFO] [stderr] 48 |         dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int,
[INFO] [stderr]    |                                        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]   --> src/window.rs:48:63
[INFO] [stderr]    |
[INFO] [stderr] 48 |         dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int,
[INFO] [stderr]    |                                                               ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/window.rs:48:81
[INFO] [stderr]    |
[INFO] [stderr] 48 |         dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int,
[INFO] [stderr]    |                                                                                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/window.rs:49:62
[INFO] [stderr]    |
[INFO] [stderr] 49 |         y: c_int, nWidth: c_int, nHeight: c_int, hWndParent: HWND, hMenu: HMENU,
[INFO] [stderr]    |                                                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]   --> src/window.rs:49:75
[INFO] [stderr]    |
[INFO] [stderr] 49 |         y: c_int, nWidth: c_int, nHeight: c_int, hWndParent: HWND, hMenu: HMENU,
[INFO] [stderr]    |                                                                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/window.rs:50:20
[INFO] [stderr]    |
[INFO] [stderr] 50 |         hInstance: HINSTANCE, wndproc: Rc<Box<WndProc>>) -> HWND
[INFO] [stderr]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/window.rs:50:61
[INFO] [stderr]    |
[INFO] [stderr] 50 |         hInstance: HINSTANCE, wndproc: Rc<Box<WndProc>>) -> HWND
[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/window.rs:52:16
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let hwnd = CreateWindowExW(dwExStyle, lpClassName, lpWindowName, dwStyle, x, y,
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]   --> src/window.rs:53:81
[INFO] [stderr]    |
[INFO] [stderr] 53 |         nWidth, nHeight, hWndParent, hMenu, hInstance, Rc::into_raw(wndproc) as LPVOID);
[INFO] [stderr]    |                                                                                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Factory` in crate `direct2d`
[INFO] [stderr]   --> src/main.rs:42:28
[INFO] [stderr]    |
[INFO] [stderr] 42 |     d2d_factory: direct2d::Factory,
[INFO] [stderr]    |                            ^^^^^^^ not found in `direct2d`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Factory` in crate `directwrite`
[INFO] [stderr]   --> src/main.rs:43:34
[INFO] [stderr]    |
[INFO] [stderr] 43 |     dwrite_factory: directwrite::Factory,
[INFO] [stderr]    |                                  ^^^^^^^ not found in `directwrite`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:130:33
[INFO] [stderr]     |
[INFO] [stderr] 130 |     fn window_proc(&self, hwnd: HWND, msg: UINT, _wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT> {
[INFO] [stderr]     |                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/main.rs:130:44
[INFO] [stderr]     |
[INFO] [stderr] 130 |     fn window_proc(&self, hwnd: HWND, msg: UINT, _wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT> {
[INFO] [stderr]     |                                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:130:59
[INFO] [stderr]     |
[INFO] [stderr] 130 |     fn window_proc(&self, hwnd: HWND, msg: UINT, _wparam: WPARAM, lparam: LPARAM) -> Option<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:130:75
[INFO] [stderr]     |
[INFO] [stderr] 130 |     fn window_proc(&self, hwnd: HWND, msg: UINT, _wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT> {
[INFO] [stderr]     |                                                                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/main.rs:130:93
[INFO] [stderr]     |
[INFO] [stderr] 129 | impl WndProc for MainWin {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] 130 |     fn window_proc(&self, hwnd: HWND, msg: UINT, _wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT> {
[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:134:17
[INFO] [stderr]     |
[INFO] [stderr] 134 |                 PostQuitMessage(0);
[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:140:35
[INFO] [stderr]     |
[INFO] [stderr] 140 |                     let mut rect: RECT = mem::uninitialized();
[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:141:21
[INFO] [stderr]     |
[INFO] [stderr] 141 |                     GetClientRect(hwnd, &mut rect);
[INFO] [stderr]     |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ValidateRect` in this scope
[INFO] [stderr]    --> src/main.rs:149:17
[INFO] [stderr]     |
[INFO] [stderr] 149 |                 ValidateRect(hwnd, null_mut());
[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:156:37
[INFO] [stderr]     |
[INFO] [stderr] 156 |                         hrt.Resize(&D2D1_SIZE_U {
[INFO] [stderr]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope
[INFO] [stderr]    --> src/main.rs:157:36
[INFO] [stderr]     |
[INFO] [stderr] 157 | ...                   width: LOWORD(lparam as u32) as u32,
[INFO] [stderr]     |                              ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope
[INFO] [stderr]    --> src/main.rs:158:37
[INFO] [stderr]     |
[INFO] [stderr] 158 | ...                   height: HIWORD(lparam as u32) as u32,
[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:169:28
[INFO] [stderr]     |
[INFO] [stderr] 169 | fn create_main() -> Result<HWND, Error> {
[INFO] [stderr]     |               -            ^^^^ not found in this scope
[INFO] [stderr]     |               |
[INFO] [stderr]     |               help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope
[INFO] [stderr]    --> src/main.rs:172:20
[INFO] [stderr]     |
[INFO] [stderr] 172 |         let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION);
[INFO] [stderr]     |                    ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/main.rs:172:35
[INFO] [stderr]     |
[INFO] [stderr] 172 |         let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION);
[INFO] [stderr]     |                                   ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope
[INFO] [stderr]    --> src/main.rs:172:46
[INFO] [stderr]     |
[INFO] [stderr] 172 |         let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION);
[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:173:22
[INFO] [stderr]     |
[INFO] [stderr] 173 |         let cursor = LoadCursorW(0 as HINSTANCE, IDC_IBEAM);
[INFO] [stderr]     |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/main.rs:173:39
[INFO] [stderr]     |
[INFO] [stderr] 173 |         let cursor = LoadCursorW(0 as HINSTANCE, IDC_IBEAM);
[INFO] [stderr]     |                                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDC_IBEAM` in this scope
[INFO] [stderr]    --> src/main.rs:173:50
[INFO] [stderr]     |
[INFO] [stderr] 173 |         let cursor = LoadCursorW(0 as HINSTANCE, IDC_IBEAM);
[INFO] [stderr]     |                                                  ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope
[INFO] [stderr]    --> src/main.rs:174:21
[INFO] [stderr]     |
[INFO] [stderr] 174 |         let brush = CreateSolidBrush(0xffffff);
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stderr]    --> src/main.rs:175:19
[INFO] [stderr]     |
[INFO] [stderr] 175 |         let wnd = WNDCLASSW {
[INFO] [stderr]     |                   ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/main.rs:180:29
[INFO] [stderr]     |
[INFO] [stderr] 180 |             hInstance: 0 as HINSTANCE,
[INFO] [stderr]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/main.rs:184:32
[INFO] [stderr]     |
[INFO] [stderr] 184 |             lpszMenuName: 0 as LPCWSTR,
[INFO] [stderr]     |                                ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stderr]    --> src/main.rs:187:26
[INFO] [stderr]     |
[INFO] [stderr] 187 |         let class_atom = RegisterClassW(&wnd);
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_EX_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]    --> src/main.rs:194:34
[INFO] [stderr]     |
[INFO] [stderr] 194 |         let hwnd = create_window(WS_EX_OVERLAPPEDWINDOW, class_name.as_ptr(),
[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:195:34
[INFO] [stderr]     |
[INFO] [stderr] 195 |             class_name.as_ptr(), WS_OVERLAPPEDWINDOW,
[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:196:13
[INFO] [stderr]     |
[INFO] [stderr] 196 |             CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,
[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:196:28
[INFO] [stderr]     |
[INFO] [stderr] 196 |             CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,
[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:196:63
[INFO] [stderr]     |
[INFO] [stderr] 196 |             CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,
[INFO] [stderr]     |                                                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]    --> src/main.rs:196:74
[INFO] [stderr]     |
[INFO] [stderr] 196 |             CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,
[INFO] [stderr]     |                                                                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/main.rs:196:86
[INFO] [stderr]     |
[INFO] [stderr] 196 |             CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,
[INFO] [stderr]     |                                                                                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stderr]    --> src/main.rs:209:9
[INFO] [stderr]     |
[INFO] [stderr] 209 |         ShowWindow(hwnd, SW_SHOWNORMAL);
[INFO] [stderr]     |         ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope
[INFO] [stderr]    --> src/main.rs:209:26
[INFO] [stderr]     |
[INFO] [stderr] 209 |         ShowWindow(hwnd, SW_SHOWNORMAL);
[INFO] [stderr]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope
[INFO] [stderr]    --> src/main.rs:210:9
[INFO] [stderr]     |
[INFO] [stderr] 210 |         UpdateWindow(hwnd);
[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:213:24
[INFO] [stderr]     |
[INFO] [stderr] 213 |             let bres = GetMessageW(&mut msg, null_mut(), 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:217:13
[INFO] [stderr]     |
[INFO] [stderr] 217 |             TranslateMessage(&mut 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:218:13
[INFO] [stderr]     |
[INFO] [stderr] 218 |             DispatchMessageW(&mut msg);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/window.rs:24:76
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let wndproc_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const Box<WndProc>;
[INFO] [stderr]    |                                                                            ^^^^^^^ help: use `dyn`: `dyn WndProc`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/window.rs:29:56
[INFO] [stderr]    |
[INFO] [stderr] 29 |             let wndproc = &*(wndproc_ptr as *const Box<WndProc>);
[INFO] [stderr]    |                                                        ^^^^^^^ help: use `dyn`: `dyn WndProc`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/window.rs:50:47
[INFO] [stderr]    |
[INFO] [stderr] 50 |         hInstance: HINSTANCE, wndproc: Rc<Box<WndProc>>) -> HWND
[INFO] [stderr]    |                                               ^^^^^^^ help: use `dyn`: `dyn WndProc`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `Factory` in `direct2d`
[INFO] [stderr]   --> src/main.rs:51:36
[INFO] [stderr]    |
[INFO] [stderr] 51 |             d2d_factory: direct2d::Factory::new().unwrap(),
[INFO] [stderr]    |                                    ^^^^^^^ could not find `Factory` in `direct2d`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/main.rs:191:30
[INFO] [stderr]     |
[INFO] [stderr] 191 |         let main_win: Rc<Box<WndProc>> = Rc::new(Box::new(MainWin::new(MainWinState::new())));
[INFO] [stderr]     |                              ^^^^^^^ help: use `dyn`: `dyn WndProc`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `Factory` in `directwrite`
[INFO] [stderr]   --> src/main.rs:52:42
[INFO] [stderr]    |
[INFO] [stderr] 52 |             dwrite_factory: directwrite::Factory::new().unwrap(),
[INFO] [stderr]    |                                          ^^^^^^^ could not find `Factory` in `directwrite`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BrushProperties`
[INFO] [stderr]   --> src/main.rs:66:56
[INFO] [stderr]    |
[INFO] [stderr] 66 |             fg: rt.create_solid_color_brush(0xf0f0ea, &BrushProperties::default()).unwrap(),
[INFO] [stderr]    |                                                        ^^^^^^^^^^^^^^^ use of undeclared type or module `BrushProperties`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BrushProperties`
[INFO] [stderr]   --> src/main.rs:67:56
[INFO] [stderr]    |
[INFO] [stderr] 67 |             bg: rt.create_solid_color_brush(0x272822, &BrushProperties::default()).unwrap(),
[INFO] [stderr]    |                                                        ^^^^^^^^^^^^^^^ use of undeclared type or module `BrushProperties`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RectF`
[INFO] [stderr]   --> src/main.rs:81:24
[INFO] [stderr]    |
[INFO] [stderr] 81 |             let rect = RectF::from((0.0, 0.0, size.width, size.height));
[INFO] [stderr]    |                        ^^^^^ use of undeclared type or module `RectF`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:83:27
[INFO] [stderr]    |
[INFO] [stderr] 83 |             rt.draw_line(&Point2F::from((10.0, 50.0)), &Point2F::from((90.0, 90.0)),
[INFO] [stderr]    |                           ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:83:57
[INFO] [stderr]    |
[INFO] [stderr] 83 |             rt.draw_line(&Point2F::from((10.0, 50.0)), &Point2F::from((90.0, 90.0)),
[INFO] [stderr]    |                                                         ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BezierSegment`
[INFO] [stderr]   --> src/main.rs:89:49
[INFO] [stderr]    |
[INFO] [stderr] 89 |                 let figure = figure.add_bezier(&BezierSegment::new(Point2F::from((190.0, 70.0)),
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^^ use of undeclared type or module `BezierSegment`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:89:68
[INFO] [stderr]    |
[INFO] [stderr] 89 |                 let figure = figure.add_bezier(&BezierSegment::new(Point2F::from((190.0, 70.0)),
[INFO] [stderr]    |                                                                    ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:90:21
[INFO] [stderr]    |
[INFO] [stderr] 90 |                     Point2F::from((90.0, 80.0)),
[INFO] [stderr]    |                     ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:91:21
[INFO] [stderr]    |
[INFO] [stderr] 91 |                     Point2F::from((180.0, 60.0))));
[INFO] [stderr]    |                     ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BezierSegment`
[INFO] [stderr]   --> src/main.rs:94:49
[INFO] [stderr]    |
[INFO] [stderr] 94 |                 let figure = figure.add_bezier(&BezierSegment::new(Point2F::from((190.0, 90.0)),
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^^ use of undeclared type or module `BezierSegment`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:94:68
[INFO] [stderr]    |
[INFO] [stderr] 94 |                 let figure = figure.add_bezier(&BezierSegment::new(Point2F::from((190.0, 90.0)),
[INFO] [stderr]    |                                                                    ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:95:21
[INFO] [stderr]    |
[INFO] [stderr] 95 |                     Point2F::from((90.0, 100.0)),
[INFO] [stderr]    |                     ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Point2F`
[INFO] [stderr]   --> src/main.rs:96:21
[INFO] [stderr]    |
[INFO] [stderr] 96 |                     Point2F::from((180.0, 80.0))));
[INFO] [stderr]    |                     ^^^^^^^ use of undeclared type or module `Point2F`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RectF`
[INFO] [stderr]    --> src/main.rs:105:18
[INFO] [stderr]     |
[INFO] [stderr] 105 |                 &RectF::from((10.0, 10.0, 300.0, 90.0)),
[INFO] [stderr]     |                  ^^^^^ use of undeclared type or module `RectF`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stderr]    --> src/main.rs:211:23
[INFO] [stderr]     |
[INFO] [stderr] 211 |         let mut msg = mem::uninitialized();
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stderr]    --> src/main.rs:140:42
[INFO] [stderr]     |
[INFO] [stderr] 140 |                     let mut rect: RECT = mem::uninitialized();
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 135 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `d2d1test-rs`.
[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[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:19:15
[INFO] [stderr]    |
[INFO] [stderr] 19 |     pub hwnd: HWND,
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory1` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:25:42
[INFO] [stderr]    |
[INFO] [stderr] 25 |     fn create_target(self, factory: &mut ID2D1Factory1) -> Result<*mut ID2D1RenderTarget, HRESULT> {
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1RenderTarget` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:25:72
[INFO] [stderr]    |
[INFO] [stderr] 24 | unsafe impl RenderTargetBacking for HwndRtParams {
[INFO] [stderr]    |            - help: you might be missing a type parameter: `<ID2D1RenderTarget>`
[INFO] [stderr] 25 |     fn create_target(self, factory: &mut ID2D1Factory1) -> Result<*mut ID2D1RenderTarget, HRESULT> {
[INFO] [stderr]    |                                                                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:25:91
[INFO] [stderr]    |
[INFO] [stderr] 24 | unsafe impl RenderTargetBacking for HwndRtParams {
[INFO] [stderr]    |            - help: you might be missing a type parameter: `<HRESULT>`
[INFO] [stderr] 25 |     fn create_target(self, factory: &mut ID2D1Factory1) -> Result<*mut ID2D1RenderTarget, HRESULT> {
[INFO] [stderr]    |                                                                                           ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:27:31
[INFO] [stderr]    |
[INFO] [stderr] 27 |             let mut ptr: *mut ID2D1HwndRenderTarget = null_mut();
[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/hwnd_rt.rs:28:25
[INFO] [stderr]    |
[INFO] [stderr] 28 |             let props = 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/hwnd_rt.rs:29:24
[INFO] [stderr]    |
[INFO] [stderr] 29 |                 _type: D2D1_RENDER_TARGET_TYPE_DEFAULT,
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_PIXEL_FORMAT` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:30:30
[INFO] [stderr]    |
[INFO] [stderr] 30 |                 pixelFormat: D2D1_PIXEL_FORMAT {
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:31:29
[INFO] [stderr]    |
[INFO] [stderr] 31 |                     format: DXGI_FORMAT_UNKNOWN,
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_ALPHA_MODE_UNKNOWN` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:32:32
[INFO] [stderr]    |
[INFO] [stderr] 32 |                     alphaMode: D2D1_ALPHA_MODE_UNKNOWN,
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_NONE` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:36:24
[INFO] [stderr]    |
[INFO] [stderr] 36 |                 usage: D2D1_RENDER_TARGET_USAGE_NONE,
[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/hwnd_rt.rs:37:27
[INFO] [stderr]    |
[INFO] [stderr] 37 |                 minLevel: D2D1_FEATURE_LEVEL_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/hwnd_rt.rs:39:26
[INFO] [stderr]    |
[INFO] [stderr] 39 |             let hprops = D2D1_HWND_RENDER_TARGET_PROPERTIES {
[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/hwnd_rt.rs:41:28
[INFO] [stderr]    |
[INFO] [stderr] 41 |                 pixelSize: D2D1_SIZE_U {
[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/hwnd_rt.rs:45:33
[INFO] [stderr]    |
[INFO] [stderr] 45 |                 presentOptions: D2D1_PRESENT_OPTIONS_NONE,
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope
[INFO] [stderr]   --> src/hwnd_rt.rs:53:16
[INFO] [stderr]    |
[INFO] [stderr] 53 |             if SUCCEEDED(hr) {
[INFO] [stderr]    |                ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]   --> src/util.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 |     Hr(HRESULT),
[INFO] [stderr]    |        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]   --> src/util.rs:15:11
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl From<HRESULT> for Error {
[INFO] [stderr]    |     -     ^^^^^^^ not found in this scope
[INFO] [stderr]    |     |
[INFO] [stderr]    |     help: you might be missing a type parameter: `<HRESULT>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]   --> src/util.rs:16:17
[INFO] [stderr]    |
[INFO] [stderr] 16 |     fn from(hr: HRESULT) -> Error {
[INFO] [stderr]    |                 ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PROCESS_DPI_AWARENESS` in this scope
[INFO] [stderr]   --> src/util.rs:37:64
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub fn dpi_aware() {
[INFO] [stderr]    |                 - help: you might be missing a type parameter: `<PROCESS_DPI_AWARENESS>`
[INFO] [stderr] 36 |     let shcore_lib = Library::new("ShCore.dll").unwrap();
[INFO] [stderr] 37 |     let set_aware: Symbol<unsafe extern "system" fn(awareness: PROCESS_DPI_AWARENESS) -> HRESULT>;
[INFO] [stderr]    |                                                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]   --> src/util.rs:37:90
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub fn dpi_aware() {
[INFO] [stderr]    |                 - help: you might be missing a type parameter: `<HRESULT>`
[INFO] [stderr] 36 |     let shcore_lib = Library::new("ShCore.dll").unwrap();
[INFO] [stderr] 37 |     let set_aware: Symbol<unsafe extern "system" fn(awareness: PROCESS_DPI_AWARENESS) -> HRESULT>;
[INFO] [stderr]    |                                                                                          ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_SYSTEM_DPI_AWARE` in this scope
[INFO] [stderr]   --> src/util.rs:44:19
[INFO] [stderr]    |
[INFO] [stderr] 44 |         set_aware(PROCESS_SYSTEM_DPI_AWARE);
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/window.rs:13:33
[INFO] [stderr]    |
[INFO] [stderr] 13 |     fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT>;
[INFO] [stderr]    |                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/window.rs:13:44
[INFO] [stderr]    |
[INFO] [stderr] 13 |     fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT>;
[INFO] [stderr]    |                                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]   --> src/window.rs:13:58
[INFO] [stderr]    |
[INFO] [stderr] 13 |     fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT>;
[INFO] [stderr]    |                                                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/window.rs:13:74
[INFO] [stderr]    |
[INFO] [stderr] 13 |     fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT>;
[INFO] [stderr]    |                                                                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/window.rs:13:92
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub trait WndProc {
[INFO] [stderr]    |                  - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] 13 |     fn window_proc(&self, hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT>;
[INFO] [stderr]    |                                                                                            ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/window.rs:16:55
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM)
[INFO] [stderr]    |                                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/window.rs:16:66
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, 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/window.rs:16:80
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM)
[INFO] [stderr]    |                                                                                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/window.rs:16:96
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub unsafe extern "system" fn win_proc_dispatch(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM)
[INFO] [stderr]    |                                                                                                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/window.rs:17:8
[INFO] [stderr]    |
[INFO] [stderr] 17 |     -> LRESULT
[INFO] [stderr]    |        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_CREATE` in this scope
[INFO] [stderr]   --> src/window.rs:19:15
[INFO] [stderr]    |
[INFO] [stderr] 19 |     if msg == WM_CREATE {
[INFO] [stderr]    |               ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `CREATESTRUCTW` in this scope
[INFO] [stderr]   --> src/window.rs:20:49
[INFO] [stderr]    |
[INFO] [stderr] 20 |         let create_struct = &*(lparam as *const CREATESTRUCTW);
[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/window.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 22 |         SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope
[INFO] [stderr]   --> src/window.rs:22:33
[INFO] [stderr]    |
[INFO] [stderr] 22 |         SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR);
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG_PTR` in this scope
[INFO] [stderr]   --> src/window.rs:22:63
[INFO] [stderr]    |
[INFO] [stderr] 22 |         SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR);
[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/window.rs:24:23
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let wndproc_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const Box<WndProc>;
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope
[INFO] [stderr]   --> src/window.rs:24:47
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let wndproc_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const Box<WndProc>;
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_NCDESTROY` in this scope
[INFO] [stderr]   --> src/window.rs:33:15
[INFO] [stderr]    |
[INFO] [stderr] 33 |     if msg == WM_NCDESTROY {
[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/window.rs:35:13
[INFO] [stderr]    |
[INFO] [stderr] 35 |             SetWindowLongPtrW(hwnd, GWLP_USERDATA, 0);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GWLP_USERDATA` in this scope
[INFO] [stderr]   --> src/window.rs:35:37
[INFO] [stderr]    |
[INFO] [stderr] 35 |             SetWindowLongPtrW(hwnd, GWLP_USERDATA, 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/window.rs:41:17
[INFO] [stderr]    |
[INFO] [stderr] 41 |         None => DefWindowProcW(hwnd, msg, wparam, lparam),
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/window.rs:48:20
[INFO] [stderr]    |
[INFO] [stderr] 48 |         dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int,
[INFO] [stderr]    |                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]   --> src/window.rs:48:40
[INFO] [stderr]    |
[INFO] [stderr] 48 |         dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int,
[INFO] [stderr]    |                                        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]   --> src/window.rs:48:63
[INFO] [stderr]    |
[INFO] [stderr] 48 |         dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int,
[INFO] [stderr]    |                                                               ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/window.rs:48:81
[INFO] [stderr]    |
[INFO] [stderr] 48 |         dwExStyle: DWORD, lpClassName: LPCWSTR, lpWindowName: LPCWSTR, dwStyle: DWORD, x: c_int,
[INFO] [stderr]    |                                                                                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/window.rs:49:62
[INFO] [stderr]    |
[INFO] [stderr] 49 |         y: c_int, nWidth: c_int, nHeight: c_int, hWndParent: HWND, hMenu: HMENU,
[INFO] [stderr]    |                                                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]   --> src/window.rs:49:75
[INFO] [stderr]    |
[INFO] [stderr] 49 |         y: c_int, nWidth: c_int, nHeight: c_int, hWndParent: HWND, hMenu: HMENU,
[INFO] [stderr]    |                                                                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/window.rs:50:20
[INFO] [stderr]    |
[INFO] [stderr] 50 |         hInstance: HINSTANCE, wndproc: Rc<Box<WndProc>>) -> HWND
[INFO] [stderr]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/window.rs:50:61
[INFO] [stderr]    |
[INFO] [stderr] 50 |         hInstance: HINSTANCE, wndproc: Rc<Box<WndProc>>) -> HWND
[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/window.rs:52:16
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let hwnd = CreateWindowExW(dwExStyle, lpClassName, lpWindowName, dwStyle, x, y,
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]   --> src/window.rs:53:81
[INFO] [stderr]    |
[INFO] [stderr] 53 |         nWidth, nHeight, hWndParent, hMenu, hInstance, Rc::into_raw(wndproc) as LPVOID);
[INFO] [stderr]    |                                                                                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Factory` in crate `direct2d`
[INFO] [stderr]   --> src/main.rs:42:28
[INFO] [stderr]    |
[INFO] [stderr] 42 |     d2d_factory: direct2d::Factory,
[INFO] [stderr]    |                            ^^^^^^^ not found in `direct2d`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Factory` in crate `directwrite`
[INFO] [stderr]   --> src/main.rs:43:34
[INFO] [stderr]    |
[INFO] [stderr] 43 |     dwrite_factory: directwrite::Factory,
[INFO] [stderr]    |                                  ^^^^^^^ not found in `directwrite`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:130:33
[INFO] [stderr]     |
[INFO] [stderr] 130 |     fn window_proc(&self, hwnd: HWND, msg: UINT, _wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT> {
[INFO] [stderr]     |                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/main.rs:130:44
[INFO] [stderr]     |
[INFO] [stderr] 130 |     fn window_proc(&self, hwnd: HWND, msg: UINT, _wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT> {
[INFO] [stderr]     |                                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:130:59
[INFO] [stderr]     |
[INFO] [stderr] 130 |     fn window_proc(&self, hwnd: HWND, msg: UINT, _wparam: WPARAM, lparam: LPARAM) -> Option<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:130:75
[INFO] [stderr]     |
[INFO] [stderr] 130 |     fn window_proc(&self, hwnd: HWND, msg: UINT, _wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT> {
[INFO] [stderr]     |                                                                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/main.rs:130:93
[INFO] [stderr]     |
[INFO] [stderr] 129 | impl WndProc for MainWin {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] 130 |     fn window_proc(&self, hwnd: HWND, msg: UINT, _wparam: WPARAM, lparam: LPARAM) -> Option<LRESULT> {
[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:134:17
[INFO] [stderr]     |
[INFO] [stderr] 134 |                 PostQuitMessage(0);
[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:140:35
[INFO] [stderr]     |
[INFO] [stderr] 140 |                     let mut rect: RECT = mem::uninitialized();
[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:141:21
[INFO] [stderr]     |
[INFO] [stderr] 141 |                     GetClientRect(hwnd, &mut rect);
[INFO] [stderr]     |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ValidateRect` in this scope
[INFO] [stderr]    --> src/main.rs:149:17
[INFO] [stderr]     |
[INFO] [stderr] 149 |                 ValidateRect(hwnd, null_mut());
[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:156:37
[INFO] [stderr]     |
[INFO] [stderr] 156 |                         hrt.Resize(&D2D1_SIZE_U {
[INFO] [stderr]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope
[INFO] [stderr]    --> src/main.rs:157:36
[INFO] [stderr]     |
[INFO] [stderr] 157 | ...                   width: LOWORD(lparam as u32) as u32,
[INFO] [stderr]     |                              ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope
[INFO] [stderr]    --> src/main.rs:158:37
[INFO] [stderr]     |
[INFO] [stderr] 158 | ...                   height: HIWORD(lparam as u32) as u32,
[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:169:28
[INFO] [stderr]     |
[INFO] [stderr] 169 | fn create_main() -> Result<HWND, Error> {
[INFO] [stderr]     |               -            ^^^^ not found in this scope
[INFO] [stderr]     |               |
[INFO] [stderr]     |               help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope
[INFO] [stderr]    --> src/main.rs:172:20
[INFO] [stderr]     |
[INFO] [stderr] 172 |         let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION);
[INFO] [stderr]     |                    ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/main.rs:172:35
[INFO] [stderr]     |
[INFO] [stderr] 172 |         let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION);
[INFO] [stderr]     |                                   ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope
[INFO] [stderr]    --> src/main.rs:172:46
[INFO] [stderr]     |
[INFO] [stderr] 172 |         let icon = LoadIconW(0 as HINSTANCE, IDI_APPLICATION);
[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:173:22
[INFO] [stderr]     |
[INFO] [stderr] 173 |         let cursor = LoadCursorW(0 as HINSTANCE, IDC_IBEAM);
[INFO] [stderr]     |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/main.rs:173:39
[INFO] [stderr]     |
[INFO] [stderr] 173 |         let cursor = LoadCursorW(0 as HINSTANCE, IDC_IBEAM);
[INFO] [stderr]     |                                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDC_IBEAM` in this scope
[INFO] [stderr]    --> src/main.rs:173:50
[INFO] [stderr]     |
[INFO] [stderr] 173 |         let cursor = LoadCursorW(0 as HINSTANCE, IDC_IBEAM);
[INFO] [stderr]     |                                                  ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope
[INFO] [stderr]    --> src/main.rs:174:21
[INFO] [stderr]     |
[INFO] [stderr] 174 |         let brush = CreateSolidBrush(0xffffff);
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stderr]    --> src/main.rs:175:19
[INFO] [stderr]     |
[INFO] [stderr] 175 |         let wnd = WNDCLASSW {
[INFO] [stderr]     |                   ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/main.rs:180:29
[INFO] [stderr]     |
[INFO] [stderr] 180 |             hInstance: 0 as HINSTANCE,
[INFO] [stderr]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/main.rs:184:32
[INFO] [stderr]     |
[INFO] [stderr] 184 |             lpszMenuName: 0 as LPCWSTR,
[INFO] [stderr]     |                                ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stderr]    --> src/main.rs:187:26
[INFO] [stderr]     |
[INFO] [stderr] 187 |         let class_atom = RegisterClassW(&wnd);
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_EX_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]    --> src/main.rs:194:34
[INFO] [stderr]     |
[INFO] [stderr] 194 |         let hwnd = create_window(WS_EX_OVERLAPPEDWINDOW, class_name.as_ptr(),
[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:195:34
[INFO] [stderr]     |
[INFO] [stderr] 195 |             class_name.as_ptr(), WS_OVERLAPPEDWINDOW,
[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:196:13
[INFO] [stderr]     |
[INFO] [stderr] 196 |             CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,
[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:196:28
[INFO] [stderr]     |
[INFO] [stderr] 196 |             CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,
[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:196:63
[INFO] [stderr]     |
[INFO] [stderr] 196 |             CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,
[INFO] [stderr]     |                                                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]    --> src/main.rs:196:74
[INFO] [stderr]     |
[INFO] [stderr] 196 |             CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,
[INFO] [stderr]     |                                                                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/main.rs:196:86
[INFO] [stderr]     |
[INFO] [stderr] 196 |             CW_USEDEFAULT, CW_USEDEFAULT, width, height, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,
[INFO] [stderr]     |                                                                                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stderr]    --> src/main.rs:209:9
[INFO] [stderr]     |
[INFO] [stderr] 209 |         ShowWindow(hwnd, SW_SHOWNORMAL);
[INFO] [stderr]     |         ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope
[INFO] [stderr]    --> src/main.rs:209:26
[INFO] [stderr]     |
[INFO] [stderr] 209 |         ShowWindow(hwnd, SW_SHOWNORMAL);
[INFO] [stderr]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope
[INFO] [stderr]    --> src/main.rs:210:9
[INFO] [stderr]     |
[INFO] [stderr] 210 |         UpdateWindow(hwnd);
[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:213:24
[INFO] [stderr]     |
[INFO] [stderr] 213 |             let bres = GetMessageW(&mut msg, null_mut(), 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:217:13
[INFO] [stderr]     |
[INFO] [stderr] 217 |             TranslateMessage(&mut 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:218:13
[INFO] [stderr]     |
[INFO] [stderr] 218 |             DispatchMessageW(&mut msg);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/window.rs:24:76
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let wndproc_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const Box<WndProc>;
[INFO] [stderr]    |                                                                            ^^^^^^^ help: use `dyn`: `dyn WndProc`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/window.rs:29:56
[INFO] [stderr]    |
[INFO] [stderr] 29 |             let wndproc = &*(wndproc_ptr as *const Box<WndProc>);
[INFO] [stderr]    |                                                        ^^^^^^^ help: use `dyn`: `dyn WndProc`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/window.rs:50:47
[INFO] [stderr]    |
[INFO] [stderr] 50 |         hInstance: HINSTANCE, wndproc: Rc<Box<WndProc>>) -> HWND
[INFO] [stderr]    |                                               ^^^^^^^ help: use `dyn`: `dyn WndProc`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/main.rs:191:30
[INFO] [stderr]     |
[INFO] [stderr] 191 |         let main_win: Rc<Box<WndProc>> = Rc::new(Box::new(MainWin::new(MainWinState::new())));
[INFO] [stderr]     |                              ^^^^^^^ help: use `dyn`: `dyn WndProc`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stderr]    --> src/main.rs:211:23
[INFO] [stderr]     |
[INFO] [stderr] 211 |         let mut msg = mem::uninitialized();
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stderr]    --> src/main.rs:140:42
[INFO] [stderr]     |
[INFO] [stderr] 140 |                     let mut rect: RECT = mem::uninitialized();
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 135 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `d2d1test-rs`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "11b33f8ad1cd485c0a2127beecc9a6aac30c9e6a160ea35ed5aae88d29620d07"`
[INFO] running `"docker" "rm" "-f" "11b33f8ad1cd485c0a2127beecc9a6aac30c9e6a160ea35ed5aae88d29620d07"`
[INFO] [stdout] 11b33f8ad1cd485c0a2127beecc9a6aac30c9e6a160ea35ed5aae88d29620d07
