[INFO] crate win-win 0.1.1 is already in cache
[INFO] checking win-win-0.1.1 against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] extracting crate win-win 0.1.1 into /workspace/builds/worker-6/source
[INFO] validating manifest of crates.io crate win-win 0.1.1 on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate win-win 0.1.1
[INFO] finished tweaking crates.io crate win-win 0.1.1
[INFO] tweaked toml for crates.io crate win-win 0.1.1 written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate crates.io crate win-win 0.1.1 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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 238e7f465c617827ca47a66e5db45bbe3b5561ef3ae0ebd4a424f545ffa1acb3
[INFO] running `"docker" "start" "-a" "238e7f465c617827ca47a66e5db45bbe3b5561ef3ae0ebd4a424f545ffa1acb3"`
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]     Checking wio v0.2.2
[INFO] [stderr]     Checking win-win v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/error.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::um::winnt::HRESULT;
[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/runloop.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::shared::minwindef::BOOL;
[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/runloop.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::shared::windef::HACCEL;
[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/runloop.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::um::winuser::{DispatchMessageW, GetMessageW, TranslateAcceleratorW, TranslateMessage};
[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/window.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::shared::minwindef::{ATOM, DWORD, HINSTANCE, LPARAM, LPVOID, LRESULT, UINT, WPARAM};
[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:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::shared::windef::{HBRUSH, HCURSOR, HICON, HMENU, HWND};
[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:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | 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 `um` in `winapi`
[INFO] [stderr]   --> src/window.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | 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:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::ctypes::c_int;
[INFO] [stderr]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `wio::wide`
[INFO] [stderr]   --> src/window.rs:17:10
[INFO] [stderr]    |
[INFO] [stderr] 17 | use wio::wide::ToWide;
[INFO] [stderr]    |          ^^^^ could not find `wide` in `wio`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]    --> src/window.rs:267:30
[INFO] [stderr]     |
[INFO] [stderr] 267 | type WindowLongPtr = winapi::shared::basetsd::LONG_PTR;
[INFO] [stderr]     |                              ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]  --> src/error.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 |     Hresult(HRESULT),
[INFO] [stderr]   |             ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HACCEL` in this scope
[INFO] [stderr]   --> src/runloop.rs:25:30
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub unsafe fn runloop(accel: HACCEL) -> BOOL {
[INFO] [stderr]    |                              ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stderr]   --> src/runloop.rs:25:41
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub unsafe fn runloop(accel: HACCEL) -> BOOL {
[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/runloop.rs:28:19
[INFO] [stderr]    |
[INFO] [stderr] 28 |         let res = GetMessageW(msg.as_mut_ptr(), 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 `TranslateAcceleratorW` in this scope
[INFO] [stderr]   --> src/runloop.rs:33:31
[INFO] [stderr]    |
[INFO] [stderr] 33 |         if accel.is_null() || TranslateAcceleratorW(msg.hwnd, accel, &mut msg) == 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/runloop.rs:34:13
[INFO] [stderr]    |
[INFO] [stderr] 34 |             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/runloop.rs:35:13
[INFO] [stderr]    |
[INFO] [stderr] 35 |             DispatchMessageW(&msg);
[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:33
[INFO] [stderr]    |
[INFO] [stderr] 49 |     fn window_proc(&self, 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:49:44
[INFO] [stderr]    |
[INFO] [stderr] 49 |     fn window_proc(&self, 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:49:58
[INFO] [stderr]    |
[INFO] [stderr] 49 |     fn window_proc(&self, 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:49:74
[INFO] [stderr]    |
[INFO] [stderr] 49 |     fn window_proc(&self, 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:50:19
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub trait WindowProc {
[INFO] [stderr]    |                     - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] ...
[INFO] [stderr] 50 |         -> Option<LRESULT>;
[INFO] [stderr]    |                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]   --> src/window.rs:55:10
[INFO] [stderr]    |
[INFO] [stderr] 55 |     Atom(ATOM),
[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:61:12
[INFO] [stderr]    |
[INFO] [stderr] 61 |     style: UINT,
[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:63:16
[INFO] [stderr]    |
[INFO] [stderr] 63 |     hInstance: HINSTANCE,
[INFO] [stderr]    |                ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]   --> src/window.rs:64:12
[INFO] [stderr]    |
[INFO] [stderr] 64 |     hIcon: HICON,
[INFO] [stderr]    |            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HCURSOR` in this scope
[INFO] [stderr]   --> src/window.rs:65:14
[INFO] [stderr]    |
[INFO] [stderr] 65 |     hCursor: HCURSOR,
[INFO] [stderr]    |              ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]   --> src/window.rs:66:20
[INFO] [stderr]    |
[INFO] [stderr] 66 |     hbrBackground: HBRUSH,
[INFO] [stderr]    |                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]   --> src/window.rs:69:14
[INFO] [stderr]    |
[INFO] [stderr] 69 |     hIconSm: HICON,
[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:75:16
[INFO] [stderr]    |
[INFO] [stderr] 75 |     dwExStyle: DWORD,
[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:78:14
[INFO] [stderr]    |
[INFO] [stderr] 78 |     dwStyle: DWORD,
[INFO] [stderr]    |              ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/window.rs:83:17
[INFO] [stderr]    |
[INFO] [stderr] 83 |     hWndParent: HWND,
[INFO] [stderr]    |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]   --> src/window.rs:84:12
[INFO] [stderr]    |
[INFO] [stderr] 84 |     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:85:16
[INFO] [stderr]    |
[INFO] [stderr] 85 |     hInstance: 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/window.rs:105:16
[INFO] [stderr]     |
[INFO] [stderr] 105 |             x: CW_USEDEFAULT,
[INFO] [stderr]     |                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/window.rs:106:16
[INFO] [stderr]     |
[INFO] [stderr] 106 |             y: CW_USEDEFAULT,
[INFO] [stderr]     |                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/window.rs:107:21
[INFO] [stderr]     |
[INFO] [stderr] 107 |             nWidth: CW_USEDEFAULT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/window.rs:108:22
[INFO] [stderr]     |
[INFO] [stderr] 108 |             nHeight: CW_USEDEFAULT,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/window.rs:123:27
[INFO] [stderr]     |
[INFO] [stderr] 123 |     pub fn build(self) -> HWND {
[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:125:66
[INFO] [stderr]     |
[INFO] [stderr] 125 |             let wnd_proc_ptr = Rc::into_raw(self.window_proc) as LPVOID;
[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:126:24
[INFO] [stderr]     |
[INFO] [stderr] 126 |             let hwnd = CreateWindowExW(
[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:164:35
[INFO] [stderr]     |
[INFO] [stderr] 164 |     pub fn style(mut self, style: DWORD) -> Self {
[INFO] [stderr]     |                                   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/window.rs:183:38
[INFO] [stderr]     |
[INFO] [stderr] 183 |     pub fn ex_style(mut self, style: DWORD) -> Self {
[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:225:49
[INFO] [stderr]     |
[INFO] [stderr] 225 |     pub unsafe fn parent_hwnd(mut self, parent: HWND) -> Self {
[INFO] [stderr]     |                                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]    --> src/window.rs:239:40
[INFO] [stderr]     |
[INFO] [stderr] 239 |     pub unsafe fn menu(mut self, menu: HMENU) -> Self {
[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:260:48
[INFO] [stderr]     |
[INFO] [stderr] 260 |     pub unsafe fn instance(mut self, instance: HINSTANCE) -> Self {
[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:272:11
[INFO] [stderr]     |
[INFO] [stderr] 272 |     hwnd: HWND,
[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:273:10
[INFO] [stderr]     |
[INFO] [stderr] 273 |     msg: UINT,
[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:274:13
[INFO] [stderr]     |
[INFO] [stderr] 274 |     wparam: WPARAM,
[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:275:13
[INFO] [stderr]     |
[INFO] [stderr] 275 |     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:276:6
[INFO] [stderr]     |
[INFO] [stderr] 276 | ) -> 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:277:15
[INFO] [stderr]     |
[INFO] [stderr] 277 |     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:278:49
[INFO] [stderr]     |
[INFO] [stderr] 278 |         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:280:9
[INFO] [stderr]     |
[INFO] [stderr] 280 |         SetWindowLongPtrW(hwnd, GWLP_USERDATA, window_state_ptr as WindowLongPtr);
[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:280:33
[INFO] [stderr]     |
[INFO] [stderr] 280 |         SetWindowLongPtrW(hwnd, GWLP_USERDATA, window_state_ptr as WindowLongPtr);
[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:282:27
[INFO] [stderr]     |
[INFO] [stderr] 282 |     let window_proc_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const Box<dyn WindowProc>;
[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:282:51
[INFO] [stderr]     |
[INFO] [stderr] 282 |     let window_proc_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const Box<dyn WindowProc>;
[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:296:15
[INFO] [stderr]     |
[INFO] [stderr] 296 |     if msg == WM_NCDESTROY && !window_proc_ptr.is_null() {
[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:297:9
[INFO] [stderr]     |
[INFO] [stderr] 297 |         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:297:33
[INFO] [stderr]     |
[INFO] [stderr] 297 |         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:300:30
[INFO] [stderr]     |
[INFO] [stderr] 300 |     result.unwrap_or_else(|| DefWindowProcW(hwnd, msg, wparam, lparam))
[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:329:29
[INFO] [stderr]     |
[INFO] [stderr] 329 |     fn as_lpcwstr(&self) -> LPCWSTR {
[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:331:49
[INFO] [stderr]     |
[INFO] [stderr] 331 |             WindowClass::Atom(atom) => *atom as LPCWSTR,
[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/window.rs:347:23
[INFO] [stderr]     |
[INFO] [stderr] 347 |             let wnd = WNDCLASSEXW {
[INFO] [stderr]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/window.rs:348:40
[INFO] [stderr]     |
[INFO] [stderr] 337 | impl WindowClassBuilder {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<WNDCLASSEXW>`
[INFO] [stderr] ...
[INFO] [stderr] 348 |                 cbSize: mem::size_of::<WNDCLASSEXW>() as u32,
[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/window.rs:362:30
[INFO] [stderr]     |
[INFO] [stderr] 362 |             let class_atom = RegisterClassExW(&wnd);
[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:382:41
[INFO] [stderr]     |
[INFO] [stderr] 382 |     pub fn class_style(mut self, style: DWORD) -> Self {
[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:421:48
[INFO] [stderr]     |
[INFO] [stderr] 421 |     pub unsafe fn instance(mut self, instance: HINSTANCE) -> Self {
[INFO] [stderr]     |                                                ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/window.rs:436:40
[INFO] [stderr]     |
[INFO] [stderr] 436 |     pub unsafe fn icon(mut self, icon: HICON) -> Self {
[INFO] [stderr]     |                                        ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/window.rs:451:46
[INFO] [stderr]     |
[INFO] [stderr] 451 |     pub unsafe fn small_icon(mut self, icon: HICON) -> Self {
[INFO] [stderr]     |                                              ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HCURSOR` in this scope
[INFO] [stderr]    --> src/window.rs:481:44
[INFO] [stderr]     |
[INFO] [stderr] 481 |     pub unsafe fn cursor(mut self, cursor: HCURSOR) -> Self {
[INFO] [stderr]     |                                            ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/window.rs:496:47
[INFO] [stderr]     |
[INFO] [stderr] 496 |     pub unsafe fn background(mut self, brush: HBRUSH) -> Self {
[INFO] [stderr]     |                                               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/error.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::um::winnt::HRESULT;
[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/runloop.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::shared::minwindef::BOOL;
[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/runloop.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::shared::windef::HACCEL;
[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/runloop.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::um::winuser::{DispatchMessageW, GetMessageW, TranslateAcceleratorW, TranslateMessage};
[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/window.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::shared::minwindef::{ATOM, DWORD, HINSTANCE, LPARAM, LPVOID, LRESULT, UINT, WPARAM};
[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:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::shared::windef::{HBRUSH, HCURSOR, HICON, HMENU, HWND};
[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:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | 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 `um` in `winapi`
[INFO] [stderr]   --> src/window.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | 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:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::ctypes::c_int;
[INFO] [stderr]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `wio::wide`
[INFO] [stderr]   --> src/window.rs:17:10
[INFO] [stderr]    |
[INFO] [stderr] 17 | use wio::wide::ToWide;
[INFO] [stderr]    |          ^^^^ could not find `wide` in `wio`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef<OsStr>` in the current scope
[INFO] [stderr]    --> src/window.rs:153:33
[INFO] [stderr]     |
[INFO] [stderr] 153 |         self.window_name = name.to_wide_null();
[INFO] [stderr]     |                                 ^^^^^^^^^^^^ method not found in `impl AsRef<OsStr>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::rc::Rc<_>` in the current scope
[INFO] [stderr]    --> src/window.rs:291:35
[INFO] [stderr]     |
[INFO] [stderr] 291 |             mem::forget(reference.clone());
[INFO] [stderr]     |                                   ^^^^^ method not found in `std::rc::Rc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `reference` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef<OsStr>` in the current scope
[INFO] [stderr]    --> src/window.rs:309:36
[INFO] [stderr]     |
[INFO] [stderr] 309 |             class_name: class_name.to_wide_null(),
[INFO] [stderr]     |                                    ^^^^^^^^^^^^ method not found in `impl AsRef<OsStr>`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]    --> src/window.rs:267:30
[INFO] [stderr]     |
[INFO] [stderr] 267 | type WindowLongPtr = winapi::shared::basetsd::LONG_PTR;
[INFO] [stderr]     |                              ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef<OsStr>` in the current scope
[INFO] [stderr]    --> src/window.rs:326:38
[INFO] [stderr]     |
[INFO] [stderr] 326 |         WindowClass::Name(class_name.to_wide_null())
[INFO] [stderr]     |                                      ^^^^^^^^^^^^ method not found in `impl AsRef<OsStr>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef<OsStr>` in the current scope
[INFO] [stderr]    --> src/window.rs:511:36
[INFO] [stderr]     |
[INFO] [stderr] 511 |         self.menu_name = menu_name.to_wide_null();
[INFO] [stderr]     |                                    ^^^^^^^^^^^^ method not found in `impl AsRef<OsStr>`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 78 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `win-win`.
[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 `HRESULT` in this scope
[INFO] [stderr]  --> src/error.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 |     Hresult(HRESULT),
[INFO] [stderr]   |             ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HACCEL` in this scope
[INFO] [stderr]   --> src/runloop.rs:25:30
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub unsafe fn runloop(accel: HACCEL) -> BOOL {
[INFO] [stderr]    |                              ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stderr]   --> src/runloop.rs:25:41
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub unsafe fn runloop(accel: HACCEL) -> BOOL {
[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/runloop.rs:28:19
[INFO] [stderr]    |
[INFO] [stderr] 28 |         let res = GetMessageW(msg.as_mut_ptr(), 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 `TranslateAcceleratorW` in this scope
[INFO] [stderr]   --> src/runloop.rs:33:31
[INFO] [stderr]    |
[INFO] [stderr] 33 |         if accel.is_null() || TranslateAcceleratorW(msg.hwnd, accel, &mut msg) == 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/runloop.rs:34:13
[INFO] [stderr]    |
[INFO] [stderr] 34 |             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/runloop.rs:35:13
[INFO] [stderr]    |
[INFO] [stderr] 35 |             DispatchMessageW(&msg);
[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:33
[INFO] [stderr]    |
[INFO] [stderr] 49 |     fn window_proc(&self, 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:49:44
[INFO] [stderr]    |
[INFO] [stderr] 49 |     fn window_proc(&self, 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:49:58
[INFO] [stderr]    |
[INFO] [stderr] 49 |     fn window_proc(&self, 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:49:74
[INFO] [stderr]    |
[INFO] [stderr] 49 |     fn window_proc(&self, 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:50:19
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub trait WindowProc {
[INFO] [stderr]    |                     - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] ...
[INFO] [stderr] 50 |         -> Option<LRESULT>;
[INFO] [stderr]    |                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]   --> src/window.rs:55:10
[INFO] [stderr]    |
[INFO] [stderr] 55 |     Atom(ATOM),
[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:61:12
[INFO] [stderr]    |
[INFO] [stderr] 61 |     style: UINT,
[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:63:16
[INFO] [stderr]    |
[INFO] [stderr] 63 |     hInstance: HINSTANCE,
[INFO] [stderr]    |                ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]   --> src/window.rs:64:12
[INFO] [stderr]    |
[INFO] [stderr] 64 |     hIcon: HICON,
[INFO] [stderr]    |            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HCURSOR` in this scope
[INFO] [stderr]   --> src/window.rs:65:14
[INFO] [stderr]    |
[INFO] [stderr] 65 |     hCursor: HCURSOR,
[INFO] [stderr]    |              ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]   --> src/window.rs:66:20
[INFO] [stderr]    |
[INFO] [stderr] 66 |     hbrBackground: HBRUSH,
[INFO] [stderr]    |                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]   --> src/window.rs:69:14
[INFO] [stderr]    |
[INFO] [stderr] 69 |     hIconSm: HICON,
[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:75:16
[INFO] [stderr]    |
[INFO] [stderr] 75 |     dwExStyle: DWORD,
[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:78:14
[INFO] [stderr]    |
[INFO] [stderr] 78 |     dwStyle: DWORD,
[INFO] [stderr]    |              ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/window.rs:83:17
[INFO] [stderr]    |
[INFO] [stderr] 83 |     hWndParent: HWND,
[INFO] [stderr]    |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]   --> src/window.rs:84:12
[INFO] [stderr]    |
[INFO] [stderr] 84 |     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:85:16
[INFO] [stderr]    |
[INFO] [stderr] 85 |     hInstance: 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/window.rs:105:16
[INFO] [stderr]     |
[INFO] [stderr] 105 |             x: CW_USEDEFAULT,
[INFO] [stderr]     |                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/window.rs:106:16
[INFO] [stderr]     |
[INFO] [stderr] 106 |             y: CW_USEDEFAULT,
[INFO] [stderr]     |                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/window.rs:107:21
[INFO] [stderr]     |
[INFO] [stderr] 107 |             nWidth: CW_USEDEFAULT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/window.rs:108:22
[INFO] [stderr]     |
[INFO] [stderr] 108 |             nHeight: CW_USEDEFAULT,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/window.rs:123:27
[INFO] [stderr]     |
[INFO] [stderr] 123 |     pub fn build(self) -> HWND {
[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:125:66
[INFO] [stderr]     |
[INFO] [stderr] 125 |             let wnd_proc_ptr = Rc::into_raw(self.window_proc) as LPVOID;
[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:126:24
[INFO] [stderr]     |
[INFO] [stderr] 126 |             let hwnd = CreateWindowExW(
[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:164:35
[INFO] [stderr]     |
[INFO] [stderr] 164 |     pub fn style(mut self, style: DWORD) -> Self {
[INFO] [stderr]     |                                   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/window.rs:183:38
[INFO] [stderr]     |
[INFO] [stderr] 183 |     pub fn ex_style(mut self, style: DWORD) -> Self {
[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:225:49
[INFO] [stderr]     |
[INFO] [stderr] 225 |     pub unsafe fn parent_hwnd(mut self, parent: HWND) -> Self {
[INFO] [stderr]     |                                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]    --> src/window.rs:239:40
[INFO] [stderr]     |
[INFO] [stderr] 239 |     pub unsafe fn menu(mut self, menu: HMENU) -> Self {
[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:260:48
[INFO] [stderr]     |
[INFO] [stderr] 260 |     pub unsafe fn instance(mut self, instance: HINSTANCE) -> Self {
[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:272:11
[INFO] [stderr]     |
[INFO] [stderr] 272 |     hwnd: HWND,
[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:273:10
[INFO] [stderr]     |
[INFO] [stderr] 273 |     msg: UINT,
[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:274:13
[INFO] [stderr]     |
[INFO] [stderr] 274 |     wparam: WPARAM,
[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:275:13
[INFO] [stderr]     |
[INFO] [stderr] 275 |     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:276:6
[INFO] [stderr]     |
[INFO] [stderr] 276 | ) -> 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:277:15
[INFO] [stderr]     |
[INFO] [stderr] 277 |     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:278:49
[INFO] [stderr]     |
[INFO] [stderr] 278 |         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:280:9
[INFO] [stderr]     |
[INFO] [stderr] 280 |         SetWindowLongPtrW(hwnd, GWLP_USERDATA, window_state_ptr as WindowLongPtr);
[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:280:33
[INFO] [stderr]     |
[INFO] [stderr] 280 |         SetWindowLongPtrW(hwnd, GWLP_USERDATA, window_state_ptr as WindowLongPtr);
[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:282:27
[INFO] [stderr]     |
[INFO] [stderr] 282 |     let window_proc_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const Box<dyn WindowProc>;
[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:282:51
[INFO] [stderr]     |
[INFO] [stderr] 282 |     let window_proc_ptr = GetWindowLongPtrW(hwnd, GWLP_USERDATA) as *const Box<dyn WindowProc>;
[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:296:15
[INFO] [stderr]     |
[INFO] [stderr] 296 |     if msg == WM_NCDESTROY && !window_proc_ptr.is_null() {
[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:297:9
[INFO] [stderr]     |
[INFO] [stderr] 297 |         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:297:33
[INFO] [stderr]     |
[INFO] [stderr] 297 |         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:300:30
[INFO] [stderr]     |
[INFO] [stderr] 300 |     result.unwrap_or_else(|| DefWindowProcW(hwnd, msg, wparam, lparam))
[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:329:29
[INFO] [stderr]     |
[INFO] [stderr] 329 |     fn as_lpcwstr(&self) -> LPCWSTR {
[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:331:49
[INFO] [stderr]     |
[INFO] [stderr] 331 |             WindowClass::Atom(atom) => *atom as LPCWSTR,
[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/window.rs:347:23
[INFO] [stderr]     |
[INFO] [stderr] 347 |             let wnd = WNDCLASSEXW {
[INFO] [stderr]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/window.rs:348:40
[INFO] [stderr]     |
[INFO] [stderr] 337 | impl WindowClassBuilder {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<WNDCLASSEXW>`
[INFO] [stderr] ...
[INFO] [stderr] 348 |                 cbSize: mem::size_of::<WNDCLASSEXW>() as u32,
[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/window.rs:362:30
[INFO] [stderr]     |
[INFO] [stderr] 362 |             let class_atom = RegisterClassExW(&wnd);
[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:382:41
[INFO] [stderr]     |
[INFO] [stderr] 382 |     pub fn class_style(mut self, style: DWORD) -> Self {
[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:421:48
[INFO] [stderr]     |
[INFO] [stderr] 421 |     pub unsafe fn instance(mut self, instance: HINSTANCE) -> Self {
[INFO] [stderr]     |                                                ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/window.rs:436:40
[INFO] [stderr]     |
[INFO] [stderr] 436 |     pub unsafe fn icon(mut self, icon: HICON) -> Self {
[INFO] [stderr]     |                                        ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/window.rs:451:46
[INFO] [stderr]     |
[INFO] [stderr] 451 |     pub unsafe fn small_icon(mut self, icon: HICON) -> Self {
[INFO] [stderr]     |                                              ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HCURSOR` in this scope
[INFO] [stderr]    --> src/window.rs:481:44
[INFO] [stderr]     |
[INFO] [stderr] 481 |     pub unsafe fn cursor(mut self, cursor: HCURSOR) -> Self {
[INFO] [stderr]     |                                            ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/window.rs:496:47
[INFO] [stderr]     |
[INFO] [stderr] 496 |     pub unsafe fn background(mut self, brush: HBRUSH) -> Self {
[INFO] [stderr]     |                                               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef<OsStr>` in the current scope
[INFO] [stderr]    --> src/window.rs:153:33
[INFO] [stderr]     |
[INFO] [stderr] 153 |         self.window_name = name.to_wide_null();
[INFO] [stderr]     |                                 ^^^^^^^^^^^^ method not found in `impl AsRef<OsStr>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::rc::Rc<_>` in the current scope
[INFO] [stderr]    --> src/window.rs:291:35
[INFO] [stderr]     |
[INFO] [stderr] 291 |             mem::forget(reference.clone());
[INFO] [stderr]     |                                   ^^^^^ method not found in `std::rc::Rc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `reference` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef<OsStr>` in the current scope
[INFO] [stderr]    --> src/window.rs:309:36
[INFO] [stderr]     |
[INFO] [stderr] 309 |             class_name: class_name.to_wide_null(),
[INFO] [stderr]     |                                    ^^^^^^^^^^^^ method not found in `impl AsRef<OsStr>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef<OsStr>` in the current scope
[INFO] [stderr]    --> src/window.rs:326:38
[INFO] [stderr]     |
[INFO] [stderr] 326 |         WindowClass::Name(class_name.to_wide_null())
[INFO] [stderr]     |                                      ^^^^^^^^^^^^ method not found in `impl AsRef<OsStr>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_wide_null` found for type parameter `impl AsRef<OsStr>` in the current scope
[INFO] [stderr]    --> src/window.rs:511:36
[INFO] [stderr]     |
[INFO] [stderr] 511 |         self.menu_name = menu_name.to_wide_null();
[INFO] [stderr]     |                                    ^^^^^^^^^^^^ method not found in `impl AsRef<OsStr>`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 78 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `win-win`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "238e7f465c617827ca47a66e5db45bbe3b5561ef3ae0ebd4a424f545ffa1acb3"`
[INFO] running `"docker" "rm" "-f" "238e7f465c617827ca47a66e5db45bbe3b5561ef3ae0ebd4a424f545ffa1acb3"`
[INFO] [stdout] 238e7f465c617827ca47a66e5db45bbe3b5561ef3ae0ebd4a424f545ffa1acb3
