[INFO] updating cached repository https://github.com/gabdube/D2D1_rs_simple_example
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 1d37a4168946136d09ffeefd23073acd1ee78976
[INFO] checking gabdube/D2D1_rs_simple_example against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabdube%2FD2D1_rs_simple_example" "/workspace/builds/worker-2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/gabdube/D2D1_rs_simple_example on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/gabdube/D2D1_rs_simple_example
[INFO] finished tweaking git repo https://github.com/gabdube/D2D1_rs_simple_example
[INFO] tweaked toml for git repo https://github.com/gabdube/D2D1_rs_simple_example written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/gabdube/D2D1_rs_simple_example already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 97c77985f4ea37cca1c283cdc698ab0b8d54bad6944a52026924271ee160e4a9
[INFO] running `"docker" "start" "-a" "97c77985f4ea37cca1c283cdc698ab0b8d54bad6944a52026924271ee160e4a9"`
[INFO] [stderr]    Compiling d2d1_example v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling user32-sys v0.1.3
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope
[INFO] [stderr]   --> src/main.rs:19:22
[INFO] [stderr]    |
[INFO] [stderr] 19 |         factoryType: D2D1_FACTORY_TYPE,
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `REFIID` in this scope
[INFO] [stderr]   --> src/main.rs:20:9
[INFO] [stderr]    |
[INFO] [stderr] 20 |         riid: REFIID, 
[INFO] [stderr]    |               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope
[INFO] [stderr]   --> src/main.rs:21:27
[INFO] [stderr]    |
[INFO] [stderr] 21 |         pFactoryOptions: *const D2D1_FACTORY_OPTIONS,
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope
[INFO] [stderr]   --> src/main.rs:22:31
[INFO] [stderr]    |
[INFO] [stderr] 22 |         ppIFactory: *mut *mut ID2D1Factory
[INFO] [stderr]    |                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]   --> src/main.rs:23:10
[INFO] [stderr]    |
[INFO] [stderr] 23 |     ) -> HRESULT;
[INFO] [stderr]    |          ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope
[INFO] [stderr]   --> src/main.rs:31:25
[INFO] [stderr]    |
[INFO] [stderr] 31 |     render_target: *mut ID2D1HwndRenderTarget,
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope
[INFO] [stderr]   --> src/main.rs:32:18
[INFO] [stderr]    |
[INFO] [stderr] 32 |     brush1: *mut ID2D1SolidColorBrush,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope
[INFO] [stderr]   --> src/main.rs:33:18
[INFO] [stderr]    |
[INFO] [stderr] 33 |     brush2: *mut ID2D1SolidColorBrush
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope
[INFO] [stderr]   --> src/main.rs:38:19
[INFO] [stderr]    |
[INFO] [stderr] 38 |     factory: *mut ID2D1Factory,
[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:39:11
[INFO] [stderr]    |
[INFO] [stderr] 39 |     hwnd: HWND,
[INFO] [stderr]    |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope
[INFO] [stderr]   --> src/main.rs:51:30
[INFO] [stderr]    |
[INFO] [stderr] 51 |     let null_options: *const D2D1_FACTORY_OPTIONS = null();
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope
[INFO] [stderr]   --> src/main.rs:52:27
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let mut factory: *mut ID2D1Factory = null_mut();
[INFO] [stderr]    |                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_SINGLE_THREADED` in this scope
[INFO] [stderr]   --> src/main.rs:55:9
[INFO] [stderr]    |
[INFO] [stderr] 55 |         D2D1_FACTORY_TYPE_SINGLE_THREADED,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `UuidOfID2D1Factory` in this scope
[INFO] [stderr]   --> src/main.rs:56:10
[INFO] [stderr]    |
[INFO] [stderr] 56 |         &UuidOfID2D1Factory,
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]   --> src/main.rs:61:18
[INFO] [stderr]    |
[INFO] [stderr] 61 |     if result != S_OK{
[INFO] [stderr]    |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/main.rs:82:14
[INFO] [stderr]    |
[INFO] [stderr] 82 |     let mut rc: RECT = 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:93:5
[INFO] [stderr]    |
[INFO] [stderr] 93 |     GetClientRect(hwnd, &mut rc);
[INFO] [stderr]    |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope
[INFO] [stderr]   --> src/main.rs:94:16
[INFO] [stderr]    |
[INFO] [stderr] 94 |     let size = D2D_SIZE_U{width: (rc.right-rc.left) as u32,
[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/main.rs:97:24
[INFO] [stderr]    |
[INFO] [stderr] 97 |     let pixel_format = D2D1_PIXEL_FORMAT{
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope
[INFO] [stderr]   --> src/main.rs:98:17
[INFO] [stderr]    |
[INFO] [stderr] 98 |         format: DXGI_FORMAT_B8G8R8A8_UNORM.0,
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_ALPHA_MODE_PREMULTIPLIED` in this scope
[INFO] [stderr]   --> src/main.rs:99:20
[INFO] [stderr]    |
[INFO] [stderr] 99 |         alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED
[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/main.rs:102:24
[INFO] [stderr]     |
[INFO] [stderr] 102 |     let render_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/main.rs:103:16
[INFO] [stderr]     |
[INFO] [stderr] 103 |         _type: D2D1_RENDER_TARGET_TYPE_DEFAULT,
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_NONE` in this scope
[INFO] [stderr]    --> src/main.rs:106:16
[INFO] [stderr]     |
[INFO] [stderr] 106 |         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/main.rs:107:19
[INFO] [stderr]     |
[INFO] [stderr] 107 |         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/main.rs:110:29
[INFO] [stderr]     |
[INFO] [stderr] 110 |     let hwnd_render_props = D2D1_HWND_RENDER_TARGET_PROPERTIES{
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope
[INFO] [stderr]    --> src/main.rs:113:25
[INFO] [stderr]     |
[INFO] [stderr] 113 |         presentOptions: D2D1_PRESENT_OPTIONS_NONE
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_BRUSH_PROPERTIES` in this scope
[INFO] [stderr]    --> src/main.rs:119:33
[INFO] [stderr]     |
[INFO] [stderr] 119 |     let null_properties: *const D2D1_BRUSH_PROPERTIES = null();
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope
[INFO] [stderr]    --> src/main.rs:120:16
[INFO] [stderr]     |
[INFO] [stderr] 120 |     let gray = D2D1_COLOR_F{r: 0.345, g: 0.423, b: 0.463, a: 1.0};
[INFO] [stderr]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope
[INFO] [stderr]    --> src/main.rs:121:15
[INFO] [stderr]     |
[INFO] [stderr] 121 |     let red = D2D1_COLOR_F{r: 0.941, g: 0.353, b: 0.392, a: 1.0};
[INFO] [stderr]     |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope
[INFO] [stderr]    --> src/main.rs:127:23
[INFO] [stderr]     |
[INFO] [stderr] 127 |     let factory: &mut ID2D1Factory = &mut *app.factory;
[INFO] [stderr]     |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope
[INFO] [stderr]    --> src/main.rs:128:22
[INFO] [stderr]     |
[INFO] [stderr] 128 |     let mut rt: &mut ID2D1HwndRenderTarget;
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/main.rs:130:107
[INFO] [stderr]     |
[INFO] [stderr] 130 |     if factory.CreateHwndRenderTarget(&render_props, &hwnd_render_props, &mut resources.render_target) != S_OK{
[INFO] [stderr]     |                                                                                                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/main.rs:136:83
[INFO] [stderr]     |
[INFO] [stderr] 136 |     if rt.CreateSolidColorBrush(&gray, null_properties, &mut resources.brush1) != S_OK{
[INFO] [stderr]     |                                                                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/main.rs:140:82
[INFO] [stderr]     |
[INFO] [stderr] 140 |     if rt.CreateSolidColorBrush(&red, null_properties, &mut resources.brush2) != S_OK{
[INFO] [stderr]     |                                                                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]    --> src/main.rs:183:47
[INFO] [stderr]     |
[INFO] [stderr] 183 | unsafe fn render_window(myapp: &mut MyApp) -> HRESULT{
[INFO] [stderr]     |                                               ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_MATRIX_3X2_F` in this scope
[INFO] [stderr]    --> src/main.rs:184:20
[INFO] [stderr]     |
[INFO] [stderr] 184 |     let identity = D2D1_MATRIX_3X2_F{
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope
[INFO] [stderr]    --> src/main.rs:189:17
[INFO] [stderr]     |
[INFO] [stderr] 189 |     let white = D2D1_COLOR_F{r:1.0, g:1.0, b:1.0, a:1.0};
[INFO] [stderr]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_SIZE_F` in this scope
[INFO] [stderr]    --> src/main.rs:192:27
[INFO] [stderr]     |
[INFO] [stderr] 192 |     let mut render_size = D2D1_SIZE_F{width: 0.0, height: 0.0};
[INFO] [stderr]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope
[INFO] [stderr]    --> src/main.rs:202:20
[INFO] [stderr]     |
[INFO] [stderr] 202 |     let mut count: FLOAT = 0.0;
[INFO] [stderr]     |                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope
[INFO] [stderr]    --> src/main.rs:205:13
[INFO] [stderr]     |
[INFO] [stderr] 205 |             D2D_POINT_2F{x: count, y: 0.0},
[INFO] [stderr]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope
[INFO] [stderr]    --> src/main.rs:206:13
[INFO] [stderr]     |
[INFO] [stderr] 206 |             D2D_POINT_2F{x: count, y: render_size.height},
[INFO] [stderr]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope
[INFO] [stderr]    --> src/main.rs:218:13
[INFO] [stderr]     |
[INFO] [stderr] 218 |             D2D_POINT_2F{x: 0.0, y: count},
[INFO] [stderr]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope
[INFO] [stderr]    --> src/main.rs:219:13
[INFO] [stderr]     |
[INFO] [stderr] 219 |             D2D_POINT_2F{x: render_size.width, y: count},
[INFO] [stderr]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope
[INFO] [stderr]    --> src/main.rs:231:17
[INFO] [stderr]     |
[INFO] [stderr] 231 |     let rect1 = D2D1_RECT_F{left: rx-50.0, right: rx+50.0, top: ry-50.0, bottom: ry+50.0};
[INFO] [stderr]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope
[INFO] [stderr]    --> src/main.rs:232:17
[INFO] [stderr]     |
[INFO] [stderr] 232 |     let rect2 = D2D1_RECT_F{left: rx-100.0, right: rx+100.0, top: ry-100.0, bottom: ry+100.0};
[INFO] [stderr]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:241:41
[INFO] [stderr]     |
[INFO] [stderr] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{
[INFO] [stderr]     |                                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/main.rs:241:52
[INFO] [stderr]     |
[INFO] [stderr] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{
[INFO] [stderr]     |                                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:241:61
[INFO] [stderr]     |
[INFO] [stderr] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{
[INFO] [stderr]     |                                                             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:241:72
[INFO] [stderr]     |
[INFO] [stderr] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{
[INFO] [stderr]     |                                                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/main.rs:241:83
[INFO] [stderr]     |
[INFO] [stderr] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{
[INFO] [stderr]     |                                                                                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:242:22
[INFO] [stderr]     |
[INFO] [stderr] 242 |     let mut result: (LPARAM, bool) = (1, true);
[INFO] [stderr]     |                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope
[INFO] [stderr]    --> src/main.rs:243:21
[INFO] [stderr]     |
[INFO] [stderr] 243 |     let myapp_ptr = GetWindowLongPtrW(hwnd, 0);
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2DERR_RECREATE_TARGET` in this scope
[INFO] [stderr]    --> src/main.rs:252:40
[INFO] [stderr]     |
[INFO] [stderr] 252 |             if render_window(myapp) == D2DERR_RECREATE_TARGET{
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GET_X_LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:258:25
[INFO] [stderr]     |
[INFO] [stderr] 258 |             let width = GET_X_LPARAM(l) as u32;
[INFO] [stderr]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GET_Y_LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:259:26
[INFO] [stderr]     |
[INFO] [stderr] 259 |             let height = GET_Y_LPARAM(l) as u32;
[INFO] [stderr]     |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope
[INFO] [stderr]    --> src/main.rs:260:31
[INFO] [stderr]     |
[INFO] [stderr] 260 |             let render_size = D2D_SIZE_U{width: width, height: height};
[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:269:13
[INFO] [stderr]     |
[INFO] [stderr] 269 |             PostQuitMessage(0);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope
[INFO] [stderr]    --> src/main.rs:272:13
[INFO] [stderr]     |
[INFO] [stderr] 272 |             SetWindowLongPtrW(hwnd, 0, 0);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stderr]    --> src/main.rs:279:18
[INFO] [stderr]     |
[INFO] [stderr] 279 |         false => DefWindowProcW(hwnd, msg, w, l)
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]    --> src/main.rs:290:40
[INFO] [stderr]     |
[INFO] [stderr] 290 | unsafe fn setup_class(class_name: &Vec<WCHAR>){
[INFO] [stderr]     |                      -                 ^^^^^ not found in this scope
[INFO] [stderr]     |                      |
[INFO] [stderr]     |                      help: you might be missing a type parameter: `<WCHAR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:291:20
[INFO] [stderr]     |
[INFO] [stderr] 291 |     let null_icon: HICON = null_mut();
[INFO] [stderr]     |                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/main.rs:292:26
[INFO] [stderr]     |
[INFO] [stderr] 292 |     let null_background: HBRUSH = null_mut();
[INFO] [stderr]     |                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]    --> src/main.rs:293:27
[INFO] [stderr]     |
[INFO] [stderr] 293 |     let null_name: *const WCHAR = null();
[INFO] [stderr]     |                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]    --> src/main.rs:294:18
[INFO] [stderr]     |
[INFO] [stderr] 294 |     let module = GetModuleHandleW(null_name);
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/main.rs:297:5
[INFO] [stderr]     |
[INFO] [stderr] 297 |     WNDCLASSEXW{
[INFO] [stderr]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/main.rs:298:27
[INFO] [stderr]     |
[INFO] [stderr] 290 | unsafe fn setup_class(class_name: &Vec<WCHAR>){
[INFO] [stderr]     |                      - help: you might be missing a type parameter: `<WNDCLASSEXW>`
[INFO] [stderr] ...
[INFO] [stderr] 298 |         cbSize: size_of::<WNDCLASSEXW>() as UINT,
[INFO] [stderr]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/main.rs:298:45
[INFO] [stderr]     |
[INFO] [stderr] 298 |         cbSize: size_of::<WNDCLASSEXW>() as UINT,
[INFO] [stderr]     |                                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stderr]    --> src/main.rs:299:16
[INFO] [stderr]     |
[INFO] [stderr] 299 |         style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]     |                ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stderr]    --> src/main.rs:299:29
[INFO] [stderr]     |
[INFO] [stderr] 299 |         style: CS_HREDRAW | CS_VREDRAW,
[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:305:18
[INFO] [stderr]     |
[INFO] [stderr] 305 |         hCursor: LoadCursorW(module, IDC_ARROW),
[INFO] [stderr]     |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stderr]    --> src/main.rs:305:38
[INFO] [stderr]     |
[INFO] [stderr] 305 |         hCursor: LoadCursorW(module, IDC_ARROW),
[INFO] [stderr]     |                                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stderr]    --> src/main.rs:313:11
[INFO] [stderr]     |
[INFO] [stderr] 313 |     match RegisterClassExW(&class){
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]    --> src/main.rs:322:58
[INFO] [stderr]     |
[INFO] [stderr] 322 | unsafe fn setup_window(app: &mut MyApp, class_name: &Vec<WCHAR>, window_name: &Vec<WCHAR>){
[INFO] [stderr]     |                       -                                  ^^^^^ not found in this scope
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       help: you might be missing a type parameter: `<WCHAR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]    --> src/main.rs:322:84
[INFO] [stderr]     |
[INFO] [stderr] 322 | unsafe fn setup_window(app: &mut MyApp, class_name: &Vec<WCHAR>, window_name: &Vec<WCHAR>){
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<WCHAR>`     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:323:20
[INFO] [stderr]     |
[INFO] [stderr] 323 |     let null_hwnd: HWND = null_mut();
[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:324:20
[INFO] [stderr]     |
[INFO] [stderr] 324 |     let null_menu: HMENU = null_mut();
[INFO] [stderr]     |                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]    --> src/main.rs:325:27
[INFO] [stderr]     |
[INFO] [stderr] 325 |     let null_name: *const WCHAR = null();
[INFO] [stderr]     |                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]    --> src/main.rs:326:15
[INFO] [stderr]     |
[INFO] [stderr] 326 |     let null: LPVOID = null_mut();
[INFO] [stderr]     |               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]    --> src/main.rs:327:18
[INFO] [stderr]     |
[INFO] [stderr] 327 |     let module = GetModuleHandleW(null_name);
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stderr]    --> src/main.rs:330:5
[INFO] [stderr]     |
[INFO] [stderr] 330 |     CreateWindowExW(
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_EX_COMPOSITED` in this scope
[INFO] [stderr]    --> src/main.rs:331:9
[INFO] [stderr]     |
[INFO] [stderr] 331 |         WS_EX_COMPOSITED,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]    --> src/main.rs:334:9
[INFO] [stderr]     |
[INFO] [stderr] 334 |         WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]    --> src/main.rs:334:31
[INFO] [stderr]     |
[INFO] [stderr] 334 |         WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stderr]     |                               ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/main.rs:335:9
[INFO] [stderr]     |
[INFO] [stderr] 335 |         CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/main.rs:335:24
[INFO] [stderr]     |
[INFO] [stderr] 335 |         CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope
[INFO] [stderr]    --> src/main.rs:354:5
[INFO] [stderr]     |
[INFO] [stderr] 354 |     SetWindowLongPtrW(app.hwnd, 0, transmute(app));
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]    --> src/main.rs:376:29
[INFO] [stderr]     |
[INFO] [stderr] 376 |         let class_name: Vec<WCHAR> = vec![77, 121, 65, 112, 112, 0];
[INFO] [stderr]     |                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]    --> src/main.rs:377:30
[INFO] [stderr]     |
[INFO] [stderr] 377 |         let window_name: Vec<WCHAR> = vec![77, 121, 65, 112, 112, 0];
[INFO] [stderr]     |                              ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:390:26
[INFO] [stderr]     |
[INFO] [stderr] 390 |         let null_handle: HWND = null_mut();
[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:391:15
[INFO] [stderr]     |
[INFO] [stderr] 391 |         while GetMessageW(&mut msg, null_handle, 0, 0) != 0{
[INFO] [stderr]     |               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stderr]    --> src/main.rs:392:13
[INFO] [stderr]     |
[INFO] [stderr] 392 |             TranslateMessage(&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:393:13
[INFO] [stderr]     |
[INFO] [stderr] 393 |             DispatchMessageW(&msg);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `winapi::*`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `user32::*`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use user32::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `kernel32::*`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use kernel32::*;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stderr]   --> src/main.rs:10:25
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::mem::{size_of, uninitialized, transmute};
[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:82:21
[INFO] [stderr]    |
[INFO] [stderr] 82 |     let mut rc: RECT = uninitialized();
[INFO] [stderr]    |                        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stderr]    --> src/main.rs:389:23
[INFO] [stderr]     |
[INFO] [stderr] 389 |         let mut msg = uninitialized();
[INFO] [stderr]     |                       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope
[INFO] [stderr]   --> src/main.rs:19:22
[INFO] [stderr]    |
[INFO] [stderr] 19 |         factoryType: D2D1_FACTORY_TYPE,
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `REFIID` in this scope
[INFO] [stderr]   --> src/main.rs:20:9
[INFO] [stderr]    |
[INFO] [stderr] 20 |         riid: REFIID, 
[INFO] [stderr]    |               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope
[INFO] [stderr]   --> src/main.rs:21:27
[INFO] [stderr]    |
[INFO] [stderr] 21 |         pFactoryOptions: *const D2D1_FACTORY_OPTIONS,
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope
[INFO] [stderr]   --> src/main.rs:22:31
[INFO] [stderr]    |
[INFO] [stderr] 22 |         ppIFactory: *mut *mut ID2D1Factory
[INFO] [stderr]    |                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]   --> src/main.rs:23:10
[INFO] [stderr]    |
[INFO] [stderr] 23 |     ) -> HRESULT;
[INFO] [stderr]    |          ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope
[INFO] [stderr]   --> src/main.rs:31:25
[INFO] [stderr]    |
[INFO] [stderr] 31 |     render_target: *mut ID2D1HwndRenderTarget,
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope
[INFO] [stderr]   --> src/main.rs:32:18
[INFO] [stderr]    |
[INFO] [stderr] 32 |     brush1: *mut ID2D1SolidColorBrush,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope
[INFO] [stderr]   --> src/main.rs:33:18
[INFO] [stderr]    |
[INFO] [stderr] 33 |     brush2: *mut ID2D1SolidColorBrush
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope
[INFO] [stderr]   --> src/main.rs:38:19
[INFO] [stderr]    |
[INFO] [stderr] 38 |     factory: *mut ID2D1Factory,
[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:39:11
[INFO] [stderr]    |
[INFO] [stderr] 39 |     hwnd: HWND,
[INFO] [stderr]    |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope
[INFO] [stderr]   --> src/main.rs:51:30
[INFO] [stderr]    |
[INFO] [stderr] 51 |     let null_options: *const D2D1_FACTORY_OPTIONS = null();
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope
[INFO] [stderr]   --> src/main.rs:52:27
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let mut factory: *mut ID2D1Factory = null_mut();
[INFO] [stderr]    |                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_SINGLE_THREADED` in this scope
[INFO] [stderr]   --> src/main.rs:55:9
[INFO] [stderr]    |
[INFO] [stderr] 55 |         D2D1_FACTORY_TYPE_SINGLE_THREADED,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `UuidOfID2D1Factory` in this scope
[INFO] [stderr]   --> src/main.rs:56:10
[INFO] [stderr]    |
[INFO] [stderr] 56 |         &UuidOfID2D1Factory,
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]   --> src/main.rs:61:18
[INFO] [stderr]    |
[INFO] [stderr] 61 |     if result != S_OK{
[INFO] [stderr]    |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/main.rs:82:14
[INFO] [stderr]    |
[INFO] [stderr] 82 |     let mut rc: RECT = 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:93:5
[INFO] [stderr]    |
[INFO] [stderr] 93 |     GetClientRect(hwnd, &mut rc);
[INFO] [stderr]    |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope
[INFO] [stderr]   --> src/main.rs:94:16
[INFO] [stderr]    |
[INFO] [stderr] 94 |     let size = D2D_SIZE_U{width: (rc.right-rc.left) as u32,
[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/main.rs:97:24
[INFO] [stderr]    |
[INFO] [stderr] 97 |     let pixel_format = D2D1_PIXEL_FORMAT{
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope
[INFO] [stderr]   --> src/main.rs:98:17
[INFO] [stderr]    |
[INFO] [stderr] 98 |         format: DXGI_FORMAT_B8G8R8A8_UNORM.0,
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_ALPHA_MODE_PREMULTIPLIED` in this scope
[INFO] [stderr]   --> src/main.rs:99:20
[INFO] [stderr]    |
[INFO] [stderr] 99 |         alphaMode: D2D1_ALPHA_MODE_PREMULTIPLIED
[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/main.rs:102:24
[INFO] [stderr]     |
[INFO] [stderr] 102 |     let render_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/main.rs:103:16
[INFO] [stderr]     |
[INFO] [stderr] 103 |         _type: D2D1_RENDER_TARGET_TYPE_DEFAULT,
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_NONE` in this scope
[INFO] [stderr]    --> src/main.rs:106:16
[INFO] [stderr]     |
[INFO] [stderr] 106 |         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/main.rs:107:19
[INFO] [stderr]     |
[INFO] [stderr] 107 |         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/main.rs:110:29
[INFO] [stderr]     |
[INFO] [stderr] 110 |     let hwnd_render_props = D2D1_HWND_RENDER_TARGET_PROPERTIES{
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope
[INFO] [stderr]    --> src/main.rs:113:25
[INFO] [stderr]     |
[INFO] [stderr] 113 |         presentOptions: D2D1_PRESENT_OPTIONS_NONE
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D2D1_BRUSH_PROPERTIES` in this scope
[INFO] [stderr]    --> src/main.rs:119:33
[INFO] [stderr]     |
[INFO] [stderr] 119 |     let null_properties: *const D2D1_BRUSH_PROPERTIES = null();
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope
[INFO] [stderr]    --> src/main.rs:120:16
[INFO] [stderr]     |
[INFO] [stderr] 120 |     let gray = D2D1_COLOR_F{r: 0.345, g: 0.423, b: 0.463, a: 1.0};
[INFO] [stderr]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope
[INFO] [stderr]    --> src/main.rs:121:15
[INFO] [stderr]     |
[INFO] [stderr] 121 |     let red = D2D1_COLOR_F{r: 0.941, g: 0.353, b: 0.392, a: 1.0};
[INFO] [stderr]     |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1Factory` in this scope
[INFO] [stderr]    --> src/main.rs:127:23
[INFO] [stderr]     |
[INFO] [stderr] 127 |     let factory: &mut ID2D1Factory = &mut *app.factory;
[INFO] [stderr]     |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope
[INFO] [stderr]    --> src/main.rs:128:22
[INFO] [stderr]     |
[INFO] [stderr] 128 |     let mut rt: &mut ID2D1HwndRenderTarget;
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/main.rs:130:107
[INFO] [stderr]     |
[INFO] [stderr] 130 |     if factory.CreateHwndRenderTarget(&render_props, &hwnd_render_props, &mut resources.render_target) != S_OK{
[INFO] [stderr]     |                                                                                                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/main.rs:136:83
[INFO] [stderr]     |
[INFO] [stderr] 136 |     if rt.CreateSolidColorBrush(&gray, null_properties, &mut resources.brush1) != S_OK{
[INFO] [stderr]     |                                                                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/main.rs:140:82
[INFO] [stderr]     |
[INFO] [stderr] 140 |     if rt.CreateSolidColorBrush(&red, null_properties, &mut resources.brush2) != S_OK{
[INFO] [stderr]     |                                                                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]    --> src/main.rs:183:47
[INFO] [stderr]     |
[INFO] [stderr] 183 | unsafe fn render_window(myapp: &mut MyApp) -> HRESULT{
[INFO] [stderr]     |                                               ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_MATRIX_3X2_F` in this scope
[INFO] [stderr]    --> src/main.rs:184:20
[INFO] [stderr]     |
[INFO] [stderr] 184 |     let identity = D2D1_MATRIX_3X2_F{
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope
[INFO] [stderr]    --> src/main.rs:189:17
[INFO] [stderr]     |
[INFO] [stderr] 189 |     let white = D2D1_COLOR_F{r:1.0, g:1.0, b:1.0, a:1.0};
[INFO] [stderr]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_SIZE_F` in this scope
[INFO] [stderr]    --> src/main.rs:192:27
[INFO] [stderr]     |
[INFO] [stderr] 192 |     let mut render_size = D2D1_SIZE_F{width: 0.0, height: 0.0};
[INFO] [stderr]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope
[INFO] [stderr]    --> src/main.rs:202:20
[INFO] [stderr]     |
[INFO] [stderr] 202 |     let mut count: FLOAT = 0.0;
[INFO] [stderr]     |                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope
[INFO] [stderr]    --> src/main.rs:205:13
[INFO] [stderr]     |
[INFO] [stderr] 205 |             D2D_POINT_2F{x: count, y: 0.0},
[INFO] [stderr]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope
[INFO] [stderr]    --> src/main.rs:206:13
[INFO] [stderr]     |
[INFO] [stderr] 206 |             D2D_POINT_2F{x: count, y: render_size.height},
[INFO] [stderr]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope
[INFO] [stderr]    --> src/main.rs:218:13
[INFO] [stderr]     |
[INFO] [stderr] 218 |             D2D_POINT_2F{x: 0.0, y: count},
[INFO] [stderr]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope
[INFO] [stderr]    --> src/main.rs:219:13
[INFO] [stderr]     |
[INFO] [stderr] 219 |             D2D_POINT_2F{x: render_size.width, y: count},
[INFO] [stderr]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope
[INFO] [stderr]    --> src/main.rs:231:17
[INFO] [stderr]     |
[INFO] [stderr] 231 |     let rect1 = D2D1_RECT_F{left: rx-50.0, right: rx+50.0, top: ry-50.0, bottom: ry+50.0};
[INFO] [stderr]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D1_RECT_F` in this scope
[INFO] [stderr]    --> src/main.rs:232:17
[INFO] [stderr]     |
[INFO] [stderr] 232 |     let rect2 = D2D1_RECT_F{left: rx-100.0, right: rx+100.0, top: ry-100.0, bottom: ry+100.0};
[INFO] [stderr]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:241:41
[INFO] [stderr]     |
[INFO] [stderr] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{
[INFO] [stderr]     |                                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/main.rs:241:52
[INFO] [stderr]     |
[INFO] [stderr] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{
[INFO] [stderr]     |                                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:241:61
[INFO] [stderr]     |
[INFO] [stderr] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{
[INFO] [stderr]     |                                                             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:241:72
[INFO] [stderr]     |
[INFO] [stderr] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{
[INFO] [stderr]     |                                                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/main.rs:241:83
[INFO] [stderr]     |
[INFO] [stderr] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{
[INFO] [stderr]     |                                                                                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:242:22
[INFO] [stderr]     |
[INFO] [stderr] 242 |     let mut result: (LPARAM, bool) = (1, true);
[INFO] [stderr]     |                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope
[INFO] [stderr]    --> src/main.rs:243:21
[INFO] [stderr]     |
[INFO] [stderr] 243 |     let myapp_ptr = GetWindowLongPtrW(hwnd, 0);
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D2DERR_RECREATE_TARGET` in this scope
[INFO] [stderr]    --> src/main.rs:252:40
[INFO] [stderr]     |
[INFO] [stderr] 252 |             if render_window(myapp) == D2DERR_RECREATE_TARGET{
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GET_X_LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:258:25
[INFO] [stderr]     |
[INFO] [stderr] 258 |             let width = GET_X_LPARAM(l) as u32;
[INFO] [stderr]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GET_Y_LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:259:26
[INFO] [stderr]     |
[INFO] [stderr] 259 |             let height = GET_Y_LPARAM(l) as u32;
[INFO] [stderr]     |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope
[INFO] [stderr]    --> src/main.rs:260:31
[INFO] [stderr]     |
[INFO] [stderr] 260 |             let render_size = D2D_SIZE_U{width: width, height: height};
[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:269:13
[INFO] [stderr]     |
[INFO] [stderr] 269 |             PostQuitMessage(0);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope
[INFO] [stderr]    --> src/main.rs:272:13
[INFO] [stderr]     |
[INFO] [stderr] 272 |             SetWindowLongPtrW(hwnd, 0, 0);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stderr]    --> src/main.rs:279:18
[INFO] [stderr]     |
[INFO] [stderr] 279 |         false => DefWindowProcW(hwnd, msg, w, l)
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]    --> src/main.rs:290:40
[INFO] [stderr]     |
[INFO] [stderr] 290 | unsafe fn setup_class(class_name: &Vec<WCHAR>){
[INFO] [stderr]     |                      -                 ^^^^^ not found in this scope
[INFO] [stderr]     |                      |
[INFO] [stderr]     |                      help: you might be missing a type parameter: `<WCHAR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:291:20
[INFO] [stderr]     |
[INFO] [stderr] 291 |     let null_icon: HICON = null_mut();
[INFO] [stderr]     |                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/main.rs:292:26
[INFO] [stderr]     |
[INFO] [stderr] 292 |     let null_background: HBRUSH = null_mut();
[INFO] [stderr]     |                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]    --> src/main.rs:293:27
[INFO] [stderr]     |
[INFO] [stderr] 293 |     let null_name: *const WCHAR = null();
[INFO] [stderr]     |                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]    --> src/main.rs:294:18
[INFO] [stderr]     |
[INFO] [stderr] 294 |     let module = GetModuleHandleW(null_name);
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/main.rs:297:5
[INFO] [stderr]     |
[INFO] [stderr] 297 |     WNDCLASSEXW{
[INFO] [stderr]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/main.rs:298:27
[INFO] [stderr]     |
[INFO] [stderr] 290 | unsafe fn setup_class(class_name: &Vec<WCHAR>){
[INFO] [stderr]     |                      - help: you might be missing a type parameter: `<WNDCLASSEXW>`
[INFO] [stderr] ...
[INFO] [stderr] 298 |         cbSize: size_of::<WNDCLASSEXW>() as UINT,
[INFO] [stderr]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/main.rs:298:45
[INFO] [stderr]     |
[INFO] [stderr] 298 |         cbSize: size_of::<WNDCLASSEXW>() as UINT,
[INFO] [stderr]     |                                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stderr]    --> src/main.rs:299:16
[INFO] [stderr]     |
[INFO] [stderr] 299 |         style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]     |                ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stderr]    --> src/main.rs:299:29
[INFO] [stderr]     |
[INFO] [stderr] 299 |         style: CS_HREDRAW | CS_VREDRAW,
[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:305:18
[INFO] [stderr]     |
[INFO] [stderr] 305 |         hCursor: LoadCursorW(module, IDC_ARROW),
[INFO] [stderr]     |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stderr]    --> src/main.rs:305:38
[INFO] [stderr]     |
[INFO] [stderr] 305 |         hCursor: LoadCursorW(module, IDC_ARROW),
[INFO] [stderr]     |                                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stderr]    --> src/main.rs:313:11
[INFO] [stderr]     |
[INFO] [stderr] 313 |     match RegisterClassExW(&class){
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]    --> src/main.rs:322:58
[INFO] [stderr]     |
[INFO] [stderr] 322 | unsafe fn setup_window(app: &mut MyApp, class_name: &Vec<WCHAR>, window_name: &Vec<WCHAR>){
[INFO] [stderr]     |                       -                                  ^^^^^ not found in this scope
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       help: you might be missing a type parameter: `<WCHAR>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]    --> src/main.rs:322:84
[INFO] [stderr]     |
[INFO] [stderr] 322 | unsafe fn setup_window(app: &mut MyApp, class_name: &Vec<WCHAR>, window_name: &Vec<WCHAR>){
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<WCHAR>`     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:323:20
[INFO] [stderr]     |
[INFO] [stderr] 323 |     let null_hwnd: HWND = null_mut();
[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:324:20
[INFO] [stderr]     |
[INFO] [stderr] 324 |     let null_menu: HMENU = null_mut();
[INFO] [stderr]     |                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]    --> src/main.rs:325:27
[INFO] [stderr]     |
[INFO] [stderr] 325 |     let null_name: *const WCHAR = null();
[INFO] [stderr]     |                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]    --> src/main.rs:326:15
[INFO] [stderr]     |
[INFO] [stderr] 326 |     let null: LPVOID = null_mut();
[INFO] [stderr]     |               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]    --> src/main.rs:327:18
[INFO] [stderr]     |
[INFO] [stderr] 327 |     let module = GetModuleHandleW(null_name);
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stderr]    --> src/main.rs:330:5
[INFO] [stderr]     |
[INFO] [stderr] 330 |     CreateWindowExW(
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_EX_COMPOSITED` in this scope
[INFO] [stderr]    --> src/main.rs:331:9
[INFO] [stderr]     |
[INFO] [stderr] 331 |         WS_EX_COMPOSITED,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]    --> src/main.rs:334:9
[INFO] [stderr]     |
[INFO] [stderr] 334 |         WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]    --> src/main.rs:334:31
[INFO] [stderr]     |
[INFO] [stderr] 334 |         WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stderr]     |                               ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/main.rs:335:9
[INFO] [stderr]     |
[INFO] [stderr] 335 |         CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/main.rs:335:24
[INFO] [stderr]     |
[INFO] [stderr] 335 |         CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope
[INFO] [stderr]    --> src/main.rs:354:5
[INFO] [stderr]     |
[INFO] [stderr] 354 |     SetWindowLongPtrW(app.hwnd, 0, transmute(app));
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]    --> src/main.rs:376:29
[INFO] [stderr]     |
[INFO] [stderr] 376 |         let class_name: Vec<WCHAR> = vec![77, 121, 65, 112, 112, 0];
[INFO] [stderr]     |                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]    --> src/main.rs:377:30
[INFO] [stderr]     |
[INFO] [stderr] 377 |         let window_name: Vec<WCHAR> = vec![77, 121, 65, 112, 112, 0];
[INFO] [stderr]     |                              ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:390:26
[INFO] [stderr]     |
[INFO] [stderr] 390 |         let null_handle: HWND = null_mut();
[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:391:15
[INFO] [stderr]     |
[INFO] [stderr] 391 |         while GetMessageW(&mut msg, null_handle, 0, 0) != 0{
[INFO] [stderr]     |               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stderr]    --> src/main.rs:392:13
[INFO] [stderr]     |
[INFO] [stderr] 392 |             TranslateMessage(&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:393:13
[INFO] [stderr]     |
[INFO] [stderr] 393 |             DispatchMessageW(&msg);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `winapi::*`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `user32::*`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use user32::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `kernel32::*`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use kernel32::*;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stderr]   --> src/main.rs:10:25
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::mem::{size_of, uninitialized, transmute};
[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:82:21
[INFO] [stderr]    |
[INFO] [stderr] 82 |     let mut rc: RECT = uninitialized();
[INFO] [stderr]    |                        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stderr]    --> src/main.rs:389:23
[INFO] [stderr]     |
[INFO] [stderr] 389 |         let mut msg = uninitialized();
[INFO] [stderr]     |                       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 93 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `d2d1_example`.
[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: aborting due to 93 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `d2d1_example`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "97c77985f4ea37cca1c283cdc698ab0b8d54bad6944a52026924271ee160e4a9"`
[INFO] running `"docker" "rm" "-f" "97c77985f4ea37cca1c283cdc698ab0b8d54bad6944a52026924271ee160e4a9"`
[INFO] [stdout] 97c77985f4ea37cca1c283cdc698ab0b8d54bad6944a52026924271ee160e4a9
