[INFO] cloning repository https://github.com/cpdupuis/win-rust-sample
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpdupuis/win-rust-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpdupuis%2Fwin-rust-sample", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpdupuis%2Fwin-rust-sample'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e82009930d1f5268ac171ac435cbc93f7172532a
[INFO] checking cpdupuis/win-rust-sample against try#d12484522bcab8d07e325c6570f226a2faace3f7 for pr-128425-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpdupuis%2Fwin-rust-sample" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/cpdupuis/win-rust-sample on toolchain d12484522bcab8d07e325c6570f226a2faace3f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/cpdupuis/win-rust-sample
[INFO] finished tweaking git repo https://github.com/cpdupuis/win-rust-sample
[INFO] tweaked toml for git repo https://github.com/cpdupuis/win-rust-sample written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/cpdupuis/win-rust-sample already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] de30e6d6cd789447c386255b1fc537099cbc89b78860ef26e7937ff026c06aa4
[INFO] running `Command { std: "docker" "start" "-a" "de30e6d6cd789447c386255b1fc537099cbc89b78860ef26e7937ff026c06aa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "de30e6d6cd789447c386255b1fc537099cbc89b78860ef26e7937ff026c06aa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de30e6d6cd789447c386255b1fc537099cbc89b78860ef26e7937ff026c06aa4", kill_on_drop: false }`
[INFO] [stdout] de30e6d6cd789447c386255b1fc537099cbc89b78860ef26e7937ff026c06aa4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fec9fbeb5a3e7a7facee1275a688231d0d3064039f095de0bcecf5a1ab9a6011
[INFO] running `Command { std: "docker" "start" "-a" "fec9fbeb5a3e7a7facee1275a688231d0d3064039f095de0bcecf5a1ab9a6011", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]     Checking windows-targets v0.52.6
[INFO] [stderr]     Checking windows-result v0.2.0
[INFO] [stderr]     Checking windows-strings v0.1.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.89
[INFO] [stderr]    Compiling windows-implement v0.58.0
[INFO] [stderr]    Compiling windows-interface v0.58.0
[INFO] [stderr]     Checking windows-core v0.58.0
[INFO] [stderr]     Checking windows v0.58.0
[INFO] [stderr]     Checking win-rust-sample v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Win32::{
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     core::{w, PCWSTR, HRESULT},
[INFO] [stdout]   |     ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Win32::{
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     core::{w, PCWSTR, HRESULT},
[INFO] [stdout]   |     ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows`
[INFO] [stdout]   --> src/main.rs:24:59
[INFO] [stdout]    |
[INFO] [stdout] 24 | unsafe fn register_class(class_name: &PCWSTR) -> windows::core::Result<HINSTANCE> {
[INFO] [stdout]    |                                                           ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows`
[INFO] [stdout]   --> src/main.rs:24:59
[INFO] [stdout]    |
[INFO] [stdout] 24 | unsafe fn register_class(class_name: &PCWSTR) -> windows::core::Result<HINSTANCE> {
[INFO] [stdout]    |                                                           ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows`
[INFO] [stdout]   --> src/main.rs:46:86
[INFO] [stdout]    |
[INFO] [stdout] 46 | unsafe fn create_main_window(hinstance: &HINSTANCE, class_name: &PCWSTR) -> windows::core::Result<HWND> {
[INFO] [stdout]    |                                                                                      ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows`
[INFO] [stdout]   --> src/main.rs:46:86
[INFO] [stdout]    |
[INFO] [stdout] 46 | unsafe fn create_main_window(hinstance: &HINSTANCE, class_name: &PCWSTR) -> windows::core::Result<HWND> {
[INFO] [stdout]    |                                                                                      ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope
[INFO] [stdout]   --> src/main.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let _ = ShowWindow(hwnd, SW_SHOWNORMAL);
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope
[INFO] [stdout]   --> src/main.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let _ = ShowWindow(hwnd, SW_SHOWNORMAL);
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stdout]   --> src/main.rs:25:36
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let cursor = LoadCursorW(None, IDC_ARROW)?;
[INFO] [stdout]    |                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stdout]   --> src/main.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let wc = WNDCLASSW {
[INFO] [stdout]    |              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stdout]   --> src/main.rs:25:36
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let cursor = LoadCursorW(None, IDC_ARROW)?;
[INFO] [stdout]    |                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stdout]   --> src/main.rs:32:16
[INFO] [stdout]    |
[INFO] [stdout] 32 |         style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout]    |                ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stdout]   --> src/main.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let wc = WNDCLASSW {
[INFO] [stdout]    |              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stdout]   --> src/main.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |         style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout]    |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stdout]   --> src/main.rs:32:16
[INFO] [stdout]    |
[INFO] [stdout] 32 |         style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout]    |                ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stdout]   --> src/main.rs:48:24
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let window_style = WS_OVERLAPPEDWINDOW;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stdout]   --> src/main.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |         style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stdout]    |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         CW_USEDEFAULT,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stdout]   --> src/main.rs:48:24
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let window_style = WS_OVERLAPPEDWINDOW;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         CW_USEDEFAULT,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         CW_USEDEFAULT,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         CW_USEDEFAULT,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         CW_USEDEFAULT,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope
[INFO] [stdout]   --> src/main.rs:78:27
[INFO] [stdout]    |
[INFO] [stdout] 78 |         if msg.message == WM_QUIT {
[INFO] [stdout]    |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         CW_USEDEFAULT,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         CW_USEDEFAULT,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         CW_USEDEFAULT,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope
[INFO] [stdout]   --> src/main.rs:78:27
[INFO] [stdout]    |
[INFO] [stdout] 78 |         if msg.message == WM_QUIT {
[INFO] [stdout]    |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stdout]   --> src/main.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let _ = ShowWindow(hwnd, SW_SHOWNORMAL);
[INFO] [stdout]    |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stdout]   --> src/main.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let _ = ShowWindow(hwnd, SW_SHOWNORMAL);
[INFO] [stdout]    |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stdout]   --> src/main.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let cursor = LoadCursorW(None, IDC_ARROW)?;
[INFO] [stdout]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stdout]   --> src/main.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let cursor = LoadCursorW(None, IDC_ARROW)?;
[INFO] [stdout]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stdout]   --> src/main.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let atom = RegisterClassW(&wc);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stdout]   --> src/main.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let atom = RegisterClassW(&wc);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WINDOW_EX_STYLE`
[INFO] [stdout]   --> src/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         WINDOW_EX_STYLE::default(),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ use of undeclared type `WINDOW_EX_STYLE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WINDOW_EX_STYLE`
[INFO] [stdout]   --> src/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         WINDOW_EX_STYLE::default(),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ use of undeclared type `WINDOW_EX_STYLE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]   --> src/main.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let hwnd = CreateWindowExW(
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]   --> src/main.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let hwnd = CreateWindowExW(
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG`
[INFO] [stdout]   --> src/main.rs:71:19
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut msg = MSG::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `MSG`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG`
[INFO] [stdout]   --> src/main.rs:71:19
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut msg = MSG::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `MSG`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]   --> src/main.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |             GetMessageW(&mut msg, null_hwnd, wmsgfiltermin, wmsgfiltermax).into();
[INFO] [stdout]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]   --> src/main.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |             GetMessageW(&mut msg, null_hwnd, wmsgfiltermin, wmsgfiltermax).into();
[INFO] [stdout]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout]   --> src/main.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 82 |             let _ = TranslateMessage(&msg);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout]   --> src/main.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 82 |             let _ = TranslateMessage(&msg);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout]   --> src/main.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             DispatchMessageW(&msg);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout]   --> src/main.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             DispatchMessageW(&msg);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PAINTSTRUCT`
[INFO] [stdout]   --> src/main.rs:93:30
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 let mut ps = PAINTSTRUCT::default();
[INFO] [stdout]    |                              ^^^^^^^^^^^ use of undeclared type `PAINTSTRUCT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PAINTSTRUCT`
[INFO] [stdout]   --> src/main.rs:93:30
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 let mut ps = PAINTSTRUCT::default();
[INFO] [stdout]    |                              ^^^^^^^^^^^ use of undeclared type `PAINTSTRUCT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope
[INFO] [stdout]   --> src/main.rs:94:27
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 let hdc = BeginPaint(window, &mut ps);
[INFO] [stdout]    |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope
[INFO] [stdout]   --> src/main.rs:94:27
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 let hdc = BeginPaint(window, &mut ps);
[INFO] [stdout]    |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope
[INFO] [stdout]   --> src/main.rs:97:30
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 let hbrush = CreateSolidBrush(colorref);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope
[INFO] [stdout]   --> src/main.rs:97:30
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 let hbrush = CreateSolidBrush(colorref);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]   --> src/main.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |                 FillRect(hdc, &ps.rcPaint, hbrush);
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]   --> src/main.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |                 FillRect(hdc, &ps.rcPaint, hbrush);
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope
[INFO] [stdout]   --> src/main.rs:99:25
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 let _ = EndPaint(window, &mut ps);
[INFO] [stdout]    |                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope
[INFO] [stdout]   --> src/main.rs:99:25
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 let _ = EndPaint(window, &mut ps);
[INFO] [stdout]    |                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stdout]    --> src/main.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 PostQuitMessage(0);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stdout]    --> src/main.rs:106:18
[INFO] [stdout]     |
[INFO] [stdout] 106 |             _ => DefWindowProcW(window, message, wparam, lparam),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stdout]    --> src/main.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 PostQuitMessage(0);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stdout]    --> src/main.rs:106:18
[INFO] [stdout]     |
[INFO] [stdout] 106 |             _ => DefWindowProcW(window, message, wparam, lparam),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `win-rust-sample` (bin "win-rust-sample") due to 31 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `win-rust-sample` (bin "win-rust-sample" test) due to 31 previous errors
[INFO] running `Command { std: "docker" "inspect" "fec9fbeb5a3e7a7facee1275a688231d0d3064039f095de0bcecf5a1ab9a6011", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fec9fbeb5a3e7a7facee1275a688231d0d3064039f095de0bcecf5a1ab9a6011", kill_on_drop: false }`
[INFO] [stdout] fec9fbeb5a3e7a7facee1275a688231d0d3064039f095de0bcecf5a1ab9a6011
