[INFO] fetching crate sapp-windows 0.2.15... [INFO] checking sapp-windows-0.2.15 against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] extracting crate sapp-windows 0.2.15 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate sapp-windows 0.2.15 on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sapp-windows 0.2.15 [INFO] finished tweaking crates.io crate sapp-windows 0.2.15 [INFO] tweaked toml for crates.io crate sapp-windows 0.2.15 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 727086b41a71d9bae4e0fe9866042461ebbe1c8af9a25ca3e8937679328bfc16 [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" "727086b41a71d9bae4e0fe9866042461ebbe1c8af9a25ca3e8937679328bfc16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "727086b41a71d9bae4e0fe9866042461ebbe1c8af9a25ca3e8937679328bfc16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "727086b41a71d9bae4e0fe9866042461ebbe1c8af9a25ca3e8937679328bfc16", kill_on_drop: false }` [INFO] [stdout] 727086b41a71d9bae4e0fe9866042461ebbe1c8af9a25ca3e8937679328bfc16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9149634bf96a40e05fb3d6ea258a69ab3ab6fa3c3a1db6b725d44ab926896a6 [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" "a9149634bf96a40e05fb3d6ea258a69ab3ab6fa3c3a1db6b725d44ab926896a6", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking sapp-windows v0.2.15 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/clipboard.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winbase::{GlobalAlloc, GlobalLock, GlobalSize, GlobalUnlock, GMEM_MOVEABLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/clipboard.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::CF_UNICODETEXT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/clipboard.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser::{ [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/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::GetProcAddress` [INFO] [stdout] --> src/gl.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{GetProcAddress, _sapp_opengl32, _sapp_wglGetProcAddress}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `GetProcAddress` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/clipboard.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winbase::{GlobalAlloc, GlobalLock, GlobalSize, GlobalUnlock, GMEM_MOVEABLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/clipboard.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::CF_UNICODETEXT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/clipboard.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser::{ [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/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::GetProcAddress` [INFO] [stdout] --> src/gl.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{GetProcAddress, _sapp_opengl32, _sapp_wglGetProcAddress}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `GetProcAddress` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `SC_MONITORPOWER` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:698:21 [INFO] [stdout] | [INFO] [stdout] 698 | SC_SCREENSAVE | SC_MONITORPOWER => { [INFO] [stdout] | ^^^^^^^^^^^^^ --------------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `SC_MONITORPOWER` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::SC_MONITORPOWER` [INFO] [stdout] --> src/lib.rs:698:37 [INFO] [stdout] | [INFO] [stdout] 698 | SC_SCREENSAVE | SC_MONITORPOWER => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `SC_SCREENSAVE` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:698:37 [INFO] [stdout] | [INFO] [stdout] 698 | SC_SCREENSAVE | SC_MONITORPOWER => { [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ pattern doesn't bind `SC_SCREENSAVE` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::SC_SCREENSAVE` [INFO] [stdout] --> src/lib.rs:698:21 [INFO] [stdout] | [INFO] [stdout] 698 | SC_SCREENSAVE | SC_MONITORPOWER => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:832:26 [INFO] [stdout] | [INFO] [stdout] 832 | WM_KEYDOWN | WM_SYSKEYDOWN => _sapp_win32_key_event( [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ pattern doesn't bind `WM_KEYDOWN` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_KEYDOWN` [INFO] [stdout] --> src/lib.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | WM_KEYDOWN | WM_SYSKEYDOWN => _sapp_win32_key_event( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_SYSKEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | WM_KEYDOWN | WM_SYSKEYDOWN => _sapp_win32_key_event( [INFO] [stdout] | ^^^^^^^^^^ ------------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_SYSKEYDOWN` [INFO] [stdout] --> src/lib.rs:832:26 [INFO] [stdout] | [INFO] [stdout] 832 | WM_KEYDOWN | WM_SYSKEYDOWN => _sapp_win32_key_event( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYUP` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:837:24 [INFO] [stdout] | [INFO] [stdout] 837 | WM_KEYUP | WM_SYSKEYUP => _sapp_win32_key_event( [INFO] [stdout] | -------- ^^^^^^^^^^^ pattern doesn't bind `WM_KEYUP` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_KEYUP` [INFO] [stdout] --> src/lib.rs:837:13 [INFO] [stdout] | [INFO] [stdout] 837 | WM_KEYUP | WM_SYSKEYUP => _sapp_win32_key_event( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_SYSKEYUP` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:837:13 [INFO] [stdout] | [INFO] [stdout] 837 | WM_KEYUP | WM_SYSKEYUP => _sapp_win32_key_event( [INFO] [stdout] | ^^^^^^^^ ----------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `WM_SYSKEYUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_SYSKEYUP` [INFO] [stdout] --> src/lib.rs:837:24 [INFO] [stdout] | [INFO] [stdout] 837 | WM_KEYUP | WM_SYSKEYUP => _sapp_win32_key_event( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `SC_MONITORPOWER` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:698:21 [INFO] [stdout] | [INFO] [stdout] 698 | SC_SCREENSAVE | SC_MONITORPOWER => { [INFO] [stdout] | ^^^^^^^^^^^^^ --------------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `SC_MONITORPOWER` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::SC_MONITORPOWER` [INFO] [stdout] --> src/lib.rs:698:37 [INFO] [stdout] | [INFO] [stdout] 698 | SC_SCREENSAVE | SC_MONITORPOWER => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `SC_SCREENSAVE` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:698:37 [INFO] [stdout] | [INFO] [stdout] 698 | SC_SCREENSAVE | SC_MONITORPOWER => { [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ pattern doesn't bind `SC_SCREENSAVE` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::SC_SCREENSAVE` [INFO] [stdout] --> src/lib.rs:698:21 [INFO] [stdout] | [INFO] [stdout] 698 | SC_SCREENSAVE | SC_MONITORPOWER => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:832:26 [INFO] [stdout] | [INFO] [stdout] 832 | WM_KEYDOWN | WM_SYSKEYDOWN => _sapp_win32_key_event( [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ pattern doesn't bind `WM_KEYDOWN` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_KEYDOWN` [INFO] [stdout] --> src/lib.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | WM_KEYDOWN | WM_SYSKEYDOWN => _sapp_win32_key_event( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_SYSKEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | WM_KEYDOWN | WM_SYSKEYDOWN => _sapp_win32_key_event( [INFO] [stdout] | ^^^^^^^^^^ ------------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `WM_SYSKEYDOWN` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_SYSKEYDOWN` [INFO] [stdout] --> src/lib.rs:832:26 [INFO] [stdout] | [INFO] [stdout] 832 | WM_KEYDOWN | WM_SYSKEYDOWN => _sapp_win32_key_event( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYUP` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:837:24 [INFO] [stdout] | [INFO] [stdout] 837 | WM_KEYUP | WM_SYSKEYUP => _sapp_win32_key_event( [INFO] [stdout] | -------- ^^^^^^^^^^^ pattern doesn't bind `WM_KEYUP` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_KEYUP` [INFO] [stdout] --> src/lib.rs:837:13 [INFO] [stdout] | [INFO] [stdout] 837 | WM_KEYUP | WM_SYSKEYUP => _sapp_win32_key_event( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_SYSKEYUP` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:837:13 [INFO] [stdout] | [INFO] [stdout] 837 | WM_KEYUP | WM_SYSKEYUP => _sapp_win32_key_event( [INFO] [stdout] | ^^^^^^^^ ----------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `WM_SYSKEYUP` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_SYSKEYUP` [INFO] [stdout] --> src/lib.rs:837:24 [INFO] [stdout] | [INFO] [stdout] 837 | WM_KEYUP | WM_SYSKEYUP => _sapp_win32_key_event( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenClipboard` in this scope [INFO] [stdout] --> src/clipboard.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let result = OpenClipboard(ptr::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 `CloseClipboard` in this scope [INFO] [stdout] --> src/clipboard.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | CloseClipboard(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClipboardData` in this scope [INFO] [stdout] --> src/clipboard.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let clipboard_data = GetClipboardData(CF_UNICODETEXT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CF_UNICODETEXT` in this scope [INFO] [stdout] --> src/clipboard.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | let clipboard_data = GetClipboardData(CF_UNICODETEXT); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalLock` in this scope [INFO] [stdout] --> src/clipboard.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let data_ptr = GlobalLock(clipboard_data) as *const u8; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalSize` in this scope [INFO] [stdout] --> src/clipboard.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let data_size = GlobalSize(clipboard_data) as usize; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalAlloc` in this scope [INFO] [stdout] --> src/clipboard.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | let alloc_handle = GlobalAlloc(GMEM_MOVEABLE, len); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GMEM_MOVEABLE` in this scope [INFO] [stdout] --> src/clipboard.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | let alloc_handle = GlobalAlloc(GMEM_MOVEABLE, len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalLock` in this scope [INFO] [stdout] --> src/clipboard.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | let lock = GlobalLock(alloc_handle) as *mut u8; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalUnlock` in this scope [INFO] [stdout] --> src/clipboard.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | GlobalUnlock(lock as _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EmptyClipboard` in this scope [INFO] [stdout] --> src/clipboard.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | EmptyClipboard(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetClipboardData` in this scope [INFO] [stdout] --> src/clipboard.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | SetClipboardData(CF_UNICODETEXT, alloc_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CF_UNICODETEXT` in this scope [INFO] [stdout] --> src/clipboard.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | SetClipboardData(CF_UNICODETEXT, alloc_handle); [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/lib.rs:322:30 [INFO] [stdout] | [INFO] [stdout] 322 | static mut _sapp_win32_hwnd: HWND = std::ptr::null_mut(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | static mut _sapp_win32_dc: HDC = std::ptr::null_mut(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/lib.rs:325:28 [INFO] [stdout] | [INFO] [stdout] 325 | static mut _sapp_opengl32: HINSTANCE = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> src/lib.rs:326:26 [INFO] [stdout] | [INFO] [stdout] 326 | static mut _sapp_gl_ctx: HGLRC = std::ptr::null_mut(); [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/lib.rs:327:34 [INFO] [stdout] | [INFO] [stdout] 327 | static mut _sapp_win32_msg_hwnd: HWND = std::ptr::null_mut(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:328:32 [INFO] [stdout] | [INFO] [stdout] 328 | static mut _sapp_win32_msg_dc: HDC = std::ptr::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/lib.rs:329:26 [INFO] [stdout] | [INFO] [stdout] 329 | static mut _sapp_cursor: HCURSOR = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_DPI_AWARENESS` in this scope [INFO] [stdout] --> src/lib.rs:338:27 [INFO] [stdout] | [INFO] [stdout] 338 | extern "system" fn(_: PROCESS_DPI_AWARENESS) -> HRESULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/lib.rs:338:53 [INFO] [stdout] | [INFO] [stdout] 338 | extern "system" fn(_: PROCESS_DPI_AWARENESS) -> HRESULT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/lib.rs:341:27 [INFO] [stdout] | [INFO] [stdout] 341 | extern "system" fn(_: HMONITOR, _: MONITOR_DPI_TYPE, _: *mut UINT, _: *mut UINT) -> HRESULT, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITOR_DPI_TYPE` in this scope [INFO] [stdout] --> src/lib.rs:341:40 [INFO] [stdout] | [INFO] [stdout] 341 | extern "system" fn(_: HMONITOR, _: MONITOR_DPI_TYPE, _: *mut UINT, _: *mut UINT) -> HRESULT, [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/lib.rs:341:66 [INFO] [stdout] | [INFO] [stdout] 341 | extern "system" fn(_: HMONITOR, _: MONITOR_DPI_TYPE, _: *mut UINT, _: *mut UINT) -> HRESULT, [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/lib.rs:341:80 [INFO] [stdout] | [INFO] [stdout] 341 | extern "system" fn(_: HMONITOR, _: MONITOR_DPI_TYPE, _: *mut UINT, _: *mut UINT) -> HRESULT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/lib.rs:341:89 [INFO] [stdout] | [INFO] [stdout] 341 | extern "system" fn(_: HMONITOR, _: MONITOR_DPI_TYPE, _: *mut UINT, _: *mut UINT) -> HRESULT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:343:65 [INFO] [stdout] | [INFO] [stdout] 343 | static mut _sapp_wglCreateContext: Option HGLRC> = None; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> src/lib.rs:343:73 [INFO] [stdout] | [INFO] [stdout] 343 | static mut _sapp_wglCreateContext: Option HGLRC> = None; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> src/lib.rs:344:65 [INFO] [stdout] | [INFO] [stdout] 344 | static mut _sapp_wglDeleteContext: Option bool> = None; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:345:66 [INFO] [stdout] | [INFO] [stdout] 345 | static mut _sapp_wglGetProcAddress: Option PROC> = None; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROC` in this scope [INFO] [stdout] --> src/lib.rs:345:77 [INFO] [stdout] | [INFO] [stdout] 345 | static mut _sapp_wglGetProcAddress: Option PROC> = None; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:346:66 [INFO] [stdout] | [INFO] [stdout] 346 | static mut _sapp_wglGetCurrentDC: Option HDC> = None; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:347:63 [INFO] [stdout] | [INFO] [stdout] 347 | static mut _sapp_wglMakeCurrent: Option bool> = None; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> src/lib.rs:347:71 [INFO] [stdout] | [INFO] [stdout] 347 | static mut _sapp_wglMakeCurrent: Option bool> = None; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:350:27 [INFO] [stdout] | [INFO] [stdout] 350 | extern "system" fn(_: HDC, _: INT, _: INT, _: UINT, _: *const INT, _: *mut INT) -> bool, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT` in this scope [INFO] [stdout] --> src/lib.rs:350:35 [INFO] [stdout] | [INFO] [stdout] 350 | extern "system" fn(_: HDC, _: INT, _: INT, _: UINT, _: *const INT, _: *mut INT) -> bool, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT` in this scope [INFO] [stdout] --> src/lib.rs:350:43 [INFO] [stdout] | [INFO] [stdout] 350 | extern "system" fn(_: HDC, _: INT, _: INT, _: UINT, _: *const INT, _: *mut INT) -> bool, [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/lib.rs:350:51 [INFO] [stdout] | [INFO] [stdout] 350 | extern "system" fn(_: HDC, _: INT, _: INT, _: UINT, _: *const INT, _: *mut INT) -> bool, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT` in this scope [INFO] [stdout] --> src/lib.rs:350:67 [INFO] [stdout] | [INFO] [stdout] 350 | extern "system" fn(_: HDC, _: INT, _: INT, _: UINT, _: *const INT, _: *mut INT) -> bool, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT` in this scope [INFO] [stdout] --> src/lib.rs:350:80 [INFO] [stdout] | [INFO] [stdout] 350 | extern "system" fn(_: HDC, _: INT, _: INT, _: UINT, _: *const INT, _: *mut INT) -> bool, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:353:71 [INFO] [stdout] | [INFO] [stdout] 353 | static mut _sapp_GetExtensionsStringARB: Option *const i8> = None; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:355:27 [INFO] [stdout] | [INFO] [stdout] 355 | extern "system" fn(_: HDC, _: HGLRC, _: *const INT) -> HGLRC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> src/lib.rs:355:35 [INFO] [stdout] | [INFO] [stdout] 355 | extern "system" fn(_: HDC, _: HGLRC, _: *const INT) -> HGLRC, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT` in this scope [INFO] [stdout] --> src/lib.rs:355:52 [INFO] [stdout] | [INFO] [stdout] 355 | extern "system" fn(_: HDC, _: HGLRC, _: *const INT) -> HGLRC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> src/lib.rs:355:60 [INFO] [stdout] | [INFO] [stdout] 355 | extern "system" fn(_: HDC, _: HGLRC, _: *const INT) -> HGLRC, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT` in this scope [INFO] [stdout] --> src/lib.rs:357:64 [INFO] [stdout] | [INFO] [stdout] 357 | static mut _sapp_SwapIntervalEXT: Option bool> = None; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CURSORINFO` in this scope [INFO] [stdout] --> src/lib.rs:481:26 [INFO] [stdout] | [INFO] [stdout] 481 | let mut cursor_info: CURSORINFO = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CURSORINFO` in this scope [INFO] [stdout] --> src/lib.rs:482:46 [INFO] [stdout] | [INFO] [stdout] 480 | pub unsafe fn sapp_mouse_shown() -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 481 | let mut cursor_info: CURSORINFO = std::mem::zeroed(); [INFO] [stdout] 482 | cursor_info.cbSize = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorInfo` in this scope [INFO] [stdout] --> src/lib.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | GetCursorInfo(&mut cursor_info as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CURSOR_SHOWING` in this scope [INFO] [stdout] --> src/lib.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | cursor_info.flags & CURSOR_SHOWING != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/lib.rs:495:18 [INFO] [stdout] | [INFO] [stdout] 495 | let mut rid: RAWINPUTDEVICE = RAWINPUTDEVICE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/lib.rs:495:35 [INFO] [stdout] | [INFO] [stdout] 495 | let mut rid: RAWINPUTDEVICE = RAWINPUTDEVICE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HID_USAGE_GENERIC_POINTER` in this scope [INFO] [stdout] --> src/lib.rs:496:22 [INFO] [stdout] | [INFO] [stdout] 496 | usUsagePage: HID_USAGE_GENERIC_POINTER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HID_USAGE_GENERIC_MOUSE` in this scope [INFO] [stdout] --> src/lib.rs:497:18 [INFO] [stdout] | [INFO] [stdout] 497 | usUsage: HID_USAGE_GENERIC_MOUSE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDEV_REMOVE` in this scope [INFO] [stdout] --> src/lib.rs:498:39 [INFO] [stdout] | [INFO] [stdout] 498 | dwFlags: if grab { 0 } else { RIDEV_REMOVE }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:499:57 [INFO] [stdout] | [INFO] [stdout] 499 | hwndTarget: if grab { _sapp_win32_hwnd } else { NULL as _ }, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope [INFO] [stdout] --> src/lib.rs:502:8 [INFO] [stdout] | [INFO] [stdout] 502 | if RegisterRawInputDevices( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/lib.rs:505:29 [INFO] [stdout] | [INFO] [stdout] 488 | pub unsafe fn sapp_set_cursor_grab(grab: bool) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 505 | std::mem::size_of::() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClipCursor` in this scope [INFO] [stdout] --> src/lib.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | ClipCursor(NULL as _); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:516:20 [INFO] [stdout] | [INFO] [stdout] 516 | ClipCursor(NULL as _); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowCursor` in this scope [INFO] [stdout] --> src/lib.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | ShowCursor(shown as _); [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/lib.rs:526:32 [INFO] [stdout] | [INFO] [stdout] 526 | SAPP_CURSOR_DEFAULT => IDC_ARROW, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_HELP` in this scope [INFO] [stdout] --> src/lib.rs:527:29 [INFO] [stdout] | [INFO] [stdout] 527 | SAPP_CURSOR_HELP => IDC_HELP, [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/lib.rs:528:32 [INFO] [stdout] | [INFO] [stdout] 528 | SAPP_CURSOR_POINTER => IDC_HAND, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_WAIT` in this scope [INFO] [stdout] --> src/lib.rs:529:29 [INFO] [stdout] | [INFO] [stdout] 529 | SAPP_CURSOR_WAIT => IDC_WAIT, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_CROSS` in this scope [INFO] [stdout] --> src/lib.rs:530:34 [INFO] [stdout] | [INFO] [stdout] 530 | SAPP_CURSOR_CROSSHAIR => IDC_CROSS, [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/lib.rs:531:29 [INFO] [stdout] | [INFO] [stdout] 531 | SAPP_CURSOR_TEXT => IDC_IBEAM, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEALL` in this scope [INFO] [stdout] --> src/lib.rs:532:29 [INFO] [stdout] | [INFO] [stdout] 532 | SAPP_CURSOR_MOVE => IDC_SIZEALL, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_NO` in this scope [INFO] [stdout] --> src/lib.rs:533:35 [INFO] [stdout] | [INFO] [stdout] 533 | SAPP_CURSOR_NOTALLOWED => IDC_NO, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEWE` in this scope [INFO] [stdout] --> src/lib.rs:534:33 [INFO] [stdout] | [INFO] [stdout] 534 | SAPP_CURSOR_EWRESIZE => IDC_SIZEWE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENS` in this scope [INFO] [stdout] --> src/lib.rs:535:33 [INFO] [stdout] | [INFO] [stdout] 535 | SAPP_CURSOR_NSRESIZE => IDC_SIZENS, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENESW` in this scope [INFO] [stdout] --> src/lib.rs:536:35 [INFO] [stdout] | [INFO] [stdout] 536 | SAPP_CURSOR_NESWRESIZE => IDC_SIZENESW, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENWSE` in this scope [INFO] [stdout] --> src/lib.rs:537:35 [INFO] [stdout] | [INFO] [stdout] 537 | SAPP_CURSOR_NWSERESIZE => IDC_SIZENWSE, [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/lib.rs:540:20 [INFO] [stdout] | [INFO] [stdout] 540 | _sapp_cursor = LoadCursorW(NULL as _, cursor_name); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:540:32 [INFO] [stdout] | [INFO] [stdout] 540 | _sapp_cursor = LoadCursorW(NULL as _, cursor_name); [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/lib.rs:541:5 [INFO] [stdout] | [INFO] [stdout] 541 | SetCursor(_sapp_cursor); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/lib.rs:585:8 [INFO] [stdout] | [INFO] [stdout] 585 | if GetKeyState(VK_SHIFT) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_SHIFT` in this scope [INFO] [stdout] --> src/lib.rs:585:20 [INFO] [stdout] | [INFO] [stdout] 585 | if GetKeyState(VK_SHIFT) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/lib.rs:588:8 [INFO] [stdout] | [INFO] [stdout] 588 | if GetKeyState(VK_CONTROL) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stdout] --> src/lib.rs:588:20 [INFO] [stdout] | [INFO] [stdout] 588 | if GetKeyState(VK_CONTROL) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/lib.rs:591:8 [INFO] [stdout] | [INFO] [stdout] 591 | if GetKeyState(VK_MENU) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_MENU` in this scope [INFO] [stdout] --> src/lib.rs:591:20 [INFO] [stdout] | [INFO] [stdout] 591 | if GetKeyState(VK_MENU) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/lib.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | if (GetKeyState(VK_LWIN) | GetKeyState(VK_RWIN)) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LWIN` in this scope [INFO] [stdout] --> src/lib.rs:594:21 [INFO] [stdout] | [INFO] [stdout] 594 | if (GetKeyState(VK_LWIN) | GetKeyState(VK_RWIN)) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/lib.rs:594:32 [INFO] [stdout] | [INFO] [stdout] 594 | if (GetKeyState(VK_LWIN) | GetKeyState(VK_RWIN)) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_RWIN` in this scope [INFO] [stdout] --> src/lib.rs:594:44 [INFO] [stdout] | [INFO] [stdout] 594 | if (GetKeyState(VK_LWIN) | GetKeyState(VK_RWIN)) as u32 & (1u32 << 31) != 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/lib.rs:642:34 [INFO] [stdout] | [INFO] [stdout] 642 | unsafe fn update_clip_rect(hWnd: HWND) { [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/lib.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | let mut rect: RECT = std::mem::zeroed(); [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/lib.rs:647:5 [INFO] [stdout] | [INFO] [stdout] 647 | GetClientRect(hWnd, &mut rect as *mut _ as _); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/lib.rs:648:26 [INFO] [stdout] | [INFO] [stdout] 648 | let mut upper_left = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/lib.rs:652:27 [INFO] [stdout] | [INFO] [stdout] 652 | let mut lower_right = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClientToScreen` in this scope [INFO] [stdout] --> src/lib.rs:657:5 [INFO] [stdout] | [INFO] [stdout] 657 | ClientToScreen(hWnd, &mut upper_left as *mut _ as _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClientToScreen` in this scope [INFO] [stdout] --> src/lib.rs:658:5 [INFO] [stdout] | [INFO] [stdout] 658 | ClientToScreen(hWnd, &mut lower_right as *mut _ as _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetRect` in this scope [INFO] [stdout] --> src/lib.rs:660:5 [INFO] [stdout] | [INFO] [stdout] 660 | SetRect( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClipCursor` in this scope [INFO] [stdout] --> src/lib.rs:667:5 [INFO] [stdout] | [INFO] [stdout] 667 | ClipCursor(&mut rect as *mut _ as _); [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/lib.rs:671:11 [INFO] [stdout] | [INFO] [stdout] 671 | hWnd: 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/lib.rs:672:11 [INFO] [stdout] | [INFO] [stdout] 672 | uMsg: 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/lib.rs:673:13 [INFO] [stdout] | [INFO] [stdout] 673 | wParam: 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/lib.rs:674:13 [INFO] [stdout] | [INFO] [stdout] 674 | lParam: 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/lib.rs:675:6 [INFO] [stdout] | [INFO] [stdout] 675 | ) -> LRESULT { [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/lib.rs:692:21 [INFO] [stdout] | [INFO] [stdout] 692 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SIZE_MINIMIZED` in this scope [INFO] [stdout] --> src/lib.rs:719:43 [INFO] [stdout] | [INFO] [stdout] 719 | let iconified = wParam == SIZE_MINIMIZED; [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/lib.rs:731:24 [INFO] [stdout] | [INFO] [stdout] 731 | if LOWORD(lParam as _) == HTCLIENT as _ { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HTCLIENT` in this scope [INFO] [stdout] --> src/lib.rs:731:47 [INFO] [stdout] | [INFO] [stdout] 731 | if LOWORD(lParam as _) == HTCLIENT as _ { [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/lib.rs:732:25 [INFO] [stdout] | [INFO] [stdout] 732 | SetCursor(_sapp_cursor); [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/lib.rs:764:33 [INFO] [stdout] | [INFO] [stdout] 764 | _sapp.mouse_x = GET_X_LPARAM(lParam) as f32 * _sapp_win32_mouse_scale; [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/lib.rs:765:33 [INFO] [stdout] | [INFO] [stdout] 765 | _sapp.mouse_y = GET_Y_LPARAM(lParam) as f32 * _sapp_win32_mouse_scale; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stdout] --> src/lib.rs:769:34 [INFO] [stdout] | [INFO] [stdout] 769 | let mut tme: TRACKMOUSEEVENT = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TME_LEAVE` in this scope [INFO] [stdout] --> src/lib.rs:772:35 [INFO] [stdout] | [INFO] [stdout] 772 | tme.dwFlags = TME_LEAVE; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackMouseEvent` in this scope [INFO] [stdout] --> src/lib.rs:774:21 [INFO] [stdout] | [INFO] [stdout] 774 | TrackMouseEvent(&mut tme as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stdout] --> src/lib.rs:792:31 [INFO] [stdout] | [INFO] [stdout] 792 | let mut data: RAWINPUT = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stdout] --> src/lib.rs:793:52 [INFO] [stdout] | [INFO] [stdout] 670 | unsafe extern "system" fn win32_wndproc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 793 | let mut size = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputData` in this scope [INFO] [stdout] --> src/lib.rs:794:35 [INFO] [stdout] | [INFO] [stdout] 794 | let get_succeed = GetRawInputData( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RID_INPUT` in this scope [INFO] [stdout] --> src/lib.rs:796:21 [INFO] [stdout] | [INFO] [stdout] 796 | RID_INPUT, [INFO] [stdout] | ^^^^^^^^^ help: a local variable with a similar name exists: `WM_INPUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope [INFO] [stdout] --> src/lib.rs:799:41 [INFO] [stdout] | [INFO] [stdout] 670 | unsafe extern "system" fn win32_wndproc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 799 | std::mem::size_of::() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSE_MOVE_ABSOLUTE` in this scope [INFO] [stdout] --> src/lib.rs:805:48 [INFO] [stdout] | [INFO] [stdout] 805 | if data.data.mouse().usFlags & MOUSE_MOVE_ABSOLUTE == 1 { [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/lib.rs:825:48 [INFO] [stdout] | [INFO] [stdout] 825 | _sapp_win32_scroll_event(0.0, (HIWORD(wParam as _) as i16) as f32); [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/lib.rs:829:43 [INFO] [stdout] | [INFO] [stdout] 829 | _sapp_win32_scroll_event((HIWORD(wParam as _) as i16) as f32, 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 `HIWORD` in this scope [INFO] [stdout] --> src/lib.rs:834:17 [INFO] [stdout] | [INFO] [stdout] 834 | HIWORD(lParam as _) as u32 & 0x1FF, [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/lib.rs:839:17 [INFO] [stdout] | [INFO] [stdout] 839 | HIWORD(lParam as _) as u32 & 0x1FF, [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/lib.rs:846:5 [INFO] [stdout] | [INFO] [stdout] 846 | DefWindowProcW(hWnd, uMsg, wParam, lParam) [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/lib.rs:1046:19 [INFO] [stdout] | [INFO] [stdout] 1046 | let mut rect: RECT = std::mem::zeroed(); [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/lib.rs:1048:8 [INFO] [stdout] | [INFO] [stdout] 1048 | if GetClientRect(_sapp_win32_hwnd, &mut rect as *mut _ as _) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> src/lib.rs:1082:18 [INFO] [stdout] | [INFO] [stdout] 1082 | let user32 = LoadLibraryA(b"user32.dll\0".as_ptr() as *const _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> src/lib.rs:1088:18 [INFO] [stdout] | [INFO] [stdout] 1088 | let shcore = LoadLibraryA(b"shcore.dll\0".as_ptr() as *const _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_SYSTEM_DPI_AWARE` in this scope [INFO] [stdout] --> src/lib.rs:1097:41 [INFO] [stdout] | [INFO] [stdout] 1097 | let mut process_dpi_awareness = PROCESS_SYSTEM_DPI_AWARE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_DPI_UNAWARE` in this scope [INFO] [stdout] --> src/lib.rs:1100:37 [INFO] [stdout] | [INFO] [stdout] 1100 | process_dpi_awareness = PROCESS_DPI_UNAWARE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/lib.rs:1111:22 [INFO] [stdout] | [INFO] [stdout] 1111 | let pt = POINT { x: 1, y: 1 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromPoint` in this scope [INFO] [stdout] --> src/lib.rs:1112:22 [INFO] [stdout] | [INFO] [stdout] 1112 | let hm = MonitorFromPoint(pt, MONITOR_DEFAULTTONEAREST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTONEAREST` in this scope [INFO] [stdout] --> src/lib.rs:1112:43 [INFO] [stdout] | [INFO] [stdout] 1112 | let hm = MonitorFromPoint(pt, MONITOR_DEFAULTTONEAREST); [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/lib.rs:1113:27 [INFO] [stdout] | [INFO] [stdout] 1113 | let mut dpix: UINT = 0; [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/lib.rs:1114:27 [INFO] [stdout] | [INFO] [stdout] 1114 | let mut dpiy: UINT = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MDT_EFFECTIVE_DPI` in this scope [INFO] [stdout] --> src/lib.rs:1117:17 [INFO] [stdout] | [INFO] [stdout] 1117 | MDT_EFFECTIVE_DPI, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> src/lib.rs:1137:9 [INFO] [stdout] | [INFO] [stdout] 1137 | FreeLibrary(user32); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> src/lib.rs:1140:9 [INFO] [stdout] | [INFO] [stdout] 1140 | FreeLibrary(shcore); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSW` in this scope [INFO] [stdout] --> src/lib.rs:1145:24 [INFO] [stdout] | [INFO] [stdout] 1145 | let mut wndclassw: WNDCLASSW = std::mem::zeroed(); [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/lib.rs:1147:23 [INFO] [stdout] | [INFO] [stdout] 1147 | wndclassw.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; [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/lib.rs:1147:36 [INFO] [stdout] | [INFO] [stdout] 1147 | wndclassw.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; [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/lib.rs:1147:49 [INFO] [stdout] | [INFO] [stdout] 1147 | wndclassw.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; [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/lib.rs:1149:27 [INFO] [stdout] | [INFO] [stdout] 1149 | wndclassw.hInstance = GetModuleHandleW(NULL as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1149:44 [INFO] [stdout] | [INFO] [stdout] 1149 | wndclassw.hInstance = GetModuleHandleW(NULL as _); [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/lib.rs:1150:25 [INFO] [stdout] | [INFO] [stdout] 1150 | wndclassw.hCursor = LoadCursorW(NULL as _, IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1150:37 [INFO] [stdout] | [INFO] [stdout] 1150 | wndclassw.hCursor = LoadCursorW(NULL as _, 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/lib.rs:1150:48 [INFO] [stdout] | [INFO] [stdout] 1150 | wndclassw.hCursor = LoadCursorW(NULL as _, 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 `LoadIconW` in this scope [INFO] [stdout] --> src/lib.rs:1151:23 [INFO] [stdout] | [INFO] [stdout] 1151 | wndclassw.hIcon = LoadIconW(NULL as _, IDI_WINLOGO); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1151:33 [INFO] [stdout] | [INFO] [stdout] 1151 | wndclassw.hIcon = LoadIconW(NULL as _, IDI_WINLOGO); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_WINLOGO` in this scope [INFO] [stdout] --> src/lib.rs:1151:44 [INFO] [stdout] | [INFO] [stdout] 1151 | wndclassw.hIcon = LoadIconW(NULL as _, IDI_WINLOGO); [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/lib.rs:1154:5 [INFO] [stdout] | [INFO] [stdout] 1154 | RegisterClassW(&wndclassw); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:1156:20 [INFO] [stdout] | [INFO] [stdout] 1156 | let win_style: DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:1157:23 [INFO] [stdout] | [INFO] [stdout] 1157 | let win_ex_style: DWORD = WS_EX_APPWINDOW | WS_EX_WINDOWEDGE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_APPWINDOW` in this scope [INFO] [stdout] --> src/lib.rs:1157:31 [INFO] [stdout] | [INFO] [stdout] 1157 | let win_ex_style: DWORD = WS_EX_APPWINDOW | WS_EX_WINDOWEDGE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_WINDOWEDGE` in this scope [INFO] [stdout] --> src/lib.rs:1157:49 [INFO] [stdout] | [INFO] [stdout] 1157 | let win_ex_style: DWORD = WS_EX_APPWINDOW | WS_EX_WINDOWEDGE; [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/lib.rs:1158:20 [INFO] [stdout] | [INFO] [stdout] 1158 | let mut rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/lib.rs:1165:21 [INFO] [stdout] | [INFO] [stdout] 1165 | win_style = WS_POPUP | 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/lib.rs:1165:32 [INFO] [stdout] | [INFO] [stdout] 1165 | win_style = WS_POPUP | 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/lib.rs:1165:45 [INFO] [stdout] | [INFO] [stdout] 1165 | win_style = WS_POPUP | WS_SYSMENU | WS_VISIBLE; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/lib.rs:1166:22 [INFO] [stdout] | [INFO] [stdout] 1166 | rect.right = GetSystemMetrics(SM_CXSCREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXSCREEN` in this scope [INFO] [stdout] --> src/lib.rs:1166:39 [INFO] [stdout] | [INFO] [stdout] 1166 | rect.right = GetSystemMetrics(SM_CXSCREEN); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/lib.rs:1167:23 [INFO] [stdout] | [INFO] [stdout] 1167 | rect.bottom = GetSystemMetrics(SM_CYSCREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope [INFO] [stdout] --> src/lib.rs:1167:40 [INFO] [stdout] | [INFO] [stdout] 1167 | rect.bottom = GetSystemMetrics(SM_CYSCREEN); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPSIBLINGS` in this scope [INFO] [stdout] --> src/lib.rs:1169:21 [INFO] [stdout] | [INFO] [stdout] 1169 | win_style = WS_CLIPSIBLINGS [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPCHILDREN` in this scope [INFO] [stdout] --> src/lib.rs:1170:15 [INFO] [stdout] | [INFO] [stdout] 1170 | | WS_CLIPCHILDREN [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/lib.rs:1171:15 [INFO] [stdout] | [INFO] [stdout] 1171 | | WS_CAPTION [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/lib.rs:1172:15 [INFO] [stdout] | [INFO] [stdout] 1172 | | WS_SYSMENU [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> src/lib.rs:1173:15 [INFO] [stdout] | [INFO] [stdout] 1173 | | WS_MINIMIZEBOX [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> src/lib.rs:1174:15 [INFO] [stdout] | [INFO] [stdout] 1174 | | WS_MAXIMIZEBOX [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SIZEBOX` in this scope [INFO] [stdout] --> src/lib.rs:1175:15 [INFO] [stdout] | [INFO] [stdout] 1175 | | WS_SIZEBOX; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustWindowRectEx` in this scope [INFO] [stdout] --> src/lib.rs:1179:5 [INFO] [stdout] | [INFO] [stdout] 1179 | AdjustWindowRectEx(&rect as *const _ as _, win_style, false as _, win_ex_style); [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/lib.rs:1186:24 [INFO] [stdout] | [INFO] [stdout] 1186 | _sapp_win32_hwnd = CreateWindowExW( [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/lib.rs:1191:9 [INFO] [stdout] | [INFO] [stdout] 1191 | CW_USEDEFAULT, // X [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/lib.rs:1192:9 [INFO] [stdout] | [INFO] [stdout] 1192 | CW_USEDEFAULT, // Y [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1195 | NULL as _, // hWndParent [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1196:9 [INFO] [stdout] | [INFO] [stdout] 1196 | NULL 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 `GetModuleHandleW` in this scope [INFO] [stdout] --> src/lib.rs:1197:9 [INFO] [stdout] | [INFO] [stdout] 1197 | GetModuleHandleW(NULL as _), // hInstance [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1197:26 [INFO] [stdout] | [INFO] [stdout] 1197 | GetModuleHandleW(NULL as _), // hInstance [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1198:9 [INFO] [stdout] | [INFO] [stdout] 1198 | NULL as _, // lParam [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/lib.rs:1201:5 [INFO] [stdout] | [INFO] [stdout] 1201 | ShowWindow(_sapp_win32_hwnd, 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/lib.rs:1201:34 [INFO] [stdout] | [INFO] [stdout] 1201 | ShowWindow(_sapp_win32_hwnd, 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 `GetDC` in this scope [INFO] [stdout] --> src/lib.rs:1203:14 [INFO] [stdout] | [INFO] [stdout] 1203 | let dc = GetDC(_sapp_win32_hwnd); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/lib.rs:1210:5 [INFO] [stdout] | [INFO] [stdout] 1210 | DestroyWindow(_sapp_win32_hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassW` in this scope [INFO] [stdout] --> src/lib.rs:1215:5 [INFO] [stdout] | [INFO] [stdout] 1215 | UnregisterClassW(class_name.as_mut_ptr() as _, GetModuleHandleW(NULL as _)); [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/lib.rs:1215:52 [INFO] [stdout] | [INFO] [stdout] 1215 | UnregisterClassW(class_name.as_mut_ptr() as _, GetModuleHandleW(NULL as _)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1215:69 [INFO] [stdout] | [INFO] [stdout] 1215 | UnregisterClassW(class_name.as_mut_ptr() as _, GetModuleHandleW(NULL as _)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/lib.rs:1218:36 [INFO] [stdout] | [INFO] [stdout] 1218 | unsafe fn get_proc_address(lib: HINSTANCE, proc: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:1219:16 [INFO] [stdout] | [INFO] [stdout] 1219 | let proc = GetProcAddress(lib, proc.as_ptr() as *const _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> src/lib.rs:1264:18 [INFO] [stdout] | [INFO] [stdout] 1264 | let mut pfd: PIXELFORMATDESCRIPTOR = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_DRAW_TO_WINDOW` in this scope [INFO] [stdout] --> src/lib.rs:1267:19 [INFO] [stdout] | [INFO] [stdout] 1267 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_SUPPORT_OPENGL` in this scope [INFO] [stdout] --> src/lib.rs:1267:40 [INFO] [stdout] | [INFO] [stdout] 1267 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_DOUBLEBUFFER` in this scope [INFO] [stdout] --> src/lib.rs:1267:61 [INFO] [stdout] | [INFO] [stdout] 1267 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `GL_DOUBLEBUFFER` [INFO] [stdout] | [INFO] [stdout] ::: src/gl.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub const GL_DOUBLEBUFFER: u32 = 3122; [INFO] [stdout] | -------------------------------------- similarly named constant `GL_DOUBLEBUFFER` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_TYPE_RGBA` in this scope [INFO] [stdout] --> src/lib.rs:1268:22 [INFO] [stdout] | [INFO] [stdout] 1268 | pfd.iPixelType = PFD_TYPE_RGBA; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPixelFormat` in this scope [INFO] [stdout] --> src/lib.rs:1270:8 [INFO] [stdout] | [INFO] [stdout] 1270 | if SetPixelFormat( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChoosePixelFormat` in this scope [INFO] [stdout] --> src/lib.rs:1272:9 [INFO] [stdout] | [INFO] [stdout] 1272 | ChoosePixelFormat(_sapp_win32_msg_dc, &pfd), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> src/lib.rs:1504:18 [INFO] [stdout] | [INFO] [stdout] 1504 | let mut pfd: PIXELFORMATDESCRIPTOR = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DescribePixelFormat` in this scope [INFO] [stdout] --> src/lib.rs:1505:8 [INFO] [stdout] | [INFO] [stdout] 1505 | if DescribePixelFormat( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPixelFormat` in this scope [INFO] [stdout] --> src/lib.rs:1514:8 [INFO] [stdout] | [INFO] [stdout] 1514 | if SetPixelFormat(_sapp_win32_dc, pixel_format as _, &pfd) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/lib.rs:1541:19 [INFO] [stdout] | [INFO] [stdout] 1541 | let err = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/lib.rs:1562:5 [INFO] [stdout] | [INFO] [stdout] 1209 | unsafe fn destroy_window() { [INFO] [stdout] | -------------------------- similarly named function `destroy_window` defined here [INFO] [stdout] ... [INFO] [stdout] 1562 | DestroyWindow(_sapp_win32_msg_hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `destroy_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> src/lib.rs:1564:5 [INFO] [stdout] | [INFO] [stdout] 1564 | FreeLibrary(_sapp_opengl32); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> src/lib.rs:1569:22 [INFO] [stdout] | [INFO] [stdout] 1569 | _sapp_opengl32 = LoadLibraryA(b"opengl32.dll\0".as_ptr() as *const _); [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/lib.rs:1591:28 [INFO] [stdout] | [INFO] [stdout] 1591 | _sapp_win32_msg_hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> src/lib.rs:1592:9 [INFO] [stdout] | [INFO] [stdout] 1592 | WS_EX_OVERLAPPEDWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPSIBLINGS` in this scope [INFO] [stdout] --> src/lib.rs:1595:9 [INFO] [stdout] | [INFO] [stdout] 1595 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPCHILDREN` in this scope [INFO] [stdout] --> src/lib.rs:1595:27 [INFO] [stdout] | [INFO] [stdout] 1595 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1600:9 [INFO] [stdout] | [INFO] [stdout] 1600 | NULL as _, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1601:9 [INFO] [stdout] | [INFO] [stdout] 1601 | NULL as _, [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/lib.rs:1602:9 [INFO] [stdout] | [INFO] [stdout] 1602 | GetModuleHandleW(NULL as _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1602:26 [INFO] [stdout] | [INFO] [stdout] 1602 | GetModuleHandleW(NULL as _), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1603:9 [INFO] [stdout] | [INFO] [stdout] 1603 | NULL, [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/lib.rs:1609:5 [INFO] [stdout] | [INFO] [stdout] 1609 | ShowWindow(_sapp_win32_msg_hwnd, SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> src/lib.rs:1609:38 [INFO] [stdout] | [INFO] [stdout] 1609 | ShowWindow(_sapp_win32_msg_hwnd, SW_HIDE); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/lib.rs:1611:11 [INFO] [stdout] | [INFO] [stdout] 1611 | while PeekMessageW(&mut msg as _, _sapp_win32_msg_hwnd, 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> src/lib.rs:1611:67 [INFO] [stdout] | [INFO] [stdout] 1611 | while PeekMessageW(&mut msg as _, _sapp_win32_msg_hwnd, 0, 0, PM_REMOVE) != 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/lib.rs:1612:9 [INFO] [stdout] | [INFO] [stdout] 1612 | 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/lib.rs:1613:9 [INFO] [stdout] | [INFO] [stdout] 1613 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/lib.rs:1615:26 [INFO] [stdout] | [INFO] [stdout] 1615 | _sapp_win32_msg_dc = GetDC(_sapp_win32_msg_hwnd); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SwapBuffers` in this scope [INFO] [stdout] --> src/lib.rs:1625:5 [INFO] [stdout] | [INFO] [stdout] 1625 | SwapBuffers(_sapp_win32_dc); [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/lib.rs:1650:22 [INFO] [stdout] | [INFO] [stdout] 1650 | let mut msg: MSG = std::mem::zeroed(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/lib.rs:1651:15 [INFO] [stdout] | [INFO] [stdout] 1651 | while PeekMessageW(&mut msg as *mut _ as _, NULL as _, 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1651:53 [INFO] [stdout] | [INFO] [stdout] 1651 | while PeekMessageW(&mut msg as *mut _ as _, NULL as _, 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> src/lib.rs:1651:70 [INFO] [stdout] | [INFO] [stdout] 1651 | while PeekMessageW(&mut msg as *mut _ as _, NULL as _, 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stdout] --> src/lib.rs:1652:16 [INFO] [stdout] | [INFO] [stdout] 1652 | if WM_QUIT == msg.message { [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/lib.rs:1656:17 [INFO] [stdout] | [INFO] [stdout] 1656 | TranslateMessage(&mut msg as *mut _ as _); [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/lib.rs:1657:17 [INFO] [stdout] | [INFO] [stdout] 1657 | DispatchMessageW(&mut msg as *mut _ as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/lib.rs:1667:13 [INFO] [stdout] | [INFO] [stdout] 1667 | PostMessageW(_sapp_win32_hwnd, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/lib.rs:1667:44 [INFO] [stdout] | [INFO] [stdout] 1667 | PostMessageW(_sapp_win32_hwnd, WM_CLOSE, 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 `OpenClipboard` in this scope [INFO] [stdout] --> src/clipboard.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let result = OpenClipboard(ptr::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 `CloseClipboard` in this scope [INFO] [stdout] --> src/clipboard.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | CloseClipboard(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClipboardData` in this scope [INFO] [stdout] --> src/clipboard.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let clipboard_data = GetClipboardData(CF_UNICODETEXT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CF_UNICODETEXT` in this scope [INFO] [stdout] --> src/clipboard.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | let clipboard_data = GetClipboardData(CF_UNICODETEXT); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalLock` in this scope [INFO] [stdout] --> src/clipboard.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let data_ptr = GlobalLock(clipboard_data) as *const u8; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalSize` in this scope [INFO] [stdout] --> src/clipboard.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let data_size = GlobalSize(clipboard_data) as usize; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalAlloc` in this scope [INFO] [stdout] --> src/clipboard.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | let alloc_handle = GlobalAlloc(GMEM_MOVEABLE, len); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GMEM_MOVEABLE` in this scope [INFO] [stdout] --> src/clipboard.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | let alloc_handle = GlobalAlloc(GMEM_MOVEABLE, len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalLock` in this scope [INFO] [stdout] --> src/clipboard.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | let lock = GlobalLock(alloc_handle) as *mut u8; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalUnlock` in this scope [INFO] [stdout] --> src/clipboard.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | GlobalUnlock(lock as _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EmptyClipboard` in this scope [INFO] [stdout] --> src/clipboard.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | EmptyClipboard(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetClipboardData` in this scope [INFO] [stdout] --> src/clipboard.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | SetClipboardData(CF_UNICODETEXT, alloc_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CF_UNICODETEXT` in this scope [INFO] [stdout] --> src/clipboard.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | SetClipboardData(CF_UNICODETEXT, alloc_handle); [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/lib.rs:322:30 [INFO] [stdout] | [INFO] [stdout] 322 | static mut _sapp_win32_hwnd: HWND = std::ptr::null_mut(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | static mut _sapp_win32_dc: HDC = std::ptr::null_mut(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/lib.rs:325:28 [INFO] [stdout] | [INFO] [stdout] 325 | static mut _sapp_opengl32: HINSTANCE = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> src/lib.rs:326:26 [INFO] [stdout] | [INFO] [stdout] 326 | static mut _sapp_gl_ctx: HGLRC = std::ptr::null_mut(); [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/lib.rs:327:34 [INFO] [stdout] | [INFO] [stdout] 327 | static mut _sapp_win32_msg_hwnd: HWND = std::ptr::null_mut(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:328:32 [INFO] [stdout] | [INFO] [stdout] 328 | static mut _sapp_win32_msg_dc: HDC = std::ptr::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/lib.rs:329:26 [INFO] [stdout] | [INFO] [stdout] 329 | static mut _sapp_cursor: HCURSOR = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_DPI_AWARENESS` in this scope [INFO] [stdout] --> src/lib.rs:338:27 [INFO] [stdout] | [INFO] [stdout] 338 | extern "system" fn(_: PROCESS_DPI_AWARENESS) -> HRESULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/lib.rs:338:53 [INFO] [stdout] | [INFO] [stdout] 338 | extern "system" fn(_: PROCESS_DPI_AWARENESS) -> HRESULT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/lib.rs:341:27 [INFO] [stdout] | [INFO] [stdout] 341 | extern "system" fn(_: HMONITOR, _: MONITOR_DPI_TYPE, _: *mut UINT, _: *mut UINT) -> HRESULT, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITOR_DPI_TYPE` in this scope [INFO] [stdout] --> src/lib.rs:341:40 [INFO] [stdout] | [INFO] [stdout] 341 | extern "system" fn(_: HMONITOR, _: MONITOR_DPI_TYPE, _: *mut UINT, _: *mut UINT) -> HRESULT, [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/lib.rs:341:66 [INFO] [stdout] | [INFO] [stdout] 341 | extern "system" fn(_: HMONITOR, _: MONITOR_DPI_TYPE, _: *mut UINT, _: *mut UINT) -> HRESULT, [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/lib.rs:341:80 [INFO] [stdout] | [INFO] [stdout] 341 | extern "system" fn(_: HMONITOR, _: MONITOR_DPI_TYPE, _: *mut UINT, _: *mut UINT) -> HRESULT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/lib.rs:341:89 [INFO] [stdout] | [INFO] [stdout] 341 | extern "system" fn(_: HMONITOR, _: MONITOR_DPI_TYPE, _: *mut UINT, _: *mut UINT) -> HRESULT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:343:65 [INFO] [stdout] | [INFO] [stdout] 343 | static mut _sapp_wglCreateContext: Option HGLRC> = None; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> src/lib.rs:343:73 [INFO] [stdout] | [INFO] [stdout] 343 | static mut _sapp_wglCreateContext: Option HGLRC> = None; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> src/lib.rs:344:65 [INFO] [stdout] | [INFO] [stdout] 344 | static mut _sapp_wglDeleteContext: Option bool> = None; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:345:66 [INFO] [stdout] | [INFO] [stdout] 345 | static mut _sapp_wglGetProcAddress: Option PROC> = None; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROC` in this scope [INFO] [stdout] --> src/lib.rs:345:77 [INFO] [stdout] | [INFO] [stdout] 345 | static mut _sapp_wglGetProcAddress: Option PROC> = None; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:346:66 [INFO] [stdout] | [INFO] [stdout] 346 | static mut _sapp_wglGetCurrentDC: Option HDC> = None; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:347:63 [INFO] [stdout] | [INFO] [stdout] 347 | static mut _sapp_wglMakeCurrent: Option bool> = None; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> src/lib.rs:347:71 [INFO] [stdout] | [INFO] [stdout] 347 | static mut _sapp_wglMakeCurrent: Option bool> = None; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:350:27 [INFO] [stdout] | [INFO] [stdout] 350 | extern "system" fn(_: HDC, _: INT, _: INT, _: UINT, _: *const INT, _: *mut INT) -> bool, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT` in this scope [INFO] [stdout] --> src/lib.rs:350:35 [INFO] [stdout] | [INFO] [stdout] 350 | extern "system" fn(_: HDC, _: INT, _: INT, _: UINT, _: *const INT, _: *mut INT) -> bool, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT` in this scope [INFO] [stdout] --> src/lib.rs:350:43 [INFO] [stdout] | [INFO] [stdout] 350 | extern "system" fn(_: HDC, _: INT, _: INT, _: UINT, _: *const INT, _: *mut INT) -> bool, [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/lib.rs:350:51 [INFO] [stdout] | [INFO] [stdout] 350 | extern "system" fn(_: HDC, _: INT, _: INT, _: UINT, _: *const INT, _: *mut INT) -> bool, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT` in this scope [INFO] [stdout] --> src/lib.rs:350:67 [INFO] [stdout] | [INFO] [stdout] 350 | extern "system" fn(_: HDC, _: INT, _: INT, _: UINT, _: *const INT, _: *mut INT) -> bool, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT` in this scope [INFO] [stdout] --> src/lib.rs:350:80 [INFO] [stdout] | [INFO] [stdout] 350 | extern "system" fn(_: HDC, _: INT, _: INT, _: UINT, _: *const INT, _: *mut INT) -> bool, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:353:71 [INFO] [stdout] | [INFO] [stdout] 353 | static mut _sapp_GetExtensionsStringARB: Option *const i8> = None; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/lib.rs:355:27 [INFO] [stdout] | [INFO] [stdout] 355 | extern "system" fn(_: HDC, _: HGLRC, _: *const INT) -> HGLRC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> src/lib.rs:355:35 [INFO] [stdout] | [INFO] [stdout] 355 | extern "system" fn(_: HDC, _: HGLRC, _: *const INT) -> HGLRC, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT` in this scope [INFO] [stdout] --> src/lib.rs:355:52 [INFO] [stdout] | [INFO] [stdout] 355 | extern "system" fn(_: HDC, _: HGLRC, _: *const INT) -> HGLRC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> src/lib.rs:355:60 [INFO] [stdout] | [INFO] [stdout] 355 | extern "system" fn(_: HDC, _: HGLRC, _: *const INT) -> HGLRC, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT` in this scope [INFO] [stdout] --> src/lib.rs:357:64 [INFO] [stdout] | [INFO] [stdout] 357 | static mut _sapp_SwapIntervalEXT: Option bool> = None; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CURSORINFO` in this scope [INFO] [stdout] --> src/lib.rs:481:26 [INFO] [stdout] | [INFO] [stdout] 481 | let mut cursor_info: CURSORINFO = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CURSORINFO` in this scope [INFO] [stdout] --> src/lib.rs:482:46 [INFO] [stdout] | [INFO] [stdout] 480 | pub unsafe fn sapp_mouse_shown() -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 481 | let mut cursor_info: CURSORINFO = std::mem::zeroed(); [INFO] [stdout] 482 | cursor_info.cbSize = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorInfo` in this scope [INFO] [stdout] --> src/lib.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | GetCursorInfo(&mut cursor_info as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CURSOR_SHOWING` in this scope [INFO] [stdout] --> src/lib.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | cursor_info.flags & CURSOR_SHOWING != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/lib.rs:495:18 [INFO] [stdout] | [INFO] [stdout] 495 | let mut rid: RAWINPUTDEVICE = RAWINPUTDEVICE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/lib.rs:495:35 [INFO] [stdout] | [INFO] [stdout] 495 | let mut rid: RAWINPUTDEVICE = RAWINPUTDEVICE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HID_USAGE_GENERIC_POINTER` in this scope [INFO] [stdout] --> src/lib.rs:496:22 [INFO] [stdout] | [INFO] [stdout] 496 | usUsagePage: HID_USAGE_GENERIC_POINTER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HID_USAGE_GENERIC_MOUSE` in this scope [INFO] [stdout] --> src/lib.rs:497:18 [INFO] [stdout] | [INFO] [stdout] 497 | usUsage: HID_USAGE_GENERIC_MOUSE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDEV_REMOVE` in this scope [INFO] [stdout] --> src/lib.rs:498:39 [INFO] [stdout] | [INFO] [stdout] 498 | dwFlags: if grab { 0 } else { RIDEV_REMOVE }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:499:57 [INFO] [stdout] | [INFO] [stdout] 499 | hwndTarget: if grab { _sapp_win32_hwnd } else { NULL as _ }, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope [INFO] [stdout] --> src/lib.rs:502:8 [INFO] [stdout] | [INFO] [stdout] 502 | if RegisterRawInputDevices( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/lib.rs:505:29 [INFO] [stdout] | [INFO] [stdout] 488 | pub unsafe fn sapp_set_cursor_grab(grab: bool) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 505 | std::mem::size_of::() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClipCursor` in this scope [INFO] [stdout] --> src/lib.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | ClipCursor(NULL as _); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:516:20 [INFO] [stdout] | [INFO] [stdout] 516 | ClipCursor(NULL as _); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowCursor` in this scope [INFO] [stdout] --> src/lib.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | ShowCursor(shown as _); [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/lib.rs:526:32 [INFO] [stdout] | [INFO] [stdout] 526 | SAPP_CURSOR_DEFAULT => IDC_ARROW, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_HELP` in this scope [INFO] [stdout] --> src/lib.rs:527:29 [INFO] [stdout] | [INFO] [stdout] 527 | SAPP_CURSOR_HELP => IDC_HELP, [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/lib.rs:528:32 [INFO] [stdout] | [INFO] [stdout] 528 | SAPP_CURSOR_POINTER => IDC_HAND, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_WAIT` in this scope [INFO] [stdout] --> src/lib.rs:529:29 [INFO] [stdout] | [INFO] [stdout] 529 | SAPP_CURSOR_WAIT => IDC_WAIT, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_CROSS` in this scope [INFO] [stdout] --> src/lib.rs:530:34 [INFO] [stdout] | [INFO] [stdout] 530 | SAPP_CURSOR_CROSSHAIR => IDC_CROSS, [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/lib.rs:531:29 [INFO] [stdout] | [INFO] [stdout] 531 | SAPP_CURSOR_TEXT => IDC_IBEAM, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEALL` in this scope [INFO] [stdout] --> src/lib.rs:532:29 [INFO] [stdout] | [INFO] [stdout] 532 | SAPP_CURSOR_MOVE => IDC_SIZEALL, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_NO` in this scope [INFO] [stdout] --> src/lib.rs:533:35 [INFO] [stdout] | [INFO] [stdout] 533 | SAPP_CURSOR_NOTALLOWED => IDC_NO, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZEWE` in this scope [INFO] [stdout] --> src/lib.rs:534:33 [INFO] [stdout] | [INFO] [stdout] 534 | SAPP_CURSOR_EWRESIZE => IDC_SIZEWE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENS` in this scope [INFO] [stdout] --> src/lib.rs:535:33 [INFO] [stdout] | [INFO] [stdout] 535 | SAPP_CURSOR_NSRESIZE => IDC_SIZENS, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENESW` in this scope [INFO] [stdout] --> src/lib.rs:536:35 [INFO] [stdout] | [INFO] [stdout] 536 | SAPP_CURSOR_NESWRESIZE => IDC_SIZENESW, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_SIZENWSE` in this scope [INFO] [stdout] --> src/lib.rs:537:35 [INFO] [stdout] | [INFO] [stdout] 537 | SAPP_CURSOR_NWSERESIZE => IDC_SIZENWSE, [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/lib.rs:540:20 [INFO] [stdout] | [INFO] [stdout] 540 | _sapp_cursor = LoadCursorW(NULL as _, cursor_name); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:540:32 [INFO] [stdout] | [INFO] [stdout] 540 | _sapp_cursor = LoadCursorW(NULL as _, cursor_name); [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/lib.rs:541:5 [INFO] [stdout] | [INFO] [stdout] 541 | SetCursor(_sapp_cursor); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/lib.rs:585:8 [INFO] [stdout] | [INFO] [stdout] 585 | if GetKeyState(VK_SHIFT) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_SHIFT` in this scope [INFO] [stdout] --> src/lib.rs:585:20 [INFO] [stdout] | [INFO] [stdout] 585 | if GetKeyState(VK_SHIFT) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/lib.rs:588:8 [INFO] [stdout] | [INFO] [stdout] 588 | if GetKeyState(VK_CONTROL) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stdout] --> src/lib.rs:588:20 [INFO] [stdout] | [INFO] [stdout] 588 | if GetKeyState(VK_CONTROL) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/lib.rs:591:8 [INFO] [stdout] | [INFO] [stdout] 591 | if GetKeyState(VK_MENU) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_MENU` in this scope [INFO] [stdout] --> src/lib.rs:591:20 [INFO] [stdout] | [INFO] [stdout] 591 | if GetKeyState(VK_MENU) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/lib.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | if (GetKeyState(VK_LWIN) | GetKeyState(VK_RWIN)) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LWIN` in this scope [INFO] [stdout] --> src/lib.rs:594:21 [INFO] [stdout] | [INFO] [stdout] 594 | if (GetKeyState(VK_LWIN) | GetKeyState(VK_RWIN)) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/lib.rs:594:32 [INFO] [stdout] | [INFO] [stdout] 594 | if (GetKeyState(VK_LWIN) | GetKeyState(VK_RWIN)) as u32 & (1u32 << 31) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_RWIN` in this scope [INFO] [stdout] --> src/lib.rs:594:44 [INFO] [stdout] | [INFO] [stdout] 594 | if (GetKeyState(VK_LWIN) | GetKeyState(VK_RWIN)) as u32 & (1u32 << 31) != 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/lib.rs:642:34 [INFO] [stdout] | [INFO] [stdout] 642 | unsafe fn update_clip_rect(hWnd: HWND) { [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/lib.rs:645:19 [INFO] [stdout] | [INFO] [stdout] 645 | let mut rect: RECT = std::mem::zeroed(); [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/lib.rs:647:5 [INFO] [stdout] | [INFO] [stdout] 647 | GetClientRect(hWnd, &mut rect as *mut _ as _); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/lib.rs:648:26 [INFO] [stdout] | [INFO] [stdout] 648 | let mut upper_left = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/lib.rs:652:27 [INFO] [stdout] | [INFO] [stdout] 652 | let mut lower_right = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClientToScreen` in this scope [INFO] [stdout] --> src/lib.rs:657:5 [INFO] [stdout] | [INFO] [stdout] 657 | ClientToScreen(hWnd, &mut upper_left as *mut _ as _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClientToScreen` in this scope [INFO] [stdout] --> src/lib.rs:658:5 [INFO] [stdout] | [INFO] [stdout] 658 | ClientToScreen(hWnd, &mut lower_right as *mut _ as _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetRect` in this scope [INFO] [stdout] --> src/lib.rs:660:5 [INFO] [stdout] | [INFO] [stdout] 660 | SetRect( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ClipCursor` in this scope [INFO] [stdout] --> src/lib.rs:667:5 [INFO] [stdout] | [INFO] [stdout] 667 | ClipCursor(&mut rect as *mut _ as _); [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/lib.rs:671:11 [INFO] [stdout] | [INFO] [stdout] 671 | hWnd: 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/lib.rs:672:11 [INFO] [stdout] | [INFO] [stdout] 672 | uMsg: 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/lib.rs:673:13 [INFO] [stdout] | [INFO] [stdout] 673 | wParam: 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/lib.rs:674:13 [INFO] [stdout] | [INFO] [stdout] 674 | lParam: 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/lib.rs:675:6 [INFO] [stdout] | [INFO] [stdout] 675 | ) -> LRESULT { [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/lib.rs:692:21 [INFO] [stdout] | [INFO] [stdout] 692 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SIZE_MINIMIZED` in this scope [INFO] [stdout] --> src/lib.rs:719:43 [INFO] [stdout] | [INFO] [stdout] 719 | let iconified = wParam == SIZE_MINIMIZED; [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/lib.rs:731:24 [INFO] [stdout] | [INFO] [stdout] 731 | if LOWORD(lParam as _) == HTCLIENT as _ { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HTCLIENT` in this scope [INFO] [stdout] --> src/lib.rs:731:47 [INFO] [stdout] | [INFO] [stdout] 731 | if LOWORD(lParam as _) == HTCLIENT as _ { [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/lib.rs:732:25 [INFO] [stdout] | [INFO] [stdout] 732 | SetCursor(_sapp_cursor); [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/lib.rs:764:33 [INFO] [stdout] | [INFO] [stdout] 764 | _sapp.mouse_x = GET_X_LPARAM(lParam) as f32 * _sapp_win32_mouse_scale; [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/lib.rs:765:33 [INFO] [stdout] | [INFO] [stdout] 765 | _sapp.mouse_y = GET_Y_LPARAM(lParam) as f32 * _sapp_win32_mouse_scale; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRACKMOUSEEVENT` in this scope [INFO] [stdout] --> src/lib.rs:769:34 [INFO] [stdout] | [INFO] [stdout] 769 | let mut tme: TRACKMOUSEEVENT = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TME_LEAVE` in this scope [INFO] [stdout] --> src/lib.rs:772:35 [INFO] [stdout] | [INFO] [stdout] 772 | tme.dwFlags = TME_LEAVE; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TrackMouseEvent` in this scope [INFO] [stdout] --> src/lib.rs:774:21 [INFO] [stdout] | [INFO] [stdout] 774 | TrackMouseEvent(&mut tme as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stdout] --> src/lib.rs:792:31 [INFO] [stdout] | [INFO] [stdout] 792 | let mut data: RAWINPUT = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stdout] --> src/lib.rs:793:52 [INFO] [stdout] | [INFO] [stdout] 670 | unsafe extern "system" fn win32_wndproc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 793 | let mut size = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputData` in this scope [INFO] [stdout] --> src/lib.rs:794:35 [INFO] [stdout] | [INFO] [stdout] 794 | let get_succeed = GetRawInputData( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RID_INPUT` in this scope [INFO] [stdout] --> src/lib.rs:796:21 [INFO] [stdout] | [INFO] [stdout] 796 | RID_INPUT, [INFO] [stdout] | ^^^^^^^^^ help: a local variable with a similar name exists: `WM_INPUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope [INFO] [stdout] --> src/lib.rs:799:41 [INFO] [stdout] | [INFO] [stdout] 670 | unsafe extern "system" fn win32_wndproc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 799 | std::mem::size_of::() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSE_MOVE_ABSOLUTE` in this scope [INFO] [stdout] --> src/lib.rs:805:48 [INFO] [stdout] | [INFO] [stdout] 805 | if data.data.mouse().usFlags & MOUSE_MOVE_ABSOLUTE == 1 { [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/lib.rs:825:48 [INFO] [stdout] | [INFO] [stdout] 825 | _sapp_win32_scroll_event(0.0, (HIWORD(wParam as _) as i16) as f32); [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/lib.rs:829:43 [INFO] [stdout] | [INFO] [stdout] 829 | _sapp_win32_scroll_event((HIWORD(wParam as _) as i16) as f32, 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 `HIWORD` in this scope [INFO] [stdout] --> src/lib.rs:834:17 [INFO] [stdout] | [INFO] [stdout] 834 | HIWORD(lParam as _) as u32 & 0x1FF, [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/lib.rs:839:17 [INFO] [stdout] | [INFO] [stdout] 839 | HIWORD(lParam as _) as u32 & 0x1FF, [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/lib.rs:846:5 [INFO] [stdout] | [INFO] [stdout] 846 | DefWindowProcW(hWnd, uMsg, wParam, lParam) [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/lib.rs:1046:19 [INFO] [stdout] | [INFO] [stdout] 1046 | let mut rect: RECT = std::mem::zeroed(); [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/lib.rs:1048:8 [INFO] [stdout] | [INFO] [stdout] 1048 | if GetClientRect(_sapp_win32_hwnd, &mut rect as *mut _ as _) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> src/lib.rs:1082:18 [INFO] [stdout] | [INFO] [stdout] 1082 | let user32 = LoadLibraryA(b"user32.dll\0".as_ptr() as *const _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> src/lib.rs:1088:18 [INFO] [stdout] | [INFO] [stdout] 1088 | let shcore = LoadLibraryA(b"shcore.dll\0".as_ptr() as *const _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_SYSTEM_DPI_AWARE` in this scope [INFO] [stdout] --> src/lib.rs:1097:41 [INFO] [stdout] | [INFO] [stdout] 1097 | let mut process_dpi_awareness = PROCESS_SYSTEM_DPI_AWARE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_DPI_UNAWARE` in this scope [INFO] [stdout] --> src/lib.rs:1100:37 [INFO] [stdout] | [INFO] [stdout] 1100 | process_dpi_awareness = PROCESS_DPI_UNAWARE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/lib.rs:1111:22 [INFO] [stdout] | [INFO] [stdout] 1111 | let pt = POINT { x: 1, y: 1 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromPoint` in this scope [INFO] [stdout] --> src/lib.rs:1112:22 [INFO] [stdout] | [INFO] [stdout] 1112 | let hm = MonitorFromPoint(pt, MONITOR_DEFAULTTONEAREST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTONEAREST` in this scope [INFO] [stdout] --> src/lib.rs:1112:43 [INFO] [stdout] | [INFO] [stdout] 1112 | let hm = MonitorFromPoint(pt, MONITOR_DEFAULTTONEAREST); [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/lib.rs:1113:27 [INFO] [stdout] | [INFO] [stdout] 1113 | let mut dpix: UINT = 0; [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/lib.rs:1114:27 [INFO] [stdout] | [INFO] [stdout] 1114 | let mut dpiy: UINT = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MDT_EFFECTIVE_DPI` in this scope [INFO] [stdout] --> src/lib.rs:1117:17 [INFO] [stdout] | [INFO] [stdout] 1117 | MDT_EFFECTIVE_DPI, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> src/lib.rs:1137:9 [INFO] [stdout] | [INFO] [stdout] 1137 | FreeLibrary(user32); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> src/lib.rs:1140:9 [INFO] [stdout] | [INFO] [stdout] 1140 | FreeLibrary(shcore); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSW` in this scope [INFO] [stdout] --> src/lib.rs:1145:24 [INFO] [stdout] | [INFO] [stdout] 1145 | let mut wndclassw: WNDCLASSW = std::mem::zeroed(); [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/lib.rs:1147:23 [INFO] [stdout] | [INFO] [stdout] 1147 | wndclassw.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; [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/lib.rs:1147:36 [INFO] [stdout] | [INFO] [stdout] 1147 | wndclassw.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; [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/lib.rs:1147:49 [INFO] [stdout] | [INFO] [stdout] 1147 | wndclassw.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; [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/lib.rs:1149:27 [INFO] [stdout] | [INFO] [stdout] 1149 | wndclassw.hInstance = GetModuleHandleW(NULL as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1149:44 [INFO] [stdout] | [INFO] [stdout] 1149 | wndclassw.hInstance = GetModuleHandleW(NULL as _); [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/lib.rs:1150:25 [INFO] [stdout] | [INFO] [stdout] 1150 | wndclassw.hCursor = LoadCursorW(NULL as _, IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1150:37 [INFO] [stdout] | [INFO] [stdout] 1150 | wndclassw.hCursor = LoadCursorW(NULL as _, 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/lib.rs:1150:48 [INFO] [stdout] | [INFO] [stdout] 1150 | wndclassw.hCursor = LoadCursorW(NULL as _, 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 `LoadIconW` in this scope [INFO] [stdout] --> src/lib.rs:1151:23 [INFO] [stdout] | [INFO] [stdout] 1151 | wndclassw.hIcon = LoadIconW(NULL as _, IDI_WINLOGO); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1151:33 [INFO] [stdout] | [INFO] [stdout] 1151 | wndclassw.hIcon = LoadIconW(NULL as _, IDI_WINLOGO); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_WINLOGO` in this scope [INFO] [stdout] --> src/lib.rs:1151:44 [INFO] [stdout] | [INFO] [stdout] 1151 | wndclassw.hIcon = LoadIconW(NULL as _, IDI_WINLOGO); [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/lib.rs:1154:5 [INFO] [stdout] | [INFO] [stdout] 1154 | RegisterClassW(&wndclassw); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:1156:20 [INFO] [stdout] | [INFO] [stdout] 1156 | let win_style: DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:1157:23 [INFO] [stdout] | [INFO] [stdout] 1157 | let win_ex_style: DWORD = WS_EX_APPWINDOW | WS_EX_WINDOWEDGE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_APPWINDOW` in this scope [INFO] [stdout] --> src/lib.rs:1157:31 [INFO] [stdout] | [INFO] [stdout] 1157 | let win_ex_style: DWORD = WS_EX_APPWINDOW | WS_EX_WINDOWEDGE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_WINDOWEDGE` in this scope [INFO] [stdout] --> src/lib.rs:1157:49 [INFO] [stdout] | [INFO] [stdout] 1157 | let win_ex_style: DWORD = WS_EX_APPWINDOW | WS_EX_WINDOWEDGE; [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/lib.rs:1158:20 [INFO] [stdout] | [INFO] [stdout] 1158 | let mut rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/lib.rs:1165:21 [INFO] [stdout] | [INFO] [stdout] 1165 | win_style = WS_POPUP | 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/lib.rs:1165:32 [INFO] [stdout] | [INFO] [stdout] 1165 | win_style = WS_POPUP | 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/lib.rs:1165:45 [INFO] [stdout] | [INFO] [stdout] 1165 | win_style = WS_POPUP | WS_SYSMENU | WS_VISIBLE; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/lib.rs:1166:22 [INFO] [stdout] | [INFO] [stdout] 1166 | rect.right = GetSystemMetrics(SM_CXSCREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXSCREEN` in this scope [INFO] [stdout] --> src/lib.rs:1166:39 [INFO] [stdout] | [INFO] [stdout] 1166 | rect.right = GetSystemMetrics(SM_CXSCREEN); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/lib.rs:1167:23 [INFO] [stdout] | [INFO] [stdout] 1167 | rect.bottom = GetSystemMetrics(SM_CYSCREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope [INFO] [stdout] --> src/lib.rs:1167:40 [INFO] [stdout] | [INFO] [stdout] 1167 | rect.bottom = GetSystemMetrics(SM_CYSCREEN); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPSIBLINGS` in this scope [INFO] [stdout] --> src/lib.rs:1169:21 [INFO] [stdout] | [INFO] [stdout] 1169 | win_style = WS_CLIPSIBLINGS [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPCHILDREN` in this scope [INFO] [stdout] --> src/lib.rs:1170:15 [INFO] [stdout] | [INFO] [stdout] 1170 | | WS_CLIPCHILDREN [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/lib.rs:1171:15 [INFO] [stdout] | [INFO] [stdout] 1171 | | WS_CAPTION [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/lib.rs:1172:15 [INFO] [stdout] | [INFO] [stdout] 1172 | | WS_SYSMENU [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> src/lib.rs:1173:15 [INFO] [stdout] | [INFO] [stdout] 1173 | | WS_MINIMIZEBOX [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MAXIMIZEBOX` in this scope [INFO] [stdout] --> src/lib.rs:1174:15 [INFO] [stdout] | [INFO] [stdout] 1174 | | WS_MAXIMIZEBOX [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SIZEBOX` in this scope [INFO] [stdout] --> src/lib.rs:1175:15 [INFO] [stdout] | [INFO] [stdout] 1175 | | WS_SIZEBOX; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustWindowRectEx` in this scope [INFO] [stdout] --> src/lib.rs:1179:5 [INFO] [stdout] | [INFO] [stdout] 1179 | AdjustWindowRectEx(&rect as *const _ as _, win_style, false as _, win_ex_style); [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/lib.rs:1186:24 [INFO] [stdout] | [INFO] [stdout] 1186 | _sapp_win32_hwnd = CreateWindowExW( [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/lib.rs:1191:9 [INFO] [stdout] | [INFO] [stdout] 1191 | CW_USEDEFAULT, // X [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/lib.rs:1192:9 [INFO] [stdout] | [INFO] [stdout] 1192 | CW_USEDEFAULT, // Y [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1195 | NULL as _, // hWndParent [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1196:9 [INFO] [stdout] | [INFO] [stdout] 1196 | NULL 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 `GetModuleHandleW` in this scope [INFO] [stdout] --> src/lib.rs:1197:9 [INFO] [stdout] | [INFO] [stdout] 1197 | GetModuleHandleW(NULL as _), // hInstance [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1197:26 [INFO] [stdout] | [INFO] [stdout] 1197 | GetModuleHandleW(NULL as _), // hInstance [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1198:9 [INFO] [stdout] | [INFO] [stdout] 1198 | NULL as _, // lParam [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/lib.rs:1201:5 [INFO] [stdout] | [INFO] [stdout] 1201 | ShowWindow(_sapp_win32_hwnd, 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/lib.rs:1201:34 [INFO] [stdout] | [INFO] [stdout] 1201 | ShowWindow(_sapp_win32_hwnd, 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 `GetDC` in this scope [INFO] [stdout] --> src/lib.rs:1203:14 [INFO] [stdout] | [INFO] [stdout] 1203 | let dc = GetDC(_sapp_win32_hwnd); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/lib.rs:1210:5 [INFO] [stdout] | [INFO] [stdout] 1210 | DestroyWindow(_sapp_win32_hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassW` in this scope [INFO] [stdout] --> src/lib.rs:1215:5 [INFO] [stdout] | [INFO] [stdout] 1215 | UnregisterClassW(class_name.as_mut_ptr() as _, GetModuleHandleW(NULL as _)); [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/lib.rs:1215:52 [INFO] [stdout] | [INFO] [stdout] 1215 | UnregisterClassW(class_name.as_mut_ptr() as _, GetModuleHandleW(NULL as _)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1215:69 [INFO] [stdout] | [INFO] [stdout] 1215 | UnregisterClassW(class_name.as_mut_ptr() as _, GetModuleHandleW(NULL as _)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/lib.rs:1218:36 [INFO] [stdout] | [INFO] [stdout] 1218 | unsafe fn get_proc_address(lib: HINSTANCE, proc: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:1219:16 [INFO] [stdout] | [INFO] [stdout] 1219 | let proc = GetProcAddress(lib, proc.as_ptr() as *const _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> src/lib.rs:1264:18 [INFO] [stdout] | [INFO] [stdout] 1264 | let mut pfd: PIXELFORMATDESCRIPTOR = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_DRAW_TO_WINDOW` in this scope [INFO] [stdout] --> src/lib.rs:1267:19 [INFO] [stdout] | [INFO] [stdout] 1267 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_SUPPORT_OPENGL` in this scope [INFO] [stdout] --> src/lib.rs:1267:40 [INFO] [stdout] | [INFO] [stdout] 1267 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_DOUBLEBUFFER` in this scope [INFO] [stdout] --> src/lib.rs:1267:61 [INFO] [stdout] | [INFO] [stdout] 1267 | pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `GL_DOUBLEBUFFER` [INFO] [stdout] | [INFO] [stdout] ::: src/gl.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub const GL_DOUBLEBUFFER: u32 = 3122; [INFO] [stdout] | -------------------------------------- similarly named constant `GL_DOUBLEBUFFER` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_TYPE_RGBA` in this scope [INFO] [stdout] --> src/lib.rs:1268:22 [INFO] [stdout] | [INFO] [stdout] 1268 | pfd.iPixelType = PFD_TYPE_RGBA; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPixelFormat` in this scope [INFO] [stdout] --> src/lib.rs:1270:8 [INFO] [stdout] | [INFO] [stdout] 1270 | if SetPixelFormat( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChoosePixelFormat` in this scope [INFO] [stdout] --> src/lib.rs:1272:9 [INFO] [stdout] | [INFO] [stdout] 1272 | ChoosePixelFormat(_sapp_win32_msg_dc, &pfd), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> src/lib.rs:1504:18 [INFO] [stdout] | [INFO] [stdout] 1504 | let mut pfd: PIXELFORMATDESCRIPTOR = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DescribePixelFormat` in this scope [INFO] [stdout] --> src/lib.rs:1505:8 [INFO] [stdout] | [INFO] [stdout] 1505 | if DescribePixelFormat( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPixelFormat` in this scope [INFO] [stdout] --> src/lib.rs:1514:8 [INFO] [stdout] | [INFO] [stdout] 1514 | if SetPixelFormat(_sapp_win32_dc, pixel_format as _, &pfd) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/lib.rs:1541:19 [INFO] [stdout] | [INFO] [stdout] 1541 | let err = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/lib.rs:1562:5 [INFO] [stdout] | [INFO] [stdout] 1209 | unsafe fn destroy_window() { [INFO] [stdout] | -------------------------- similarly named function `destroy_window` defined here [INFO] [stdout] ... [INFO] [stdout] 1562 | DestroyWindow(_sapp_win32_msg_hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `destroy_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> src/lib.rs:1564:5 [INFO] [stdout] | [INFO] [stdout] 1564 | FreeLibrary(_sapp_opengl32); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> src/lib.rs:1569:22 [INFO] [stdout] | [INFO] [stdout] 1569 | _sapp_opengl32 = LoadLibraryA(b"opengl32.dll\0".as_ptr() as *const _); [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/lib.rs:1591:28 [INFO] [stdout] | [INFO] [stdout] 1591 | _sapp_win32_msg_hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> src/lib.rs:1592:9 [INFO] [stdout] | [INFO] [stdout] 1592 | WS_EX_OVERLAPPEDWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPSIBLINGS` in this scope [INFO] [stdout] --> src/lib.rs:1595:9 [INFO] [stdout] | [INFO] [stdout] 1595 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CLIPCHILDREN` in this scope [INFO] [stdout] --> src/lib.rs:1595:27 [INFO] [stdout] | [INFO] [stdout] 1595 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1600:9 [INFO] [stdout] | [INFO] [stdout] 1600 | NULL as _, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1601:9 [INFO] [stdout] | [INFO] [stdout] 1601 | NULL as _, [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/lib.rs:1602:9 [INFO] [stdout] | [INFO] [stdout] 1602 | GetModuleHandleW(NULL as _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1602:26 [INFO] [stdout] | [INFO] [stdout] 1602 | GetModuleHandleW(NULL as _), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1603:9 [INFO] [stdout] | [INFO] [stdout] 1603 | NULL, [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/lib.rs:1609:5 [INFO] [stdout] | [INFO] [stdout] 1609 | ShowWindow(_sapp_win32_msg_hwnd, SW_HIDE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> src/lib.rs:1609:38 [INFO] [stdout] | [INFO] [stdout] 1609 | ShowWindow(_sapp_win32_msg_hwnd, SW_HIDE); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/lib.rs:1611:11 [INFO] [stdout] | [INFO] [stdout] 1611 | while PeekMessageW(&mut msg as _, _sapp_win32_msg_hwnd, 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> src/lib.rs:1611:67 [INFO] [stdout] | [INFO] [stdout] 1611 | while PeekMessageW(&mut msg as _, _sapp_win32_msg_hwnd, 0, 0, PM_REMOVE) != 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/lib.rs:1612:9 [INFO] [stdout] | [INFO] [stdout] 1612 | 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/lib.rs:1613:9 [INFO] [stdout] | [INFO] [stdout] 1613 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/lib.rs:1615:26 [INFO] [stdout] | [INFO] [stdout] 1615 | _sapp_win32_msg_dc = GetDC(_sapp_win32_msg_hwnd); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SwapBuffers` in this scope [INFO] [stdout] --> src/lib.rs:1625:5 [INFO] [stdout] | [INFO] [stdout] 1625 | SwapBuffers(_sapp_win32_dc); [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/lib.rs:1650:22 [INFO] [stdout] | [INFO] [stdout] 1650 | let mut msg: MSG = std::mem::zeroed(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope [INFO] [stdout] --> src/lib.rs:1651:15 [INFO] [stdout] | [INFO] [stdout] 1651 | while PeekMessageW(&mut msg as *mut _ as _, NULL as _, 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1651:53 [INFO] [stdout] | [INFO] [stdout] 1651 | while PeekMessageW(&mut msg as *mut _ as _, NULL as _, 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> src/lib.rs:1651:70 [INFO] [stdout] | [INFO] [stdout] 1651 | while PeekMessageW(&mut msg as *mut _ as _, NULL as _, 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stdout] --> src/lib.rs:1652:16 [INFO] [stdout] | [INFO] [stdout] 1652 | if WM_QUIT == msg.message { [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/lib.rs:1656:17 [INFO] [stdout] | [INFO] [stdout] 1656 | TranslateMessage(&mut msg as *mut _ as _); [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/lib.rs:1657:17 [INFO] [stdout] | [INFO] [stdout] 1657 | DispatchMessageW(&mut msg as *mut _ as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/lib.rs:1667:13 [INFO] [stdout] | [INFO] [stdout] 1667 | PostMessageW(_sapp_win32_hwnd, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/lib.rs:1667:44 [INFO] [stdout] | [INFO] [stdout] 1667 | PostMessageW(_sapp_win32_hwnd, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 238 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sapp-windows` [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 238 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a9149634bf96a40e05fb3d6ea258a69ab3ab6fa3c3a1db6b725d44ab926896a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9149634bf96a40e05fb3d6ea258a69ab3ab6fa3c3a1db6b725d44ab926896a6", kill_on_drop: false }` [INFO] [stdout] a9149634bf96a40e05fb3d6ea258a69ab3ab6fa3c3a1db6b725d44ab926896a6