[INFO] updating cached repository https://github.com/friendlydave/rs-winapi-test
[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] d8e9b62f2594a868bd1f37ddd1759d77ccd3d8a9
[INFO] checking friendlydave/rs-winapi-test against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffriendlydave%2Frs-winapi-test" "/workspace/builds/worker-11/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/friendlydave/rs-winapi-test on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/friendlydave/rs-winapi-test
[INFO] finished tweaking git repo https://github.com/friendlydave/rs-winapi-test
[INFO] tweaked toml for git repo https://github.com/friendlydave/rs-winapi-test written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/friendlydave/rs-winapi-test already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f536cc6c678572cb259ed262b3e42252ae8fbe8c1fd06eef957b4e85e14da1fa
[INFO] running `"docker" "start" "-a" "f536cc6c678572cb259ed262b3e42252ae8fbe8c1fd06eef957b4e85e14da1fa"`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling advapi32-sys v0.2.0
[INFO] [stderr]    Compiling user32-sys v0.1.3
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking wio v0.1.2
[INFO] [stderr]     Checking winapi-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `wio::wide`
[INFO] [stderr]  --> src/main.rs:9:10
[INFO] [stderr]   |
[INFO] [stderr] 9 | use wio::wide::ToWide;
[INFO] [stderr]   |          ^^^^ could not find `wide` in `wio`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `wio::wide`
[INFO] [stderr]  --> src/main.rs:9:10
[INFO] [stderr]   |
[INFO] [stderr] 9 | use wio::wide::ToWide;
[INFO] [stderr]   |          ^^^^ could not find `wide` in `wio`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]   --> src/main.rs:32:21
[INFO] [stderr]    |
[INFO] [stderr] 32 |     let hInstance = GetModuleHandleW(0 as *const u16);
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSW` in this scope
[INFO] [stderr]   --> src/main.rs:34:27
[INFO] [stderr]    |
[INFO] [stderr] 26 | unsafe fn main2() {
[INFO] [stderr]    |                - help: you might be missing a type parameter: `<WNDCLASSW>`
[INFO] [stderr] ...
[INFO] [stderr] 34 |     let mut wc = zeroed::<WNDCLASSW>();
[INFO] [stderr]    |                           ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stderr]   --> src/main.rs:35:10
[INFO] [stderr]    |
[INFO] [stderr] 35 |     wc = WNDCLASSW {
[INFO] [stderr]    |          ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stderr]   --> src/main.rs:39:18
[INFO] [stderr]    |
[INFO] [stderr] 39 |         hCursor: LoadCursorW(0 as HINSTANCE, 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/main.rs:39:35
[INFO] [stderr]    |
[INFO] [stderr] 39 |         hCursor: LoadCursorW(0 as HINSTANCE, IDC_ARROW),
[INFO] [stderr]    |                                   ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stderr]   --> src/main.rs:39:46
[INFO] [stderr]    |
[INFO] [stderr] 39 |         hCursor: LoadCursorW(0 as HINSTANCE, IDC_ARROW),
[INFO] [stderr]    |                                              ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stderr]   --> src/main.rs:43:5
[INFO] [stderr]    |
[INFO] [stderr] 43 |     RegisterClassW(&wc);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:45:15
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let hwnd: HWND = CreateWindowExW(
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stderr]   --> src/main.rs:45:22
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let hwnd: HWND = CreateWindowExW(
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]   --> src/main.rs:50:9
[INFO] [stderr]    |
[INFO] [stderr] 50 |         WS_OVERLAPPEDWINDOW,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/main.rs:53:9
[INFO] [stderr]    |
[INFO] [stderr] 53 |         CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/main.rs:53:24
[INFO] [stderr]    |
[INFO] [stderr] 53 |         CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]    |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/main.rs:53:39
[INFO] [stderr]    |
[INFO] [stderr] 53 |         CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]    |                                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/main.rs:53:54
[INFO] [stderr]    |
[INFO] [stderr] 53 |         CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]    |                                                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:62:21
[INFO] [stderr]    |
[INFO] [stderr] 62 |     if 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 `GetLastError` in this scope
[INFO] [stderr]   --> src/main.rs:63:17
[INFO] [stderr]    |
[INFO] [stderr] 63 |         let e = GetLastError();
[INFO] [stderr]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stderr]   --> src/main.rs:67:5
[INFO] [stderr]    |
[INFO] [stderr] 67 |     ShowWindow(hwnd, 5);
[INFO] [stderr]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]   --> src/main.rs:69:28
[INFO] [stderr]    |
[INFO] [stderr] 26 | unsafe fn main2() {
[INFO] [stderr]    |                - help: you might be missing a type parameter: `<MSG>`
[INFO] [stderr] ...
[INFO] [stderr] 69 |     let mut msg = zeroed::<MSG>();
[INFO] [stderr]    |                            ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stderr]   --> src/main.rs:70:11
[INFO] [stderr]    |
[INFO] [stderr] 70 |     while GetMessageW(&mut msg, 0 as HWND, 0, 0) != 0 {
[INFO] [stderr]    |           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:70:38
[INFO] [stderr]    |
[INFO] [stderr] 70 |     while GetMessageW(&mut msg, 0 as HWND, 0, 0) != 0 {
[INFO] [stderr]    |                                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stderr]   --> src/main.rs:71:9
[INFO] [stderr]    |
[INFO] [stderr] 71 |         TranslateMessage(&msg);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stderr]   --> src/main.rs:72:9
[INFO] [stderr]    |
[INFO] [stderr] 72 |         DispatchMessageW(&msg);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:78:44
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/main.rs:78:56
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]   --> src/main.rs:78:70
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/main.rs:78:86
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/main.rs:78:97
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                                                 ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stderr]   --> src/main.rs:82:13
[INFO] [stderr]    |
[INFO] [stderr] 82 |             PostQuitMessage(0);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stderr]   --> src/main.rs:87:35
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                     - help: you might be missing a type parameter: `<PAINTSTRUCT>`
[INFO] [stderr] ...
[INFO] [stderr] 87 |             let mut ps = zeroed::<PAINTSTRUCT>();
[INFO] [stderr]    |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope
[INFO] [stderr]   --> src/main.rs:88:23
[INFO] [stderr]    |
[INFO] [stderr] 88 |             let hdc = BeginPaint(hwnd, &mut ps);
[INFO] [stderr]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stderr]   --> src/main.rs:89:13
[INFO] [stderr]    |
[INFO] [stderr] 89 |             FillRect(hdc, &ps.rcPaint, (COLOR_WINDOW+1) as HBRUSH);
[INFO] [stderr]    |             ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in this scope
[INFO] [stderr]   --> src/main.rs:89:41
[INFO] [stderr]    |
[INFO] [stderr] 89 |             FillRect(hdc, &ps.rcPaint, (COLOR_WINDOW+1) as HBRUSH);
[INFO] [stderr]    |                                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]   --> src/main.rs:89:60
[INFO] [stderr]    |
[INFO] [stderr] 89 |             FillRect(hdc, &ps.rcPaint, (COLOR_WINDOW+1) as HBRUSH);
[INFO] [stderr]    |                                                            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope
[INFO] [stderr]   --> src/main.rs:90:13
[INFO] [stderr]    |
[INFO] [stderr] 90 |             EndPaint(hwnd, &ps);
[INFO] [stderr]    |             ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stderr]   --> src/main.rs:94:21
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    | ------------------------------------------------------------------------------------------------------- similarly named function `WindowProc` defined here
[INFO] [stderr] ...
[INFO] [stderr] 94 |         _ => return DefWindowProcW(hwnd, uMsg, wParam, lParam)
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^ help: a function with a similar name exists: `WindowProc`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `user32::*`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use user32::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `kernel32::*`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use kernel32::*;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `winapi::*`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]   --> src/main.rs:32:21
[INFO] [stderr]    |
[INFO] [stderr] 32 |     let hInstance = GetModuleHandleW(0 as *const u16);
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSW` in this scope
[INFO] [stderr]   --> src/main.rs:34:27
[INFO] [stderr]    |
[INFO] [stderr] 26 | unsafe fn main2() {
[INFO] [stderr]    |                - help: you might be missing a type parameter: `<WNDCLASSW>`
[INFO] [stderr] ...
[INFO] [stderr] 34 |     let mut wc = zeroed::<WNDCLASSW>();
[INFO] [stderr]    |                           ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stderr]   --> src/main.rs:35:10
[INFO] [stderr]    |
[INFO] [stderr] 35 |     wc = WNDCLASSW {
[INFO] [stderr]    |          ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stderr]   --> src/main.rs:39:18
[INFO] [stderr]    |
[INFO] [stderr] 39 |         hCursor: LoadCursorW(0 as HINSTANCE, 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/main.rs:39:35
[INFO] [stderr]    |
[INFO] [stderr] 39 |         hCursor: LoadCursorW(0 as HINSTANCE, IDC_ARROW),
[INFO] [stderr]    |                                   ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stderr]   --> src/main.rs:39:46
[INFO] [stderr]    |
[INFO] [stderr] 39 |         hCursor: LoadCursorW(0 as HINSTANCE, IDC_ARROW),
[INFO] [stderr]    |                                              ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stderr]   --> src/main.rs:43:5
[INFO] [stderr]    |
[INFO] [stderr] 43 |     RegisterClassW(&wc);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:45:15
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let hwnd: HWND = CreateWindowExW(
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stderr]   --> src/main.rs:45:22
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let hwnd: HWND = CreateWindowExW(
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]   --> src/main.rs:50:9
[INFO] [stderr]    |
[INFO] [stderr] 50 |         WS_OVERLAPPEDWINDOW,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/main.rs:53:9
[INFO] [stderr]    |
[INFO] [stderr] 53 |         CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/main.rs:53:24
[INFO] [stderr]    |
[INFO] [stderr] 53 |         CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]    |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/main.rs:53:39
[INFO] [stderr]    |
[INFO] [stderr] 53 |         CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]    |                                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/main.rs:53:54
[INFO] [stderr]    |
[INFO] [stderr] 53 |         CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]    |                                                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:62:21
[INFO] [stderr]    |
[INFO] [stderr] 62 |     if 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 `GetLastError` in this scope
[INFO] [stderr]   --> src/main.rs:63:17
[INFO] [stderr]    |
[INFO] [stderr] 63 |         let e = GetLastError();
[INFO] [stderr]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stderr]   --> src/main.rs:67:5
[INFO] [stderr]    |
[INFO] [stderr] 67 |     ShowWindow(hwnd, 5);
[INFO] [stderr]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]   --> src/main.rs:69:28
[INFO] [stderr]    |
[INFO] [stderr] 26 | unsafe fn main2() {
[INFO] [stderr]    |                - help: you might be missing a type parameter: `<MSG>`
[INFO] [stderr] ...
[INFO] [stderr] 69 |     let mut msg = zeroed::<MSG>();
[INFO] [stderr]    |                            ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stderr]   --> src/main.rs:70:11
[INFO] [stderr]    |
[INFO] [stderr] 70 |     while GetMessageW(&mut msg, 0 as HWND, 0, 0) != 0 {
[INFO] [stderr]    |           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:70:38
[INFO] [stderr]    |
[INFO] [stderr] 70 |     while GetMessageW(&mut msg, 0 as HWND, 0, 0) != 0 {
[INFO] [stderr]    |                                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stderr]   --> src/main.rs:71:9
[INFO] [stderr]    |
[INFO] [stderr] 71 |         TranslateMessage(&msg);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stderr]   --> src/main.rs:72:9
[INFO] [stderr]    |
[INFO] [stderr] 72 |         DispatchMessageW(&msg);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:78:44
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/main.rs:78:56
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]   --> src/main.rs:78:70
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/main.rs:78:86
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/main.rs:78:97
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                                                 ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stderr]   --> src/main.rs:82:13
[INFO] [stderr]    |
[INFO] [stderr] 82 |             PostQuitMessage(0);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stderr]   --> src/main.rs:87:35
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                     - help: you might be missing a type parameter: `<PAINTSTRUCT>`
[INFO] [stderr] ...
[INFO] [stderr] 87 |             let mut ps = zeroed::<PAINTSTRUCT>();
[INFO] [stderr]    |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope
[INFO] [stderr]   --> src/main.rs:88:23
[INFO] [stderr]    |
[INFO] [stderr] 88 |             let hdc = BeginPaint(hwnd, &mut ps);
[INFO] [stderr]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stderr]   --> src/main.rs:89:13
[INFO] [stderr]    |
[INFO] [stderr] 89 |             FillRect(hdc, &ps.rcPaint, (COLOR_WINDOW+1) as HBRUSH);
[INFO] [stderr]    |             ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in this scope
[INFO] [stderr]   --> src/main.rs:89:41
[INFO] [stderr]    |
[INFO] [stderr] 89 |             FillRect(hdc, &ps.rcPaint, (COLOR_WINDOW+1) as HBRUSH);
[INFO] [stderr]    |                                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]   --> src/main.rs:89:60
[INFO] [stderr]    |
[INFO] [stderr] 89 |             FillRect(hdc, &ps.rcPaint, (COLOR_WINDOW+1) as HBRUSH);
[INFO] [stderr]    |                                                            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope
[INFO] [stderr]   --> src/main.rs:90:13
[INFO] [stderr]    |
[INFO] [stderr] 90 |             EndPaint(hwnd, &ps);
[INFO] [stderr]    |             ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stderr]   --> src/main.rs:94:21
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    | ------------------------------------------------------------------------------------------------------- similarly named function `WindowProc` defined here
[INFO] [stderr] ...
[INFO] [stderr] 94 |         _ => return DefWindowProcW(hwnd, uMsg, wParam, lParam)
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^ help: a function with a similar name exists: `WindowProc`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `user32::*`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use user32::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `kernel32::*`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use kernel32::*;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `winapi::*`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_wide_null` found for reference `&str` in the current scope
[INFO] [stderr]   --> src/main.rs:15:7
[INFO] [stderr]    |
[INFO] [stderr] 15 |     s.to_wide_null().as_ptr()
[INFO] [stderr]    |       ^^^^^^^^^^^^ method not found in `&str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_wide_null` found for reference `&str` in the current scope
[INFO] [stderr]   --> src/main.rs:15:7
[INFO] [stderr]    |
[INFO] [stderr] 15 |     s.to_wide_null().as_ptr()
[INFO] [stderr]    |       ^^^^^^^^^^^^ method not found in `&str`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 37 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `winapi-test`.
[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 37 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `winapi-test`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "f536cc6c678572cb259ed262b3e42252ae8fbe8c1fd06eef957b4e85e14da1fa"`
[INFO] running `"docker" "rm" "-f" "f536cc6c678572cb259ed262b3e42252ae8fbe8c1fd06eef957b4e85e14da1fa"`
[INFO] [stdout] f536cc6c678572cb259ed262b3e42252ae8fbe8c1fd06eef957b4e85e14da1fa
