[INFO] cloning repository https://github.com/zxrs/pinion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zxrs/pinion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxrs%2Fpinion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxrs%2Fpinion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95a7e624b40040e4b208731bb6c3e06b6950612f [INFO] checking zxrs/pinion against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxrs%2Fpinion" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zxrs/pinion on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-9/source/.cargo/config [INFO] started tweaking git repo https://github.com/zxrs/pinion [INFO] finished tweaking git repo https://github.com/zxrs/pinion [INFO] tweaked toml for git repo https://github.com/zxrs/pinion written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/zxrs/pinion 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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 7d041d0455ac89c70e67ac6634f7fe6eaf27fbd96bfa4baed2169fee01979e63 [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" "7d041d0455ac89c70e67ac6634f7fe6eaf27fbd96bfa4baed2169fee01979e63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d041d0455ac89c70e67ac6634f7fe6eaf27fbd96bfa4baed2169fee01979e63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d041d0455ac89c70e67ac6634f7fe6eaf27fbd96bfa4baed2169fee01979e63", kill_on_drop: false }` [INFO] [stdout] 7d041d0455ac89c70e67ac6634f7fe6eaf27fbd96bfa4baed2169fee01979e63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] ab736962c12ca6fd355d3c9d43437cfaf737f799727f13b69f0580f41fc6770f [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" "ab736962c12ca6fd355d3c9d43437cfaf737f799727f13b69f0580f41fc6770f", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking crossbeam-utils v0.8.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking image v0.23.11 [INFO] [stderr] Checking pinion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | shared::{ [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/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | shared::{ [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/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | static mut H_WINDOW: HWND = ptr::null_mut(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | static mut H_FONT: HFONT = ptr::null_mut(); [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:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let wnd_class = WNDCLASSW { [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/main.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | hIcon: LoadIconW(ptr::null_mut(), 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/main.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | hIcon: LoadIconW(ptr::null_mut(), 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/main.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | hCursor: LoadCursorW(ptr::null_mut(), 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/main.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | hCursor: LoadCursorW(ptr::null_mut(), 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 `GetSysColorBrush` in this scope [INFO] [stdout] --> src/main.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | hbrBackground: GetSysColorBrush(COLOR_MENUBAR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COLOR_MENUBAR` in this scope [INFO] [stdout] --> src/main.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | hbrBackground: GetSysColorBrush(COLOR_MENUBAR), [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:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | 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/main.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | H_WINDOW = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPED` in this scope [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> src/main.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> src/main.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 66 | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | 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/main.rs:66:55 [INFO] [stdout] | [INFO] [stdout] 66 | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_VISIBLE, [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:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | 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:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | CW_USEDEFAULT, [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:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | ShowWindow(H_WINDOW, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/main.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | ShowWindow(H_WINDOW, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | UpdateWindow(H_WINDOW); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | let mut msg = init::(); [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:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | if GetMessageW(&mut msg, ptr::null_mut(), 0, 0) == 0 { [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:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | 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:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | DispatchMessageW(&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/main.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | h_wnd: 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/main.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | msg: 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/main.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | w_param: 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/main.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | l_param: LPARAM, [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/main.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 99 | ) -> LRESULT { [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:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | return DefWindowProcW(h_wnd, msg, w_param, l_param); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | DeleteObject(H_FONT as *mut c_void); [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:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | 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:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | _ => return DefWindowProcW(h_wnd, msg, w_param, l_param), [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/main.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | unsafe fn create(h_wnd: HWND) -> Result<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFontW` in this scope [INFO] [stdout] --> src/main.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | H_FONT = CreateFontW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_CHARSET` in this scope [INFO] [stdout] --> src/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | DEFAULT_CHARSET, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OUT_DEFAULT_PRECIS` in this scope [INFO] [stdout] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | OUT_DEFAULT_PRECIS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLIP_DEFAULT_PRECIS` in this scope [INFO] [stdout] --> src/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | CLIP_DEFAULT_PRECIS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_QUALITY` in this scope [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | DEFAULT_QUALITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_PITCH` in this scope [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | DEFAULT_PITCH | FF_DONTCARE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FF_DONTCARE` in this scope [INFO] [stdout] --> src/main.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | DEFAULT_PITCH | FF_DONTCARE, [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/main.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | unsafe fn create_button(h_wnd: HWND) -> Result<()> { [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:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | let h_button = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> src/main.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, [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/main.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BS_PUSHBUTTON` in this scope [INFO] [stdout] --> src/main.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, [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/main.rs:160:27 [INFO] [stdout] | [INFO] [stdout] 160 | ID_OPEN_BUTTON as HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | SendMessageW(h_button, WM_SETFONT, H_FONT as WPARAM, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETFONT` in this scope [INFO] [stdout] --> src/main.rs:165:28 [INFO] [stdout] | [INFO] [stdout] 165 | SendMessageW(h_button, WM_SETFONT, H_FONT as WPARAM, 0); [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/main.rs:165:50 [INFO] [stdout] | [INFO] [stdout] 165 | SendMessageW(h_button, WM_SETFONT, H_FONT as WPARAM, 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/main.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | unsafe fn command(h_wnd: HWND, w_param: WPARAM) -> Result<()> { [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/main.rs:169:41 [INFO] [stdout] | [INFO] [stdout] 169 | unsafe fn command(h_wnd: HWND, w_param: WPARAM) -> Result<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/main.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | let msg = HIWORD(w_param as u32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/main.rs:171:14 [INFO] [stdout] | [INFO] [stdout] 171 | let id = LOWORD(w_param as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BN_CLICKED` in this scope [INFO] [stdout] --> src/main.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | if msg == BN_CLICKED { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/main.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | let rc = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/main.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | InvalidateRect(H_WINDOW, &rc, TRUE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:224:35 [INFO] [stdout] | [INFO] [stdout] 224 | InvalidateRect(H_WINDOW, &rc, TRUE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextW` in this scope [INFO] [stdout] --> src/main.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | SetWindowTextW(H_WINDOW, l(file_path).as_ptr()); [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/main.rs:230:30 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe fn open_dialog(h_wnd: HWND) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEW` in this scope [INFO] [stdout] --> src/main.rs:237:28 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe fn open_dialog(h_wnd: HWND) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 237 | let mut ofn = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEW` in this scope [INFO] [stdout] --> src/main.rs:238:38 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe fn open_dialog(h_wnd: HWND) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 238 | ofn.lStructSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OFN_FILEMUSTEXIST` in this scope [INFO] [stdout] --> src/main.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | ofn.Flags = OFN_FILEMUSTEXIST; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOpenFileNameW` in this scope [INFO] [stdout] --> src/main.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | ensure!(GetOpenFileNameW(&mut ofn) != 0, "Cannot get file path."); [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/main.rs:252:24 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn paint(h_wnd: HWND) -> Result<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stdout] --> src/main.rs:253:25 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn paint(h_wnd: HWND) -> Result<()> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 253 | let mut ps = init::(); [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:254:15 [INFO] [stdout] | [INFO] [stdout] 254 | let hdc = BeginPaint(h_wnd, &mut ps); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFO` in this scope [INFO] [stdout] --> src/main.rs:256:27 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn paint(h_wnd: HWND) -> Result<()> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 256 | let mut bi = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/main.rs:257:29 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn paint(h_wnd: HWND) -> Result<()> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 257 | bi.bmiHeader = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/main.rs:258:42 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn paint(h_wnd: HWND) -> Result<()> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 258 | bi.bmiHeader.biSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope [INFO] [stdout] --> src/main.rs:264:34 [INFO] [stdout] | [INFO] [stdout] 264 | bi.bmiHeader.biCompression = BI_RGB; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope [INFO] [stdout] --> src/main.rs:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | let h_bmp = CreateCompatibleBitmap(hdc, WIDTH, HEIGHT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetDIBits` in this scope [INFO] [stdout] --> src/main.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | SetDIBits( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope [INFO] [stdout] --> src/main.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | DIB_RGB_COLORS, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/main.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | let h_mdc = CreateCompatibleDC(hdc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | SelectObject(h_mdc, h_bmp as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/main.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | BitBlt( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/main.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | SRCCOPY, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope [INFO] [stdout] --> src/main.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | DeleteDC(h_mdc); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | DeleteObject(h_bmp as *mut c_void); [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:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | EndPaint(h_wnd, &ps); [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/main.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | MessageBoxW( [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/main.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | MB_OK, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 86 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, 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/main.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | static mut H_WINDOW: HWND = ptr::null_mut(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | static mut H_FONT: HFONT = ptr::null_mut(); [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:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let wnd_class = WNDCLASSW { [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/main.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | hIcon: LoadIconW(ptr::null_mut(), 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/main.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | hIcon: LoadIconW(ptr::null_mut(), 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/main.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | hCursor: LoadCursorW(ptr::null_mut(), 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/main.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | hCursor: LoadCursorW(ptr::null_mut(), 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 `GetSysColorBrush` in this scope [INFO] [stdout] --> src/main.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | hbrBackground: GetSysColorBrush(COLOR_MENUBAR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COLOR_MENUBAR` in this scope [INFO] [stdout] --> src/main.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | hbrBackground: GetSysColorBrush(COLOR_MENUBAR), [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:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | 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/main.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | H_WINDOW = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPED` in this scope [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> src/main.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> src/main.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 66 | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | 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/main.rs:66:55 [INFO] [stdout] | [INFO] [stdout] 66 | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_VISIBLE, [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:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | 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:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | CW_USEDEFAULT, [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:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | ShowWindow(H_WINDOW, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/main.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | ShowWindow(H_WINDOW, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | UpdateWindow(H_WINDOW); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | let mut msg = init::(); [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:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | if GetMessageW(&mut msg, ptr::null_mut(), 0, 0) == 0 { [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:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | 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:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | DispatchMessageW(&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/main.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | h_wnd: 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/main.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | msg: 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/main.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | w_param: 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/main.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | l_param: LPARAM, [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/main.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 99 | ) -> LRESULT { [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:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | return DefWindowProcW(h_wnd, msg, w_param, l_param); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | DeleteObject(H_FONT as *mut c_void); [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:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | 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:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | _ => return DefWindowProcW(h_wnd, msg, w_param, l_param), [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/main.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | unsafe fn create(h_wnd: HWND) -> Result<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFontW` in this scope [INFO] [stdout] --> src/main.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | H_FONT = CreateFontW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_CHARSET` in this scope [INFO] [stdout] --> src/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | DEFAULT_CHARSET, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OUT_DEFAULT_PRECIS` in this scope [INFO] [stdout] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | OUT_DEFAULT_PRECIS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLIP_DEFAULT_PRECIS` in this scope [INFO] [stdout] --> src/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | CLIP_DEFAULT_PRECIS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_QUALITY` in this scope [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | DEFAULT_QUALITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_PITCH` in this scope [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | DEFAULT_PITCH | FF_DONTCARE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FF_DONTCARE` in this scope [INFO] [stdout] --> src/main.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | DEFAULT_PITCH | FF_DONTCARE, [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/main.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | unsafe fn create_button(h_wnd: HWND) -> Result<()> { [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:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | let h_button = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> src/main.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, [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/main.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BS_PUSHBUTTON` in this scope [INFO] [stdout] --> src/main.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, [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/main.rs:160:27 [INFO] [stdout] | [INFO] [stdout] 160 | ID_OPEN_BUTTON as HMENU, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | SendMessageW(h_button, WM_SETFONT, H_FONT as WPARAM, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETFONT` in this scope [INFO] [stdout] --> src/main.rs:165:28 [INFO] [stdout] | [INFO] [stdout] 165 | SendMessageW(h_button, WM_SETFONT, H_FONT as WPARAM, 0); [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/main.rs:165:50 [INFO] [stdout] | [INFO] [stdout] 165 | SendMessageW(h_button, WM_SETFONT, H_FONT as WPARAM, 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/main.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | unsafe fn command(h_wnd: HWND, w_param: WPARAM) -> Result<()> { [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/main.rs:169:41 [INFO] [stdout] | [INFO] [stdout] 169 | unsafe fn command(h_wnd: HWND, w_param: WPARAM) -> Result<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/main.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | let msg = HIWORD(w_param as u32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/main.rs:171:14 [INFO] [stdout] | [INFO] [stdout] 171 | let id = LOWORD(w_param as u32) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BN_CLICKED` in this scope [INFO] [stdout] --> src/main.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | if msg == BN_CLICKED { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/main.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | let rc = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/main.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | InvalidateRect(H_WINDOW, &rc, TRUE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:224:35 [INFO] [stdout] | [INFO] [stdout] 224 | InvalidateRect(H_WINDOW, &rc, TRUE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextW` in this scope [INFO] [stdout] --> src/main.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | SetWindowTextW(H_WINDOW, l(file_path).as_ptr()); [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/main.rs:230:30 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe fn open_dialog(h_wnd: HWND) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEW` in this scope [INFO] [stdout] --> src/main.rs:237:28 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe fn open_dialog(h_wnd: HWND) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 237 | let mut ofn = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEW` in this scope [INFO] [stdout] --> src/main.rs:238:38 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe fn open_dialog(h_wnd: HWND) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 238 | ofn.lStructSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OFN_FILEMUSTEXIST` in this scope [INFO] [stdout] --> src/main.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | ofn.Flags = OFN_FILEMUSTEXIST; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOpenFileNameW` in this scope [INFO] [stdout] --> src/main.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | ensure!(GetOpenFileNameW(&mut ofn) != 0, "Cannot get file path."); [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/main.rs:252:24 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn paint(h_wnd: HWND) -> Result<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stdout] --> src/main.rs:253:25 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn paint(h_wnd: HWND) -> Result<()> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 253 | let mut ps = init::(); [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:254:15 [INFO] [stdout] | [INFO] [stdout] 254 | let hdc = BeginPaint(h_wnd, &mut ps); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFO` in this scope [INFO] [stdout] --> src/main.rs:256:27 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn paint(h_wnd: HWND) -> Result<()> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 256 | let mut bi = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/main.rs:257:29 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn paint(h_wnd: HWND) -> Result<()> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 257 | bi.bmiHeader = zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/main.rs:258:42 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn paint(h_wnd: HWND) -> Result<()> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 258 | bi.bmiHeader.biSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope [INFO] [stdout] --> src/main.rs:264:34 [INFO] [stdout] | [INFO] [stdout] 264 | bi.bmiHeader.biCompression = BI_RGB; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope [INFO] [stdout] --> src/main.rs:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | let h_bmp = CreateCompatibleBitmap(hdc, WIDTH, HEIGHT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetDIBits` in this scope [INFO] [stdout] --> src/main.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | SetDIBits( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope [INFO] [stdout] --> src/main.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | DIB_RGB_COLORS, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/main.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | let h_mdc = CreateCompatibleDC(hdc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | SelectObject(h_mdc, h_bmp as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/main.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | BitBlt( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/main.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | SRCCOPY, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope [INFO] [stdout] --> src/main.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | DeleteDC(h_mdc); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | DeleteObject(h_bmp as *mut c_void); [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:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | EndPaint(h_wnd, &ps); [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/main.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | MessageBoxW( [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/main.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | MB_OK, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pinion` [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 86 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, 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" "ab736962c12ca6fd355d3c9d43437cfaf737f799727f13b69f0580f41fc6770f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab736962c12ca6fd355d3c9d43437cfaf737f799727f13b69f0580f41fc6770f", kill_on_drop: false }` [INFO] [stdout] ab736962c12ca6fd355d3c9d43437cfaf737f799727f13b69f0580f41fc6770f