[INFO] cloning repository https://github.com/evgeni-nabokov/winapi-samples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/evgeni-nabokov/winapi-samples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevgeni-nabokov%2Fwinapi-samples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevgeni-nabokov%2Fwinapi-samples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0304144cb14f9e8704ef37302c8c7e9b6e89d9b9 [INFO] checking evgeni-nabokov/winapi-samples against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevgeni-nabokov%2Fwinapi-samples" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/evgeni-nabokov/winapi-samples on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-10/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4ed902cdd70bdcfa4e724f7b088c5b66d34574de2a52e597244162c033811be [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a4ed902cdd70bdcfa4e724f7b088c5b66d34574de2a52e597244162c033811be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4ed902cdd70bdcfa4e724f7b088c5b66d34574de2a52e597244162c033811be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4ed902cdd70bdcfa4e724f7b088c5b66d34574de2a52e597244162c033811be", kill_on_drop: false }` [INFO] [stdout] a4ed902cdd70bdcfa4e724f7b088c5b66d34574de2a52e597244162c033811be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ded00d58821b95e4c05d4691af9d14f9107cf51394b3aa6c7eec0bbc19f4ca3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6ded00d58821b95e4c05d4691af9d14f9107cf51394b3aa6c7eec0bbc19f4ca3", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking winapi_samples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/bin/simple_window.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::minwindef::{DWORD, HINSTANCE, LRESULT, UINT, LPARAM, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/bin/simple_window.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::windef::{HWND, HMENU, HBRUSH, POINT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bin/simple_window.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::{LPCWSTR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bin/simple_window.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::{DefWindowProcW, ShowWindow, CreateWindowExW, RegisterClassW, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/bin/simple_window.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::minwindef::{DWORD, HINSTANCE, LRESULT, UINT, LPARAM, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/bin/simple_window.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::windef::{HWND, HMENU, HBRUSH, POINT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bin/simple_window.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::{LPCWSTR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bin/simple_window.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::{DefWindowProcW, ShowWindow, CreateWindowExW, RegisterClassW, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bin/goodbye.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::{MB_OK, MessageBoxW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bin/goodbye.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::{MB_OK, MessageBoxW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> src/bin/goodbye.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | MessageBoxW(null_mut(), w_msg.as_ptr(), w_caption.as_ptr(), MB_OK) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope [INFO] [stdout] --> src/bin/goodbye.rs:11:69 [INFO] [stdout] | [INFO] [stdout] 11 | MessageBoxW(null_mut(), w_msg.as_ptr(), w_caption.as_ptr(), MB_OK) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> src/bin/goodbye.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | MessageBoxW(null_mut(), w_msg.as_ptr(), w_caption.as_ptr(), MB_OK) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MB_OK` in this scope [INFO] [stdout] --> src/bin/goodbye.rs:11:69 [INFO] [stdout] | [INFO] [stdout] 11 | MessageBoxW(null_mut(), w_msg.as_ptr(), w_caption.as_ptr(), MB_OK) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:24:63 [INFO] [stdout] | [INFO] [stdout] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:24:74 [INFO] [stdout] | [INFO] [stdout] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_DESTROY` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | if msg == WM_DESTROY { [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/bin/simple_window.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | 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/bin/simple_window.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | DefWindowProcW(h_wnd, msg, w_param, l_param) [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/bin/simple_window.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let wnd_class = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | hInstance: 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | hIcon: LoadIconW(0 as HINSTANCE, IDI_APPLICATION), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | hIcon: LoadIconW(0 as HINSTANCE, IDI_APPLICATION), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | hIcon: LoadIconW(0 as HINSTANCE, IDI_APPLICATION), [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/bin/simple_window.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | hCursor: LoadCursorW(0 as HINSTANCE, IDI_APPLICATION), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | hCursor: LoadCursorW(0 as HINSTANCE, IDI_APPLICATION), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:43:50 [INFO] [stdout] | [INFO] [stdout] 43 | hCursor: LoadCursorW(0 as HINSTANCE, IDI_APPLICATION), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | hbrBackground: 16 as HBRUSH, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | lpszMenuName: 0 as LPCWSTR, [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/bin/simple_window.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | RegisterClassW(&wnd_class); [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/bin/simple_window.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | let h_wnd_window = CreateWindowExW(0, [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/bin/simple_window.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | ... WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:53:66 [INFO] [stdout] | [INFO] [stdout] 53 | ... WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | ... 0 as HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:59:49 [INFO] [stdout] | [INFO] [stdout] 59 | ... 0 as HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 60 | ... 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MSG` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | let mut msg = MSG { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | hwnd : 0 as HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | message : 0 as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | wParam : 0 as WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | lParam : 0 as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | time : 0 as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | pt : POINT { x: 0, y: 0, }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | ShowWindow(h_wnd_window, 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/bin/simple_window.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | ShowWindow(h_wnd_window, 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 `GetMessageW` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let pm = GetMessageW(&mut msg, 0 as HWND, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:75:49 [INFO] [stdout] | [INFO] [stdout] 75 | let pm = GetMessageW(&mut msg, 0 as HWND, 0, 0); [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/bin/simple_window.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | 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 `TranslateMessage` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | TranslateMessage(&mut 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/bin/simple_window.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | DispatchMessageW(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [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] [stdout] error: aborting due to 43 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:24:63 [INFO] [stdout] | [INFO] [stdout] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:24:74 [INFO] [stdout] | [INFO] [stdout] 24 | fn wnd_proc(h_wnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_DESTROY` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | if msg == WM_DESTROY { [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/bin/simple_window.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | 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/bin/simple_window.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | DefWindowProcW(h_wnd, msg, w_param, l_param) [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/bin/simple_window.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let wnd_class = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | hInstance: 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | hIcon: LoadIconW(0 as HINSTANCE, IDI_APPLICATION), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | hIcon: LoadIconW(0 as HINSTANCE, IDI_APPLICATION), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | hIcon: LoadIconW(0 as HINSTANCE, IDI_APPLICATION), [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/bin/simple_window.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | hCursor: LoadCursorW(0 as HINSTANCE, IDI_APPLICATION), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | hCursor: LoadCursorW(0 as HINSTANCE, IDI_APPLICATION), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:43:50 [INFO] [stdout] | [INFO] [stdout] 43 | hCursor: LoadCursorW(0 as HINSTANCE, IDI_APPLICATION), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | hbrBackground: 16 as HBRUSH, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | lpszMenuName: 0 as LPCWSTR, [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/bin/simple_window.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | RegisterClassW(&wnd_class); [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/bin/simple_window.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | let h_wnd_window = CreateWindowExW(0, [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/bin/simple_window.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | ... WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:53:66 [INFO] [stdout] | [INFO] [stdout] 53 | ... WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | ... 0 as HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:59:49 [INFO] [stdout] | [INFO] [stdout] 59 | ... 0 as HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 60 | ... 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MSG` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | let mut msg = MSG { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | hwnd : 0 as HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | message : 0 as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | wParam : 0 as WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | lParam : 0 as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | time : 0 as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | pt : POINT { x: 0, y: 0, }, [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/bin/simple_window.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | ShowWindow(h_wnd_window, 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/bin/simple_window.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | ShowWindow(h_wnd_window, 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 `GetMessageW` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let pm = GetMessageW(&mut msg, 0 as HWND, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:75:49 [INFO] [stdout] | [INFO] [stdout] 75 | let pm = GetMessageW(&mut msg, 0 as HWND, 0, 0); [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/bin/simple_window.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | 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 `TranslateMessage` in this scope [INFO] [stdout] --> src/bin/simple_window.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | TranslateMessage(&mut 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/bin/simple_window.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | DispatchMessageW(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6ded00d58821b95e4c05d4691af9d14f9107cf51394b3aa6c7eec0bbc19f4ca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ded00d58821b95e4c05d4691af9d14f9107cf51394b3aa6c7eec0bbc19f4ca3", kill_on_drop: false }` [INFO] [stdout] 6ded00d58821b95e4c05d4691af9d14f9107cf51394b3aa6c7eec0bbc19f4ca3