[INFO] cloning repository https://github.com/wayne-stewart/FileX [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wayne-stewart/FileX" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwayne-stewart%2FFileX", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwayne-stewart%2FFileX'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6ac9f254b2df12077e39d8978e6ac4ecc9d6614 [INFO] checking wayne-stewart/FileX against master#893fadd11a52aa26fc19c67ee1b79f03d6a1bed3 for pr-77153 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwayne-stewart%2FFileX" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wayne-stewart/FileX on toolchain 893fadd11a52aa26fc19c67ee1b79f03d6a1bed3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wayne-stewart/FileX [INFO] finished tweaking git repo https://github.com/wayne-stewart/FileX [INFO] tweaked toml for git repo https://github.com/wayne-stewart/FileX written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/wayne-stewart/FileX already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a02850e773af142a20c4b7529a66d16eac0ac5e604450d1a309fc765c277cb10 [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" "a02850e773af142a20c4b7529a66d16eac0ac5e604450d1a309fc765c277cb10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a02850e773af142a20c4b7529a66d16eac0ac5e604450d1a309fc765c277cb10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a02850e773af142a20c4b7529a66d16eac0ac5e604450d1a309fc765c277cb10", kill_on_drop: false }` [INFO] [stdout] a02850e773af142a20c4b7529a66d16eac0ac5e604450d1a309fc765c277cb10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28e4b2d0eca70e05a763d2642d9967eab427888de4eec945614e4e64eb6d0a70 [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" "28e4b2d0eca70e05a763d2642d9967eab427888de4eec945614e4e64eb6d0a70", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking ttf-parser v0.8.2 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Checking fontdue v0.3.2 [INFO] [stderr] Checking filex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/win32.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win32.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | use self::winapi::shared::windef:: { [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/win32.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | use self::winapi::um::wingdi::{ [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/win32.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | use self::winapi::shared::minwindef::{ [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/win32.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | use self::winapi::um::libloaderapi::{ [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/win32.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | use self::winapi::shared::windowsx::{ [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/win32.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | use self::winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::ctypes` [INFO] [stdout] --> src/win32.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | use self::winapi::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 `windows` in `os` [INFO] [stdout] --> src/win32.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win32.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | use self::winapi::shared::windef:: { [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/win32.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | use self::winapi::um::wingdi::{ [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/win32.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | use self::winapi::shared::minwindef::{ [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/win32.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | use self::winapi::um::libloaderapi::{ [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/win32.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | use self::winapi::shared::windowsx::{ [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/win32.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | use self::winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::ctypes` [INFO] [stdout] --> src/win32.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | use self::winapi::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/win32.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | handle: HWND [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/win32.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | info: BITMAPINFO, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stdout] --> src/win32.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | static mut CURSOR_ARROW: HCURSOR = null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stdout] --> src/win32.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | static mut CURSOR_HAND: HCURSOR = null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stdout] --> src/win32.rs:157:26 [INFO] [stdout] | [INFO] [stdout] 157 | static mut CURSOR_IBEAM: HCURSOR = null_mut(); [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/win32.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | CURSOR_ARROW = LoadCursorW(null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/win32.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | CURSOR_ARROW = LoadCursorW(null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/win32.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | CURSOR_HAND = LoadCursorW(null_mut(), IDC_HAND); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_HAND` in this scope [INFO] [stdout] --> src/win32.rs:163:47 [INFO] [stdout] | [INFO] [stdout] 163 | CURSOR_HAND = LoadCursorW(null_mut(), IDC_HAND); [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/win32.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | CURSOR_IBEAM = LoadCursorW(null_mut(), IDC_IBEAM); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_IBEAM` in this scope [INFO] [stdout] --> src/win32.rs:164:48 [INFO] [stdout] | [INFO] [stdout] 164 | CURSOR_IBEAM = LoadCursorW(null_mut(), IDC_IBEAM); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/win32.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | let hinstance = GetModuleHandleW(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/win32.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | let wnd_class = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stdout] --> src/win32.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> src/win32.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> src/win32.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [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/win32.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | hIcon: LoadIconW(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/win32.rs:190:42 [INFO] [stdout] | [INFO] [stdout] 190 | hIcon: LoadIconW(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 `RegisterClassW` in this scope [INFO] [stdout] --> src/win32.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | 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/win32.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | let handle = CreateWindowExW( [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/win32.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | 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/win32.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | WS_OVERLAPPEDWINDOW | 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/win32.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | 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/win32.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | CW_USEDEFAULT, [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/win32.rs:221:49 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe extern "system" fn win32_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/win32.rs:221:60 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe extern "system" fn win32_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/win32.rs:221:75 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe extern "system" fn win32_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/win32.rs:221:92 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe extern "system" fn win32_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/win32.rs:221:103 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe extern "system" fn win32_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 function, tuple struct or tuple variant `SetCursor` in this scope [INFO] [stdout] --> src/win32.rs:228:35 [INFO] [stdout] | [INFO] [stdout] 228 | Cursor::Hand => { SetCursor(CURSOR_HAND); 1 }, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursor` in this scope [INFO] [stdout] --> src/win32.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 229 | Cursor::Arrow => { SetCursor(CURSOR_ARROW); 1 }, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursor` in this scope [INFO] [stdout] --> src/win32.rs:230:36 [INFO] [stdout] | [INFO] [stdout] 230 | Cursor::IBeam => { SetCursor(CURSOR_IBEAM); 1 }, [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/win32.rs:231:37 [INFO] [stdout] | [INFO] [stdout] 231 | Cursor::NotSet => { 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 `PostQuitMessage` in this scope [INFO] [stdout] --> src/win32.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | WM_DESTROY => { PostQuitMessage(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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/win32.rs:243:14 [INFO] [stdout] | [INFO] [stdout] 243 | _ => 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/win32.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 247 | unsafe fn update_window(h_wnd: HWND) { [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/win32.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | InvalidateRect(h_wnd, null_mut(), 0); [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/win32.rs:256:46 [INFO] [stdout] | [INFO] [stdout] 253 | fn run_message_loop (window: &mut Window) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 256 | let mut msg = mem::MaybeUninit::::zeroed().assume_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/win32.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | if GetMessageW(&mut msg, window.handle, 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/win32.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | 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/win32.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | 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/win32.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe fn handle_wm_char(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/win32.rs:269:45 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe fn handle_wm_char(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/win32.rs:269:60 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe fn handle_wm_char(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/win32.rs:269:78 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe fn handle_wm_char(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/win32.rs:269:89 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe fn handle_wm_char(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 `HWND` in this scope [INFO] [stdout] --> src/win32.rs:276:36 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe fn handle_wm_keydown(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/win32.rs:276:47 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe fn handle_wm_keydown(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/win32.rs:276:62 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe fn handle_wm_keydown(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/win32.rs:276:79 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe fn handle_wm_keydown(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/win32.rs:276:90 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe fn handle_wm_keydown(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 function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/win32.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | _ => 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/win32.rs:288:39 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe fn handle_wm_mouse_move(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/win32.rs:288:51 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe fn handle_wm_mouse_move(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/win32.rs:288:67 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe fn handle_wm_mouse_move(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/win32.rs:288:84 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe fn handle_wm_mouse_move(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/win32.rs:288:95 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe fn handle_wm_mouse_move(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 function, tuple struct or tuple variant `GET_X_LPARAM` in this scope [INFO] [stdout] --> src/win32.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | let mouse_x = GET_X_LPARAM(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 `GET_Y_LPARAM` in this scope [INFO] [stdout] --> src/win32.rs:290:19 [INFO] [stdout] | [INFO] [stdout] 290 | let mouse_y = GET_Y_LPARAM(l_param); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/win32.rs:292:46 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe fn handle_wm_mouse_move(h_wnd: HWND, _msg: UINT, _w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 292 | let mut client_rect = mem::MaybeUninit::::zeroed().assume_init(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/win32.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | GetClientRect(h_wnd, &mut client_rect); [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/win32.rs:321:41 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn handle_wm_button_click(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/win32.rs:321:52 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn handle_wm_button_click(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/win32.rs:321:68 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn handle_wm_button_click(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/win32.rs:321:85 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn handle_wm_button_click(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/win32.rs:321:96 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn handle_wm_button_click(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 function, tuple struct or tuple variant `GET_X_LPARAM` in this scope [INFO] [stdout] --> src/win32.rs:322:19 [INFO] [stdout] | [INFO] [stdout] 322 | let mouse_x = GET_X_LPARAM(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 `GET_Y_LPARAM` in this scope [INFO] [stdout] --> src/win32.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 323 | let mouse_y = GET_Y_LPARAM(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/win32.rs:333:27 [INFO] [stdout] | [INFO] [stdout] 333 | fn handle_wm_paint(h_wnd: HWND) -> 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/win32.rs:333:36 [INFO] [stdout] | [INFO] [stdout] 333 | fn handle_wm_paint(h_wnd: HWND) -> LRESULT { [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/win32.rs:335:42 [INFO] [stdout] | [INFO] [stdout] 333 | fn handle_wm_paint(h_wnd: HWND) -> LRESULT { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 334 | unsafe { [INFO] [stdout] 335 | let mut ps = mem::MaybeUninit::::zeroed().assume_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/win32.rs:336:19 [INFO] [stdout] | [INFO] [stdout] 336 | let hdc = BeginPaint(h_wnd, &mut ps); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StretchDIBits` in this scope [INFO] [stdout] --> src/win32.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | StretchDIBits( [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/win32.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | DIB_RGB_COLORS, [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/win32.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | SRCCOPY); [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/win32.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | EndPaint(h_wnd, &ps); [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/win32.rs:357:26 [INFO] [stdout] | [INFO] [stdout] 357 | fn handle_wm_size(h_wnd: HWND) -> 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/win32.rs:357:35 [INFO] [stdout] | [INFO] [stdout] 357 | fn handle_wm_size(h_wnd: HWND) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/win32.rs:361:50 [INFO] [stdout] | [INFO] [stdout] 357 | fn handle_wm_size(h_wnd: HWND) -> LRESULT { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 361 | let mut client_rect = mem::MaybeUninit::::zeroed().assume_init(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/win32.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | GetClientRect(h_wnd, &mut client_rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope [INFO] [stdout] --> src/win32.rs:374:15 [INFO] [stdout] | [INFO] [stdout] 374 | info: BITMAPINFO { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/win32.rs:375:24 [INFO] [stdout] | [INFO] [stdout] 375 | bmiHeader: BITMAPINFOHEADER { [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/win32.rs:376:40 [INFO] [stdout] | [INFO] [stdout] 371 | const fn create_win32_compatible_pixel_buffer() -> Win32PixelBuffer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 376 | 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/win32.rs:381:32 [INFO] [stdout] | [INFO] [stdout] 381 | biCompression: BI_RGB, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RGBQUAD` in this scope [INFO] [stdout] --> src/win32.rs:388:25 [INFO] [stdout] | [INFO] [stdout] 388 | bmiColors: [RGBQUAD { rgbBlue: 0, rgbGreen: 0, rgbRed: 0, rgbReserved: 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/win32.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | handle: HWND [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/win32.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | info: BITMAPINFO, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stdout] --> src/win32.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | static mut CURSOR_ARROW: HCURSOR = null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stdout] --> src/win32.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | static mut CURSOR_HAND: HCURSOR = null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stdout] --> src/win32.rs:157:26 [INFO] [stdout] | [INFO] [stdout] 157 | static mut CURSOR_IBEAM: HCURSOR = null_mut(); [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/win32.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | CURSOR_ARROW = LoadCursorW(null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/win32.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | CURSOR_ARROW = LoadCursorW(null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/win32.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | CURSOR_HAND = LoadCursorW(null_mut(), IDC_HAND); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_HAND` in this scope [INFO] [stdout] --> src/win32.rs:163:47 [INFO] [stdout] | [INFO] [stdout] 163 | CURSOR_HAND = LoadCursorW(null_mut(), IDC_HAND); [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/win32.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | CURSOR_IBEAM = LoadCursorW(null_mut(), IDC_IBEAM); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_IBEAM` in this scope [INFO] [stdout] --> src/win32.rs:164:48 [INFO] [stdout] | [INFO] [stdout] 164 | CURSOR_IBEAM = LoadCursorW(null_mut(), IDC_IBEAM); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/win32.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | let hinstance = GetModuleHandleW(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/win32.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | let wnd_class = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stdout] --> src/win32.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> src/win32.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> src/win32.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [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/win32.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | hIcon: LoadIconW(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/win32.rs:190:42 [INFO] [stdout] | [INFO] [stdout] 190 | hIcon: LoadIconW(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 `RegisterClassW` in this scope [INFO] [stdout] --> src/win32.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | 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/win32.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | let handle = CreateWindowExW( [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/win32.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | 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/win32.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | WS_OVERLAPPEDWINDOW | 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/win32.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | 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/win32.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | CW_USEDEFAULT, [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/win32.rs:221:49 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe extern "system" fn win32_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/win32.rs:221:60 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe extern "system" fn win32_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/win32.rs:221:75 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe extern "system" fn win32_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/win32.rs:221:92 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe extern "system" fn win32_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/win32.rs:221:103 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe extern "system" fn win32_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 function, tuple struct or tuple variant `SetCursor` in this scope [INFO] [stdout] --> src/win32.rs:228:35 [INFO] [stdout] | [INFO] [stdout] 228 | Cursor::Hand => { SetCursor(CURSOR_HAND); 1 }, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursor` in this scope [INFO] [stdout] --> src/win32.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 229 | Cursor::Arrow => { SetCursor(CURSOR_ARROW); 1 }, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursor` in this scope [INFO] [stdout] --> src/win32.rs:230:36 [INFO] [stdout] | [INFO] [stdout] 230 | Cursor::IBeam => { SetCursor(CURSOR_IBEAM); 1 }, [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/win32.rs:231:37 [INFO] [stdout] | [INFO] [stdout] 231 | Cursor::NotSet => { 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 `PostQuitMessage` in this scope [INFO] [stdout] --> src/win32.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | WM_DESTROY => { PostQuitMessage(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 `DefWindowProcW` in this scope [INFO] [stdout] --> src/win32.rs:243:14 [INFO] [stdout] | [INFO] [stdout] 243 | _ => 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/win32.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 247 | unsafe fn update_window(h_wnd: HWND) { [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/win32.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | InvalidateRect(h_wnd, null_mut(), 0); [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/win32.rs:256:46 [INFO] [stdout] | [INFO] [stdout] 253 | fn run_message_loop (window: &mut Window) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 256 | let mut msg = mem::MaybeUninit::::zeroed().assume_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/win32.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | if GetMessageW(&mut msg, window.handle, 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/win32.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | 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/win32.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | 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/win32.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe fn handle_wm_char(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/win32.rs:269:45 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe fn handle_wm_char(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/win32.rs:269:60 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe fn handle_wm_char(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/win32.rs:269:78 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe fn handle_wm_char(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/win32.rs:269:89 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe fn handle_wm_char(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 `HWND` in this scope [INFO] [stdout] --> src/win32.rs:276:36 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe fn handle_wm_keydown(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/win32.rs:276:47 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe fn handle_wm_keydown(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/win32.rs:276:62 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe fn handle_wm_keydown(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/win32.rs:276:79 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe fn handle_wm_keydown(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/win32.rs:276:90 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe fn handle_wm_keydown(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 function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/win32.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | _ => 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/win32.rs:288:39 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe fn handle_wm_mouse_move(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/win32.rs:288:51 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe fn handle_wm_mouse_move(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/win32.rs:288:67 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe fn handle_wm_mouse_move(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/win32.rs:288:84 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe fn handle_wm_mouse_move(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/win32.rs:288:95 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe fn handle_wm_mouse_move(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 function, tuple struct or tuple variant `GET_X_LPARAM` in this scope [INFO] [stdout] --> src/win32.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | let mouse_x = GET_X_LPARAM(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 `GET_Y_LPARAM` in this scope [INFO] [stdout] --> src/win32.rs:290:19 [INFO] [stdout] | [INFO] [stdout] 290 | let mouse_y = GET_Y_LPARAM(l_param); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/win32.rs:292:46 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe fn handle_wm_mouse_move(h_wnd: HWND, _msg: UINT, _w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 292 | let mut client_rect = mem::MaybeUninit::::zeroed().assume_init(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/win32.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | GetClientRect(h_wnd, &mut client_rect); [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/win32.rs:321:41 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn handle_wm_button_click(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/win32.rs:321:52 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn handle_wm_button_click(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/win32.rs:321:68 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn handle_wm_button_click(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/win32.rs:321:85 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn handle_wm_button_click(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/win32.rs:321:96 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn handle_wm_button_click(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 function, tuple struct or tuple variant `GET_X_LPARAM` in this scope [INFO] [stdout] --> src/win32.rs:322:19 [INFO] [stdout] | [INFO] [stdout] 322 | let mouse_x = GET_X_LPARAM(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 `GET_Y_LPARAM` in this scope [INFO] [stdout] --> src/win32.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 323 | let mouse_y = GET_Y_LPARAM(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/win32.rs:333:27 [INFO] [stdout] | [INFO] [stdout] 333 | fn handle_wm_paint(h_wnd: HWND) -> 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/win32.rs:333:36 [INFO] [stdout] | [INFO] [stdout] 333 | fn handle_wm_paint(h_wnd: HWND) -> LRESULT { [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/win32.rs:335:42 [INFO] [stdout] | [INFO] [stdout] 333 | fn handle_wm_paint(h_wnd: HWND) -> LRESULT { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 334 | unsafe { [INFO] [stdout] 335 | let mut ps = mem::MaybeUninit::::zeroed().assume_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/win32.rs:336:19 [INFO] [stdout] | [INFO] [stdout] 336 | let hdc = BeginPaint(h_wnd, &mut ps); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StretchDIBits` in this scope [INFO] [stdout] --> src/win32.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | StretchDIBits( [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/win32.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | DIB_RGB_COLORS, [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/win32.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | SRCCOPY); [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/win32.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | EndPaint(h_wnd, &ps); [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/win32.rs:357:26 [INFO] [stdout] | [INFO] [stdout] 357 | fn handle_wm_size(h_wnd: HWND) -> 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/win32.rs:357:35 [INFO] [stdout] | [INFO] [stdout] 357 | fn handle_wm_size(h_wnd: HWND) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/win32.rs:361:50 [INFO] [stdout] | [INFO] [stdout] 357 | fn handle_wm_size(h_wnd: HWND) -> LRESULT { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 361 | let mut client_rect = mem::MaybeUninit::::zeroed().assume_init(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/win32.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | GetClientRect(h_wnd, &mut client_rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope [INFO] [stdout] --> src/win32.rs:374:15 [INFO] [stdout] | [INFO] [stdout] 374 | info: BITMAPINFO { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/win32.rs:375:24 [INFO] [stdout] | [INFO] [stdout] 375 | bmiHeader: BITMAPINFOHEADER { [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/win32.rs:376:40 [INFO] [stdout] | [INFO] [stdout] 371 | const fn create_win32_compatible_pixel_buffer() -> Win32PixelBuffer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 376 | 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/win32.rs:381:32 [INFO] [stdout] | [INFO] [stdout] 381 | biCompression: BI_RGB, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RGBQUAD` in this scope [INFO] [stdout] --> src/win32.rs:388:25 [INFO] [stdout] | [INFO] [stdout] 388 | bmiColors: [RGBQUAD { rgbBlue: 0, rgbGreen: 0, rgbRed: 0, rgbReserved: 0 }]} [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/win32.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | OsStr::new(value).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 94 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `filex` [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[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/win32.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | OsStr::new(value).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 94 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [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" "28e4b2d0eca70e05a763d2642d9967eab427888de4eec945614e4e64eb6d0a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28e4b2d0eca70e05a763d2642d9967eab427888de4eec945614e4e64eb6d0a70", kill_on_drop: false }` [INFO] [stdout] 28e4b2d0eca70e05a763d2642d9967eab427888de4eec945614e4e64eb6d0a70