[INFO] updating cached repository https://github.com/evgeni-nabokov/winapi-samples
[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] 0304144cb14f9e8704ef37302c8c7e9b6e89d9b9
[INFO] checking evgeni-nabokov/winapi-samples against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevgeni-nabokov%2Fwinapi-samples" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/evgeni-nabokov/winapi-samples 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/evgeni-nabokov/winapi-samples
[INFO] finished tweaking git repo https://github.com/evgeni-nabokov/winapi-samples
[INFO] tweaked toml for git repo https://github.com/evgeni-nabokov/winapi-samples written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/evgeni-nabokov/winapi-samples already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 2570cc7676cb4d6e88158aa3aa3fe5c01561de9fe51585ff33d3681bab8245c2
[INFO] running `"docker" "start" "-a" "2570cc7676cb4d6e88158aa3aa3fe5c01561de9fe51585ff33d3681bab8245c2"`
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]     Checking widestring v0.4.0
[INFO] [stderr]     Checking winapi_samples v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/bin/goodbye.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::um::winuser::{MB_OK, MessageBoxW};
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope
[INFO] [stderr]   --> src/bin/goodbye.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |         MessageBoxW(null_mut(), w_msg.as_ptr(), w_caption.as_ptr(), MB_OK)
[INFO] [stderr]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MB_OK` in this scope
[INFO] [stderr]   --> src/bin/goodbye.rs:11:69
[INFO] [stderr]    |
[INFO] [stderr] 11 |         MessageBoxW(null_mut(), w_msg.as_ptr(), w_caption.as_ptr(), MB_OK)
[INFO] [stderr]    |                                                                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `winapi_samples`.
[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[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/bin/simple_window.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::shared::minwindef::{DWORD, HINSTANCE, LRESULT, UINT, LPARAM, WPARAM};
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/bin/simple_window.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::shared::windef::{HWND, HMENU, HBRUSH, POINT};
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/bin/simple_window.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::um::winnt::{LPCWSTR};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/bin/simple_window.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::um::winuser::{DefWindowProcW, ShowWindow, CreateWindowExW, RegisterClassW,
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:24:20
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/bin/simple_window.rs:24:31
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/bin/simple_window.rs:24:46
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/bin/simple_window.rs:24:63
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/bin/simple_window.rs:24:74
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                          ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_DESTROY` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:25:15
[INFO] [stderr]    |
[INFO] [stderr] 25 |     if msg == WM_DESTROY {
[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/bin/simple_window.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |         PostQuitMessage(0);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 28 |     DefWindowProcW(h_wnd, msg, w_param, l_param)
[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/bin/simple_window.rs:36:25
[INFO] [stderr]    |
[INFO] [stderr] 36 |         let wnd_class = WNDCLASSW {
[INFO] [stderr]    |                         ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:41:29
[INFO] [stderr]    |
[INFO] [stderr] 41 |             hInstance: 0 as HINSTANCE,
[INFO] [stderr]    |                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:42:20
[INFO] [stderr]    |
[INFO] [stderr] 42 |             hIcon: LoadIconW(0 as HINSTANCE, IDI_APPLICATION),
[INFO] [stderr]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:42:35
[INFO] [stderr]    |
[INFO] [stderr] 42 |             hIcon: LoadIconW(0 as HINSTANCE, IDI_APPLICATION),
[INFO] [stderr]    |                                   ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:42:46
[INFO] [stderr]    |
[INFO] [stderr] 42 |             hIcon: LoadIconW(0 as HINSTANCE, IDI_APPLICATION),
[INFO] [stderr]    |                                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:43:22
[INFO] [stderr]    |
[INFO] [stderr] 43 |             hCursor: LoadCursorW(0 as HINSTANCE, IDI_APPLICATION),
[INFO] [stderr]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:43:39
[INFO] [stderr]    |
[INFO] [stderr] 43 |             hCursor: LoadCursorW(0 as HINSTANCE, IDI_APPLICATION),
[INFO] [stderr]    |                                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:43:50
[INFO] [stderr]    |
[INFO] [stderr] 43 |             hCursor: LoadCursorW(0 as HINSTANCE, 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/bin/simple_window.rs:44:34
[INFO] [stderr]    |
[INFO] [stderr] 44 |             hbrBackground: 16 as HBRUSH,
[INFO] [stderr]    |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:45:32
[INFO] [stderr]    |
[INFO] [stderr] 45 |             lpszMenuName: 0 as LPCWSTR,
[INFO] [stderr]    |                                ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:49:9
[INFO] [stderr]    |
[INFO] [stderr] 49 |         RegisterClassW(&wnd_class);
[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/bin/simple_window.rs:50:28
[INFO] [stderr]    |
[INFO] [stderr] 50 |         let h_wnd_window = CreateWindowExW(0,
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:53:44
[INFO] [stderr]    |
[INFO] [stderr] 53 | ...                   WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:53:66
[INFO] [stderr]    |
[INFO] [stderr] 53 | ...                   WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stderr]    |                                             ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:58:49
[INFO] [stderr]    |
[INFO] [stderr] 58 | ...                   0 as HWND,
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:59:49
[INFO] [stderr]    |
[INFO] [stderr] 59 | ...                   0 as HMENU,
[INFO] [stderr]    |                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:60:49
[INFO] [stderr]    |
[INFO] [stderr] 60 | ...                   0 as HINSTANCE,
[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/bin/simple_window.rs:62:23
[INFO] [stderr]    |
[INFO] [stderr] 62 |         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/bin/simple_window.rs:63:25
[INFO] [stderr]    |
[INFO] [stderr] 63 |             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/bin/simple_window.rs:64:28
[INFO] [stderr]    |
[INFO] [stderr] 64 |             message : 0 as UINT,
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:65:27
[INFO] [stderr]    |
[INFO] [stderr] 65 |             wParam : 0 as WPARAM,
[INFO] [stderr]    |                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:66:27
[INFO] [stderr]    |
[INFO] [stderr] 66 |             lParam : 0 as LPARAM,
[INFO] [stderr]    |                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:67:25
[INFO] [stderr]    |
[INFO] [stderr] 67 |             time : 0 as DWORD,
[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/bin/simple_window.rs:68:18
[INFO] [stderr]    |
[INFO] [stderr] 68 |             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 `ShowWindow` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:71:9
[INFO] [stderr]    |
[INFO] [stderr] 71 |         ShowWindow(h_wnd_window, SW_SHOWNORMAL);
[INFO] [stderr]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:71:34
[INFO] [stderr]    |
[INFO] [stderr] 71 |         ShowWindow(h_wnd_window, SW_SHOWNORMAL);
[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/bin/simple_window.rs:75:22
[INFO] [stderr]    |
[INFO] [stderr] 75 |             let pm = GetMessageW(&mut msg, 0 as 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/bin/simple_window.rs:75:49
[INFO] [stderr]    |
[INFO] [stderr] 75 |             let pm = GetMessageW(&mut msg, 0 as HWND, 0, 0);
[INFO] [stderr]    |                                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_QUIT` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:80:31
[INFO] [stderr]    |
[INFO] [stderr] 80 |             if msg.message == WM_QUIT {
[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/bin/simple_window.rs:84:13
[INFO] [stderr]    |
[INFO] [stderr] 84 |             TranslateMessage(&mut msg);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:85:13
[INFO] [stderr]    |
[INFO] [stderr] 85 |             DispatchMessageW(&mut msg);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/bin/goodbye.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::um::winuser::{MB_OK, MessageBoxW};
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope
[INFO] [stderr]   --> src/bin/goodbye.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |         MessageBoxW(null_mut(), w_msg.as_ptr(), w_caption.as_ptr(), MB_OK)
[INFO] [stderr]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MB_OK` in this scope
[INFO] [stderr]   --> src/bin/goodbye.rs:11:69
[INFO] [stderr]    |
[INFO] [stderr] 11 |         MessageBoxW(null_mut(), w_msg.as_ptr(), w_caption.as_ptr(), MB_OK)
[INFO] [stderr]    |                                                                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 43 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `winapi_samples`.
[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: could not compile `winapi_samples`.
[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[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/bin/simple_window.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::shared::minwindef::{DWORD, HINSTANCE, LRESULT, UINT, LPARAM, WPARAM};
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/bin/simple_window.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::shared::windef::{HWND, HMENU, HBRUSH, POINT};
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/bin/simple_window.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::um::winnt::{LPCWSTR};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/bin/simple_window.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::um::winuser::{DefWindowProcW, ShowWindow, CreateWindowExW, RegisterClassW,
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:24:20
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/bin/simple_window.rs:24:31
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/bin/simple_window.rs:24:46
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/bin/simple_window.rs:24:63
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: 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/bin/simple_window.rs:24:74
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                          ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_DESTROY` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:25:15
[INFO] [stderr]    |
[INFO] [stderr] 25 |     if msg == WM_DESTROY {
[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/bin/simple_window.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |         PostQuitMessage(0);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 28 |     DefWindowProcW(h_wnd, msg, w_param, l_param)
[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/bin/simple_window.rs:36:25
[INFO] [stderr]    |
[INFO] [stderr] 36 |         let wnd_class = WNDCLASSW {
[INFO] [stderr]    |                         ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:41:29
[INFO] [stderr]    |
[INFO] [stderr] 41 |             hInstance: 0 as HINSTANCE,
[INFO] [stderr]    |                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:42:20
[INFO] [stderr]    |
[INFO] [stderr] 42 |             hIcon: LoadIconW(0 as HINSTANCE, IDI_APPLICATION),
[INFO] [stderr]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:42:35
[INFO] [stderr]    |
[INFO] [stderr] 42 |             hIcon: LoadIconW(0 as HINSTANCE, IDI_APPLICATION),
[INFO] [stderr]    |                                   ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:42:46
[INFO] [stderr]    |
[INFO] [stderr] 42 |             hIcon: LoadIconW(0 as HINSTANCE, IDI_APPLICATION),
[INFO] [stderr]    |                                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:43:22
[INFO] [stderr]    |
[INFO] [stderr] 43 |             hCursor: LoadCursorW(0 as HINSTANCE, IDI_APPLICATION),
[INFO] [stderr]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:43:39
[INFO] [stderr]    |
[INFO] [stderr] 43 |             hCursor: LoadCursorW(0 as HINSTANCE, IDI_APPLICATION),
[INFO] [stderr]    |                                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:43:50
[INFO] [stderr]    |
[INFO] [stderr] 43 |             hCursor: LoadCursorW(0 as HINSTANCE, 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/bin/simple_window.rs:44:34
[INFO] [stderr]    |
[INFO] [stderr] 44 |             hbrBackground: 16 as HBRUSH,
[INFO] [stderr]    |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:45:32
[INFO] [stderr]    |
[INFO] [stderr] 45 |             lpszMenuName: 0 as LPCWSTR,
[INFO] [stderr]    |                                ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:49:9
[INFO] [stderr]    |
[INFO] [stderr] 49 |         RegisterClassW(&wnd_class);
[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/bin/simple_window.rs:50:28
[INFO] [stderr]    |
[INFO] [stderr] 50 |         let h_wnd_window = CreateWindowExW(0,
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:53:44
[INFO] [stderr]    |
[INFO] [stderr] 53 | ...                   WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:53:66
[INFO] [stderr]    |
[INFO] [stderr] 53 | ...                   WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stderr]    |                                             ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:58:49
[INFO] [stderr]    |
[INFO] [stderr] 58 | ...                   0 as HWND,
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:59:49
[INFO] [stderr]    |
[INFO] [stderr] 59 | ...                   0 as HMENU,
[INFO] [stderr]    |                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:60:49
[INFO] [stderr]    |
[INFO] [stderr] 60 | ...                   0 as HINSTANCE,
[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/bin/simple_window.rs:62:23
[INFO] [stderr]    |
[INFO] [stderr] 62 |         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/bin/simple_window.rs:63:25
[INFO] [stderr]    |
[INFO] [stderr] 63 |             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/bin/simple_window.rs:64:28
[INFO] [stderr]    |
[INFO] [stderr] 64 |             message : 0 as UINT,
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:65:27
[INFO] [stderr]    |
[INFO] [stderr] 65 |             wParam : 0 as WPARAM,
[INFO] [stderr]    |                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:66:27
[INFO] [stderr]    |
[INFO] [stderr] 66 |             lParam : 0 as LPARAM,
[INFO] [stderr]    |                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:67:25
[INFO] [stderr]    |
[INFO] [stderr] 67 |             time : 0 as DWORD,
[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/bin/simple_window.rs:68:18
[INFO] [stderr]    |
[INFO] [stderr] 68 |             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 `ShowWindow` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:71:9
[INFO] [stderr]    |
[INFO] [stderr] 71 |         ShowWindow(h_wnd_window, SW_SHOWNORMAL);
[INFO] [stderr]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:71:34
[INFO] [stderr]    |
[INFO] [stderr] 71 |         ShowWindow(h_wnd_window, SW_SHOWNORMAL);
[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/bin/simple_window.rs:75:22
[INFO] [stderr]    |
[INFO] [stderr] 75 |             let pm = GetMessageW(&mut msg, 0 as 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/bin/simple_window.rs:75:49
[INFO] [stderr]    |
[INFO] [stderr] 75 |             let pm = GetMessageW(&mut msg, 0 as HWND, 0, 0);
[INFO] [stderr]    |                                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_QUIT` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:80:31
[INFO] [stderr]    |
[INFO] [stderr] 80 |             if msg.message == WM_QUIT {
[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/bin/simple_window.rs:84:13
[INFO] [stderr]    |
[INFO] [stderr] 84 |             TranslateMessage(&mut msg);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stderr]   --> src/bin/simple_window.rs:85:13
[INFO] [stderr]    |
[INFO] [stderr] 85 |             DispatchMessageW(&mut msg);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 43 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `winapi_samples`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "2570cc7676cb4d6e88158aa3aa3fe5c01561de9fe51585ff33d3681bab8245c2"`
[INFO] running `"docker" "rm" "-f" "2570cc7676cb4d6e88158aa3aa3fe5c01561de9fe51585ff33d3681bab8245c2"`
[INFO] [stdout] 2570cc7676cb4d6e88158aa3aa3fe5c01561de9fe51585ff33d3681bab8245c2
