[INFO] updating cached repository https://github.com/m1el/trusty-commander
[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] 72da386a67c5694d6761f608b7214520bd5ec034
[INFO] checking m1el/trusty-commander against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm1el%2Ftrusty-commander" "/workspace/builds/worker-6/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/m1el/trusty-commander 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/m1el/trusty-commander
[INFO] finished tweaking git repo https://github.com/m1el/trusty-commander
[INFO] tweaked toml for git repo https://github.com/m1el/trusty-commander written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/m1el/trusty-commander already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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" "+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] ca0e3257c2708288be01c7a4888ef10b44350e19c05b4359bcddb7a75e717845
[INFO] running `"docker" "start" "-a" "ca0e3257c2708288be01c7a4888ef10b44350e19c05b4359bcddb7a75e717845"`
[INFO] [stderr]    Compiling gdi32-sys v0.2.0
[INFO] [stderr]    Compiling user32-sys v0.2.0
[INFO] [stderr]     Checking trusty-commander v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]   --> src/win_layer.rs:87:18
[INFO] [stderr]    |
[INFO] [stderr] 87 |     use std::os::windows::ffi::OsStrExt;
[INFO] [stderr]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]    --> src/win_layer.rs:100:18
[INFO] [stderr]     |
[INFO] [stderr] 100 |     use std::os::windows::ffi::OsStringExt;
[INFO] [stderr]     |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]   --> src/win_layer.rs:87:18
[INFO] [stderr]    |
[INFO] [stderr] 87 |     use std::os::windows::ffi::OsStrExt;
[INFO] [stderr]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]    --> src/win_layer.rs:100:18
[INFO] [stderr]     |
[INFO] [stderr] 100 |     use std::os::windows::ffi::OsStringExt;
[INFO] [stderr]     |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Core`
[INFO] [stderr]   --> src/main.rs:37:20
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let mut core = Core::new().unwrap();
[INFO] [stderr]    |                    ^^^^ use of undeclared type or module `Core`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/win_layer.rs:14:48
[INFO] [stderr]    |
[INFO] [stderr] 14 |     fn user32_BeginDeferWindowPos(nNumWindows: c_int) -> HDWP;
[INFO] [stderr]    |                                                ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDWP` in this scope
[INFO] [stderr]   --> src/win_layer.rs:14:58
[INFO] [stderr]    |
[INFO] [stderr] 14 |     fn user32_BeginDeferWindowPos(nNumWindows: c_int) -> HDWP;
[INFO] [stderr]    |                                                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_uint` in this scope
[INFO] [stderr]   --> src/win_layer.rs:19:26
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub fn ExitProcess(code: c_uint) -> !
[INFO] [stderr]    |                          ^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use std::os::raw::c_uint;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ExitProcess` in crate `kernel32`
[INFO] [stderr]   --> src/win_layer.rs:20:22
[INFO] [stderr]    |
[INFO] [stderr] 20 | { unsafe { kernel32::ExitProcess(code) }; loop {} }
[INFO] [stderr]    |                      ^^^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use win_layer::ExitProcess;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `kernel32`
[INFO] [stderr]   --> src/win_layer.rs:24:22
[INFO] [stderr]    |
[INFO] [stderr] 24 | { unsafe { kernel32::GetLastError() } }
[INFO] [stderr]    |                      ^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use win_layer::GetLastError;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stderr]   --> src/win_layer.rs:27:57
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub fn GetModuleHandleW(name: Option<&[u16]>) -> Result<HMODULE, u32>
[INFO] [stderr]    |                        -                                ^^^^^^^ not found in this scope
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in crate `kernel32`
[INFO] [stderr]   --> src/win_layer.rs:29:37
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let handle = unsafe { kernel32::GetModuleHandleW(name.map_or(0 as LPCWSTR, |x|x.as_ptr() as LPCWSTR)) };
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use win_layer::GetModuleHandleW;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]   --> src/win_layer.rs:29:71
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let handle = unsafe { kernel32::GetModuleHandleW(name.map_or(0 as LPCWSTR, |x|x.as_ptr() as LPCWSTR)) };
[INFO] [stderr]    |                                                                       ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]   --> src/win_layer.rs:29:97
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let handle = unsafe { kernel32::GetModuleHandleW(name.map_or(0 as LPCWSTR, |x|x.as_ptr() as LPCWSTR)) };
[INFO] [stderr]    |                                                                                                 ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stderr]   --> src/win_layer.rs:36:56
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub fn GetModuleHandleA(name: Option<&[u8]>) -> Result<HMODULE, u32>
[INFO] [stderr]    |                        -                               ^^^^^^^ not found in this scope
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in crate `kernel32`
[INFO] [stderr]   --> src/win_layer.rs:38:37
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let handle = unsafe { kernel32::GetModuleHandleA(name.map_or(0 as LPCSTR, |x|x.as_ptr() as LPCSTR)) };
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use win_layer::GetModuleHandleA;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCSTR` in this scope
[INFO] [stderr]   --> src/win_layer.rs:38:71
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let handle = unsafe { kernel32::GetModuleHandleA(name.map_or(0 as LPCSTR, |x|x.as_ptr() as LPCSTR)) };
[INFO] [stderr]    |                                                                       ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCSTR` in this scope
[INFO] [stderr]   --> src/win_layer.rs:38:96
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let handle = unsafe { kernel32::GetModuleHandleA(name.map_or(0 as LPCSTR, |x|x.as_ptr() as LPCSTR)) };
[INFO] [stderr]    |                                                                                                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/win_layer.rs:44:54
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub fn GetStdHandle(handle_id: u32) -> Result<Option<HANDLE>, u32>
[INFO] [stderr]    |                    -                                 ^^^^^^ not found in this scope
[INFO] [stderr]    |                    |
[INFO] [stderr]    |                    help: you might be missing a type parameter: `<HANDLE>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in crate `kernel32`
[INFO] [stderr]   --> src/win_layer.rs:46:37
[INFO] [stderr]    |
[INFO] [stderr] 46 |     let handle = unsafe { kernel32::GetStdHandle(handle_id) };
[INFO] [stderr]    |                                     ^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use win_layer::GetStdHandle;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stderr]   --> src/win_layer.rs:49:23
[INFO] [stderr]    |
[INFO] [stderr] 49 |     else if handle != INVALID_HANDLE_VALUE { Ok(Some(handle)) }
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/win_layer.rs:55:13
[INFO] [stderr]    |
[INFO] [stderr] 55 |     handle: HANDLE,
[INFO] [stderr]    |             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stderr]   --> src/win_layer.rs:57:29
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub fn WriteFile(
[INFO] [stderr]    |                 - help: you might be missing a type parameter: `<OVERLAPPED>`
[INFO] [stderr] ...
[INFO] [stderr] 57 |     overlapped: Option<&mut OVERLAPPED>)
[INFO] [stderr]    |                             ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in crate `winapi`
[INFO] [stderr]   --> src/win_layer.rs:64:60
[INFO] [stderr]    |
[INFO] [stderr] 64 |         let buffer_ptr = buffer.as_ptr() as *const winapi::c_void;
[INFO] [stderr]    |                                                            ^^^^^^ not found in `winapi`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use std::ffi::c_void;
[INFO] [stderr]    |
[INFO] [stderr] 9  | use std::os::raw::c_void;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stderr]   --> src/win_layer.rs:66:58
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let overlapped_ptr = overlapped.map_or(0 as *mut OVERLAPPED, |x|x as *mut OVERLAPPED);
[INFO] [stderr]    |                                                          ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stderr]   --> src/win_layer.rs:66:83
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let overlapped_ptr = overlapped.map_or(0 as *mut OVERLAPPED, |x|x as *mut OVERLAPPED);
[INFO] [stderr]    |                                                                                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WriteFile` in crate `kernel32`
[INFO] [stderr]   --> src/win_layer.rs:67:19
[INFO] [stderr]    |
[INFO] [stderr] 67 |         kernel32::WriteFile(handle, buffer_ptr, buffer_len, written_ptr, overlapped_ptr)
[INFO] [stderr]    |                   ^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use win_layer::WriteFile;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/win_layer.rs:75:37
[INFO] [stderr]    |
[INFO] [stderr] 75 | pub fn GetConsoleWindow() -> Option<HWND>
[INFO] [stderr]    |                        -            ^^^^ not found in this scope
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleWindow` in crate `kernel32`
[INFO] [stderr]   --> src/win_layer.rs:77:37
[INFO] [stderr]    |
[INFO] [stderr] 77 |     let handle = unsafe { kernel32::GetConsoleWindow() };
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use win_layer::GetConsoleWindow;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:105:25
[INFO] [stderr]     |
[INFO] [stderr] 105 | pub fn ShowWindow(hWnd: HWND, nCmdShow: c_int) -> bool
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:105:41
[INFO] [stderr]     |
[INFO] [stderr] 105 | pub fn ShowWindow(hWnd: HWND, nCmdShow: c_int) -> bool
[INFO] [stderr]     |                                         ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:107:22
[INFO] [stderr]     |
[INFO] [stderr] 107 |     unsafe { user32::ShowWindow(hWnd, nCmdShow) != 0 }
[INFO] [stderr]     |                      ^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::ShowWindow;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:111:27
[INFO] [stderr]     |
[INFO] [stderr] 111 | pub fn UpdateWindow(hwnd: HWND) -> Result<(), u32>
[INFO] [stderr]     |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Core`
[INFO] [stderr]   --> src/main.rs:37:20
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let mut core = Core::new().unwrap();
[INFO] [stderr]    |                    ^^^^ use of undeclared type or module `Core`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:113:35
[INFO] [stderr]     |
[INFO] [stderr] 113 |     let result = unsafe { user32::UpdateWindow(hwnd) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::UpdateWindow;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:121:18
[INFO] [stderr]     |
[INFO] [stderr] 120 | pub fn MessageBoxA(
[INFO] [stderr]     |                   - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 121 |     hwnd: Option<HWND>,
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_uint` in this scope
[INFO] [stderr]    --> src/win_layer.rs:124:12
[INFO] [stderr]     |
[INFO] [stderr] 124 |     flags: c_uint)
[INFO] [stderr]     |            ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_uint;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/win_layer.rs:14:48
[INFO] [stderr]    |
[INFO] [stderr] 14 |     fn user32_BeginDeferWindowPos(nNumWindows: c_int) -> HDWP;
[INFO] [stderr]    |                                                ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDWP` in this scope
[INFO] [stderr]   --> src/win_layer.rs:14:58
[INFO] [stderr]    |
[INFO] [stderr] 14 |     fn user32_BeginDeferWindowPos(nNumWindows: c_int) -> HDWP;
[INFO] [stderr]    |                                                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_uint` in this scope
[INFO] [stderr]   --> src/win_layer.rs:19:26
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub fn ExitProcess(code: c_uint) -> !
[INFO] [stderr]    |                          ^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use std::os::raw::c_uint;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ExitProcess` in crate `kernel32`
[INFO] [stderr]   --> src/win_layer.rs:20:22
[INFO] [stderr]    |
[INFO] [stderr] 20 | { unsafe { kernel32::ExitProcess(code) }; loop {} }
[INFO] [stderr]    |                      ^^^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use win_layer::ExitProcess;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `kernel32`
[INFO] [stderr]   --> src/win_layer.rs:24:22
[INFO] [stderr]    |
[INFO] [stderr] 24 | { unsafe { kernel32::GetLastError() } }
[INFO] [stderr]    |                      ^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use win_layer::GetLastError;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stderr]   --> src/win_layer.rs:27:57
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub fn GetModuleHandleW(name: Option<&[u16]>) -> Result<HMODULE, u32>
[INFO] [stderr]    |                        -                                ^^^^^^^ not found in this scope
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in crate `kernel32`
[INFO] [stderr]   --> src/win_layer.rs:29:37
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let handle = unsafe { kernel32::GetModuleHandleW(name.map_or(0 as LPCWSTR, |x|x.as_ptr() as LPCWSTR)) };
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use win_layer::GetModuleHandleW;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]   --> src/win_layer.rs:29:71
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let handle = unsafe { kernel32::GetModuleHandleW(name.map_or(0 as LPCWSTR, |x|x.as_ptr() as LPCWSTR)) };
[INFO] [stderr]    |                                                                       ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]   --> src/win_layer.rs:29:97
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let handle = unsafe { kernel32::GetModuleHandleW(name.map_or(0 as LPCWSTR, |x|x.as_ptr() as LPCWSTR)) };
[INFO] [stderr]    |                                                                                                 ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stderr]   --> src/win_layer.rs:36:56
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub fn GetModuleHandleA(name: Option<&[u8]>) -> Result<HMODULE, u32>
[INFO] [stderr]    |                        -                               ^^^^^^^ not found in this scope
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in crate `kernel32`
[INFO] [stderr]   --> src/win_layer.rs:38:37
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let handle = unsafe { kernel32::GetModuleHandleA(name.map_or(0 as LPCSTR, |x|x.as_ptr() as LPCSTR)) };
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use win_layer::GetModuleHandleA;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCSTR` in this scope
[INFO] [stderr]   --> src/win_layer.rs:38:71
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let handle = unsafe { kernel32::GetModuleHandleA(name.map_or(0 as LPCSTR, |x|x.as_ptr() as LPCSTR)) };
[INFO] [stderr]    |                                                                       ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCSTR` in this scope
[INFO] [stderr]   --> src/win_layer.rs:38:96
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let handle = unsafe { kernel32::GetModuleHandleA(name.map_or(0 as LPCSTR, |x|x.as_ptr() as LPCSTR)) };
[INFO] [stderr]    |                                                                                                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/win_layer.rs:44:54
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub fn GetStdHandle(handle_id: u32) -> Result<Option<HANDLE>, u32>
[INFO] [stderr]    |                    -                                 ^^^^^^ not found in this scope
[INFO] [stderr]    |                    |
[INFO] [stderr]    |                    help: you might be missing a type parameter: `<HANDLE>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in crate `kernel32`
[INFO] [stderr]   --> src/win_layer.rs:46:37
[INFO] [stderr]    |
[INFO] [stderr] 46 |     let handle = unsafe { kernel32::GetStdHandle(handle_id) };
[INFO] [stderr]    |                                     ^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use win_layer::GetStdHandle;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stderr]   --> src/win_layer.rs:49:23
[INFO] [stderr]    |
[INFO] [stderr] 49 |     else if handle != INVALID_HANDLE_VALUE { Ok(Some(handle)) }
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/win_layer.rs:55:13
[INFO] [stderr]    |
[INFO] [stderr] 55 |     handle: HANDLE,
[INFO] [stderr]    |             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stderr]   --> src/win_layer.rs:57:29
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub fn WriteFile(
[INFO] [stderr]    |                 - help: you might be missing a type parameter: `<OVERLAPPED>`
[INFO] [stderr] ...
[INFO] [stderr] 57 |     overlapped: Option<&mut OVERLAPPED>)
[INFO] [stderr]    |                             ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in crate `winapi`
[INFO] [stderr]   --> src/win_layer.rs:64:60
[INFO] [stderr]    |
[INFO] [stderr] 64 |         let buffer_ptr = buffer.as_ptr() as *const winapi::c_void;
[INFO] [stderr]    |                                                            ^^^^^^ not found in `winapi`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use std::ffi::c_void;
[INFO] [stderr]    |
[INFO] [stderr] 9  | use std::os::raw::c_void;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stderr]   --> src/win_layer.rs:66:58
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let overlapped_ptr = overlapped.map_or(0 as *mut OVERLAPPED, |x|x as *mut OVERLAPPED);
[INFO] [stderr]    |                                                          ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `OVERLAPPED` in this scope
[INFO] [stderr]   --> src/win_layer.rs:66:83
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let overlapped_ptr = overlapped.map_or(0 as *mut OVERLAPPED, |x|x as *mut OVERLAPPED);
[INFO] [stderr]    |                                                                                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WriteFile` in crate `kernel32`
[INFO] [stderr]   --> src/win_layer.rs:67:19
[INFO] [stderr]    |
[INFO] [stderr] 67 |         kernel32::WriteFile(handle, buffer_ptr, buffer_len, written_ptr, overlapped_ptr)
[INFO] [stderr]    |                   ^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use win_layer::WriteFile;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/win_layer.rs:75:37
[INFO] [stderr]    |
[INFO] [stderr] 75 | pub fn GetConsoleWindow() -> Option<HWND>
[INFO] [stderr]    |                        -            ^^^^ not found in this scope
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleWindow` in crate `kernel32`
[INFO] [stderr]   --> src/win_layer.rs:77:37
[INFO] [stderr]    |
[INFO] [stderr] 77 |     let handle = unsafe { kernel32::GetConsoleWindow() };
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 9  | use win_layer::GetConsoleWindow;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:105:25
[INFO] [stderr]     |
[INFO] [stderr] 105 | pub fn ShowWindow(hWnd: HWND, nCmdShow: c_int) -> bool
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:105:41
[INFO] [stderr]     |
[INFO] [stderr] 105 | pub fn ShowWindow(hWnd: HWND, nCmdShow: c_int) -> bool
[INFO] [stderr]     |                                         ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:107:22
[INFO] [stderr]     |
[INFO] [stderr] 107 |     unsafe { user32::ShowWindow(hWnd, nCmdShow) != 0 }
[INFO] [stderr]     |                      ^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::ShowWindow;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:111:27
[INFO] [stderr]     |
[INFO] [stderr] 111 | pub fn UpdateWindow(hwnd: HWND) -> Result<(), u32>
[INFO] [stderr]     |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:113:35
[INFO] [stderr]     |
[INFO] [stderr] 113 |     let result = unsafe { user32::UpdateWindow(hwnd) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::UpdateWindow;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:121:18
[INFO] [stderr]     |
[INFO] [stderr] 120 | pub fn MessageBoxA(
[INFO] [stderr]     |                   - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 121 |     hwnd: Option<HWND>,
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_uint` in this scope
[INFO] [stderr]    --> src/win_layer.rs:124:12
[INFO] [stderr]     |
[INFO] [stderr] 124 |     flags: c_uint)
[INFO] [stderr]     |            ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_uint;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_uint` in this scope
[INFO] [stderr]    --> src/win_layer.rs:125:15
[INFO] [stderr]     |
[INFO] [stderr] 125 |     -> Result<c_uint, u32>
[INFO] [stderr]     |               ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_uint;
[INFO] [stderr]     |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]     |
[INFO] [stderr] 120 | pub fn MessageBoxA<c_uint>(
[INFO] [stderr]     |                   ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:127:40
[INFO] [stderr]     |
[INFO] [stderr] 127 |     let hwnd_ptr = hwnd.unwrap_or(0 as HWND);
[INFO] [stderr]     |                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxA` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:128:35
[INFO] [stderr]     |
[INFO] [stderr] 128 |     let result = unsafe { user32::MessageBoxA(
[INFO] [stderr]     |                                   ^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::MessageBoxA;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_uint` in this scope
[INFO] [stderr]    --> src/win_layer.rs:134:35
[INFO] [stderr]     |
[INFO] [stderr] 134 |     if result != 0 { Ok(result as c_uint) }
[INFO] [stderr]     |                                   ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_uint;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:140:18
[INFO] [stderr]     |
[INFO] [stderr] 139 | pub fn MessageBoxW(
[INFO] [stderr]     |                   - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 140 |     hwnd: Option<HWND>,
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_uint` in this scope
[INFO] [stderr]    --> src/win_layer.rs:143:12
[INFO] [stderr]     |
[INFO] [stderr] 143 |     flags: c_uint)
[INFO] [stderr]     |            ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_uint;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_uint` in this scope
[INFO] [stderr]    --> src/win_layer.rs:144:15
[INFO] [stderr]     |
[INFO] [stderr] 144 |     -> Result<c_uint, u32>
[INFO] [stderr]     |               ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_uint;
[INFO] [stderr]     |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]     |
[INFO] [stderr] 139 | pub fn MessageBoxW<c_uint>(
[INFO] [stderr]     |                   ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:146:40
[INFO] [stderr]     |
[INFO] [stderr] 146 |     let hwnd_ptr = hwnd.unwrap_or(0 as HWND);
[INFO] [stderr]     |                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:147:35
[INFO] [stderr]     |
[INFO] [stderr] 147 |     let result = unsafe { user32::MessageBoxW(
[INFO] [stderr]     |                                   ^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::MessageBoxW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_uint` in this scope
[INFO] [stderr]    --> src/win_layer.rs:153:35
[INFO] [stderr]     |
[INFO] [stderr] 153 |     if result != 0 { Ok(result as c_uint) }
[INFO] [stderr]     |                                   ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_uint;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]    --> src/win_layer.rs:159:15
[INFO] [stderr]     |
[INFO] [stderr] 158 | pub fn FindAtomW(wnd_cls: &[u16])
[INFO] [stderr]     |                 - help: you might be missing a type parameter: `<ATOM>`
[INFO] [stderr] 159 |     -> Result<ATOM, u32>
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindAtomW` in crate `kernel32`
[INFO] [stderr]    --> src/win_layer.rs:161:37
[INFO] [stderr]     |
[INFO] [stderr] 161 |     let result = unsafe { kernel32::FindAtomW(wnd_cls.as_ptr() as LPCWSTR) };
[INFO] [stderr]     |                                     ^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::FindAtomW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:161:67
[INFO] [stderr]     |
[INFO] [stderr] 161 |     let result = unsafe { kernel32::FindAtomW(wnd_cls.as_ptr() as LPCWSTR) };
[INFO] [stderr]     |                                                                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]    --> src/win_layer.rs:169:15
[INFO] [stderr]     |
[INFO] [stderr] 168 | pub fn GlobalFindAtomW(wnd_cls: &[u16])
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<ATOM>`
[INFO] [stderr] 169 |     -> Result<ATOM, u32>
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalFindAtomW` in crate `kernel32`
[INFO] [stderr]    --> src/win_layer.rs:171:37
[INFO] [stderr]     |
[INFO] [stderr] 171 |     let result = unsafe { kernel32::GlobalFindAtomW(wnd_cls.as_ptr() as LPCWSTR) };
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::GlobalFindAtomW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:171:73
[INFO] [stderr]     |
[INFO] [stderr] 171 |     let result = unsafe { kernel32::GlobalFindAtomW(wnd_cls.as_ptr() as LPCWSTR) };
[INFO] [stderr]     |                                                                         ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WORD` in this scope
[INFO] [stderr]    --> src/win_layer.rs:178:9
[INFO] [stderr]     |
[INFO] [stderr] 178 |     Int(WORD),
[INFO] [stderr]     |         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_layer.rs:186:15
[INFO] [stderr]     |
[INFO] [stderr] 186 |     instance: HINSTANCE,
[INFO] [stderr]     |               ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/win_layer.rs:188:15
[INFO] [stderr]     |
[INFO] [stderr] 185 | pub fn LoadIconW(
[INFO] [stderr]     |                 - help: you might be missing a type parameter: `<HICON>`
[INFO] [stderr] ...
[INFO] [stderr] 188 |     -> Result<HICON, u32>
[INFO] [stderr]     |               ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:192:52
[INFO] [stderr]     |
[INFO] [stderr] 192 |             ResourceIdW::Int(id) => id as usize as LPWSTR,
[INFO] [stderr]     |                                                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:193:50
[INFO] [stderr]     |
[INFO] [stderr] 193 |             ResourceIdW::Str(s) => s.as_ptr() as LPWSTR,
[INFO] [stderr]     |                                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:195:17
[INFO] [stderr]     |
[INFO] [stderr] 195 |         user32::LoadIconW(instance, rc_ptr)
[INFO] [stderr]     |                 ^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::LoadIconW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_layer.rs:204:15
[INFO] [stderr]     |
[INFO] [stderr] 204 |     instance: HINSTANCE,
[INFO] [stderr]     |               ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HCURSOR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:206:15
[INFO] [stderr]     |
[INFO] [stderr] 203 | pub fn LoadCursorW(
[INFO] [stderr]     |                   - help: you might be missing a type parameter: `<HCURSOR>`
[INFO] [stderr] ...
[INFO] [stderr] 206 |     -> Result<HCURSOR, u32>
[INFO] [stderr]     |               ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:210:52
[INFO] [stderr]     |
[INFO] [stderr] 210 |             ResourceIdW::Int(id) => id as usize as LPWSTR,
[INFO] [stderr]     |                                                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:211:50
[INFO] [stderr]     |
[INFO] [stderr] 211 |             ResourceIdW::Str(s) => s.as_ptr() as LPWSTR,
[INFO] [stderr]     |                                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:213:17
[INFO] [stderr]     |
[INFO] [stderr] 213 |         user32::LoadCursorW(instance, rc_ptr)
[INFO] [stderr]     |                 ^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::LoadCursorW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:221:41
[INFO] [stderr]     |
[INFO] [stderr] 221 | pub fn BeginDeferWindowPos(num_windows: c_int) -> Result<HDWP, u32>
[INFO] [stderr]     |                                         ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDWP` in this scope
[INFO] [stderr]    --> src/win_layer.rs:221:58
[INFO] [stderr]     |
[INFO] [stderr] 221 | pub fn BeginDeferWindowPos(num_windows: c_int) -> Result<HDWP, u32>
[INFO] [stderr]     |                           -                              ^^^^ not found in this scope
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           help: you might be missing a type parameter: `<HDWP>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_uint` in this scope
[INFO] [stderr]    --> src/win_layer.rs:125:15
[INFO] [stderr]     |
[INFO] [stderr] 125 |     -> Result<c_uint, u32>
[INFO] [stderr]     |               ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_uint;
[INFO] [stderr]     |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]     |
[INFO] [stderr] 120 | pub fn MessageBoxA<c_uint>(
[INFO] [stderr]     |                   ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:127:40
[INFO] [stderr]     |
[INFO] [stderr] 127 |     let hwnd_ptr = hwnd.unwrap_or(0 as HWND);
[INFO] [stderr]     |                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxA` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:128:35
[INFO] [stderr]     |
[INFO] [stderr] 128 |     let result = unsafe { user32::MessageBoxA(
[INFO] [stderr]     |                                   ^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::MessageBoxA;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDWP` in this scope
[INFO] [stderr]    --> src/win_layer.rs:231:19
[INFO] [stderr]     |
[INFO] [stderr] 231 |     win_pos_info: HDWP,
[INFO] [stderr]     |                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:232:11
[INFO] [stderr]     |
[INFO] [stderr] 232 |     hwnd: HWND,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_uint` in this scope
[INFO] [stderr]    --> src/win_layer.rs:134:35
[INFO] [stderr]     |
[INFO] [stderr] 134 |     if result != 0 { Ok(result as c_uint) }
[INFO] [stderr]     |                                   ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_uint;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:140:18
[INFO] [stderr]     |
[INFO] [stderr] 139 | pub fn MessageBoxW(
[INFO] [stderr]     |                   - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 140 |     hwnd: Option<HWND>,
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:233:26
[INFO] [stderr]     |
[INFO] [stderr] 230 | pub fn DeferWindowPos(
[INFO] [stderr]     |                      - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] ...
[INFO] [stderr] 233 |     insert_after: Option<HWND>,
[INFO] [stderr]     |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_uint` in this scope
[INFO] [stderr]    --> src/win_layer.rs:143:12
[INFO] [stderr]     |
[INFO] [stderr] 143 |     flags: c_uint)
[INFO] [stderr]     |            ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_uint;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:234:8
[INFO] [stderr]     |
[INFO] [stderr] 234 |     x: c_int,
[INFO] [stderr]     |        ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:235:8
[INFO] [stderr]     |
[INFO] [stderr] 235 |     y: c_int,
[INFO] [stderr]     |        ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_uint` in this scope
[INFO] [stderr]    --> src/win_layer.rs:144:15
[INFO] [stderr]     |
[INFO] [stderr] 144 |     -> Result<c_uint, u32>
[INFO] [stderr]     |               ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_uint;
[INFO] [stderr]     |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]     |
[INFO] [stderr] 139 | pub fn MessageBoxW<c_uint>(
[INFO] [stderr]     |                   ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:146:40
[INFO] [stderr]     |
[INFO] [stderr] 146 |     let hwnd_ptr = hwnd.unwrap_or(0 as HWND);
[INFO] [stderr]     |                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:147:35
[INFO] [stderr]     |
[INFO] [stderr] 147 |     let result = unsafe { user32::MessageBoxW(
[INFO] [stderr]     |                                   ^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::MessageBoxW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:236:9
[INFO] [stderr]     |
[INFO] [stderr] 236 |     cx: c_int,
[INFO] [stderr]     |         ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_uint` in this scope
[INFO] [stderr]    --> src/win_layer.rs:153:35
[INFO] [stderr]     |
[INFO] [stderr] 153 |     if result != 0 { Ok(result as c_uint) }
[INFO] [stderr]     |                                   ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_uint;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]    --> src/win_layer.rs:159:15
[INFO] [stderr]     |
[INFO] [stderr] 158 | pub fn FindAtomW(wnd_cls: &[u16])
[INFO] [stderr]     |                 - help: you might be missing a type parameter: `<ATOM>`
[INFO] [stderr] 159 |     -> Result<ATOM, u32>
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:237:9
[INFO] [stderr]     |
[INFO] [stderr] 237 |     cy: c_int,
[INFO] [stderr]     |         ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:238:12
[INFO] [stderr]     |
[INFO] [stderr] 238 |     flags: UINT)
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDWP` in this scope
[INFO] [stderr]    --> src/win_layer.rs:239:15
[INFO] [stderr]     |
[INFO] [stderr] 230 | pub fn DeferWindowPos(
[INFO] [stderr]     |                      - help: you might be missing a type parameter: `<HDWP>`
[INFO] [stderr] ...
[INFO] [stderr] 239 |     -> Result<HDWP, u32>
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:241:56
[INFO] [stderr]     |
[INFO] [stderr] 241 |     let insert_after_ptr = insert_after.unwrap_or(0 as HWND);
[INFO] [stderr]     |                                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DeferWindowPos` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:242:35
[INFO] [stderr]     |
[INFO] [stderr] 242 |     let result = unsafe { user32::DeferWindowPos(
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::DeferWindowPos;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindAtomW` in crate `kernel32`
[INFO] [stderr]    --> src/win_layer.rs:161:37
[INFO] [stderr]     |
[INFO] [stderr] 161 |     let result = unsafe { kernel32::FindAtomW(wnd_cls.as_ptr() as LPCWSTR) };
[INFO] [stderr]     |                                     ^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::FindAtomW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:161:67
[INFO] [stderr]     |
[INFO] [stderr] 161 |     let result = unsafe { kernel32::FindAtomW(wnd_cls.as_ptr() as LPCWSTR) };
[INFO] [stderr]     |                                                                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]    --> src/win_layer.rs:169:15
[INFO] [stderr]     |
[INFO] [stderr] 168 | pub fn GlobalFindAtomW(wnd_cls: &[u16])
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<ATOM>`
[INFO] [stderr] 169 |     -> Result<ATOM, u32>
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalFindAtomW` in crate `kernel32`
[INFO] [stderr]    --> src/win_layer.rs:171:37
[INFO] [stderr]     |
[INFO] [stderr] 171 |     let result = unsafe { kernel32::GlobalFindAtomW(wnd_cls.as_ptr() as LPCWSTR) };
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::GlobalFindAtomW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:171:73
[INFO] [stderr]     |
[INFO] [stderr] 171 |     let result = unsafe { kernel32::GlobalFindAtomW(wnd_cls.as_ptr() as LPCWSTR) };
[INFO] [stderr]     |                                                                         ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WORD` in this scope
[INFO] [stderr]    --> src/win_layer.rs:178:9
[INFO] [stderr]     |
[INFO] [stderr] 178 |     Int(WORD),
[INFO] [stderr]     |         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_layer.rs:186:15
[INFO] [stderr]     |
[INFO] [stderr] 186 |     instance: HINSTANCE,
[INFO] [stderr]     |               ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/win_layer.rs:188:15
[INFO] [stderr]     |
[INFO] [stderr] 185 | pub fn LoadIconW(
[INFO] [stderr]     |                 - help: you might be missing a type parameter: `<HICON>`
[INFO] [stderr] ...
[INFO] [stderr] 188 |     -> Result<HICON, u32>
[INFO] [stderr]     |               ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:192:52
[INFO] [stderr]     |
[INFO] [stderr] 192 |             ResourceIdW::Int(id) => id as usize as LPWSTR,
[INFO] [stderr]     |                                                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:193:50
[INFO] [stderr]     |
[INFO] [stderr] 193 |             ResourceIdW::Str(s) => s.as_ptr() as LPWSTR,
[INFO] [stderr]     |                                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:195:17
[INFO] [stderr]     |
[INFO] [stderr] 195 |         user32::LoadIconW(instance, rc_ptr)
[INFO] [stderr]     |                 ^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::LoadIconW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_layer.rs:204:15
[INFO] [stderr]     |
[INFO] [stderr] 204 |     instance: HINSTANCE,
[INFO] [stderr]     |               ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HCURSOR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:206:15
[INFO] [stderr]     |
[INFO] [stderr] 203 | pub fn LoadCursorW(
[INFO] [stderr]     |                   - help: you might be missing a type parameter: `<HCURSOR>`
[INFO] [stderr] ...
[INFO] [stderr] 206 |     -> Result<HCURSOR, u32>
[INFO] [stderr]     |               ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:210:52
[INFO] [stderr]     |
[INFO] [stderr] 210 |             ResourceIdW::Int(id) => id as usize as LPWSTR,
[INFO] [stderr]     |                                                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:211:50
[INFO] [stderr]     |
[INFO] [stderr] 211 |             ResourceIdW::Str(s) => s.as_ptr() as LPWSTR,
[INFO] [stderr]     |                                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:213:17
[INFO] [stderr]     |
[INFO] [stderr] 213 |         user32::LoadCursorW(instance, rc_ptr)
[INFO] [stderr]     |                 ^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::LoadCursorW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:221:41
[INFO] [stderr]     |
[INFO] [stderr] 221 | pub fn BeginDeferWindowPos(num_windows: c_int) -> Result<HDWP, u32>
[INFO] [stderr]     |                                         ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDWP` in this scope
[INFO] [stderr]    --> src/win_layer.rs:221:58
[INFO] [stderr]     |
[INFO] [stderr] 221 | pub fn BeginDeferWindowPos(num_windows: c_int) -> Result<HDWP, u32>
[INFO] [stderr]     |                           -                              ^^^^ not found in this scope
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           help: you might be missing a type parameter: `<HDWP>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDWP` in this scope
[INFO] [stderr]    --> src/win_layer.rs:231:19
[INFO] [stderr]     |
[INFO] [stderr] 231 |     win_pos_info: HDWP,
[INFO] [stderr]     |                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:232:11
[INFO] [stderr]     |
[INFO] [stderr] 232 |     hwnd: HWND,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:233:26
[INFO] [stderr]     |
[INFO] [stderr] 230 | pub fn DeferWindowPos(
[INFO] [stderr]     |                      - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] ...
[INFO] [stderr] 233 |     insert_after: Option<HWND>,
[INFO] [stderr]     |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDWP` in this scope
[INFO] [stderr]    --> src/win_layer.rs:251:32
[INFO] [stderr]     |
[INFO] [stderr] 251 | pub fn EndDeferWindowPos(hdwp: HDWP) -> Result<(), u32>
[INFO] [stderr]     |                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:234:8
[INFO] [stderr]     |
[INFO] [stderr] 234 |     x: c_int,
[INFO] [stderr]     |        ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EndDeferWindowPos` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:253:35
[INFO] [stderr]     |
[INFO] [stderr] 253 |     let result = unsafe { user32::EndDeferWindowPos(hdwp) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::EndDeferWindowPos;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:235:8
[INFO] [stderr]     |
[INFO] [stderr] 235 |     y: c_int,
[INFO] [stderr]     |        ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:261:11
[INFO] [stderr]     |
[INFO] [stderr] 261 |     hwnd: HWND,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:236:9
[INFO] [stderr]     |
[INFO] [stderr] 236 |     cx: c_int,
[INFO] [stderr]     |         ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:262:12
[INFO] [stderr]     |
[INFO] [stderr] 262 |     rect: &RECT,
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:237:9
[INFO] [stderr]     |
[INFO] [stderr] 237 |     cy: c_int,
[INFO] [stderr]     |         ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:238:12
[INFO] [stderr]     |
[INFO] [stderr] 238 |     flags: UINT)
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:267:35
[INFO] [stderr]     |
[INFO] [stderr] 267 |     let result = unsafe { user32::InvalidateRect(hwnd, rect as *const RECT, erase_int) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::InvalidateRect;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDWP` in this scope
[INFO] [stderr]    --> src/win_layer.rs:239:15
[INFO] [stderr]     |
[INFO] [stderr] 230 | pub fn DeferWindowPos(
[INFO] [stderr]     |                      - help: you might be missing a type parameter: `<HDWP>`
[INFO] [stderr] ...
[INFO] [stderr] 239 |     -> Result<HDWP, u32>
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:241:56
[INFO] [stderr]     |
[INFO] [stderr] 241 |     let insert_after_ptr = insert_after.unwrap_or(0 as HWND);
[INFO] [stderr]     |                                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:267:71
[INFO] [stderr]     |
[INFO] [stderr] 267 |     let result = unsafe { user32::InvalidateRect(hwnd, rect as *const RECT, erase_int) };
[INFO] [stderr]     |                                                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]    --> src/win_layer.rs:275:10
[INFO] [stderr]     |
[INFO] [stderr] 275 |     hdc: HDC,
[INFO] [stderr]     |          ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:276:14
[INFO] [stderr]     |
[INFO] [stderr] 276 |     x_start: c_int,
[INFO] [stderr]     |              ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:277:14
[INFO] [stderr]     |
[INFO] [stderr] 277 |     y_start: c_int,
[INFO] [stderr]     |              ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TextOutW` in crate `gdi32`
[INFO] [stderr]    --> src/win_layer.rs:281:34
[INFO] [stderr]     |
[INFO] [stderr] 281 |     let result = unsafe { gdi32::TextOutW(
[INFO] [stderr]     |                                  ^^^^^^^^ not found in `gdi32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::TextOutW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:282:69
[INFO] [stderr]     |
[INFO] [stderr] 282 |             hdc, x_start, y_start, string.as_ptr(), string.len() as c_int) };
[INFO] [stderr]     |                                                                     ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]    --> src/win_layer.rs:289:23
[INFO] [stderr]     |
[INFO] [stderr] 289 | pub fn SetBkMode(hdc: HDC, mode: c_int) -> Result<(), u32>
[INFO] [stderr]     |                       ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:289:34
[INFO] [stderr]     |
[INFO] [stderr] 289 | pub fn SetBkMode(hdc: HDC, mode: c_int) -> Result<(), u32>
[INFO] [stderr]     |                                  ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkMode` in crate `gdi32`
[INFO] [stderr]    --> src/win_layer.rs:291:34
[INFO] [stderr]     |
[INFO] [stderr] 291 |     let result = unsafe { gdi32::SetBkMode(hdc, mode) };
[INFO] [stderr]     |                                  ^^^^^^^^^ not found in `gdi32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::SetBkMode;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]    --> src/win_layer.rs:298:27
[INFO] [stderr]     |
[INFO] [stderr] 298 | pub fn DrawFocusRect(hdc: HDC, rect: &RECT) -> Result<(), u32>
[INFO] [stderr]     |                           ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:298:39
[INFO] [stderr]     |
[INFO] [stderr] 298 | pub fn DrawFocusRect(hdc: HDC, rect: &RECT) -> Result<(), u32>
[INFO] [stderr]     |                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DrawFocusRect` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:300:35
[INFO] [stderr]     |
[INFO] [stderr] 300 |     let result = unsafe { user32::DrawFocusRect(hdc, rect as *const RECT) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::DrawFocusRect;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:300:69
[INFO] [stderr]     |
[INFO] [stderr] 300 |     let result = unsafe { user32::DrawFocusRect(hdc, rect as *const RECT) };
[INFO] [stderr]     |                                                                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:308:11
[INFO] [stderr]     |
[INFO] [stderr] 308 |     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/win_layer.rs:309:10
[INFO] [stderr]     |
[INFO] [stderr] 309 |     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/win_layer.rs:310:12
[INFO] [stderr]     |
[INFO] [stderr] 310 |     param: WPARAM,
[INFO] [stderr]     |            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/win_layer.rs:311:11
[INFO] [stderr]     |
[INFO] [stderr] 311 |     para: LPARAM)
[INFO] [stderr]     |           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:312:8
[INFO] [stderr]     |
[INFO] [stderr] 312 |     -> LRESULT
[INFO] [stderr]     |        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:314:22
[INFO] [stderr]     |
[INFO] [stderr] 314 |     unsafe { user32::SendMessageW(hwnd, msg, param, para) }
[INFO] [stderr]     |                      ^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::SendMessageW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:318:29
[INFO] [stderr]     |
[INFO] [stderr] 318 | pub fn GetWindowLongW(hwnd: HWND, index: c_int) -> Result<LONG, u32>
[INFO] [stderr]     |                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DeferWindowPos` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:242:35
[INFO] [stderr]     |
[INFO] [stderr] 242 |     let result = unsafe { user32::DeferWindowPos(
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::DeferWindowPos;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:318:42
[INFO] [stderr]     |
[INFO] [stderr] 318 | pub fn GetWindowLongW(hwnd: HWND, index: c_int) -> Result<LONG, u32>
[INFO] [stderr]     |                                          ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:318:59
[INFO] [stderr]     |
[INFO] [stderr] 318 | pub fn GetWindowLongW(hwnd: HWND, index: c_int) -> Result<LONG, u32>
[INFO] [stderr]     |                      -                                    ^^^^ not found in this scope
[INFO] [stderr]     |                      |
[INFO] [stderr]     |                      help: you might be missing a type parameter: `<LONG>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDWP` in this scope
[INFO] [stderr]    --> src/win_layer.rs:251:32
[INFO] [stderr]     |
[INFO] [stderr] 251 | pub fn EndDeferWindowPos(hdwp: HDWP) -> Result<(), u32>
[INFO] [stderr]     |                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:320:35
[INFO] [stderr]     |
[INFO] [stderr] 320 |     let result = unsafe { user32::GetWindowLongW(hwnd, index) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::GetWindowLongW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EndDeferWindowPos` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:253:35
[INFO] [stderr]     |
[INFO] [stderr] 253 |     let result = unsafe { user32::EndDeferWindowPos(hdwp) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::EndDeferWindowPos;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:261:11
[INFO] [stderr]     |
[INFO] [stderr] 261 |     hwnd: HWND,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:262:12
[INFO] [stderr]     |
[INFO] [stderr] 262 |     rect: &RECT,
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:327:29
[INFO] [stderr]     |
[INFO] [stderr] 327 | pub fn SetWindowLongW(hwnd: HWND, index: c_int, value: LONG) -> Result<LONG, u32>
[INFO] [stderr]     |                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:267:35
[INFO] [stderr]     |
[INFO] [stderr] 267 |     let result = unsafe { user32::InvalidateRect(hwnd, rect as *const RECT, erase_int) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::InvalidateRect;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:327:42
[INFO] [stderr]     |
[INFO] [stderr] 327 | pub fn SetWindowLongW(hwnd: HWND, index: c_int, value: LONG) -> Result<LONG, u32>
[INFO] [stderr]     |                                          ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:267:71
[INFO] [stderr]     |
[INFO] [stderr] 267 |     let result = unsafe { user32::InvalidateRect(hwnd, rect as *const RECT, erase_int) };
[INFO] [stderr]     |                                                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:327:56
[INFO] [stderr]     |
[INFO] [stderr] 327 | pub fn SetWindowLongW(hwnd: HWND, index: c_int, value: LONG) -> Result<LONG, u32>
[INFO] [stderr]     |                                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]    --> src/win_layer.rs:275:10
[INFO] [stderr]     |
[INFO] [stderr] 275 |     hdc: HDC,
[INFO] [stderr]     |          ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:276:14
[INFO] [stderr]     |
[INFO] [stderr] 276 |     x_start: c_int,
[INFO] [stderr]     |              ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:327:72
[INFO] [stderr]     |
[INFO] [stderr] 327 | pub fn SetWindowLongW(hwnd: HWND, index: c_int, value: LONG) -> Result<LONG, u32>
[INFO] [stderr]     |                      -                                                 ^^^^ not found in this scope
[INFO] [stderr]     |                      |
[INFO] [stderr]     |                      help: you might be missing a type parameter: `<LONG>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:329:35
[INFO] [stderr]     |
[INFO] [stderr] 329 |     let result = unsafe { user32::SetWindowLongW(hwnd, index, value) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::SetWindowLongW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:277:14
[INFO] [stderr]     |
[INFO] [stderr] 277 |     y_start: c_int,
[INFO] [stderr]     |              ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/win_layer.rs:336:35
[INFO] [stderr]     |
[INFO] [stderr] 336 | pub fn RegisterClassExW(wnd_cls: &WNDCLASSEXW)
[INFO] [stderr]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TextOutW` in crate `gdi32`
[INFO] [stderr]    --> src/win_layer.rs:281:34
[INFO] [stderr]     |
[INFO] [stderr] 281 |     let result = unsafe { gdi32::TextOutW(
[INFO] [stderr]     |                                  ^^^^^^^^ not found in `gdi32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::TextOutW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]    --> src/win_layer.rs:337:15
[INFO] [stderr]     |
[INFO] [stderr] 336 | pub fn RegisterClassExW(wnd_cls: &WNDCLASSEXW)
[INFO] [stderr]     |                        - help: you might be missing a type parameter: `<ATOM>`
[INFO] [stderr] 337 |     -> Result<ATOM, u32>
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:282:69
[INFO] [stderr]     |
[INFO] [stderr] 282 |             hdc, x_start, y_start, string.as_ptr(), string.len() as c_int) };
[INFO] [stderr]     |                                                                     ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]    --> src/win_layer.rs:289:23
[INFO] [stderr]     |
[INFO] [stderr] 289 | pub fn SetBkMode(hdc: HDC, mode: c_int) -> Result<(), u32>
[INFO] [stderr]     |                       ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:339:35
[INFO] [stderr]     |
[INFO] [stderr] 339 |     let result = unsafe { user32::RegisterClassExW(wnd_cls as *const WNDCLASSEXW) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::RegisterClassExW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/win_layer.rs:339:70
[INFO] [stderr]     |
[INFO] [stderr] 339 |     let result = unsafe { user32::RegisterClassExW(wnd_cls as *const WNDCLASSEXW) };
[INFO] [stderr]     |                                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:289:34
[INFO] [stderr]     |
[INFO] [stderr] 289 | pub fn SetBkMode(hdc: HDC, mode: c_int) -> Result<(), u32>
[INFO] [stderr]     |                                  ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]    --> src/win_layer.rs:346:10
[INFO] [stderr]     |
[INFO] [stderr] 346 |     Atom(ATOM),
[INFO] [stderr]     |          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:356:8
[INFO] [stderr]     |
[INFO] [stderr] 356 |     x: c_int,
[INFO] [stderr]     |        ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetBkMode` in crate `gdi32`
[INFO] [stderr]    --> src/win_layer.rs:291:34
[INFO] [stderr]     |
[INFO] [stderr] 291 |     let result = unsafe { gdi32::SetBkMode(hdc, mode) };
[INFO] [stderr]     |                                  ^^^^^^^^^ not found in `gdi32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::SetBkMode;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:357:8
[INFO] [stderr]     |
[INFO] [stderr] 357 |     y: c_int,
[INFO] [stderr]     |        ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]    --> src/win_layer.rs:298:27
[INFO] [stderr]     |
[INFO] [stderr] 298 | pub fn DrawFocusRect(hdc: HDC, rect: &RECT) -> Result<(), u32>
[INFO] [stderr]     |                           ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:358:12
[INFO] [stderr]     |
[INFO] [stderr] 358 |     width: c_int,
[INFO] [stderr]     |            ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:298:39
[INFO] [stderr]     |
[INFO] [stderr] 298 | pub fn DrawFocusRect(hdc: HDC, rect: &RECT) -> Result<(), u32>
[INFO] [stderr]     |                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DrawFocusRect` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:300:35
[INFO] [stderr]     |
[INFO] [stderr] 300 |     let result = unsafe { user32::DrawFocusRect(hdc, rect as *const RECT) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::DrawFocusRect;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:300:69
[INFO] [stderr]     |
[INFO] [stderr] 300 |     let result = unsafe { user32::DrawFocusRect(hdc, rect as *const RECT) };
[INFO] [stderr]     |                                                                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:359:13
[INFO] [stderr]     |
[INFO] [stderr] 359 |     height: c_int,
[INFO] [stderr]     |             ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:360:24
[INFO] [stderr]     |
[INFO] [stderr] 351 | pub fn CreateWindowExW(
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] ...
[INFO] [stderr] 360 |     wnd_parent: Option<HWND>,
[INFO] [stderr]     |                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:308:11
[INFO] [stderr]     |
[INFO] [stderr] 308 |     hwnd: HWND,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]    --> src/win_layer.rs:361:18
[INFO] [stderr]     |
[INFO] [stderr] 351 | pub fn CreateWindowExW(
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<HMENU>`
[INFO] [stderr] ...
[INFO] [stderr] 361 |     menu: Option<HMENU>,
[INFO] [stderr]     |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:309:10
[INFO] [stderr]     |
[INFO] [stderr] 309 |     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/win_layer.rs:310:12
[INFO] [stderr]     |
[INFO] [stderr] 310 |     param: WPARAM,
[INFO] [stderr]     |            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/win_layer.rs:311:11
[INFO] [stderr]     |
[INFO] [stderr] 311 |     para: LPARAM)
[INFO] [stderr]     |           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_layer.rs:362:15
[INFO] [stderr]     |
[INFO] [stderr] 362 |     instance: HINSTANCE,
[INFO] [stderr]     |               ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:312:8
[INFO] [stderr]     |
[INFO] [stderr] 312 |     -> LRESULT
[INFO] [stderr]     |        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]    --> src/win_layer.rs:363:19
[INFO] [stderr]     |
[INFO] [stderr] 351 | pub fn CreateWindowExW(
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<LPVOID>`
[INFO] [stderr] ...
[INFO] [stderr] 363 |     param: Option<LPVOID>)
[INFO] [stderr]     |                   ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:314:22
[INFO] [stderr]     |
[INFO] [stderr] 314 |     unsafe { user32::SendMessageW(hwnd, msg, param, para) }
[INFO] [stderr]     |                      ^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::SendMessageW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:318:29
[INFO] [stderr]     |
[INFO] [stderr] 318 | pub fn GetWindowLongW(hwnd: HWND, index: c_int) -> Result<LONG, u32>
[INFO] [stderr]     |                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:364:15
[INFO] [stderr]     |
[INFO] [stderr] 351 | pub fn CreateWindowExW(
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] ...
[INFO] [stderr] 364 |     -> Result<HWND, u32>
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:368:40
[INFO] [stderr]     |
[INFO] [stderr] 368 |             WinClsIdW::Atom(x) => x as LPCWSTR,
[INFO] [stderr]     |                                        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:318:42
[INFO] [stderr]     |
[INFO] [stderr] 318 | pub fn GetWindowLongW(hwnd: HWND, index: c_int) -> Result<LONG, u32>
[INFO] [stderr]     |                                          ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:369:52
[INFO] [stderr]     |
[INFO] [stderr] 369 |             WinClsIdW::ClsName(n) => n.as_ptr() as LPCWSTR,
[INFO] [stderr]     |                                                    ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:372:17
[INFO] [stderr]     |
[INFO] [stderr] 372 |         user32::CreateWindowExW(
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::CreateWindowExW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:318:59
[INFO] [stderr]     |
[INFO] [stderr] 318 | pub fn GetWindowLongW(hwnd: HWND, index: c_int) -> Result<LONG, u32>
[INFO] [stderr]     |                      -                                    ^^^^ not found in this scope
[INFO] [stderr]     |                      |
[INFO] [stderr]     |                      help: you might be missing a type parameter: `<LONG>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:374:37
[INFO] [stderr]     |
[INFO] [stderr] 374 |             window_name.map_or(0 as LPCWSTR, |x|x.as_ptr() as LPCWSTR),
[INFO] [stderr]     |                                     ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:320:35
[INFO] [stderr]     |
[INFO] [stderr] 320 |     let result = unsafe { user32::GetWindowLongW(hwnd, index) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::GetWindowLongW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:374:63
[INFO] [stderr]     |
[INFO] [stderr] 374 |             window_name.map_or(0 as LPCWSTR, |x|x.as_ptr() as LPCWSTR),
[INFO] [stderr]     |                                                               ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:327:29
[INFO] [stderr]     |
[INFO] [stderr] 327 | pub fn SetWindowLongW(hwnd: HWND, index: c_int, value: LONG) -> Result<LONG, u32>
[INFO] [stderr]     |                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:376:39
[INFO] [stderr]     |
[INFO] [stderr] 376 |             wnd_parent.unwrap_or(0 as HWND),
[INFO] [stderr]     |                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:327:42
[INFO] [stderr]     |
[INFO] [stderr] 327 | pub fn SetWindowLongW(hwnd: HWND, index: c_int, value: LONG) -> Result<LONG, u32>
[INFO] [stderr]     |                                          ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]    --> src/win_layer.rs:377:33
[INFO] [stderr]     |
[INFO] [stderr] 377 |             menu.unwrap_or(0 as HMENU),
[INFO] [stderr]     |                                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]    --> src/win_layer.rs:379:34
[INFO] [stderr]     |
[INFO] [stderr] 379 |             param.unwrap_or(0 as LPVOID))
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:327:56
[INFO] [stderr]     |
[INFO] [stderr] 327 | pub fn SetWindowLongW(hwnd: HWND, index: c_int, value: LONG) -> Result<LONG, u32>
[INFO] [stderr]     |                                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:387:18
[INFO] [stderr]     |
[INFO] [stderr] 386 | pub struct BlockingMsgLoop {
[INFO] [stderr]     |                           - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 387 |     hwnd: Option<HWND>,
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:327:72
[INFO] [stderr]     |
[INFO] [stderr] 327 | pub fn SetWindowLongW(hwnd: HWND, index: c_int, value: LONG) -> Result<LONG, u32>
[INFO] [stderr]     |                      -                                                 ^^^^ not found in this scope
[INFO] [stderr]     |                      |
[INFO] [stderr]     |                      help: you might be missing a type parameter: `<LONG>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:391:24
[INFO] [stderr]     |
[INFO] [stderr] 390 | impl Iterator for BlockingMsgLoop {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<MSG>`
[INFO] [stderr] 391 |     type Item = Result<MSG, u32>;
[INFO] [stderr]     |                        ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:329:35
[INFO] [stderr]     |
[INFO] [stderr] 329 |     let result = unsafe { user32::SetWindowLongW(hwnd, index, value) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::SetWindowLongW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:394:41
[INFO] [stderr]     |
[INFO] [stderr] 390 | impl Iterator for BlockingMsgLoop {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<MSG>`
[INFO] [stderr] ...
[INFO] [stderr] 394 |     fn next(&mut self) -> Option<Result<MSG, u32>> {
[INFO] [stderr]     |                                         ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/win_layer.rs:336:35
[INFO] [stderr]     |
[INFO] [stderr] 336 | pub fn RegisterClassExW(wnd_cls: &WNDCLASSEXW)
[INFO] [stderr]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]    --> src/win_layer.rs:337:15
[INFO] [stderr]     |
[INFO] [stderr] 336 | pub fn RegisterClassExW(wnd_cls: &WNDCLASSEXW)
[INFO] [stderr]     |                        - help: you might be missing a type parameter: `<ATOM>`
[INFO] [stderr] 337 |     -> Result<ATOM, u32>
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:395:23
[INFO] [stderr]     |
[INFO] [stderr] 395 |         let mut msg = MSG {
[INFO] [stderr]     |                       ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:396:24
[INFO] [stderr]     |
[INFO] [stderr] 396 |             hwnd: 0 as HWND,
[INFO] [stderr]     |                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:339:35
[INFO] [stderr]     |
[INFO] [stderr] 339 |     let result = unsafe { user32::RegisterClassExW(wnd_cls as *const WNDCLASSEXW) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::RegisterClassExW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:401:17
[INFO] [stderr]     |
[INFO] [stderr] 401 |             pt: POINT {x: 0, y: 0},
[INFO] [stderr]     |                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:403:45
[INFO] [stderr]     |
[INFO] [stderr] 403 |         let hwnd = self.hwnd.unwrap_or(0 as HWND);
[INFO] [stderr]     |                                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/win_layer.rs:339:70
[INFO] [stderr]     |
[INFO] [stderr] 339 |     let result = unsafe { user32::RegisterClassExW(wnd_cls as *const WNDCLASSEXW) };
[INFO] [stderr]     |                                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]    --> src/win_layer.rs:346:10
[INFO] [stderr]     |
[INFO] [stderr] 346 |     Atom(ATOM),
[INFO] [stderr]     |          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:404:39
[INFO] [stderr]     |
[INFO] [stderr] 404 |         let result = unsafe { user32::GetMessageW(&mut msg as *mut MSG, hwnd, 0, 0) };
[INFO] [stderr]     |                                       ^^^^^^^^^^^ not found in `user32`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:404:68
[INFO] [stderr]     |
[INFO] [stderr] 404 |         let result = unsafe { user32::GetMessageW(&mut msg as *mut MSG, hwnd, 0, 0) };
[INFO] [stderr]     |                                                                    ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:412:39
[INFO] [stderr]     |
[INFO] [stderr] 412 | pub fn blocking_msg_loop(hwnd: Option<HWND>) -> BlockingMsgLoop
[INFO] [stderr]     |                         -             ^^^^ not found in this scope
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:356:8
[INFO] [stderr]     |
[INFO] [stderr] 356 |     x: c_int,
[INFO] [stderr]     |        ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:416:18
[INFO] [stderr]     |
[INFO] [stderr] 415 | pub struct PeekingMsgLoop {
[INFO] [stderr]     |                          - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 416 |     hwnd: Option<HWND>,
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:357:8
[INFO] [stderr]     |
[INFO] [stderr] 357 |     y: c_int,
[INFO] [stderr]     |        ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:420:24
[INFO] [stderr]     |
[INFO] [stderr] 419 | impl Iterator for PeekingMsgLoop {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<MSG>`
[INFO] [stderr] 420 |     type Item = Result<MSG, u32>;
[INFO] [stderr]     |                        ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:358:12
[INFO] [stderr]     |
[INFO] [stderr] 358 |     width: c_int,
[INFO] [stderr]     |            ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:423:41
[INFO] [stderr]     |
[INFO] [stderr] 419 | impl Iterator for PeekingMsgLoop {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<MSG>`
[INFO] [stderr] ...
[INFO] [stderr] 423 |     fn next(&mut self) -> Option<Result<MSG, u32>> {
[INFO] [stderr]     |                                         ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:359:13
[INFO] [stderr]     |
[INFO] [stderr] 359 |     height: c_int,
[INFO] [stderr]     |             ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:425:45
[INFO] [stderr]     |
[INFO] [stderr] 425 |         let hwnd = self.hwnd.unwrap_or(0 as HWND);
[INFO] [stderr]     |                                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:360:24
[INFO] [stderr]     |
[INFO] [stderr] 351 | pub fn CreateWindowExW(
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] ...
[INFO] [stderr] 360 |     wnd_parent: Option<HWND>,
[INFO] [stderr]     |                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:427:38
[INFO] [stderr]     |
[INFO] [stderr] 419 | impl Iterator for PeekingMsgLoop {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<MSG>`
[INFO] [stderr] ...
[INFO] [stderr] 427 |             msg = std::mem::zeroed::<MSG>();
[INFO] [stderr]     |                                      ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]    --> src/win_layer.rs:361:18
[INFO] [stderr]     |
[INFO] [stderr] 351 | pub fn CreateWindowExW(
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<HMENU>`
[INFO] [stderr] ...
[INFO] [stderr] 361 |     menu: Option<HMENU>,
[INFO] [stderr]     |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:428:21
[INFO] [stderr]     |
[INFO] [stderr] 428 |             user32::PeekMessageW(&mut msg as *mut MSG, hwnd, 0, 0, PM_REMOVE)
[INFO] [stderr]     |                     ^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_layer.rs:362:15
[INFO] [stderr]     |
[INFO] [stderr] 362 |     instance: HINSTANCE,
[INFO] [stderr]     |               ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:428:51
[INFO] [stderr]     |
[INFO] [stderr] 428 |             user32::PeekMessageW(&mut msg as *mut MSG, hwnd, 0, 0, PM_REMOVE)
[INFO] [stderr]     |                                                   ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]    --> src/win_layer.rs:363:19
[INFO] [stderr]     |
[INFO] [stderr] 351 | pub fn CreateWindowExW(
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<LPVOID>`
[INFO] [stderr] ...
[INFO] [stderr] 363 |     param: Option<LPVOID>)
[INFO] [stderr]     |                   ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PM_REMOVE` in this scope
[INFO] [stderr]    --> src/win_layer.rs:428:68
[INFO] [stderr]     |
[INFO] [stderr] 428 |             user32::PeekMessageW(&mut msg as *mut MSG, hwnd, 0, 0, PM_REMOVE)
[INFO] [stderr]     |                                                                    ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:364:15
[INFO] [stderr]     |
[INFO] [stderr] 351 | pub fn CreateWindowExW(
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] ...
[INFO] [stderr] 364 |     -> Result<HWND, u32>
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:437:38
[INFO] [stderr]     |
[INFO] [stderr] 437 | pub fn peeking_msg_loop(hwnd: Option<HWND>) -> PeekingMsgLoop
[INFO] [stderr]     |                        -             ^^^^ not found in this scope
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:368:40
[INFO] [stderr]     |
[INFO] [stderr] 368 |             WinClsIdW::Atom(x) => x as LPCWSTR,
[INFO] [stderr]     |                                        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:441:30
[INFO] [stderr]     |
[INFO] [stderr] 441 | pub fn IsDialogMessage(hwnd: HWND, msg: &mut MSG) -> bool {
[INFO] [stderr]     |                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:369:52
[INFO] [stderr]     |
[INFO] [stderr] 369 |             WinClsIdW::ClsName(n) => n.as_ptr() as LPCWSTR,
[INFO] [stderr]     |                                                    ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:441:46
[INFO] [stderr]     |
[INFO] [stderr] 441 | pub fn IsDialogMessage(hwnd: HWND, msg: &mut MSG) -> bool {
[INFO] [stderr]     |                                              ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IsDialogMessageW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:442:22
[INFO] [stderr]     |
[INFO] [stderr] 442 |     unsafe { user32::IsDialogMessageW(hwnd, msg as *mut MSG) == 0 }
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:372:17
[INFO] [stderr]     |
[INFO] [stderr] 372 |         user32::CreateWindowExW(
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::CreateWindowExW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:442:57
[INFO] [stderr]     |
[INFO] [stderr] 442 |     unsafe { user32::IsDialogMessageW(hwnd, msg as *mut MSG) == 0 }
[INFO] [stderr]     |                                                         ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:374:37
[INFO] [stderr]     |
[INFO] [stderr] 374 |             window_name.map_or(0 as LPCWSTR, |x|x.as_ptr() as LPCWSTR),
[INFO] [stderr]     |                                     ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:446:28
[INFO] [stderr]     |
[INFO] [stderr] 446 | pub fn DestroyWindow(hwnd: HWND) -> Result<(), u32>
[INFO] [stderr]     |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/win_layer.rs:374:63
[INFO] [stderr]     |
[INFO] [stderr] 374 |             window_name.map_or(0 as LPCWSTR, |x|x.as_ptr() as LPCWSTR),
[INFO] [stderr]     |                                                               ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:448:35
[INFO] [stderr]     |
[INFO] [stderr] 448 |     let result = unsafe { user32::DestroyWindow(hwnd) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::DestroyWindow;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:376:39
[INFO] [stderr]     |
[INFO] [stderr] 376 |             wnd_parent.unwrap_or(0 as HWND),
[INFO] [stderr]     |                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:456:11
[INFO] [stderr]     |
[INFO] [stderr] 456 |     hwnd: HWND,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]    --> src/win_layer.rs:377:33
[INFO] [stderr]     |
[INFO] [stderr] 377 |             menu.unwrap_or(0 as HMENU),
[INFO] [stderr]     |                                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:457:26
[INFO] [stderr]     |
[INFO] [stderr] 455 | pub fn SetWindowPos(
[INFO] [stderr]     |                    - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 456 |     hwnd: HWND,
[INFO] [stderr] 457 |     insert_after: Option<HWND>,
[INFO] [stderr]     |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]    --> src/win_layer.rs:379:34
[INFO] [stderr]     |
[INFO] [stderr] 379 |             param.unwrap_or(0 as LPVOID))
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:458:8
[INFO] [stderr]     |
[INFO] [stderr] 458 |     x: c_int, y: c_int,
[INFO] [stderr]     |        ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:387:18
[INFO] [stderr]     |
[INFO] [stderr] 386 | pub struct BlockingMsgLoop {
[INFO] [stderr]     |                           - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 387 |     hwnd: Option<HWND>,
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:458:18
[INFO] [stderr]     |
[INFO] [stderr] 458 |     x: c_int, y: c_int,
[INFO] [stderr]     |                  ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:391:24
[INFO] [stderr]     |
[INFO] [stderr] 390 | impl Iterator for BlockingMsgLoop {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<MSG>`
[INFO] [stderr] 391 |     type Item = Result<MSG, u32>;
[INFO] [stderr]     |                        ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:394:41
[INFO] [stderr]     |
[INFO] [stderr] 390 | impl Iterator for BlockingMsgLoop {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<MSG>`
[INFO] [stderr] ...
[INFO] [stderr] 394 |     fn next(&mut self) -> Option<Result<MSG, u32>> {
[INFO] [stderr]     |                                         ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:459:9
[INFO] [stderr]     |
[INFO] [stderr] 459 |     cx: c_int, cy: c_int,
[INFO] [stderr]     |         ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:395:23
[INFO] [stderr]     |
[INFO] [stderr] 395 |         let mut msg = MSG {
[INFO] [stderr]     |                       ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:459:20
[INFO] [stderr]     |
[INFO] [stderr] 459 |     cx: c_int, cy: c_int,
[INFO] [stderr]     |                    ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:396:24
[INFO] [stderr]     |
[INFO] [stderr] 396 |             hwnd: 0 as HWND,
[INFO] [stderr]     |                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:460:12
[INFO] [stderr]     |
[INFO] [stderr] 460 |     flags: UINT)
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:401:17
[INFO] [stderr]     |
[INFO] [stderr] 401 |             pt: POINT {x: 0, y: 0},
[INFO] [stderr]     |                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:464:17
[INFO] [stderr]     |
[INFO] [stderr] 464 |         user32::SetWindowPos(
[INFO] [stderr]     |                 ^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::SetWindowPos;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:403:45
[INFO] [stderr]     |
[INFO] [stderr] 403 |         let hwnd = self.hwnd.unwrap_or(0 as HWND);
[INFO] [stderr]     |                                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:404:39
[INFO] [stderr]     |
[INFO] [stderr] 404 |         let result = unsafe { user32::GetMessageW(&mut msg as *mut MSG, hwnd, 0, 0) };
[INFO] [stderr]     |                                       ^^^^^^^^^^^ not found in `user32`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:465:47
[INFO] [stderr]     |
[INFO] [stderr] 465 |             hwnd, insert_after.unwrap_or(0 as HWND),
[INFO] [stderr]     |                                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:404:68
[INFO] [stderr]     |
[INFO] [stderr] 404 |         let result = unsafe { user32::GetMessageW(&mut msg as *mut MSG, hwnd, 0, 0) };
[INFO] [stderr]     |                                                                    ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:474:11
[INFO] [stderr]     |
[INFO] [stderr] 474 |     hwnd: HWND,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:412:39
[INFO] [stderr]     |
[INFO] [stderr] 412 | pub fn blocking_msg_loop(hwnd: Option<HWND>) -> BlockingMsgLoop
[INFO] [stderr]     |                         -             ^^^^ not found in this scope
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:475:8
[INFO] [stderr]     |
[INFO] [stderr] 475 |     x: c_int, y: c_int,
[INFO] [stderr]     |        ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:416:18
[INFO] [stderr]     |
[INFO] [stderr] 415 | pub struct PeekingMsgLoop {
[INFO] [stderr]     |                          - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 416 |     hwnd: Option<HWND>,
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:475:18
[INFO] [stderr]     |
[INFO] [stderr] 475 |     x: c_int, y: c_int,
[INFO] [stderr]     |                  ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:420:24
[INFO] [stderr]     |
[INFO] [stderr] 419 | impl Iterator for PeekingMsgLoop {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<MSG>`
[INFO] [stderr] 420 |     type Item = Result<MSG, u32>;
[INFO] [stderr]     |                        ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:476:9
[INFO] [stderr]     |
[INFO] [stderr] 476 |     cx: c_int, cy: c_int,
[INFO] [stderr]     |         ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:423:41
[INFO] [stderr]     |
[INFO] [stderr] 419 | impl Iterator for PeekingMsgLoop {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<MSG>`
[INFO] [stderr] ...
[INFO] [stderr] 423 |     fn next(&mut self) -> Option<Result<MSG, u32>> {
[INFO] [stderr]     |                                         ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:476:20
[INFO] [stderr]     |
[INFO] [stderr] 476 |     cx: c_int, cy: c_int,
[INFO] [stderr]     |                    ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:425:45
[INFO] [stderr]     |
[INFO] [stderr] 425 |         let hwnd = self.hwnd.unwrap_or(0 as HWND);
[INFO] [stderr]     |                                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:427:38
[INFO] [stderr]     |
[INFO] [stderr] 419 | impl Iterator for PeekingMsgLoop {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<MSG>`
[INFO] [stderr] ...
[INFO] [stderr] 427 |             msg = std::mem::zeroed::<MSG>();
[INFO] [stderr]     |                                      ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:481:35
[INFO] [stderr]     |
[INFO] [stderr] 481 |     let result = unsafe { user32::MoveWindow(hwnd, x, y, cx, cy, repaint) };
[INFO] [stderr]     |                                   ^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::MoveWindow;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:428:21
[INFO] [stderr]     |
[INFO] [stderr] 428 |             user32::PeekMessageW(&mut msg as *mut MSG, hwnd, 0, 0, PM_REMOVE)
[INFO] [stderr]     |                     ^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:489:11
[INFO] [stderr]     |
[INFO] [stderr] 489 |     hwnd: HWND,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:428:51
[INFO] [stderr]     |
[INFO] [stderr] 428 |             user32::PeekMessageW(&mut msg as *mut MSG, hwnd, 0, 0, PM_REMOVE)
[INFO] [stderr]     |                                                   ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:490:10
[INFO] [stderr]     |
[INFO] [stderr] 490 |     msg: UINT,
[INFO] [stderr]     |          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PM_REMOVE` in this scope
[INFO] [stderr]    --> src/win_layer.rs:428:68
[INFO] [stderr]     |
[INFO] [stderr] 428 |             user32::PeekMessageW(&mut msg as *mut MSG, hwnd, 0, 0, PM_REMOVE)
[INFO] [stderr]     |                                                                    ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/win_layer.rs:491:12
[INFO] [stderr]     |
[INFO] [stderr] 491 |     param: WPARAM,
[INFO] [stderr]     |            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:437:38
[INFO] [stderr]     |
[INFO] [stderr] 437 | pub fn peeking_msg_loop(hwnd: Option<HWND>) -> PeekingMsgLoop
[INFO] [stderr]     |                        -             ^^^^ not found in this scope
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/win_layer.rs:492:11
[INFO] [stderr]     |
[INFO] [stderr] 492 |     para: LPARAM)
[INFO] [stderr]     |           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:493:8
[INFO] [stderr]     |
[INFO] [stderr] 493 |     -> LRESULT
[INFO] [stderr]     |        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:441:30
[INFO] [stderr]     |
[INFO] [stderr] 441 | pub fn IsDialogMessage(hwnd: HWND, msg: &mut MSG) -> bool {
[INFO] [stderr]     |                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:494:20
[INFO] [stderr]     |
[INFO] [stderr] 494 | { unsafe { user32::DefWindowProcW(hwnd, msg, param, para)} }
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::DefWindowProcW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:441:46
[INFO] [stderr]     |
[INFO] [stderr] 441 | pub fn IsDialogMessage(hwnd: HWND, msg: &mut MSG) -> bool {
[INFO] [stderr]     |                                              ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:497:35
[INFO] [stderr]     |
[INFO] [stderr] 497 | pub fn PostQuitMessage(exit_code: c_int)
[INFO] [stderr]     |                                   ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IsDialogMessageW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:442:22
[INFO] [stderr]     |
[INFO] [stderr] 442 |     unsafe { user32::IsDialogMessageW(hwnd, msg as *mut MSG) == 0 }
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:442:57
[INFO] [stderr]     |
[INFO] [stderr] 442 |     unsafe { user32::IsDialogMessageW(hwnd, msg as *mut MSG) == 0 }
[INFO] [stderr]     |                                                         ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:498:20
[INFO] [stderr]     |
[INFO] [stderr] 498 | { unsafe { user32::PostQuitMessage(exit_code)} }
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::PostQuitMessage;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:446:28
[INFO] [stderr]     |
[INFO] [stderr] 446 | pub fn DestroyWindow(hwnd: HWND) -> Result<(), u32>
[INFO] [stderr]     |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:448:35
[INFO] [stderr]     |
[INFO] [stderr] 448 |     let result = unsafe { user32::DestroyWindow(hwnd) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::DestroyWindow;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:501:31
[INFO] [stderr]     |
[INFO] [stderr] 501 | pub fn TranslateMessage(msg: &MSG) -> bool
[INFO] [stderr]     |                               ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:502:20
[INFO] [stderr]     |
[INFO] [stderr] 502 | { unsafe { user32::TranslateMessage(msg as *const MSG) != 0 } }
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::TranslateMessage;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:456:11
[INFO] [stderr]     |
[INFO] [stderr] 456 |     hwnd: HWND,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:457:26
[INFO] [stderr]     |
[INFO] [stderr] 455 | pub fn SetWindowPos(
[INFO] [stderr]     |                    - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 456 |     hwnd: HWND,
[INFO] [stderr] 457 |     insert_after: Option<HWND>,
[INFO] [stderr]     |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:502:51
[INFO] [stderr]     |
[INFO] [stderr] 502 | { unsafe { user32::TranslateMessage(msg as *const MSG) != 0 } }
[INFO] [stderr]     |                                                   ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:505:31
[INFO] [stderr]     |
[INFO] [stderr] 505 | pub fn DispatchMessageW(msg: &MSG) -> isize
[INFO] [stderr]     |                               ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:458:8
[INFO] [stderr]     |
[INFO] [stderr] 458 |     x: c_int, y: c_int,
[INFO] [stderr]     |        ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:506:20
[INFO] [stderr]     |
[INFO] [stderr] 506 | { unsafe { user32::DispatchMessageW(msg as *const MSG) as isize } }
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::DispatchMessageW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:458:18
[INFO] [stderr]     |
[INFO] [stderr] 458 |     x: c_int, y: c_int,
[INFO] [stderr]     |                  ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:506:51
[INFO] [stderr]     |
[INFO] [stderr] 506 | { unsafe { user32::DispatchMessageW(msg as *const MSG) as isize } }
[INFO] [stderr]     |                                                   ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:459:9
[INFO] [stderr]     |
[INFO] [stderr] 459 |     cx: c_int, cy: c_int,
[INFO] [stderr]     |         ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:509:28
[INFO] [stderr]     |
[INFO] [stderr] 509 | pub fn GetClientRect(hwnd: HWND) -> Result<RECT, u32>
[INFO] [stderr]     |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:509:44
[INFO] [stderr]     |
[INFO] [stderr] 509 | pub fn GetClientRect(hwnd: HWND) -> Result<RECT, u32>
[INFO] [stderr]     |                     -                      ^^^^ not found in this scope
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: you might be missing a type parameter: `<RECT>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:459:20
[INFO] [stderr]     |
[INFO] [stderr] 459 |     cx: c_int, cy: c_int,
[INFO] [stderr]     |                    ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:513:35
[INFO] [stderr]     |
[INFO] [stderr] 509 | pub fn GetClientRect(hwnd: HWND) -> Result<RECT, u32>
[INFO] [stderr]     |                     - help: you might be missing a type parameter: `<RECT>`
[INFO] [stderr] ...
[INFO] [stderr] 513 |         rect = std::mem::zeroed::<RECT>();
[INFO] [stderr]     |                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:460:12
[INFO] [stderr]     |
[INFO] [stderr] 460 |     flags: UINT)
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:514:17
[INFO] [stderr]     |
[INFO] [stderr] 514 |         user32::GetClientRect(hwnd, &mut rect as *mut RECT)
[INFO] [stderr]     |                 ^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::GetClientRect;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:464:17
[INFO] [stderr]     |
[INFO] [stderr] 464 |         user32::SetWindowPos(
[INFO] [stderr]     |                 ^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::SetWindowPos;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:514:55
[INFO] [stderr]     |
[INFO] [stderr] 514 |         user32::GetClientRect(hwnd, &mut rect as *mut RECT)
[INFO] [stderr]     |                                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:465:47
[INFO] [stderr]     |
[INFO] [stderr] 465 |             hwnd, insert_after.unwrap_or(0 as HWND),
[INFO] [stderr]     |                                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:474:11
[INFO] [stderr]     |
[INFO] [stderr] 474 |     hwnd: HWND,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:522:25
[INFO] [stderr]     |
[INFO] [stderr] 522 | pub fn BeginPaint(hwnd: HWND) -> Result<(PAINTSTRUCT, HDC), u32>
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:475:8
[INFO] [stderr]     |
[INFO] [stderr] 475 |     x: c_int, y: c_int,
[INFO] [stderr]     |        ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:522:42
[INFO] [stderr]     |
[INFO] [stderr] 522 | pub fn BeginPaint(hwnd: HWND) -> Result<(PAINTSTRUCT, HDC), u32>
[INFO] [stderr]     |                  -                       ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |                  |
[INFO] [stderr]     |                  help: you might be missing a type parameter: `<PAINTSTRUCT>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:475:18
[INFO] [stderr]     |
[INFO] [stderr] 475 |     x: c_int, y: c_int,
[INFO] [stderr]     |                  ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]    --> src/win_layer.rs:522:55
[INFO] [stderr]     |
[INFO] [stderr] 522 | pub fn BeginPaint(hwnd: HWND) -> Result<(PAINTSTRUCT, HDC), u32>
[INFO] [stderr]     |                  -                                    ^^^ not found in this scope
[INFO] [stderr]     |                  |
[INFO] [stderr]     |                  help: you might be missing a type parameter: `<HDC>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:476:9
[INFO] [stderr]     |
[INFO] [stderr] 476 |     cx: c_int, cy: c_int,
[INFO] [stderr]     |         ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:526:33
[INFO] [stderr]     |
[INFO] [stderr] 522 | pub fn BeginPaint(hwnd: HWND) -> Result<(PAINTSTRUCT, HDC), u32>
[INFO] [stderr]     |                  - help: you might be missing a type parameter: `<PAINTSTRUCT>`
[INFO] [stderr] ...
[INFO] [stderr] 526 |         ps = std::mem::zeroed::<PAINTSTRUCT>();
[INFO] [stderr]     |                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:476:20
[INFO] [stderr]     |
[INFO] [stderr] 476 |     cx: c_int, cy: c_int,
[INFO] [stderr]     |                    ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:527:17
[INFO] [stderr]     |
[INFO] [stderr] 527 |         user32::BeginPaint(hwnd, &mut ps as *mut PAINTSTRUCT)
[INFO] [stderr]     |                 ^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::BeginPaint;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:481:35
[INFO] [stderr]     |
[INFO] [stderr] 481 |     let result = unsafe { user32::MoveWindow(hwnd, x, y, cx, cy, repaint) };
[INFO] [stderr]     |                                   ^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::MoveWindow;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:527:50
[INFO] [stderr]     |
[INFO] [stderr] 527 |         user32::BeginPaint(hwnd, &mut ps as *mut PAINTSTRUCT)
[INFO] [stderr]     |                                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:535:23
[INFO] [stderr]     |
[INFO] [stderr] 535 | pub fn EndPaint(hwnd: HWND, ps: &PAINTSTRUCT) -> Result<(), u32>
[INFO] [stderr]     |                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:489:11
[INFO] [stderr]     |
[INFO] [stderr] 489 |     hwnd: HWND,
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:535:34
[INFO] [stderr]     |
[INFO] [stderr] 535 | pub fn EndPaint(hwnd: HWND, ps: &PAINTSTRUCT) -> Result<(), u32>
[INFO] [stderr]     |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:490:10
[INFO] [stderr]     |
[INFO] [stderr] 490 |     msg: UINT,
[INFO] [stderr]     |          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:537:35
[INFO] [stderr]     |
[INFO] [stderr] 537 |     let result = unsafe { user32::EndPaint(hwnd, ps) };
[INFO] [stderr]     |                                   ^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::EndPaint;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/win_layer.rs:491:12
[INFO] [stderr]     |
[INFO] [stderr] 491 |     param: WPARAM,
[INFO] [stderr]     |            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]    --> src/win_layer.rs:544:22
[INFO] [stderr]     |
[INFO] [stderr] 544 | pub fn FillRect(hdc: HDC, rect: &RECT, brush: HBRUSH)
[INFO] [stderr]     |                      ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/win_layer.rs:492:11
[INFO] [stderr]     |
[INFO] [stderr] 492 |     para: LPARAM)
[INFO] [stderr]     |           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:493:8
[INFO] [stderr]     |
[INFO] [stderr] 493 |     -> LRESULT
[INFO] [stderr]     |        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:544:34
[INFO] [stderr]     |
[INFO] [stderr] 544 | pub fn FillRect(hdc: HDC, rect: &RECT, brush: HBRUSH)
[INFO] [stderr]     |                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:494:20
[INFO] [stderr]     |
[INFO] [stderr] 494 | { unsafe { user32::DefWindowProcW(hwnd, msg, param, para)} }
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::DefWindowProcW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/win_layer.rs:544:47
[INFO] [stderr]     |
[INFO] [stderr] 544 | pub fn FillRect(hdc: HDC, rect: &RECT, brush: HBRUSH)
[INFO] [stderr]     |                                               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:547:35
[INFO] [stderr]     |
[INFO] [stderr] 547 |     let result = unsafe { user32::FillRect(hdc, rect, brush) };
[INFO] [stderr]     |                                   ^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::FillRect;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]    --> src/win_layer.rs:497:35
[INFO] [stderr]     |
[INFO] [stderr] 497 | pub fn PostQuitMessage(exit_code: c_int)
[INFO] [stderr]     |                                   ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use std::os::raw::c_int;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:42:24
[INFO] [stderr]    |
[INFO] [stderr] 42 | type HwndMap = HashMap<HWND, Box<Any>>;
[INFO] [stderr]    |             -          ^^^^ not found in this scope
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:498:20
[INFO] [stderr]     |
[INFO] [stderr] 498 | { unsafe { user32::PostQuitMessage(exit_code)} }
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::PostQuitMessage;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:501:31
[INFO] [stderr]     |
[INFO] [stderr] 501 | pub fn TranslateMessage(msg: &MSG) -> bool
[INFO] [stderr]     |                               ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:45:48
[INFO] [stderr]    |
[INFO] [stderr] 45 |     static ATOM_TABLE: RefCell<HashMap<TypeId, ATOM>> = RefCell::new(HashMap::new());
[INFO] [stderr]    |                                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:502:20
[INFO] [stderr]     |
[INFO] [stderr] 502 | { unsafe { user32::TranslateMessage(msg as *const MSG) != 0 } }
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::TranslateMessage;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:48:25
[INFO] [stderr]    |
[INFO] [stderr] 48 | fn lookup_hwnd<T>(hwnd: HWND)
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:502:51
[INFO] [stderr]     |
[INFO] [stderr] 502 | { unsafe { user32::TranslateMessage(msg as *const MSG) != 0 } }
[INFO] [stderr]     |                                                   ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:505:31
[INFO] [stderr]     |
[INFO] [stderr] 505 | pub fn DispatchMessageW(msg: &MSG) -> isize
[INFO] [stderr]     |                               ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:59:25
[INFO] [stderr]    |
[INFO] [stderr] 59 | fn insert_hwnd<T>(hwnd: HWND, para: LPARAM)
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:506:20
[INFO] [stderr]     |
[INFO] [stderr] 506 | { unsafe { user32::DispatchMessageW(msg as *const MSG) as isize } }
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::DispatchMessageW;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:59:37
[INFO] [stderr]    |
[INFO] [stderr] 59 | fn insert_hwnd<T>(hwnd: HWND, para: LPARAM)
[INFO] [stderr]    |                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/win_layer.rs:506:51
[INFO] [stderr]     |
[INFO] [stderr] 506 | { unsafe { user32::DispatchMessageW(msg as *const MSG) as isize } }
[INFO] [stderr]     |                                                   ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `CREATESTRUCTW` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:66:41
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let create_ptr = para as *const CREATESTRUCTW;
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:509:28
[INFO] [stderr]     |
[INFO] [stderr] 509 | pub fn GetClientRect(hwnd: HWND) -> Result<RECT, u32>
[INFO] [stderr]     |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:509:44
[INFO] [stderr]     |
[INFO] [stderr] 509 | pub fn GetClientRect(hwnd: HWND) -> Result<RECT, u32>
[INFO] [stderr]     |                     -                      ^^^^ not found in this scope
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: you might be missing a type parameter: `<RECT>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:76:25
[INFO] [stderr]    |
[INFO] [stderr] 76 | fn remove_hwnd<T>(hwnd: HWND)
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:513:35
[INFO] [stderr]     |
[INFO] [stderr] 509 | pub fn GetClientRect(hwnd: HWND) -> Result<RECT, u32>
[INFO] [stderr]     |                     - help: you might be missing a type parameter: `<RECT>`
[INFO] [stderr] ...
[INFO] [stderr] 513 |         rect = std::mem::zeroed::<RECT>();
[INFO] [stderr]     |                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:89:16
[INFO] [stderr]    |
[INFO] [stderr] 89 |         _hwnd: HWND, _msg: UINT,
[INFO] [stderr]    |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:514:17
[INFO] [stderr]     |
[INFO] [stderr] 514 |         user32::GetClientRect(hwnd, &mut rect as *mut RECT)
[INFO] [stderr]     |                 ^^^^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::GetClientRect;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:89:28
[INFO] [stderr]    |
[INFO] [stderr] 89 |         _hwnd: HWND, _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/win_gdi.rs:90:17
[INFO] [stderr]    |
[INFO] [stderr] 90 |         _param: WPARAM, _para: LPARAM)
[INFO] [stderr]    |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:514:55
[INFO] [stderr]     |
[INFO] [stderr] 514 |         user32::GetClientRect(hwnd, &mut rect as *mut RECT)
[INFO] [stderr]     |                                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:522:25
[INFO] [stderr]     |
[INFO] [stderr] 522 | pub fn BeginPaint(hwnd: HWND) -> Result<(PAINTSTRUCT, HDC), u32>
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:90:32
[INFO] [stderr]    |
[INFO] [stderr] 90 |         _param: WPARAM, _para: LPARAM)
[INFO] [stderr]    |                                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:522:42
[INFO] [stderr]     |
[INFO] [stderr] 522 | pub fn BeginPaint(hwnd: HWND) -> Result<(PAINTSTRUCT, HDC), u32>
[INFO] [stderr]     |                  -                       ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |                  |
[INFO] [stderr]     |                  help: you might be missing a type parameter: `<PAINTSTRUCT>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:91:19
[INFO] [stderr]    |
[INFO] [stderr] 86 | pub trait WinCls: Sized + 'static {
[INFO] [stderr]    |                 - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] ...
[INFO] [stderr] 91 |         -> Option<LRESULT>
[INFO] [stderr]    |                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]    --> src/win_layer.rs:522:55
[INFO] [stderr]     |
[INFO] [stderr] 522 | pub fn BeginPaint(hwnd: HWND) -> Result<(PAINTSTRUCT, HDC), u32>
[INFO] [stderr]     |                  -                                    ^^^ not found in this scope
[INFO] [stderr]     |                  |
[INFO] [stderr]     |                  help: you might be missing a type parameter: `<HDC>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:95:16
[INFO] [stderr]    |
[INFO] [stderr] 95 |         _hwnd: HWND,
[INFO] [stderr]    |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:526:33
[INFO] [stderr]     |
[INFO] [stderr] 522 | pub fn BeginPaint(hwnd: HWND) -> Result<(PAINTSTRUCT, HDC), u32>
[INFO] [stderr]     |                  - help: you might be missing a type parameter: `<PAINTSTRUCT>`
[INFO] [stderr] ...
[INFO] [stderr] 526 |         ps = std::mem::zeroed::<PAINTSTRUCT>();
[INFO] [stderr]     |                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:96:15
[INFO] [stderr]    |
[INFO] [stderr] 96 |         _msg: UINT,
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:527:17
[INFO] [stderr]     |
[INFO] [stderr] 527 |         user32::BeginPaint(hwnd, &mut ps as *mut PAINTSTRUCT)
[INFO] [stderr]     |                 ^^^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::BeginPaint;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:97:17
[INFO] [stderr]    |
[INFO] [stderr] 97 |         _param: WPARAM,
[INFO] [stderr]    |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:527:50
[INFO] [stderr]     |
[INFO] [stderr] 527 |         user32::BeginPaint(hwnd, &mut ps as *mut PAINTSTRUCT)
[INFO] [stderr]     |                                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_layer.rs:535:23
[INFO] [stderr]     |
[INFO] [stderr] 535 | pub fn EndPaint(hwnd: HWND, ps: &PAINTSTRUCT) -> Result<(), u32>
[INFO] [stderr]     |                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:98:16
[INFO] [stderr]    |
[INFO] [stderr] 98 |         _para: LPARAM)
[INFO] [stderr]    |                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:535:34
[INFO] [stderr]     |
[INFO] [stderr] 535 | pub fn EndPaint(hwnd: HWND, ps: &PAINTSTRUCT) -> Result<(), u32>
[INFO] [stderr]     |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:99:19
[INFO] [stderr]    |
[INFO] [stderr] 86 | pub trait WinCls: Sized + 'static {
[INFO] [stderr]    |                 - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] ...
[INFO] [stderr] 99 |         -> Option<LRESULT>
[INFO] [stderr]    |                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:537:35
[INFO] [stderr]     |
[INFO] [stderr] 537 |     let result = unsafe { user32::EndPaint(hwnd, ps) };
[INFO] [stderr]     |                                   ^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::EndPaint;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:104:15
[INFO] [stderr]     |
[INFO] [stderr] 104 |         hwnd: HWND,
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]    --> src/win_layer.rs:544:22
[INFO] [stderr]     |
[INFO] [stderr] 544 | pub fn FillRect(hdc: HDC, rect: &RECT, brush: HBRUSH)
[INFO] [stderr]     |                      ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win_layer.rs:544:34
[INFO] [stderr]     |
[INFO] [stderr] 544 | pub fn FillRect(hdc: HDC, rect: &RECT, brush: HBRUSH)
[INFO] [stderr]     |                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:105:14
[INFO] [stderr]     |
[INFO] [stderr] 105 |         msg: UINT,
[INFO] [stderr]     |              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/win_layer.rs:544:47
[INFO] [stderr]     |
[INFO] [stderr] 544 | pub fn FillRect(hdc: HDC, rect: &RECT, brush: HBRUSH)
[INFO] [stderr]     |                                               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:106:16
[INFO] [stderr]     |
[INFO] [stderr] 106 |         param: WPARAM,
[INFO] [stderr]     |                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in crate `user32`
[INFO] [stderr]    --> src/win_layer.rs:547:35
[INFO] [stderr]     |
[INFO] [stderr] 547 |     let result = unsafe { user32::FillRect(hdc, rect, brush) };
[INFO] [stderr]     |                                   ^^^^^^^^ not found in `user32`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 9   | use win_layer::FillRect;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:107:15
[INFO] [stderr]     |
[INFO] [stderr] 107 |         para: LPARAM)
[INFO] [stderr]     |               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:42:24
[INFO] [stderr]    |
[INFO] [stderr] 42 | type HwndMap = HashMap<HWND, Box<Any>>;
[INFO] [stderr]    |             -          ^^^^ not found in this scope
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:108:12
[INFO] [stderr]     |
[INFO] [stderr] 108 |         -> LRESULT
[INFO] [stderr]     |            ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_NCDESTROY` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:111:19
[INFO] [stderr]     |
[INFO] [stderr] 111 |         if msg == WM_NCDESTROY {
[INFO] [stderr]     |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:45:48
[INFO] [stderr]    |
[INFO] [stderr] 45 |     static ATOM_TABLE: RefCell<HashMap<TypeId, ATOM>> = RefCell::new(HashMap::new());
[INFO] [stderr]    |                                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_CREATE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:124:39
[INFO] [stderr]     |
[INFO] [stderr] 124 |         if target.is_none() && msg == WM_CREATE {
[INFO] [stderr]     |                                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:48:25
[INFO] [stderr]    |
[INFO] [stderr] 48 | fn lookup_hwnd<T>(hwnd: HWND)
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:132:29
[INFO] [stderr]     |
[INFO] [stderr] 86  | pub trait WinCls: Sized + 'static {
[INFO] [stderr]     |                 - help: you might be missing a type parameter: `<ATOM>`
[INFO] [stderr] ...
[INFO] [stderr] 132 |     fn register() -> Result<ATOM, u32>
[INFO] [stderr]     |                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:152:13
[INFO] [stderr]     |
[INFO] [stderr] 152 |     panel1: HWND,
[INFO] [stderr]     |             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:59:25
[INFO] [stderr]    |
[INFO] [stderr] 59 | fn insert_hwnd<T>(hwnd: HWND, para: LPARAM)
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:153:13
[INFO] [stderr]     |
[INFO] [stderr] 153 |     panel2: HWND,
[INFO] [stderr]     |             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:59:37
[INFO] [stderr]    |
[INFO] [stderr] 59 | fn insert_hwnd<T>(hwnd: HWND, para: LPARAM)
[INFO] [stderr]    |                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:157:29
[INFO] [stderr]     |
[INFO] [stderr] 157 |     pub fn create(instance: HINSTANCE) -> Result<HWND, u32>
[INFO] [stderr]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `CREATESTRUCTW` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:66:41
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let create_ptr = para as *const CREATESTRUCTW;
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:157:50
[INFO] [stderr]     |
[INFO] [stderr] 156 | impl MainCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 157 |     pub fn create(instance: HINSTANCE) -> Result<HWND, u32>
[INFO] [stderr]     |                                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:76:25
[INFO] [stderr]    |
[INFO] [stderr] 76 | fn remove_hwnd<T>(hwnd: HWND)
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:159:43
[INFO] [stderr]     |
[INFO] [stderr] 159 |         let inst = MainCls { panel1: 0 as HWND, panel2: 0 as HWND };
[INFO] [stderr]     |                                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:89:16
[INFO] [stderr]    |
[INFO] [stderr] 89 |         _hwnd: HWND, _msg: UINT,
[INFO] [stderr]    |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:159:62
[INFO] [stderr]     |
[INFO] [stderr] 159 |         let inst = MainCls { panel1: 0 as HWND, panel2: 0 as HWND };
[INFO] [stderr]     |                                                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:89:28
[INFO] [stderr]    |
[INFO] [stderr] 89 |         _hwnd: HWND, _msg: UINT,
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_EX_CLIENTEDGE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:164:13
[INFO] [stderr]     |
[INFO] [stderr] 164 |             WS_EX_CLIENTEDGE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:90:17
[INFO] [stderr]    |
[INFO] [stderr] 90 |         _param: WPARAM, _para: LPARAM)
[INFO] [stderr]    |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_TILEDWINDOW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:167:13
[INFO] [stderr]     |
[INFO] [stderr] 167 |             WS_TILEDWINDOW,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:90:32
[INFO] [stderr]    |
[INFO] [stderr] 90 |         _param: WPARAM, _para: LPARAM)
[INFO] [stderr]    |                                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:168:13
[INFO] [stderr]     |
[INFO] [stderr] 168 |             CW_USEDEFAULT, CW_USEDEFAULT, 1024, 768,
[INFO] [stderr]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:91:19
[INFO] [stderr]    |
[INFO] [stderr] 86 | pub trait WinCls: Sized + 'static {
[INFO] [stderr]    |                 - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] ...
[INFO] [stderr] 91 |         -> Option<LRESULT>
[INFO] [stderr]    |                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:168:28
[INFO] [stderr]     |
[INFO] [stderr] 168 |             CW_USEDEFAULT, CW_USEDEFAULT, 1024, 768,
[INFO] [stderr]     |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:95:16
[INFO] [stderr]    |
[INFO] [stderr] 95 |         _hwnd: HWND,
[INFO] [stderr]    |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:169:52
[INFO] [stderr]     |
[INFO] [stderr] 169 |             None, None, instance, Some(inst_ptr as LPVOID)));
[INFO] [stderr]     |                                                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:96:15
[INFO] [stderr]    |
[INFO] [stderr] 96 |         _msg: UINT,
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:182:30
[INFO] [stderr]     |
[INFO] [stderr] 181 | impl WinCls for MainCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<ATOM>`
[INFO] [stderr] 182 |     fn register () -> Result<ATOM, u32>
[INFO] [stderr]     |                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:97:17
[INFO] [stderr]    |
[INFO] [stderr] 97 |         _param: WPARAM,
[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/win_gdi.rs:184:23
[INFO] [stderr]     |
[INFO] [stderr] 184 |         let wnd_cls = WNDCLASSEXW {
[INFO] [stderr]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:98:16
[INFO] [stderr]    |
[INFO] [stderr] 98 |         _para: LPARAM)
[INFO] [stderr]    |                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:185:41
[INFO] [stderr]     |
[INFO] [stderr] 181 | impl WinCls for MainCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<WNDCLASSEXW>`
[INFO] [stderr] ...
[INFO] [stderr] 185 |             cbSize: std::mem::size_of::<WNDCLASSEXW>() as UINT,
[INFO] [stderr]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/win_gdi.rs:99:19
[INFO] [stderr]    |
[INFO] [stderr] 86 | pub trait WinCls: Sized + 'static {
[INFO] [stderr]    |                 - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] ...
[INFO] [stderr] 99 |         -> Option<LRESULT>
[INFO] [stderr]    |                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:185:59
[INFO] [stderr]     |
[INFO] [stderr] 185 |             cbSize: std::mem::size_of::<WNDCLASSEXW>() as UINT,
[INFO] [stderr]     |                                                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:104:15
[INFO] [stderr]     |
[INFO] [stderr] 104 |         hwnd: HWND,
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:186:20
[INFO] [stderr]     |
[INFO] [stderr] 186 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]     |                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:105:14
[INFO] [stderr]     |
[INFO] [stderr] 105 |         msg: UINT,
[INFO] [stderr]     |              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:186:33
[INFO] [stderr]     |
[INFO] [stderr] 186 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:106:16
[INFO] [stderr]     |
[INFO] [stderr] 106 |         param: WPARAM,
[INFO] [stderr]     |                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:190:29
[INFO] [stderr]     |
[INFO] [stderr] 190 |             hInstance: 0 as HINSTANCE,
[INFO] [stderr]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:107:15
[INFO] [stderr]     |
[INFO] [stderr] 107 |         para: LPARAM)
[INFO] [stderr]     |               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:108:12
[INFO] [stderr]     |
[INFO] [stderr] 108 |         -> LRESULT
[INFO] [stderr]     |            ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:191:40
[INFO] [stderr]     |
[INFO] [stderr] 191 |             hIcon: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                                        ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_NCDESTROY` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:111:19
[INFO] [stderr]     |
[INFO] [stderr] 111 |         if msg == WM_NCDESTROY {
[INFO] [stderr]     |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:192:44
[INFO] [stderr]     |
[INFO] [stderr] 192 |             hCursor: try!(LoadCursorW(0 as HINSTANCE, RC_IDC_ARROW)),
[INFO] [stderr]     |                                            ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_CREATE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:124:39
[INFO] [stderr]     |
[INFO] [stderr] 124 |         if target.is_none() && msg == WM_CREATE {
[INFO] [stderr]     |                                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in crate `winapi`
[INFO] [stderr]    --> src/win_gdi.rs:193:37
[INFO] [stderr]     |
[INFO] [stderr] 193 |             hbrBackground: (winapi::COLOR_WINDOW + 1) as HBRUSH,
[INFO] [stderr]     |                                     ^^^^^^^^^^^^ not found in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:193:58
[INFO] [stderr]     |
[INFO] [stderr] 193 |             hbrBackground: (winapi::COLOR_WINDOW + 1) as HBRUSH,
[INFO] [stderr]     |                                                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:132:29
[INFO] [stderr]     |
[INFO] [stderr] 86  | pub trait WinCls: Sized + 'static {
[INFO] [stderr]     |                 - help: you might be missing a type parameter: `<ATOM>`
[INFO] [stderr] ...
[INFO] [stderr] 132 |     fn register() -> Result<ATOM, u32>
[INFO] [stderr]     |                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:196:42
[INFO] [stderr]     |
[INFO] [stderr] 196 |             hIconSm: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                                          ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:152:13
[INFO] [stderr]     |
[INFO] [stderr] 152 |     panel1: HWND,
[INFO] [stderr]     |             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:203:16
[INFO] [stderr]     |
[INFO] [stderr] 203 |         _hwnd: HWND, msg: UINT,
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:153:13
[INFO] [stderr]     |
[INFO] [stderr] 153 |     panel2: HWND,
[INFO] [stderr]     |             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:203:27
[INFO] [stderr]     |
[INFO] [stderr] 203 |         _hwnd: HWND, msg: UINT,
[INFO] [stderr]     |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:157:29
[INFO] [stderr]     |
[INFO] [stderr] 157 |     pub fn create(instance: HINSTANCE) -> Result<HWND, u32>
[INFO] [stderr]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:204:17
[INFO] [stderr]     |
[INFO] [stderr] 204 |         _param: WPARAM, para: LPARAM)
[INFO] [stderr]     |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:157:50
[INFO] [stderr]     |
[INFO] [stderr] 156 | impl MainCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 157 |     pub fn create(instance: HINSTANCE) -> Result<HWND, u32>
[INFO] [stderr]     |                                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:204:31
[INFO] [stderr]     |
[INFO] [stderr] 204 |         _param: WPARAM, para: LPARAM)
[INFO] [stderr]     |                               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:205:19
[INFO] [stderr]     |
[INFO] [stderr] 181 | impl WinCls for MainCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] ...
[INFO] [stderr] 205 |         -> Option<LRESULT>
[INFO] [stderr]     |                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:159:43
[INFO] [stderr]     |
[INFO] [stderr] 159 |         let inst = MainCls { panel1: 0 as HWND, panel2: 0 as HWND };
[INFO] [stderr]     |                                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:159:62
[INFO] [stderr]     |
[INFO] [stderr] 159 |         let inst = MainCls { panel1: 0 as HWND, panel2: 0 as HWND };
[INFO] [stderr]     |                                                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MINMAXINFO` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:209:55
[INFO] [stderr]     |
[INFO] [stderr] 209 |                 let mmi = unsafe { &mut*(para as *mut MINMAXINFO) };
[INFO] [stderr]     |                                                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_EX_CLIENTEDGE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:164:13
[INFO] [stderr]     |
[INFO] [stderr] 164 |             WS_EX_CLIENTEDGE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:220:15
[INFO] [stderr]     |
[INFO] [stderr] 220 |         hwnd: HWND, msg: UINT,
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:220:26
[INFO] [stderr]     |
[INFO] [stderr] 220 |         hwnd: HWND, msg: UINT,
[INFO] [stderr]     |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_TILEDWINDOW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:167:13
[INFO] [stderr]     |
[INFO] [stderr] 167 |             WS_TILEDWINDOW,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:221:17
[INFO] [stderr]     |
[INFO] [stderr] 221 |         _param: WPARAM, para: LPARAM)
[INFO] [stderr]     |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:168:13
[INFO] [stderr]     |
[INFO] [stderr] 168 |             CW_USEDEFAULT, CW_USEDEFAULT, 1024, 768,
[INFO] [stderr]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:221:31
[INFO] [stderr]     |
[INFO] [stderr] 221 |         _param: WPARAM, para: LPARAM)
[INFO] [stderr]     |                               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:168:28
[INFO] [stderr]     |
[INFO] [stderr] 168 |             CW_USEDEFAULT, CW_USEDEFAULT, 1024, 768,
[INFO] [stderr]     |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:222:19
[INFO] [stderr]     |
[INFO] [stderr] 181 | impl WinCls for MainCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] ...
[INFO] [stderr] 222 |         -> Option<LRESULT>
[INFO] [stderr]     |                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:169:52
[INFO] [stderr]     |
[INFO] [stderr] 169 |             None, None, instance, Some(inst_ptr as LPVOID)));
[INFO] [stderr]     |                                                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:182:30
[INFO] [stderr]     |
[INFO] [stderr] 181 | impl WinCls for MainCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<ATOM>`
[INFO] [stderr] 182 |     fn register () -> Result<ATOM, u32>
[INFO] [stderr]     |                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:232:33
[INFO] [stderr]     |
[INFO] [stderr] 232 |                     let flags = SWP_NOACTIVATE | SWP_NOZORDER;
[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/win_gdi.rs:184:23
[INFO] [stderr]     |
[INFO] [stderr] 184 |         let wnd_cls = WNDCLASSEXW {
[INFO] [stderr]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SWP_NOZORDER` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:232:50
[INFO] [stderr]     |
[INFO] [stderr] 232 |                     let flags = SWP_NOACTIVATE | SWP_NOZORDER;
[INFO] [stderr]     |                                                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:185:41
[INFO] [stderr]     |
[INFO] [stderr] 181 | impl WinCls for MainCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<WNDCLASSEXW>`
[INFO] [stderr] ...
[INFO] [stderr] 185 |             cbSize: std::mem::size_of::<WNDCLASSEXW>() as UINT,
[INFO] [stderr]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:242:41
[INFO] [stderr]     |
[INFO] [stderr] 242 |                     Err(x) => Some(x as LRESULT),
[INFO] [stderr]     |                                         ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:248:48
[INFO] [stderr]     |
[INFO] [stderr] 248 |                     try!(FillRect(hdc, &rect, (COLOR_WINDOW + 2) as HBRUSH));
[INFO] [stderr]     |                                                ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:185:59
[INFO] [stderr]     |
[INFO] [stderr] 185 |             cbSize: std::mem::size_of::<WNDCLASSEXW>() as UINT,
[INFO] [stderr]     |                                                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:248:69
[INFO] [stderr]     |
[INFO] [stderr] 248 |                     try!(FillRect(hdc, &rect, (COLOR_WINDOW + 2) as HBRUSH));
[INFO] [stderr]     |                                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:186:20
[INFO] [stderr]     |
[INFO] [stderr] 186 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]     |                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:253:41
[INFO] [stderr]     |
[INFO] [stderr] 253 |                     Err(x) => Some(x as LRESULT),
[INFO] [stderr]     |                                         ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:186:33
[INFO] [stderr]     |
[INFO] [stderr] 186 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DRAWITEMSTRUCT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:258:62
[INFO] [stderr]     |
[INFO] [stderr] 258 |                 let draw_struct = unsafe { &*(para as *const DRAWITEMSTRUCT) };
[INFO] [stderr]     |                                                              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:190:29
[INFO] [stderr]     |
[INFO] [stderr] 190 |             hInstance: 0 as HINSTANCE,
[INFO] [stderr]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:261:51
[INFO] [stderr]     |
[INFO] [stderr] 261 |                 FillRect(draw_struct.hDC, &rect, (COLOR_WINDOW + 0) as HBRUSH).unwrap();
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:191:40
[INFO] [stderr]     |
[INFO] [stderr] 191 |             hIcon: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                                        ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:261:72
[INFO] [stderr]     |
[INFO] [stderr] 261 |                 FillRect(draw_struct.hDC, &rect, (COLOR_WINDOW + 0) as HBRUSH).unwrap();
[INFO] [stderr]     |                                                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:192:44
[INFO] [stderr]     |
[INFO] [stderr] 192 |             hCursor: try!(LoadCursorW(0 as HINSTANCE, RC_IDC_ARROW)),
[INFO] [stderr]     |                                            ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:298:29
[INFO] [stderr]     |
[INFO] [stderr] 298 |     pub fn create(instance: HINSTANCE, parent: HWND) -> Result<HWND, u32>
[INFO] [stderr]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in crate `winapi`
[INFO] [stderr]    --> src/win_gdi.rs:193:37
[INFO] [stderr]     |
[INFO] [stderr] 193 |             hbrBackground: (winapi::COLOR_WINDOW + 1) as HBRUSH,
[INFO] [stderr]     |                                     ^^^^^^^^^^^^ not found in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:298:48
[INFO] [stderr]     |
[INFO] [stderr] 298 |     pub fn create(instance: HINSTANCE, parent: HWND) -> Result<HWND, u32>
[INFO] [stderr]     |                                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:193:58
[INFO] [stderr]     |
[INFO] [stderr] 193 |             hbrBackground: (winapi::COLOR_WINDOW + 1) as HBRUSH,
[INFO] [stderr]     |                                                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:298:64
[INFO] [stderr]     |
[INFO] [stderr] 297 | impl FilePanelCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 298 |     pub fn create(instance: HINSTANCE, parent: HWND) -> Result<HWND, u32>
[INFO] [stderr]     |                                                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:196:42
[INFO] [stderr]     |
[INFO] [stderr] 196 |             hIconSm: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                                          ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:203:16
[INFO] [stderr]     |
[INFO] [stderr] 203 |         _hwnd: HWND, msg: UINT,
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:308:13
[INFO] [stderr]     |
[INFO] [stderr] 308 |             WS_VISIBLE | WS_CHILD | WS_BORDER,
[INFO] [stderr]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:203:27
[INFO] [stderr]     |
[INFO] [stderr] 203 |         _hwnd: HWND, msg: UINT,
[INFO] [stderr]     |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:308:26
[INFO] [stderr]     |
[INFO] [stderr] 308 |             WS_VISIBLE | WS_CHILD | WS_BORDER,
[INFO] [stderr]     |                          ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:204:17
[INFO] [stderr]     |
[INFO] [stderr] 204 |         _param: WPARAM, para: LPARAM)
[INFO] [stderr]     |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_BORDER` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:308:37
[INFO] [stderr]     |
[INFO] [stderr] 308 |             WS_VISIBLE | WS_CHILD | WS_BORDER,
[INFO] [stderr]     |                                     ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:204:31
[INFO] [stderr]     |
[INFO] [stderr] 204 |         _param: WPARAM, para: LPARAM)
[INFO] [stderr]     |                               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:310:60
[INFO] [stderr]     |
[INFO] [stderr] 310 |             Some(parent), None, instance, Some(inst_ptr as LPVOID)));
[INFO] [stderr]     |                                                            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:205:19
[INFO] [stderr]     |
[INFO] [stderr] 181 | impl WinCls for MainCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] ...
[INFO] [stderr] 205 |         -> Option<LRESULT>
[INFO] [stderr]     |                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:318:15
[INFO] [stderr]     |
[INFO] [stderr] 318 |         hwnd: HWND, msg: UINT,
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MINMAXINFO` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:209:55
[INFO] [stderr]     |
[INFO] [stderr] 209 |                 let mmi = unsafe { &mut*(para as *mut MINMAXINFO) };
[INFO] [stderr]     |                                                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:318:26
[INFO] [stderr]     |
[INFO] [stderr] 318 |         hwnd: HWND, msg: UINT,
[INFO] [stderr]     |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:220:15
[INFO] [stderr]     |
[INFO] [stderr] 220 |         hwnd: HWND, 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/win_gdi.rs:319:17
[INFO] [stderr]     |
[INFO] [stderr] 319 |         _param: WPARAM, _para: LPARAM)
[INFO] [stderr]     |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:220:26
[INFO] [stderr]     |
[INFO] [stderr] 220 |         hwnd: HWND, msg: UINT,
[INFO] [stderr]     |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:319:32
[INFO] [stderr]     |
[INFO] [stderr] 319 |         _param: WPARAM, _para: LPARAM)
[INFO] [stderr]     |                                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:221:17
[INFO] [stderr]     |
[INFO] [stderr] 221 |         _param: WPARAM, para: LPARAM)
[INFO] [stderr]     |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:320:19
[INFO] [stderr]     |
[INFO] [stderr] 315 | impl WinCls for FilePanelCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] ...
[INFO] [stderr] 320 |         -> Option<LRESULT>
[INFO] [stderr]     |                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:221:31
[INFO] [stderr]     |
[INFO] [stderr] 221 |         _param: WPARAM, para: LPARAM)
[INFO] [stderr]     |                               ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:326:48
[INFO] [stderr]     |
[INFO] [stderr] 326 |                     try!(FillRect(hdc, &rect, (COLOR_WINDOW + 0) as HBRUSH));
[INFO] [stderr]     |                                                ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:222:19
[INFO] [stderr]     |
[INFO] [stderr] 181 | impl WinCls for MainCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] ...
[INFO] [stderr] 222 |         -> Option<LRESULT>
[INFO] [stderr]     |                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:326:69
[INFO] [stderr]     |
[INFO] [stderr] 326 |                     try!(FillRect(hdc, &rect, (COLOR_WINDOW + 0) as HBRUSH));
[INFO] [stderr]     |                                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TRANSPARENT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:327:41
[INFO] [stderr]     |
[INFO] [stderr] 327 |                     try!(SetBkMode(hdc, TRANSPARENT));
[INFO] [stderr]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SWP_NOACTIVATE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:232:33
[INFO] [stderr]     |
[INFO] [stderr] 232 |                     let flags = SWP_NOACTIVATE | SWP_NOZORDER;
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:329:32
[INFO] [stderr]     |
[INFO] [stderr] 329 |                     let rect = RECT { left: 0, right: 200, top: 0, bottom: 20 };
[INFO] [stderr]     |                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SWP_NOZORDER` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:232:50
[INFO] [stderr]     |
[INFO] [stderr] 232 |                     let flags = SWP_NOACTIVATE | SWP_NOZORDER;
[INFO] [stderr]     |                                                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:335:41
[INFO] [stderr]     |
[INFO] [stderr] 335 |                     Err(x) => Some(x as LRESULT),
[INFO] [stderr]     |                                         ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:242:41
[INFO] [stderr]     |
[INFO] [stderr] 242 |                     Err(x) => Some(x as LRESULT),
[INFO] [stderr]     |                                         ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:341:30
[INFO] [stderr]     |
[INFO] [stderr] 315 | impl WinCls for FilePanelCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<ATOM>`
[INFO] [stderr] ...
[INFO] [stderr] 341 |     fn register () -> Result<ATOM, u32>
[INFO] [stderr]     |                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:248:48
[INFO] [stderr]     |
[INFO] [stderr] 248 |                     try!(FillRect(hdc, &rect, (COLOR_WINDOW + 2) as HBRUSH));
[INFO] [stderr]     |                                                ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:248:69
[INFO] [stderr]     |
[INFO] [stderr] 248 |                     try!(FillRect(hdc, &rect, (COLOR_WINDOW + 2) as HBRUSH));
[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/win_gdi.rs:343:23
[INFO] [stderr]     |
[INFO] [stderr] 343 |         let wnd_cls = WNDCLASSEXW {
[INFO] [stderr]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:253:41
[INFO] [stderr]     |
[INFO] [stderr] 253 |                     Err(x) => Some(x as LRESULT),
[INFO] [stderr]     |                                         ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:344:41
[INFO] [stderr]     |
[INFO] [stderr] 315 | impl WinCls for FilePanelCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<WNDCLASSEXW>`
[INFO] [stderr] ...
[INFO] [stderr] 344 |             cbSize: std::mem::size_of::<WNDCLASSEXW>() as UINT,
[INFO] [stderr]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DRAWITEMSTRUCT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:258:62
[INFO] [stderr]     |
[INFO] [stderr] 258 |                 let draw_struct = unsafe { &*(para as *const DRAWITEMSTRUCT) };
[INFO] [stderr]     |                                                              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:344:59
[INFO] [stderr]     |
[INFO] [stderr] 344 |             cbSize: std::mem::size_of::<WNDCLASSEXW>() as UINT,
[INFO] [stderr]     |                                                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:261:51
[INFO] [stderr]     |
[INFO] [stderr] 261 |                 FillRect(draw_struct.hDC, &rect, (COLOR_WINDOW + 0) as HBRUSH).unwrap();
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:345:20
[INFO] [stderr]     |
[INFO] [stderr] 345 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]     |                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:261:72
[INFO] [stderr]     |
[INFO] [stderr] 261 |                 FillRect(draw_struct.hDC, &rect, (COLOR_WINDOW + 0) as HBRUSH).unwrap();
[INFO] [stderr]     |                                                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:345:33
[INFO] [stderr]     |
[INFO] [stderr] 345 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:298:29
[INFO] [stderr]     |
[INFO] [stderr] 298 |     pub fn create(instance: HINSTANCE, parent: HWND) -> Result<HWND, u32>
[INFO] [stderr]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:349:29
[INFO] [stderr]     |
[INFO] [stderr] 349 |             hInstance: 0 as HINSTANCE,
[INFO] [stderr]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:298:48
[INFO] [stderr]     |
[INFO] [stderr] 298 |     pub fn create(instance: HINSTANCE, parent: HWND) -> Result<HWND, u32>
[INFO] [stderr]     |                                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:350:40
[INFO] [stderr]     |
[INFO] [stderr] 350 |             hIcon: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                                        ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:298:64
[INFO] [stderr]     |
[INFO] [stderr] 297 | impl FilePanelCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 298 |     pub fn create(instance: HINSTANCE, parent: HWND) -> Result<HWND, u32>
[INFO] [stderr]     |                                                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:351:44
[INFO] [stderr]     |
[INFO] [stderr] 351 |             hCursor: try!(LoadCursorW(0 as HINSTANCE, RC_IDC_ARROW)),
[INFO] [stderr]     |                                            ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:308:13
[INFO] [stderr]     |
[INFO] [stderr] 308 |             WS_VISIBLE | WS_CHILD | WS_BORDER,
[INFO] [stderr]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in crate `winapi`
[INFO] [stderr]    --> src/win_gdi.rs:352:37
[INFO] [stderr]     |
[INFO] [stderr] 352 |             hbrBackground: (winapi::COLOR_WINDOW + 1) as HBRUSH,
[INFO] [stderr]     |                                     ^^^^^^^^^^^^ not found in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:308:26
[INFO] [stderr]     |
[INFO] [stderr] 308 |             WS_VISIBLE | WS_CHILD | WS_BORDER,
[INFO] [stderr]     |                          ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:352:58
[INFO] [stderr]     |
[INFO] [stderr] 352 |             hbrBackground: (winapi::COLOR_WINDOW + 1) as HBRUSH,
[INFO] [stderr]     |                                                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_BORDER` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:308:37
[INFO] [stderr]     |
[INFO] [stderr] 308 |             WS_VISIBLE | WS_CHILD | WS_BORDER,
[INFO] [stderr]     |                                     ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:355:42
[INFO] [stderr]     |
[INFO] [stderr] 355 |             hIconSm: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                                          ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]  --> src/messages.rs:2:22
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub fn msg_name(msg: UINT) -> &'static str {
[INFO] [stderr]   |                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:310:60
[INFO] [stderr]     |
[INFO] [stderr] 310 |             Some(parent), None, instance, Some(inst_ptr as LPVOID)));
[INFO] [stderr]     |                                                            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:318:15
[INFO] [stderr]     |
[INFO] [stderr] 318 |         hwnd: HWND, msg: UINT,
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/main.rs:15:15
[INFO] [stderr]    |
[INFO] [stderr] 15 |     instance: HINSTANCE,
[INFO] [stderr]    |               ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:318:26
[INFO] [stderr]     |
[INFO] [stderr] 318 |         hwnd: HWND, msg: UINT,
[INFO] [stderr]     |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/main.rs:16:21
[INFO] [stderr]    |
[INFO] [stderr] 16 |     _prev_instance: HINSTANCE,
[INFO] [stderr]    |                     ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:319:17
[INFO] [stderr]     |
[INFO] [stderr] 319 |         _param: WPARAM, _para: LPARAM)
[INFO] [stderr]     |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/main.rs:18:16
[INFO] [stderr]    |
[INFO] [stderr] 18 |     _cmd_show: c_int)
[INFO] [stderr]    |                ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:319:32
[INFO] [stderr]     |
[INFO] [stderr] 319 |         _param: WPARAM, _para: LPARAM)
[INFO] [stderr]     |                                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/main.rs:19:8
[INFO] [stderr]    |
[INFO] [stderr] 19 |     -> c_int
[INFO] [stderr]    |        ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:320:19
[INFO] [stderr]     |
[INFO] [stderr] 315 | impl WinCls for FilePanelCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<LRESULT>`
[INFO] [stderr] ...
[INFO] [stderr] 320 |         -> Option<LRESULT>
[INFO] [stderr]     |                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/main.rs:21:59
[INFO] [stderr]    |
[INFO] [stderr] 21 |     match our_main(instance) { Ok(_) => 0, Err(x) => x as c_int }
[INFO] [stderr]    |                                                           ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/main.rs:27:12
[INFO] [stderr]    |
[INFO] [stderr] 27 |     _argc: c_int,
[INFO] [stderr]    |            ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:326:48
[INFO] [stderr]     |
[INFO] [stderr] 326 |                     try!(FillRect(hdc, &rect, (COLOR_WINDOW + 0) as HBRUSH));
[INFO] [stderr]     |                                                ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/main.rs:29:8
[INFO] [stderr]    |
[INFO] [stderr] 29 |     -> c_int
[INFO] [stderr]    |        ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:326:69
[INFO] [stderr]     |
[INFO] [stderr] 326 |                     try!(FillRect(hdc, &rect, (COLOR_WINDOW + 0) as HBRUSH));
[INFO] [stderr]     |                                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/main.rs:31:58
[INFO] [stderr]    |
[INFO] [stderr] 31 |     let instance = GetModuleHandleW(None).unwrap_or(0 as HINSTANCE);
[INFO] [stderr]    |                                                          ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TRANSPARENT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:327:41
[INFO] [stderr]     |
[INFO] [stderr] 327 |                     try!(SetBkMode(hdc, TRANSPARENT));
[INFO] [stderr]     |                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/main.rs:32:59
[INFO] [stderr]    |
[INFO] [stderr] 32 |     match our_main(instance) { Ok(_) => 0, Err(x) => x as c_int }
[INFO] [stderr]    |                                                           ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:329:32
[INFO] [stderr]     |
[INFO] [stderr] 329 |                     let rect = RECT { left: 0, right: 200, top: 0, bottom: 20 };
[INFO] [stderr]     |                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/main.rs:35:23
[INFO] [stderr]    |
[INFO] [stderr] 35 | fn our_main(instance: HINSTANCE) -> Result<(), u32>
[INFO] [stderr]    |                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:335:41
[INFO] [stderr]     |
[INFO] [stderr] 335 |                     Err(x) => Some(x as LRESULT),
[INFO] [stderr]     |                                         ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWDEFAULT` in this scope
[INFO] [stderr]   --> src/main.rs:41:30
[INFO] [stderr]    |
[INFO] [stderr] 41 |     let _ = ShowWindow(hwnd, SW_SHOWDEFAULT);
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:143:28
[INFO] [stderr]     |
[INFO] [stderr] 143 |                 let atom = try!(Self::register());
[INFO] [stderr]     |                            ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ATOM` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:341:30
[INFO] [stderr]     |
[INFO] [stderr] 315 | impl WinCls for FilePanelCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<ATOM>`
[INFO] [stderr] ...
[INFO] [stderr] 341 |     fn register () -> Result<ATOM, u32>
[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/win_gdi.rs:343:23
[INFO] [stderr]     |
[INFO] [stderr] 343 |         let wnd_cls = WNDCLASSEXW {
[INFO] [stderr]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:344:41
[INFO] [stderr]     |
[INFO] [stderr] 315 | impl WinCls for FilePanelCls {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<WNDCLASSEXW>`
[INFO] [stderr] ...
[INFO] [stderr] 344 |             cbSize: std::mem::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/win_gdi.rs:344:59
[INFO] [stderr]     |
[INFO] [stderr] 344 |             cbSize: std::mem::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/win_gdi.rs:345:20
[INFO] [stderr]     |
[INFO] [stderr] 345 |             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/win_gdi.rs:345:33
[INFO] [stderr]     |
[INFO] [stderr] 345 |             style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:349:29
[INFO] [stderr]     |
[INFO] [stderr] 349 |             hInstance: 0 as HINSTANCE,
[INFO] [stderr]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:350:40
[INFO] [stderr]     |
[INFO] [stderr] 350 |             hIcon: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                                        ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:351:44
[INFO] [stderr]     |
[INFO] [stderr] 351 |             hCursor: try!(LoadCursorW(0 as HINSTANCE, RC_IDC_ARROW)),
[INFO] [stderr]     |                                            ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in crate `winapi`
[INFO] [stderr]    --> src/win_gdi.rs:352:37
[INFO] [stderr]     |
[INFO] [stderr] 352 |             hbrBackground: (winapi::COLOR_WINDOW + 1) as HBRUSH,
[INFO] [stderr]     |                                     ^^^^^^^^^^^^ not found in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:352:58
[INFO] [stderr]     |
[INFO] [stderr] 352 |             hbrBackground: (winapi::COLOR_WINDOW + 1) as HBRUSH,
[INFO] [stderr]     |                                                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win_gdi.rs:355:42
[INFO] [stderr]     |
[INFO] [stderr] 355 |             hIconSm: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                                          ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]  --> src/messages.rs:2:22
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub fn msg_name(msg: UINT) -> &'static str {
[INFO] [stderr]   |                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/main.rs:15:15
[INFO] [stderr]    |
[INFO] [stderr] 15 |     instance: HINSTANCE,
[INFO] [stderr]    |               ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/main.rs:16:21
[INFO] [stderr]    |
[INFO] [stderr] 16 |     _prev_instance: HINSTANCE,
[INFO] [stderr]    |                     ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/main.rs:18:16
[INFO] [stderr]    |
[INFO] [stderr] 18 |     _cmd_show: c_int)
[INFO] [stderr]    |                ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/main.rs:19:8
[INFO] [stderr]    |
[INFO] [stderr] 19 |     -> c_int
[INFO] [stderr]    |        ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/main.rs:21:59
[INFO] [stderr]    |
[INFO] [stderr] 21 |     match our_main(instance) { Ok(_) => 0, Err(x) => x as c_int }
[INFO] [stderr]    |                                                           ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/main.rs:27:12
[INFO] [stderr]    |
[INFO] [stderr] 27 |     _argc: c_int,
[INFO] [stderr]    |            ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/main.rs:29:8
[INFO] [stderr]    |
[INFO] [stderr] 29 |     -> c_int
[INFO] [stderr]    |        ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/main.rs:31:58
[INFO] [stderr]    |
[INFO] [stderr] 31 |     let instance = GetModuleHandleW(None).unwrap_or(0 as HINSTANCE);
[INFO] [stderr]    |                                                          ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/main.rs:32:59
[INFO] [stderr]    |
[INFO] [stderr] 32 |     match our_main(instance) { Ok(_) => 0, Err(x) => x as c_int }
[INFO] [stderr]    |                                                           ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 5  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/main.rs:35:23
[INFO] [stderr]    |
[INFO] [stderr] 35 | fn our_main(instance: HINSTANCE) -> Result<(), u32>
[INFO] [stderr]    |                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWDEFAULT` in this scope
[INFO] [stderr]   --> src/main.rs:41:30
[INFO] [stderr]    |
[INFO] [stderr] 41 |     let _ = ShowWindow(hwnd, SW_SHOWDEFAULT);
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:160:22
[INFO] [stderr]     |
[INFO] [stderr] 160 |         let cls_id = try!(Self::get_cls_id());
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:163:20
[INFO] [stderr]     |
[INFO] [stderr] 163 |         let hwnd = try!(CreateWindowExW(
[INFO] [stderr]     |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:171:22
[INFO] [stderr]     |
[INFO] [stderr] 171 |         let panel1 = try!(FilePanelCls::create(instance, hwnd));
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:143:28
[INFO] [stderr]     |
[INFO] [stderr] 143 |                 let atom = try!(Self::register());
[INFO] [stderr]     |                            ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:172:22
[INFO] [stderr]     |
[INFO] [stderr] 172 |         let panel2 = try!(FilePanelCls::create(instance, hwnd));
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:191:20
[INFO] [stderr]     |
[INFO] [stderr] 191 |             hIcon: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:192:22
[INFO] [stderr]     |
[INFO] [stderr] 192 |             hCursor: try!(LoadCursorW(0 as HINSTANCE, RC_IDC_ARROW)),
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:196:22
[INFO] [stderr]     |
[INFO] [stderr] 196 |             hIconSm: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:233:36
[INFO] [stderr]     |
[INFO] [stderr] 233 |                     let mut hdwp = try!(BeginDeferWindowPos(2));
[INFO] [stderr]     |                                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:234:28
[INFO] [stderr]     |
[INFO] [stderr] 234 |                     hdwp = try!(DeferWindowPos(hdwp, self.panel1, None, 0, 0, panel_width, height, flags));
[INFO] [stderr]     |                            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:235:28
[INFO] [stderr]     |
[INFO] [stderr] 235 |                     hdwp = try!(DeferWindowPos(hdwp, self.panel2, None, panel2x, 0, panel_width, height, flags));
[INFO] [stderr]     |                            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:236:21
[INFO] [stderr]     |
[INFO] [stderr] 236 |                     try!(EndDeferWindowPos(hdwp));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:237:21
[INFO] [stderr]     |
[INFO] [stderr] 237 |                     try!(InvalidateRect(hwnd, &rect, true));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:247:32
[INFO] [stderr]     |
[INFO] [stderr] 247 |                     let rect = try!(GetClientRect(hwnd));
[INFO] [stderr]     |                                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:248:21
[INFO] [stderr]     |
[INFO] [stderr] 248 |                     try!(FillRect(hdc, &rect, (COLOR_WINDOW + 2) as HBRUSH));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:301:22
[INFO] [stderr]     |
[INFO] [stderr] 301 |         let cls_id = try!(Self::get_cls_id());
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:304:20
[INFO] [stderr]     |
[INFO] [stderr] 304 |         let hwnd = try!(CreateWindowExW(
[INFO] [stderr]     |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:325:32
[INFO] [stderr]     |
[INFO] [stderr] 325 |                     let rect = try!(GetClientRect(hwnd));
[INFO] [stderr]     |                                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:326:21
[INFO] [stderr]     |
[INFO] [stderr] 326 |                     try!(FillRect(hdc, &rect, (COLOR_WINDOW + 0) as HBRUSH));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:327:21
[INFO] [stderr]     |
[INFO] [stderr] 327 |                     try!(SetBkMode(hdc, TRANSPARENT));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:328:21
[INFO] [stderr]     |
[INFO] [stderr] 328 |                     try!(TextOutW(hdc, 0, 0, &wstr("test")));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:330:21
[INFO] [stderr]     |
[INFO] [stderr] 330 |                     try!(DrawFocusRect(hdc, &rect));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:350:20
[INFO] [stderr]     |
[INFO] [stderr] 350 |             hIcon: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:351:22
[INFO] [stderr]     |
[INFO] [stderr] 351 |             hCursor: try!(LoadCursorW(0 as HINSTANCE, RC_IDC_ARROW)),
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:355:22
[INFO] [stderr]     |
[INFO] [stderr] 355 |             hIconSm: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:40:16
[INFO] [stderr]    |
[INFO] [stderr] 40 |     let hwnd = try!(win_gdi::MainCls::create(instance));
[INFO] [stderr]    |                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:42:13
[INFO] [stderr]    |
[INFO] [stderr] 42 |     let _ = try!(UpdateWindow(hwnd));
[INFO] [stderr]    |             ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:57:19
[INFO] [stderr]    |
[INFO] [stderr] 57 |         let msg = try!(rmsg);
[INFO] [stderr]    |                   ^^^
[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: `winapi::*`
[INFO] [stderr]  --> src/win_layer.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `::messages`
[INFO] [stderr]  --> src/win_gdi.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use ::messages;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `winapi::*`
[INFO] [stderr]  --> src/win_gdi.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused macro definition
[INFO] [stderr]   --> src/win_gdi.rs:32:1
[INFO] [stderr]    |
[INFO] [stderr] 32 | / macro_rules! dbg_block {
[INFO] [stderr] 33 | |     ($x:expr) => { let _guard = DebugBlock::start($x); }
[INFO] [stderr] 34 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:160:22
[INFO] [stderr]     |
[INFO] [stderr] 160 |         let cls_id = try!(Self::get_cls_id());
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/win_gdi.rs:42:34
[INFO] [stderr]    |
[INFO] [stderr] 42 | type HwndMap = HashMap<HWND, Box<Any>>;
[INFO] [stderr]    |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:163:20
[INFO] [stderr]     |
[INFO] [stderr] 163 |         let hwnd = try!(CreateWindowExW(
[INFO] [stderr]     |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:171:22
[INFO] [stderr]     |
[INFO] [stderr] 171 |         let panel1 = try!(FilePanelCls::create(instance, hwnd));
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/win_gdi.rs:64:22
[INFO] [stderr]    |
[INFO] [stderr] 64 |     let box_any: Box<Any>;
[INFO] [stderr]    |                      ^^^ help: use `dyn`: `dyn Any`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:172:22
[INFO] [stderr]     |
[INFO] [stderr] 172 |         let panel2 = try!(FilePanelCls::create(instance, hwnd));
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:191:20
[INFO] [stderr]     |
[INFO] [stderr] 191 |             hIcon: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/win_gdi.rs:162:71
[INFO] [stderr]     |
[INFO] [stderr] 162 |         let inst_ptr = Box::into_raw(Box::new(inst_rc.clone()) as Box<Any>);
[INFO] [stderr]     |                                                                       ^^^ help: use `dyn`: `dyn Any`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:192:22
[INFO] [stderr]     |
[INFO] [stderr] 192 |             hCursor: try!(LoadCursorW(0 as HINSTANCE, RC_IDC_ARROW)),
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:196:22
[INFO] [stderr]     |
[INFO] [stderr] 196 |             hIconSm: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:233:36
[INFO] [stderr]     |
[INFO] [stderr] 233 |                     let mut hdwp = try!(BeginDeferWindowPos(2));
[INFO] [stderr]     |                                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/win_gdi.rs:303:63
[INFO] [stderr]     |
[INFO] [stderr] 303 |         let inst_ptr = Box::into_raw(Box::new(inst_rc) as Box<Any>);
[INFO] [stderr]     |                                                               ^^^ help: use `dyn`: `dyn Any`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:234:28
[INFO] [stderr]     |
[INFO] [stderr] 234 |                     hdwp = try!(DeferWindowPos(hdwp, self.panel1, None, 0, 0, panel_width, height, flags));
[INFO] [stderr]     |                            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:235:28
[INFO] [stderr]     |
[INFO] [stderr] 235 |                     hdwp = try!(DeferWindowPos(hdwp, self.panel2, None, panel2x, 0, panel_width, height, flags));
[INFO] [stderr]     |                            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:236:21
[INFO] [stderr]     |
[INFO] [stderr] 236 |                     try!(EndDeferWindowPos(hdwp));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:237:21
[INFO] [stderr]     |
[INFO] [stderr] 237 |                     try!(InvalidateRect(hwnd, &rect, true));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `winapi::*`
[INFO] [stderr]  --> src/messages.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use winapi::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:247:32
[INFO] [stderr]     |
[INFO] [stderr] 247 |                     let rect = try!(GetClientRect(hwnd));
[INFO] [stderr]     |                                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:248:21
[INFO] [stderr]     |
[INFO] [stderr] 248 |                     try!(FillRect(hdc, &rect, (COLOR_WINDOW + 2) as HBRUSH));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:301:22
[INFO] [stderr]     |
[INFO] [stderr] 301 |         let cls_id = try!(Self::get_cls_id());
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:304:20
[INFO] [stderr]     |
[INFO] [stderr] 304 |         let hwnd = try!(CreateWindowExW(
[INFO] [stderr]     |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:325:32
[INFO] [stderr]     |
[INFO] [stderr] 325 |                     let rect = try!(GetClientRect(hwnd));
[INFO] [stderr]     |                                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:326:21
[INFO] [stderr]     |
[INFO] [stderr] 326 |                     try!(FillRect(hdc, &rect, (COLOR_WINDOW + 0) as HBRUSH));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:327:21
[INFO] [stderr]     |
[INFO] [stderr] 327 |                     try!(SetBkMode(hdc, TRANSPARENT));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:328:21
[INFO] [stderr]     |
[INFO] [stderr] 328 |                     try!(TextOutW(hdc, 0, 0, &wstr("test")));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:330:21
[INFO] [stderr]     |
[INFO] [stderr] 330 |                     try!(DrawFocusRect(hdc, &rect));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:350:20
[INFO] [stderr]     |
[INFO] [stderr] 350 |             hIcon: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:351:22
[INFO] [stderr]     |
[INFO] [stderr] 351 |             hCursor: try!(LoadCursorW(0 as HINSTANCE, RC_IDC_ARROW)),
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]    --> src/win_gdi.rs:355:22
[INFO] [stderr]     |
[INFO] [stderr] 355 |             hIconSm: try!(LoadIconW(0 as HINSTANCE, RC_IDI_APPLICATION)),
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:40:16
[INFO] [stderr]    |
[INFO] [stderr] 40 |     let hwnd = try!(win_gdi::MainCls::create(instance));
[INFO] [stderr]    |                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:42:13
[INFO] [stderr]    |
[INFO] [stderr] 42 |     let _ = try!(UpdateWindow(hwnd));
[INFO] [stderr]    |             ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:57:19
[INFO] [stderr]    |
[INFO] [stderr] 57 |         let msg = try!(rmsg);
[INFO] [stderr]    |                   ^^^
[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: `winapi::*`
[INFO] [stderr]  --> src/win_layer.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `::messages`
[INFO] [stderr]  --> src/win_gdi.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use ::messages;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `winapi::*`
[INFO] [stderr]  --> src/win_gdi.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused macro definition
[INFO] [stderr]   --> src/win_gdi.rs:32:1
[INFO] [stderr]    |
[INFO] [stderr] 32 | / macro_rules! dbg_block {
[INFO] [stderr] 33 | |     ($x:expr) => { let _guard = DebugBlock::start($x); }
[INFO] [stderr] 34 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/win_gdi.rs:42:34
[INFO] [stderr]    |
[INFO] [stderr] 42 | type HwndMap = HashMap<HWND, Box<Any>>;
[INFO] [stderr]    |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/win_gdi.rs:64:22
[INFO] [stderr]    |
[INFO] [stderr] 64 |     let box_any: Box<Any>;
[INFO] [stderr]    |                      ^^^ help: use `dyn`: `dyn Any`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/win_gdi.rs:162:71
[INFO] [stderr]     |
[INFO] [stderr] 162 |         let inst_ptr = Box::into_raw(Box::new(inst_rc.clone()) as Box<Any>);
[INFO] [stderr]     |                                                                       ^^^ help: use `dyn`: `dyn Any`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/win_gdi.rs:303:63
[INFO] [stderr]     |
[INFO] [stderr] 303 |         let inst_ptr = Box::into_raw(Box::new(inst_rc) as Box<Any>);
[INFO] [stderr]     |                                                               ^^^ help: use `dyn`: `dyn Any`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `winapi::*`
[INFO] [stderr]  --> src/messages.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use winapi::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stderr]   --> src/win_layer.rs:88:40
[INFO] [stderr]    |
[INFO] [stderr] 88 |     let mut rv: Vec<_> = OsStr::new(s).encode_wide().collect();
[INFO] [stderr]    |                                        ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope
[INFO] [stderr]    --> src/win_layer.rs:101:15
[INFO] [stderr]     |
[INFO] [stderr] 101 |     OsString::from_wide(w).to_string_lossy().to_string()
[INFO] [stderr]     |               ^^^^^^^^^ function or associated item not found in `std::ffi::OsString`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stderr]   --> src/win_layer.rs:88:40
[INFO] [stderr]    |
[INFO] [stderr] 88 |     let mut rv: Vec<_> = OsStr::new(s).encode_wide().collect();
[INFO] [stderr]    |                                        ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope
[INFO] [stderr]    --> src/win_layer.rs:101:15
[INFO] [stderr]     |
[INFO] [stderr] 101 |     OsString::from_wide(w).to_string_lossy().to_string()
[INFO] [stderr]     |               ^^^^^^^^^ function or associated item not found in `std::ffi::OsString`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 312 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `trusty-commander`.
[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 312 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `trusty-commander`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "ca0e3257c2708288be01c7a4888ef10b44350e19c05b4359bcddb7a75e717845"`
[INFO] running `"docker" "rm" "-f" "ca0e3257c2708288be01c7a4888ef10b44350e19c05b4359bcddb7a75e717845"`
[INFO] [stdout] ca0e3257c2708288be01c7a4888ef10b44350e19c05b4359bcddb7a75e717845
