[INFO] fetching crate sapp-windows 0.2.16... [INFO] checking sapp-windows-0.2.16 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate sapp-windows 0.2.16 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate sapp-windows 0.2.16 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sapp-windows 0.2.16 [INFO] finished tweaking crates.io crate sapp-windows 0.2.16 [INFO] tweaked toml for crates.io crate sapp-windows 0.2.16 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53515cc77e6f2893862d93b3bffb73e74e41c4953b98fea25ad09a5ad5e2f09c [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" "53515cc77e6f2893862d93b3bffb73e74e41c4953b98fea25ad09a5ad5e2f09c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53515cc77e6f2893862d93b3bffb73e74e41c4953b98fea25ad09a5ad5e2f09c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53515cc77e6f2893862d93b3bffb73e74e41c4953b98fea25ad09a5ad5e2f09c", kill_on_drop: false }` [INFO] [stdout] 53515cc77e6f2893862d93b3bffb73e74e41c4953b98fea25ad09a5ad5e2f09c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6df6d3197891edf42209a232b1f2cbaa589aa64794290ea3d755a9f8b0d4b6a5 [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" "6df6d3197891edf42209a232b1f2cbaa589aa64794290ea3d755a9f8b0d4b6a5", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking sapp-windows v0.2.16 (/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:774:21 [INFO] [stdout] | [INFO] [stdout] 774 | 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:774:37 [INFO] [stdout] | [INFO] [stdout] 774 | 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:774:37 [INFO] [stdout] | [INFO] [stdout] 774 | 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:774:21 [INFO] [stdout] | [INFO] [stdout] 774 | SC_SCREENSAVE | SC_MONITORPOWER => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `SC_MONITORPOWER` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:774:21 [INFO] [stdout] | [INFO] [stdout] 774 | 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:774:37 [INFO] [stdout] | [INFO] [stdout] 774 | 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:774:37 [INFO] [stdout] | [INFO] [stdout] 774 | 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:774:21 [INFO] [stdout] | [INFO] [stdout] 774 | 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:908:26 [INFO] [stdout] | [INFO] [stdout] 908 | 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:908:13 [INFO] [stdout] | [INFO] [stdout] 908 | 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:908:13 [INFO] [stdout] | [INFO] [stdout] 908 | 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:908:26 [INFO] [stdout] | [INFO] [stdout] 908 | 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:913:24 [INFO] [stdout] | [INFO] [stdout] 913 | 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:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | 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:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | 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:913:24 [INFO] [stdout] | [INFO] [stdout] 913 | WM_KEYUP | WM_SYSKEYUP => _sapp_win32_key_event( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_KEYDOWN` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:908:26 [INFO] [stdout] | [INFO] [stdout] 908 | 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:908:13 [INFO] [stdout] | [INFO] [stdout] 908 | 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:908:13 [INFO] [stdout] | [INFO] [stdout] 908 | 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:908:26 [INFO] [stdout] | [INFO] [stdout] 908 | 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:913:24 [INFO] [stdout] | [INFO] [stdout] 913 | 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:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | 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:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | 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:913:24 [INFO] [stdout] | [INFO] [stdout] 913 | 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:324:30 [INFO] [stdout] | [INFO] [stdout] 324 | 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:325:28 [INFO] [stdout] | [INFO] [stdout] 325 | 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:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | 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:328:26 [INFO] [stdout] | [INFO] [stdout] 328 | 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:329:34 [INFO] [stdout] | [INFO] [stdout] 329 | 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:330:32 [INFO] [stdout] | [INFO] [stdout] 330 | 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:331:26 [INFO] [stdout] | [INFO] [stdout] 331 | 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:340:27 [INFO] [stdout] | [INFO] [stdout] 340 | 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:340:53 [INFO] [stdout] | [INFO] [stdout] 340 | 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:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | 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:343:40 [INFO] [stdout] | [INFO] [stdout] 343 | 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:343:66 [INFO] [stdout] | [INFO] [stdout] 343 | 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:343:80 [INFO] [stdout] | [INFO] [stdout] 343 | 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:343:89 [INFO] [stdout] | [INFO] [stdout] 343 | 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:345:65 [INFO] [stdout] | [INFO] [stdout] 345 | 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:345:73 [INFO] [stdout] | [INFO] [stdout] 345 | 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:346:65 [INFO] [stdout] | [INFO] [stdout] 346 | 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:347:66 [INFO] [stdout] | [INFO] [stdout] 347 | 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:347:77 [INFO] [stdout] | [INFO] [stdout] 347 | 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:348:66 [INFO] [stdout] | [INFO] [stdout] 348 | 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:349:63 [INFO] [stdout] | [INFO] [stdout] 349 | 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:349:71 [INFO] [stdout] | [INFO] [stdout] 349 | 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:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | 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:352:35 [INFO] [stdout] | [INFO] [stdout] 352 | 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:352:43 [INFO] [stdout] | [INFO] [stdout] 352 | 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:352:51 [INFO] [stdout] | [INFO] [stdout] 352 | 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:352:67 [INFO] [stdout] | [INFO] [stdout] 352 | 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:352:80 [INFO] [stdout] | [INFO] [stdout] 352 | 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:355:71 [INFO] [stdout] | [INFO] [stdout] 355 | 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:357:27 [INFO] [stdout] | [INFO] [stdout] 357 | 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:357:35 [INFO] [stdout] | [INFO] [stdout] 357 | 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:52 [INFO] [stdout] | [INFO] [stdout] 357 | 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:357:60 [INFO] [stdout] | [INFO] [stdout] 357 | 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:359:64 [INFO] [stdout] | [INFO] [stdout] 359 | 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:484:26 [INFO] [stdout] | [INFO] [stdout] 484 | 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:485:46 [INFO] [stdout] | [INFO] [stdout] 483 | pub unsafe fn sapp_mouse_shown() -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 484 | let mut cursor_info: CURSORINFO = std::mem::zeroed(); [INFO] [stdout] 485 | 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:486:5 [INFO] [stdout] | [INFO] [stdout] 486 | 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:488:25 [INFO] [stdout] | [INFO] [stdout] 488 | 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:498:18 [INFO] [stdout] | [INFO] [stdout] 498 | 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:498:35 [INFO] [stdout] | [INFO] [stdout] 498 | 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:499:22 [INFO] [stdout] | [INFO] [stdout] 499 | 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:500:18 [INFO] [stdout] | [INFO] [stdout] 500 | 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:501:39 [INFO] [stdout] | [INFO] [stdout] 501 | 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:502:57 [INFO] [stdout] | [INFO] [stdout] 502 | 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:505:8 [INFO] [stdout] | [INFO] [stdout] 505 | 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:508:29 [INFO] [stdout] | [INFO] [stdout] 491 | pub unsafe fn sapp_set_cursor_grab(grab: bool) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 508 | 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:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | 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:519:20 [INFO] [stdout] | [INFO] [stdout] 519 | 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:525:5 [INFO] [stdout] | [INFO] [stdout] 525 | 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:530:32 [INFO] [stdout] | [INFO] [stdout] 530 | 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:531:29 [INFO] [stdout] | [INFO] [stdout] 531 | 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:532:32 [INFO] [stdout] | [INFO] [stdout] 532 | 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:533:29 [INFO] [stdout] | [INFO] [stdout] 533 | 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:534:34 [INFO] [stdout] | [INFO] [stdout] 534 | 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:535:29 [INFO] [stdout] | [INFO] [stdout] 535 | 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:536:29 [INFO] [stdout] | [INFO] [stdout] 536 | 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:537:35 [INFO] [stdout] | [INFO] [stdout] 537 | 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:538:33 [INFO] [stdout] | [INFO] [stdout] 538 | 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:539:33 [INFO] [stdout] | [INFO] [stdout] 539 | 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:540:35 [INFO] [stdout] | [INFO] [stdout] 540 | 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:541:35 [INFO] [stdout] | [INFO] [stdout] 541 | 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:544:20 [INFO] [stdout] | [INFO] [stdout] 544 | _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:544:32 [INFO] [stdout] | [INFO] [stdout] 544 | _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:545:5 [INFO] [stdout] | [INFO] [stdout] 545 | SetCursor(_sapp_cursor); [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:555:19 [INFO] [stdout] | [INFO] [stdout] 555 | 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:556:8 [INFO] [stdout] | [INFO] [stdout] 556 | 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 `SetWindowPos` in this scope [INFO] [stdout] --> src/lib.rs:561:5 [INFO] [stdout] | [INFO] [stdout] 561 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stdout] --> src/lib.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | HWND_TOP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stdout] --> src/lib.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | SWP_NOMOVE [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:579:20 [INFO] [stdout] | [INFO] [stdout] 579 | let win_style: DWORD = if _sapp.desc.fullscreen { [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:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | 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:580:20 [INFO] [stdout] | [INFO] [stdout] 580 | 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:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | WS_POPUP | WS_SYSMENU | WS_VISIBLE [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:582:28 [INFO] [stdout] | [INFO] [stdout] 582 | let mut win_style: DWORD = WS_CLIPSIBLINGS [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:582:36 [INFO] [stdout] | [INFO] [stdout] 582 | let mut win_style: DWORD = 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:583:15 [INFO] [stdout] | [INFO] [stdout] 583 | | 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:584:15 [INFO] [stdout] | [INFO] [stdout] 584 | | 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:585:15 [INFO] [stdout] | [INFO] [stdout] 585 | | 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:586:15 [INFO] [stdout] | [INFO] [stdout] 586 | | 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:589:26 [INFO] [stdout] | [INFO] [stdout] 589 | win_style |= WS_MAXIMIZEBOX | WS_SIZEBOX; [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:589:43 [INFO] [stdout] | [INFO] [stdout] 589 | win_style |= WS_MAXIMIZEBOX | 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 `SetWindowLongPtrA` in this scope [INFO] [stdout] --> src/lib.rs:595:5 [INFO] [stdout] | [INFO] [stdout] 595 | SetWindowLongPtrA(_sapp_win32_hwnd, GWL_STYLE, win_style as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/lib.rs:595:41 [INFO] [stdout] | [INFO] [stdout] 595 | SetWindowLongPtrA(_sapp_win32_hwnd, GWL_STYLE, win_style as _); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/lib.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stdout] --> src/lib.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | HWND_TOP, [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:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | 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:603:30 [INFO] [stdout] | [INFO] [stdout] 603 | 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:604:13 [INFO] [stdout] | [INFO] [stdout] 604 | 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:604:30 [INFO] [stdout] | [INFO] [stdout] 604 | GetSystemMetrics(SM_CYSCREEN), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_FRAMECHANGED` in this scope [INFO] [stdout] --> src/lib.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | SWP_FRAMECHANGED [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/lib.rs:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stdout] --> src/lib.rs:610:13 [INFO] [stdout] | [INFO] [stdout] 610 | HWND_TOP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_FRAMECHANGED` in this scope [INFO] [stdout] --> src/lib.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | SWP_FRAMECHANGED [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:619:5 [INFO] [stdout] | [INFO] [stdout] 619 | 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:619:34 [INFO] [stdout] | [INFO] [stdout] 619 | 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 `GetKeyState` in this scope [INFO] [stdout] --> src/lib.rs:661:8 [INFO] [stdout] | [INFO] [stdout] 661 | 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:661:20 [INFO] [stdout] | [INFO] [stdout] 661 | 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:664:8 [INFO] [stdout] | [INFO] [stdout] 664 | 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:664:20 [INFO] [stdout] | [INFO] [stdout] 664 | 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:667:8 [INFO] [stdout] | [INFO] [stdout] 667 | 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:667:20 [INFO] [stdout] | [INFO] [stdout] 667 | 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:670:9 [INFO] [stdout] | [INFO] [stdout] 670 | 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:670:21 [INFO] [stdout] | [INFO] [stdout] 670 | 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:670:32 [INFO] [stdout] | [INFO] [stdout] 670 | 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:670:44 [INFO] [stdout] | [INFO] [stdout] 670 | 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:718:34 [INFO] [stdout] | [INFO] [stdout] 718 | 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:721:19 [INFO] [stdout] | [INFO] [stdout] 721 | 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:723:5 [INFO] [stdout] | [INFO] [stdout] 723 | 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:724:26 [INFO] [stdout] | [INFO] [stdout] 724 | 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:728:27 [INFO] [stdout] | [INFO] [stdout] 728 | 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:733:5 [INFO] [stdout] | [INFO] [stdout] 733 | 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:734:5 [INFO] [stdout] | [INFO] [stdout] 734 | 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:736:5 [INFO] [stdout] | [INFO] [stdout] 736 | 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:743:5 [INFO] [stdout] | [INFO] [stdout] 743 | 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:747:11 [INFO] [stdout] | [INFO] [stdout] 747 | 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:748:11 [INFO] [stdout] | [INFO] [stdout] 748 | 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:749:13 [INFO] [stdout] | [INFO] [stdout] 749 | 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:750:13 [INFO] [stdout] | [INFO] [stdout] 750 | 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:751:6 [INFO] [stdout] | [INFO] [stdout] 751 | ) -> 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:768:21 [INFO] [stdout] | [INFO] [stdout] 768 | 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:795:43 [INFO] [stdout] | [INFO] [stdout] 795 | 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:807:24 [INFO] [stdout] | [INFO] [stdout] 807 | 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:807:47 [INFO] [stdout] | [INFO] [stdout] 807 | 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:808:25 [INFO] [stdout] | [INFO] [stdout] 808 | 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:840:33 [INFO] [stdout] | [INFO] [stdout] 840 | _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:841:33 [INFO] [stdout] | [INFO] [stdout] 841 | _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:845:34 [INFO] [stdout] | [INFO] [stdout] 845 | 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:848:35 [INFO] [stdout] | [INFO] [stdout] 848 | 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:850:21 [INFO] [stdout] | [INFO] [stdout] 850 | 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:868:31 [INFO] [stdout] | [INFO] [stdout] 868 | 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:869:52 [INFO] [stdout] | [INFO] [stdout] 746 | unsafe extern "system" fn win32_wndproc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 869 | 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:870:35 [INFO] [stdout] | [INFO] [stdout] 870 | 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:872:21 [INFO] [stdout] | [INFO] [stdout] 872 | 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:875:41 [INFO] [stdout] | [INFO] [stdout] 746 | unsafe extern "system" fn win32_wndproc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 875 | 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:881:48 [INFO] [stdout] | [INFO] [stdout] 881 | 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:901:48 [INFO] [stdout] | [INFO] [stdout] 901 | _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:905:43 [INFO] [stdout] | [INFO] [stdout] 905 | _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:910:17 [INFO] [stdout] | [INFO] [stdout] 910 | 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:915:17 [INFO] [stdout] | [INFO] [stdout] 915 | 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:922:5 [INFO] [stdout] | [INFO] [stdout] 922 | 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:1122:19 [INFO] [stdout] | [INFO] [stdout] 1122 | 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:1124:8 [INFO] [stdout] | [INFO] [stdout] 1124 | 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:1158:18 [INFO] [stdout] | [INFO] [stdout] 1158 | 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:1164:18 [INFO] [stdout] | [INFO] [stdout] 1164 | 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:1173:41 [INFO] [stdout] | [INFO] [stdout] 1173 | 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:1176:37 [INFO] [stdout] | [INFO] [stdout] 1176 | 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:1187:22 [INFO] [stdout] | [INFO] [stdout] 1187 | 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:1188:22 [INFO] [stdout] | [INFO] [stdout] 1188 | 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:1188:43 [INFO] [stdout] | [INFO] [stdout] 1188 | 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:1189:27 [INFO] [stdout] | [INFO] [stdout] 1189 | 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:1190:27 [INFO] [stdout] | [INFO] [stdout] 1190 | 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:1193:17 [INFO] [stdout] | [INFO] [stdout] 1193 | 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:1213:9 [INFO] [stdout] | [INFO] [stdout] 1213 | 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:1216:9 [INFO] [stdout] | [INFO] [stdout] 1216 | 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:1221:24 [INFO] [stdout] | [INFO] [stdout] 1221 | 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:1223:23 [INFO] [stdout] | [INFO] [stdout] 1223 | 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:1223:36 [INFO] [stdout] | [INFO] [stdout] 1223 | 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:1223:49 [INFO] [stdout] | [INFO] [stdout] 1223 | 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:1225:27 [INFO] [stdout] | [INFO] [stdout] 1225 | 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:1225:44 [INFO] [stdout] | [INFO] [stdout] 1225 | 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:1226:25 [INFO] [stdout] | [INFO] [stdout] 1226 | 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:1226:37 [INFO] [stdout] | [INFO] [stdout] 1226 | 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:1226:48 [INFO] [stdout] | [INFO] [stdout] 1226 | 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:1227:23 [INFO] [stdout] | [INFO] [stdout] 1227 | 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:1227:33 [INFO] [stdout] | [INFO] [stdout] 1227 | 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:1227:44 [INFO] [stdout] | [INFO] [stdout] 1227 | 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:1230:5 [INFO] [stdout] | [INFO] [stdout] 1230 | 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:1232:20 [INFO] [stdout] | [INFO] [stdout] 1232 | 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:1233:23 [INFO] [stdout] | [INFO] [stdout] 1233 | 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:1233:31 [INFO] [stdout] | [INFO] [stdout] 1233 | 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:1233:49 [INFO] [stdout] | [INFO] [stdout] 1233 | 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:1234:20 [INFO] [stdout] | [INFO] [stdout] 1234 | 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:1242:21 [INFO] [stdout] | [INFO] [stdout] 1242 | 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:1242:32 [INFO] [stdout] | [INFO] [stdout] 1242 | 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:1242:45 [INFO] [stdout] | [INFO] [stdout] 1242 | 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:1243:22 [INFO] [stdout] | [INFO] [stdout] 1243 | 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:1243:39 [INFO] [stdout] | [INFO] [stdout] 1243 | 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:1244:23 [INFO] [stdout] | [INFO] [stdout] 1244 | 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:1244:40 [INFO] [stdout] | [INFO] [stdout] 1244 | 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:1247:13 [INFO] [stdout] | [INFO] [stdout] 1247 | 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:1248:15 [INFO] [stdout] | [INFO] [stdout] 1248 | | 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:1249:15 [INFO] [stdout] | [INFO] [stdout] 1249 | | 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:1250:15 [INFO] [stdout] | [INFO] [stdout] 1250 | | 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:1251:15 [INFO] [stdout] | [INFO] [stdout] 1251 | | 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:1252:15 [INFO] [stdout] | [INFO] [stdout] 1252 | | 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:1253:15 [INFO] [stdout] | [INFO] [stdout] 1253 | | WS_SIZEBOX [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:1255:13 [INFO] [stdout] | [INFO] [stdout] 1255 | 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:1256:15 [INFO] [stdout] | [INFO] [stdout] 1256 | | 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:1257:15 [INFO] [stdout] | [INFO] [stdout] 1257 | | 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:1258:15 [INFO] [stdout] | [INFO] [stdout] 1258 | | 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:1259:15 [INFO] [stdout] | [INFO] [stdout] 1259 | | WS_MINIMIZEBOX [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:1266:5 [INFO] [stdout] | [INFO] [stdout] 1266 | 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:1273:24 [INFO] [stdout] | [INFO] [stdout] 1273 | _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:1278:9 [INFO] [stdout] | [INFO] [stdout] 1278 | CW_USEDEFAULT, // X [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 value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/lib.rs:1279:9 [INFO] [stdout] | [INFO] [stdout] 1279 | CW_USEDEFAULT, // Y [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 value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1282:9 [INFO] [stdout] | [INFO] [stdout] 1282 | 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:1283:9 [INFO] [stdout] | [INFO] [stdout] 1283 | 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:1284:9 [INFO] [stdout] | [INFO] [stdout] 1284 | GetModuleHandleW(NULL as _), // hInstance [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `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 value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1284:26 [INFO] [stdout] | [INFO] [stdout] 1284 | 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:1285:9 [INFO] [stdout] | [INFO] [stdout] 1285 | 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:1288:5 [INFO] [stdout] | [INFO] [stdout] 1288 | 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 `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 value `SW_SHOW` in this scope [INFO] [stdout] --> src/lib.rs:1288:34 [INFO] [stdout] | [INFO] [stdout] 1288 | 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 `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 function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/lib.rs:1290:14 [INFO] [stdout] | [INFO] [stdout] 1290 | 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:1297:5 [INFO] [stdout] | [INFO] [stdout] 1297 | 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:1302:5 [INFO] [stdout] | [INFO] [stdout] 1302 | 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 `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 `GetModuleHandleW` in this scope [INFO] [stdout] --> src/lib.rs:1302:52 [INFO] [stdout] | [INFO] [stdout] 1302 | 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 `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 value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1302:69 [INFO] [stdout] | [INFO] [stdout] 1302 | 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:1305:36 [INFO] [stdout] | [INFO] [stdout] 1305 | 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 `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 `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:1306:16 [INFO] [stdout] | [INFO] [stdout] 1306 | let proc = GetProcAddress(lib, proc.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 `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[E0412]: cannot find type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> src/lib.rs:1351:18 [INFO] [stdout] | [INFO] [stdout] 1351 | 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:1354:19 [INFO] [stdout] | [INFO] [stdout] 1354 | 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 `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[E0425]: cannot find value `PFD_SUPPORT_OPENGL` in this scope [INFO] [stdout] --> src/lib.rs:1354:40 [INFO] [stdout] | [INFO] [stdout] 1354 | 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[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/lib.rs:324:30 [INFO] [stdout] | [INFO] [stdout] 324 | 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:325:28 [INFO] [stdout] | [INFO] [stdout] 325 | static mut _sapp_win32_dc: HDC = std::ptr::null_mut(); [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:1354:61 [INFO] [stdout] | [INFO] [stdout] 1354 | 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[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/lib.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | static mut _sapp_opengl32: HINSTANCE = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_TYPE_RGBA` in this scope [INFO] [stdout] --> src/lib.rs:1355:22 [INFO] [stdout] | [INFO] [stdout] 1355 | pfd.iPixelType = PFD_TYPE_RGBA; [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:328:26 [INFO] [stdout] | [INFO] [stdout] 328 | static mut _sapp_gl_ctx: HGLRC = std::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 `SetPixelFormat` in this scope [INFO] [stdout] --> src/lib.rs:1357:8 [INFO] [stdout] | [INFO] [stdout] 1357 | if SetPixelFormat( [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:329:34 [INFO] [stdout] | [INFO] [stdout] 329 | 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[E0425]: cannot find function, tuple struct or tuple variant `ChoosePixelFormat` in this scope [INFO] [stdout] --> src/lib.rs:1359:9 [INFO] [stdout] | [INFO] [stdout] 1359 | ChoosePixelFormat(_sapp_win32_msg_dc, &pfd), [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:330:32 [INFO] [stdout] | [INFO] [stdout] 330 | 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:331:26 [INFO] [stdout] | [INFO] [stdout] 331 | 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 `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> src/lib.rs:1591:18 [INFO] [stdout] | [INFO] [stdout] 1591 | let mut pfd: PIXELFORMATDESCRIPTOR = std::mem::zeroed(); [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:340:27 [INFO] [stdout] | [INFO] [stdout] 340 | extern "system" fn(_: PROCESS_DPI_AWARENESS) -> HRESULT, [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:1592:8 [INFO] [stdout] | [INFO] [stdout] 1592 | if DescribePixelFormat( [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:340:53 [INFO] [stdout] | [INFO] [stdout] 340 | extern "system" fn(_: PROCESS_DPI_AWARENESS) -> HRESULT, [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:1601:8 [INFO] [stdout] | [INFO] [stdout] 1601 | 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:1628:19 [INFO] [stdout] | [INFO] [stdout] 1628 | let err = GetLastError(); [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:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | 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:343:40 [INFO] [stdout] | [INFO] [stdout] 343 | 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[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/lib.rs:1649:5 [INFO] [stdout] | [INFO] [stdout] 1296 | unsafe fn destroy_window() { [INFO] [stdout] | -------------------------- similarly named function `destroy_window` defined here [INFO] [stdout] ... [INFO] [stdout] 1649 | DestroyWindow(_sapp_win32_msg_hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `destroy_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/lib.rs:343:66 [INFO] [stdout] | [INFO] [stdout] 343 | 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[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> src/lib.rs:1651:5 [INFO] [stdout] | [INFO] [stdout] 1651 | FreeLibrary(_sapp_opengl32); [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:343:80 [INFO] [stdout] | [INFO] [stdout] 343 | 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[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> src/lib.rs:1656:22 [INFO] [stdout] | [INFO] [stdout] 1656 | _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[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/lib.rs:343:89 [INFO] [stdout] | [INFO] [stdout] 343 | 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[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/lib.rs:1678:28 [INFO] [stdout] | [INFO] [stdout] 1678 | _sapp_win32_msg_hwnd = CreateWindowExW( [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:345:65 [INFO] [stdout] | [INFO] [stdout] 345 | static mut _sapp_wglCreateContext: Option HGLRC> = None; [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:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | WS_EX_OVERLAPPEDWINDOW, [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:345:73 [INFO] [stdout] | [INFO] [stdout] 345 | static mut _sapp_wglCreateContext: Option HGLRC> = None; [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:1682:9 [INFO] [stdout] | [INFO] [stdout] 1682 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, [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:346:65 [INFO] [stdout] | [INFO] [stdout] 346 | 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:347:66 [INFO] [stdout] | [INFO] [stdout] 347 | 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:347:77 [INFO] [stdout] | [INFO] [stdout] 347 | 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:348:66 [INFO] [stdout] | [INFO] [stdout] 348 | 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:349:63 [INFO] [stdout] | [INFO] [stdout] 349 | 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:349:71 [INFO] [stdout] | [INFO] [stdout] 349 | 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:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | 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[E0425]: cannot find value `WS_CLIPCHILDREN` in this scope [INFO] [stdout] --> src/lib.rs:1682:27 [INFO] [stdout] | [INFO] [stdout] 1682 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, [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:352:35 [INFO] [stdout] | [INFO] [stdout] 352 | 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[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1687:9 [INFO] [stdout] | [INFO] [stdout] 1687 | NULL as _, [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:352:43 [INFO] [stdout] | [INFO] [stdout] 352 | 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[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1688:9 [INFO] [stdout] | [INFO] [stdout] 1688 | NULL as _, [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:352:51 [INFO] [stdout] | [INFO] [stdout] 352 | 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[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/lib.rs:1689:9 [INFO] [stdout] | [INFO] [stdout] 1689 | GetModuleHandleW(NULL as _), [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:352:67 [INFO] [stdout] | [INFO] [stdout] 352 | 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[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:1689:26 [INFO] [stdout] | [INFO] [stdout] 1689 | 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:1690:9 [INFO] [stdout] | [INFO] [stdout] 1690 | 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:1696:5 [INFO] [stdout] | [INFO] [stdout] 1696 | ShowWindow(_sapp_win32_msg_hwnd, SW_HIDE); [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:352:80 [INFO] [stdout] | [INFO] [stdout] 352 | 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:355:71 [INFO] [stdout] | [INFO] [stdout] 355 | 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:357:27 [INFO] [stdout] | [INFO] [stdout] 357 | 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:357:35 [INFO] [stdout] | [INFO] [stdout] 357 | 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:52 [INFO] [stdout] | [INFO] [stdout] 357 | 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:357:60 [INFO] [stdout] | [INFO] [stdout] 357 | 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:359:64 [INFO] [stdout] | [INFO] [stdout] 359 | 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:484:26 [INFO] [stdout] | [INFO] [stdout] 484 | 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:485:46 [INFO] [stdout] | [INFO] [stdout] 483 | pub unsafe fn sapp_mouse_shown() -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 484 | let mut cursor_info: CURSORINFO = std::mem::zeroed(); [INFO] [stdout] 485 | 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:486:5 [INFO] [stdout] | [INFO] [stdout] 486 | 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:488:25 [INFO] [stdout] | [INFO] [stdout] 488 | cursor_info.flags & CURSOR_SHOWING != 0 [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:1696:38 [INFO] [stdout] | [INFO] [stdout] 1696 | ShowWindow(_sapp_win32_msg_hwnd, SW_HIDE); [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:498:18 [INFO] [stdout] | [INFO] [stdout] 498 | let mut rid: RAWINPUTDEVICE = RAWINPUTDEVICE { [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:1698:11 [INFO] [stdout] | [INFO] [stdout] 1698 | 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[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/lib.rs:498:35 [INFO] [stdout] | [INFO] [stdout] 498 | let mut rid: RAWINPUTDEVICE = RAWINPUTDEVICE { [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:1698:67 [INFO] [stdout] | [INFO] [stdout] 1698 | 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 `HID_USAGE_GENERIC_POINTER` in this scope [INFO] [stdout] --> src/lib.rs:499:22 [INFO] [stdout] | [INFO] [stdout] 499 | usUsagePage: HID_USAGE_GENERIC_POINTER, [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:1699:9 [INFO] [stdout] | [INFO] [stdout] 1699 | TranslateMessage(&msg); [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:500:18 [INFO] [stdout] | [INFO] [stdout] 500 | usUsage: HID_USAGE_GENERIC_MOUSE, [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:1700:9 [INFO] [stdout] | [INFO] [stdout] 1700 | 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:1702:26 [INFO] [stdout] | [INFO] [stdout] 1702 | _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:1712:5 [INFO] [stdout] | [INFO] [stdout] 1712 | SwapBuffers(_sapp_win32_dc); [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:501:39 [INFO] [stdout] | [INFO] [stdout] 501 | dwFlags: if grab { 0 } else { RIDEV_REMOVE }, [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:1737:22 [INFO] [stdout] | [INFO] [stdout] 1737 | let mut msg: MSG = std::mem::zeroed(); [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:502:57 [INFO] [stdout] | [INFO] [stdout] 502 | 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 `PeekMessageW` in this scope [INFO] [stdout] --> src/lib.rs:1738:15 [INFO] [stdout] | [INFO] [stdout] 1738 | 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:1738:53 [INFO] [stdout] | [INFO] [stdout] 1738 | 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 function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope [INFO] [stdout] --> src/lib.rs:505:8 [INFO] [stdout] | [INFO] [stdout] 505 | if RegisterRawInputDevices( [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:1738:70 [INFO] [stdout] | [INFO] [stdout] 1738 | 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[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/lib.rs:508:29 [INFO] [stdout] | [INFO] [stdout] 491 | pub unsafe fn sapp_set_cursor_grab(grab: bool) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 508 | std::mem::size_of::() as _, [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:1739:16 [INFO] [stdout] | [INFO] [stdout] 1739 | 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 `ClipCursor` in this scope [INFO] [stdout] --> src/lib.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | 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 `TranslateMessage` in this scope [INFO] [stdout] --> src/lib.rs:1743:17 [INFO] [stdout] | [INFO] [stdout] 1743 | 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:1744:17 [INFO] [stdout] | [INFO] [stdout] 1744 | DispatchMessageW(&mut msg as *mut _ 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:519:20 [INFO] [stdout] | [INFO] [stdout] 519 | 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:525:5 [INFO] [stdout] | [INFO] [stdout] 525 | 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:530:32 [INFO] [stdout] | [INFO] [stdout] 530 | 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:531:29 [INFO] [stdout] | [INFO] [stdout] 531 | 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:532:32 [INFO] [stdout] | [INFO] [stdout] 532 | 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:533:29 [INFO] [stdout] | [INFO] [stdout] 533 | 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:534:34 [INFO] [stdout] | [INFO] [stdout] 534 | 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:535:29 [INFO] [stdout] | [INFO] [stdout] 535 | 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:536:29 [INFO] [stdout] | [INFO] [stdout] 536 | 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:537:35 [INFO] [stdout] | [INFO] [stdout] 537 | 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:538:33 [INFO] [stdout] | [INFO] [stdout] 538 | 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:539:33 [INFO] [stdout] | [INFO] [stdout] 539 | 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:540:35 [INFO] [stdout] | [INFO] [stdout] 540 | 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:541:35 [INFO] [stdout] | [INFO] [stdout] 541 | 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 `PostMessageW` in this scope [INFO] [stdout] --> src/lib.rs:1754:13 [INFO] [stdout] | [INFO] [stdout] 1754 | 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:1754:44 [INFO] [stdout] | [INFO] [stdout] 1754 | 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 `LoadCursorW` in this scope [INFO] [stdout] --> src/lib.rs:544:20 [INFO] [stdout] | [INFO] [stdout] 544 | _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:544:32 [INFO] [stdout] | [INFO] [stdout] 544 | _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:545:5 [INFO] [stdout] | [INFO] [stdout] 545 | SetCursor(_sapp_cursor); [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:555:19 [INFO] [stdout] | [INFO] [stdout] 555 | 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:556:8 [INFO] [stdout] | [INFO] [stdout] 556 | 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 `SetWindowPos` in this scope [INFO] [stdout] --> src/lib.rs:561:5 [INFO] [stdout] | [INFO] [stdout] 561 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stdout] --> src/lib.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | HWND_TOP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stdout] --> src/lib.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | SWP_NOMOVE [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:579:20 [INFO] [stdout] | [INFO] [stdout] 579 | let win_style: DWORD = if _sapp.desc.fullscreen { [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:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | 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:580:20 [INFO] [stdout] | [INFO] [stdout] 580 | 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:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | WS_POPUP | WS_SYSMENU | WS_VISIBLE [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:582:28 [INFO] [stdout] | [INFO] [stdout] 582 | let mut win_style: DWORD = WS_CLIPSIBLINGS [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:582:36 [INFO] [stdout] | [INFO] [stdout] 582 | let mut win_style: DWORD = 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:583:15 [INFO] [stdout] | [INFO] [stdout] 583 | | 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:584:15 [INFO] [stdout] | [INFO] [stdout] 584 | | 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:585:15 [INFO] [stdout] | [INFO] [stdout] 585 | | 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:586:15 [INFO] [stdout] | [INFO] [stdout] 586 | | 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:589:26 [INFO] [stdout] | [INFO] [stdout] 589 | win_style |= WS_MAXIMIZEBOX | WS_SIZEBOX; [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:589:43 [INFO] [stdout] | [INFO] [stdout] 589 | win_style |= WS_MAXIMIZEBOX | 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 `SetWindowLongPtrA` in this scope [INFO] [stdout] --> src/lib.rs:595:5 [INFO] [stdout] | [INFO] [stdout] 595 | SetWindowLongPtrA(_sapp_win32_hwnd, GWL_STYLE, win_style as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/lib.rs:595:41 [INFO] [stdout] | [INFO] [stdout] 595 | SetWindowLongPtrA(_sapp_win32_hwnd, GWL_STYLE, win_style as _); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/lib.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stdout] --> src/lib.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | HWND_TOP, [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:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | 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:603:30 [INFO] [stdout] | [INFO] [stdout] 603 | 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:604:13 [INFO] [stdout] | [INFO] [stdout] 604 | 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:604:30 [INFO] [stdout] | [INFO] [stdout] 604 | GetSystemMetrics(SM_CYSCREEN), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_FRAMECHANGED` in this scope [INFO] [stdout] --> src/lib.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | SWP_FRAMECHANGED [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/lib.rs:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stdout] --> src/lib.rs:610:13 [INFO] [stdout] | [INFO] [stdout] 610 | HWND_TOP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_FRAMECHANGED` in this scope [INFO] [stdout] --> src/lib.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | SWP_FRAMECHANGED [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:619:5 [INFO] [stdout] | [INFO] [stdout] 619 | 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:619:34 [INFO] [stdout] | [INFO] [stdout] 619 | 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 `GetKeyState` in this scope [INFO] [stdout] --> src/lib.rs:661:8 [INFO] [stdout] | [INFO] [stdout] 661 | 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:661:20 [INFO] [stdout] | [INFO] [stdout] 661 | 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:664:8 [INFO] [stdout] | [INFO] [stdout] 664 | 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:664:20 [INFO] [stdout] | [INFO] [stdout] 664 | 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:667:8 [INFO] [stdout] | [INFO] [stdout] 667 | 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:667:20 [INFO] [stdout] | [INFO] [stdout] 667 | 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:670:9 [INFO] [stdout] | [INFO] [stdout] 670 | 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:670:21 [INFO] [stdout] | [INFO] [stdout] 670 | 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:670:32 [INFO] [stdout] | [INFO] [stdout] 670 | 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:670:44 [INFO] [stdout] | [INFO] [stdout] 670 | 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:718:34 [INFO] [stdout] | [INFO] [stdout] 718 | 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:721:19 [INFO] [stdout] | [INFO] [stdout] 721 | 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:723:5 [INFO] [stdout] | [INFO] [stdout] 723 | 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:724:26 [INFO] [stdout] | [INFO] [stdout] 724 | 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:728:27 [INFO] [stdout] | [INFO] [stdout] 728 | 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:733:5 [INFO] [stdout] | [INFO] [stdout] 733 | 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:734:5 [INFO] [stdout] | [INFO] [stdout] 734 | 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:736:5 [INFO] [stdout] | [INFO] [stdout] 736 | 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:743:5 [INFO] [stdout] | [INFO] [stdout] 743 | 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:747:11 [INFO] [stdout] | [INFO] [stdout] 747 | 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:748:11 [INFO] [stdout] | [INFO] [stdout] 748 | 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:749:13 [INFO] [stdout] | [INFO] [stdout] 749 | 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:750:13 [INFO] [stdout] | [INFO] [stdout] 750 | 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:751:6 [INFO] [stdout] | [INFO] [stdout] 751 | ) -> 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:768:21 [INFO] [stdout] | [INFO] [stdout] 768 | 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:795:43 [INFO] [stdout] | [INFO] [stdout] 795 | 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:807:24 [INFO] [stdout] | [INFO] [stdout] 807 | 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:807:47 [INFO] [stdout] | [INFO] [stdout] 807 | 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:808:25 [INFO] [stdout] | [INFO] [stdout] 808 | 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:840:33 [INFO] [stdout] | [INFO] [stdout] 840 | _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:841:33 [INFO] [stdout] | [INFO] [stdout] 841 | _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:845:34 [INFO] [stdout] | [INFO] [stdout] 845 | 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:848:35 [INFO] [stdout] | [INFO] [stdout] 848 | 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:850:21 [INFO] [stdout] | [INFO] [stdout] 850 | 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:868:31 [INFO] [stdout] | [INFO] [stdout] 868 | 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:869:52 [INFO] [stdout] | [INFO] [stdout] 746 | unsafe extern "system" fn win32_wndproc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 869 | 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:870:35 [INFO] [stdout] | [INFO] [stdout] 870 | 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:872:21 [INFO] [stdout] | [INFO] [stdout] 872 | 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:875:41 [INFO] [stdout] | [INFO] [stdout] 746 | unsafe extern "system" fn win32_wndproc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 875 | 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:881:48 [INFO] [stdout] | [INFO] [stdout] 881 | 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:901:48 [INFO] [stdout] | [INFO] [stdout] 901 | _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:905:43 [INFO] [stdout] | [INFO] [stdout] 905 | _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:910:17 [INFO] [stdout] | [INFO] [stdout] 910 | 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:915:17 [INFO] [stdout] | [INFO] [stdout] 915 | 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:922:5 [INFO] [stdout] | [INFO] [stdout] 922 | 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:1122:19 [INFO] [stdout] | [INFO] [stdout] 1122 | 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:1124:8 [INFO] [stdout] | [INFO] [stdout] 1124 | 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:1158:18 [INFO] [stdout] | [INFO] [stdout] 1158 | 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:1164:18 [INFO] [stdout] | [INFO] [stdout] 1164 | 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:1173:41 [INFO] [stdout] | [INFO] [stdout] 1173 | 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:1176:37 [INFO] [stdout] | [INFO] [stdout] 1176 | 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:1187:22 [INFO] [stdout] | [INFO] [stdout] 1187 | 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:1188:22 [INFO] [stdout] | [INFO] [stdout] 1188 | 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:1188:43 [INFO] [stdout] | [INFO] [stdout] 1188 | 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:1189:27 [INFO] [stdout] | [INFO] [stdout] 1189 | 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:1190:27 [INFO] [stdout] | [INFO] [stdout] 1190 | 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:1193:17 [INFO] [stdout] | [INFO] [stdout] 1193 | 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:1213:9 [INFO] [stdout] | [INFO] [stdout] 1213 | 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:1216:9 [INFO] [stdout] | [INFO] [stdout] 1216 | 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:1221:24 [INFO] [stdout] | [INFO] [stdout] 1221 | 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:1223:23 [INFO] [stdout] | [INFO] [stdout] 1223 | 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:1223:36 [INFO] [stdout] | [INFO] [stdout] 1223 | 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:1223:49 [INFO] [stdout] | [INFO] [stdout] 1223 | 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:1225:27 [INFO] [stdout] | [INFO] [stdout] 1225 | 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:1225:44 [INFO] [stdout] | [INFO] [stdout] 1225 | 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:1226:25 [INFO] [stdout] | [INFO] [stdout] 1226 | 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:1226:37 [INFO] [stdout] | [INFO] [stdout] 1226 | 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:1226:48 [INFO] [stdout] | [INFO] [stdout] 1226 | 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:1227:23 [INFO] [stdout] | [INFO] [stdout] 1227 | 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:1227:33 [INFO] [stdout] | [INFO] [stdout] 1227 | 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:1227:44 [INFO] [stdout] | [INFO] [stdout] 1227 | 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:1230:5 [INFO] [stdout] | [INFO] [stdout] 1230 | 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:1232:20 [INFO] [stdout] | [INFO] [stdout] 1232 | 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:1233:23 [INFO] [stdout] | [INFO] [stdout] 1233 | 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:1233:31 [INFO] [stdout] | [INFO] [stdout] 1233 | 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:1233:49 [INFO] [stdout] | [INFO] [stdout] 1233 | 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:1234:20 [INFO] [stdout] | [INFO] [stdout] 1234 | 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:1242:21 [INFO] [stdout] | [INFO] [stdout] 1242 | 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:1242:32 [INFO] [stdout] | [INFO] [stdout] 1242 | 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:1242:45 [INFO] [stdout] | [INFO] [stdout] 1242 | 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:1243:22 [INFO] [stdout] | [INFO] [stdout] 1243 | 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:1243:39 [INFO] [stdout] | [INFO] [stdout] 1243 | 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:1244:23 [INFO] [stdout] | [INFO] [stdout] 1244 | 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:1244:40 [INFO] [stdout] | [INFO] [stdout] 1244 | 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:1247:13 [INFO] [stdout] | [INFO] [stdout] 1247 | 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:1248:15 [INFO] [stdout] | [INFO] [stdout] 1248 | | 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:1249:15 [INFO] [stdout] | [INFO] [stdout] 1249 | | 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:1250:15 [INFO] [stdout] | [INFO] [stdout] 1250 | | 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:1251:15 [INFO] [stdout] | [INFO] [stdout] 1251 | | 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:1252:15 [INFO] [stdout] | [INFO] [stdout] 1252 | | 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:1253:15 [INFO] [stdout] | [INFO] [stdout] 1253 | | WS_SIZEBOX [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:1255:13 [INFO] [stdout] | [INFO] [stdout] 1255 | 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:1256:15 [INFO] [stdout] | [INFO] [stdout] 1256 | | 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:1257:15 [INFO] [stdout] | [INFO] [stdout] 1257 | | 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:1258:15 [INFO] [stdout] | [INFO] [stdout] 1258 | | 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:1259:15 [INFO] [stdout] | [INFO] [stdout] 1259 | | WS_MINIMIZEBOX [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:1266:5 [INFO] [stdout] | [INFO] [stdout] 1266 | 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:1273:24 [INFO] [stdout] | [INFO] [stdout] 1273 | _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:1278:9 [INFO] [stdout] | [INFO] [stdout] 1278 | 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:1279:9 [INFO] [stdout] | [INFO] [stdout] 1279 | 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:1282:9 [INFO] [stdout] | [INFO] [stdout] 1282 | 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:1283:9 [INFO] [stdout] | [INFO] [stdout] 1283 | 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:1284:9 [INFO] [stdout] | [INFO] [stdout] 1284 | 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:1284:26 [INFO] [stdout] | [INFO] [stdout] 1284 | 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:1285:9 [INFO] [stdout] | [INFO] [stdout] 1285 | 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:1288:5 [INFO] [stdout] | [INFO] [stdout] 1288 | 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:1288:34 [INFO] [stdout] | [INFO] [stdout] 1288 | 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:1290:14 [INFO] [stdout] | [INFO] [stdout] 1290 | 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:1297:5 [INFO] [stdout] | [INFO] [stdout] 1297 | 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:1302:5 [INFO] [stdout] | [INFO] [stdout] 1302 | 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:1302:52 [INFO] [stdout] | [INFO] [stdout] 1302 | 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:1302:69 [INFO] [stdout] | [INFO] [stdout] 1302 | 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:1305:36 [INFO] [stdout] | [INFO] [stdout] 1305 | 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:1306:16 [INFO] [stdout] | [INFO] [stdout] 1306 | 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:1351:18 [INFO] [stdout] | [INFO] [stdout] 1351 | 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:1354:19 [INFO] [stdout] | [INFO] [stdout] 1354 | 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:1354:40 [INFO] [stdout] | [INFO] [stdout] 1354 | 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:1354:61 [INFO] [stdout] | [INFO] [stdout] 1354 | 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:1355:22 [INFO] [stdout] | [INFO] [stdout] 1355 | 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:1357:8 [INFO] [stdout] | [INFO] [stdout] 1357 | 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:1359:9 [INFO] [stdout] | [INFO] [stdout] 1359 | 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:1591:18 [INFO] [stdout] | [INFO] [stdout] 1591 | 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:1592:8 [INFO] [stdout] | [INFO] [stdout] 1592 | 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:1601:8 [INFO] [stdout] | [INFO] [stdout] 1601 | 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:1628:19 [INFO] [stdout] | [INFO] [stdout] 1628 | 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:1649:5 [INFO] [stdout] | [INFO] [stdout] 1296 | unsafe fn destroy_window() { [INFO] [stdout] | -------------------------- similarly named function `destroy_window` defined here [INFO] [stdout] ... [INFO] [stdout] 1649 | 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:1651:5 [INFO] [stdout] | [INFO] [stdout] 1651 | 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:1656:22 [INFO] [stdout] | [INFO] [stdout] 1656 | _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:1678:28 [INFO] [stdout] | [INFO] [stdout] 1678 | _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:1679:9 [INFO] [stdout] | [INFO] [stdout] 1679 | 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:1682:9 [INFO] [stdout] | [INFO] [stdout] 1682 | 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:1682:27 [INFO] [stdout] | [INFO] [stdout] 1682 | 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:1687:9 [INFO] [stdout] | [INFO] [stdout] 1687 | 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:1688:9 [INFO] [stdout] | [INFO] [stdout] 1688 | 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:1689:9 [INFO] [stdout] | [INFO] [stdout] 1689 | 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:1689:26 [INFO] [stdout] | [INFO] [stdout] 1689 | 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:1690:9 [INFO] [stdout] | [INFO] [stdout] 1690 | 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:1696:5 [INFO] [stdout] | [INFO] [stdout] 1696 | 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:1696:38 [INFO] [stdout] | [INFO] [stdout] 1696 | 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:1698:11 [INFO] [stdout] | [INFO] [stdout] 1698 | 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:1698:67 [INFO] [stdout] | [INFO] [stdout] 1698 | 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:1699:9 [INFO] [stdout] | [INFO] [stdout] 1699 | 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:1700:9 [INFO] [stdout] | [INFO] [stdout] 1700 | 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:1702:26 [INFO] [stdout] | [INFO] [stdout] 1702 | _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:1712:5 [INFO] [stdout] | [INFO] [stdout] 1712 | 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:1737:22 [INFO] [stdout] | [INFO] [stdout] 1737 | 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:1738:15 [INFO] [stdout] | [INFO] [stdout] 1738 | 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:1738:53 [INFO] [stdout] | [INFO] [stdout] 1738 | 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:1738:70 [INFO] [stdout] | [INFO] [stdout] 1738 | 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:1739:16 [INFO] [stdout] | [INFO] [stdout] 1739 | 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:1743:17 [INFO] [stdout] | [INFO] [stdout] 1743 | 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:1744:17 [INFO] [stdout] | [INFO] [stdout] 1744 | 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:1754:13 [INFO] [stdout] | [INFO] [stdout] 1754 | 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:1754:44 [INFO] [stdout] | [INFO] [stdout] 1754 | 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 274 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 274 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" "6df6d3197891edf42209a232b1f2cbaa589aa64794290ea3d755a9f8b0d4b6a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6df6d3197891edf42209a232b1f2cbaa589aa64794290ea3d755a9f8b0d4b6a5", kill_on_drop: false }` [INFO] [stdout] 6df6d3197891edf42209a232b1f2cbaa589aa64794290ea3d755a9f8b0d4b6a5