[INFO] fetching crate sapp-windows 0.2.20... [INFO] testing sapp-windows-0.2.20 against 1.60.0 for beta-1.61-1 [INFO] extracting crate sapp-windows 0.2.20 into /workspace/builds/worker-101/source [INFO] validating manifest of crates.io crate sapp-windows 0.2.20 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sapp-windows 0.2.20 [INFO] finished tweaking crates.io crate sapp-windows 0.2.20 [INFO] tweaked toml for crates.io crate sapp-windows 0.2.20 written to /workspace/builds/worker-101/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb9f75ec602193a9c4a3dce5122be6867f03e73a13a043817990dfdd5f4896ff [INFO] running `Command { std: "docker" "start" "-a" "fb9f75ec602193a9c4a3dce5122be6867f03e73a13a043817990dfdd5f4896ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb9f75ec602193a9c4a3dce5122be6867f03e73a13a043817990dfdd5f4896ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb9f75ec602193a9c4a3dce5122be6867f03e73a13a043817990dfdd5f4896ff", kill_on_drop: false }` [INFO] [stdout] fb9f75ec602193a9c4a3dce5122be6867f03e73a13a043817990dfdd5f4896ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68dd84371916e42d940243368dc0b4ebdc9149cb9e91ea5e7679cd7b7a5fa128 [INFO] running `Command { std: "docker" "start" "-a" "68dd84371916e42d940243368dc0b4ebdc9149cb9e91ea5e7679cd7b7a5fa128", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling sapp-windows v0.2.20 (/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[E0408]: variable `SC_MONITORPOWER` is not bound in all patterns [INFO] [stdout] --> src/lib.rs:782:21 [INFO] [stdout] | [INFO] [stdout] 782 | 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:782:37 [INFO] [stdout] | [INFO] [stdout] 782 | 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:782:37 [INFO] [stdout] | [INFO] [stdout] 782 | 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:782:21 [INFO] [stdout] | [INFO] [stdout] 782 | 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:916:26 [INFO] [stdout] | [INFO] [stdout] 916 | 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:916:13 [INFO] [stdout] | [INFO] [stdout] 916 | 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:916:13 [INFO] [stdout] | [INFO] [stdout] 916 | 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:916:26 [INFO] [stdout] | [INFO] [stdout] 916 | 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:921:24 [INFO] [stdout] | [INFO] [stdout] 921 | 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:921:13 [INFO] [stdout] | [INFO] [stdout] 921 | 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:921:13 [INFO] [stdout] | [INFO] [stdout] 921 | 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:921:24 [INFO] [stdout] | [INFO] [stdout] 921 | 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:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | 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:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | 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:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let data_ptr = GlobalLock(clipboard_data) as *const u16; [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:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | 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:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | 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:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | 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:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | 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:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | 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:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | 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:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | 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:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | 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:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | 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:338:28 [INFO] [stdout] | [INFO] [stdout] 338 | 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:340:28 [INFO] [stdout] | [INFO] [stdout] 340 | 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:341:26 [INFO] [stdout] | [INFO] [stdout] 341 | 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:342:34 [INFO] [stdout] | [INFO] [stdout] 342 | 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:343:32 [INFO] [stdout] | [INFO] [stdout] 343 | 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:344:26 [INFO] [stdout] | [INFO] [stdout] 344 | 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:353:27 [INFO] [stdout] | [INFO] [stdout] 353 | 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:353:53 [INFO] [stdout] | [INFO] [stdout] 353 | 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:356:27 [INFO] [stdout] | [INFO] [stdout] 356 | 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:356:40 [INFO] [stdout] | [INFO] [stdout] 356 | 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:356:66 [INFO] [stdout] | [INFO] [stdout] 356 | 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:356:80 [INFO] [stdout] | [INFO] [stdout] 356 | 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:356:89 [INFO] [stdout] | [INFO] [stdout] 356 | 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:358:65 [INFO] [stdout] | [INFO] [stdout] 358 | 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:358:73 [INFO] [stdout] | [INFO] [stdout] 358 | 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:359:65 [INFO] [stdout] | [INFO] [stdout] 359 | 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:360:66 [INFO] [stdout] | [INFO] [stdout] 360 | 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:360:77 [INFO] [stdout] | [INFO] [stdout] 360 | 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:361:66 [INFO] [stdout] | [INFO] [stdout] 361 | 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:362:63 [INFO] [stdout] | [INFO] [stdout] 362 | 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:362:71 [INFO] [stdout] | [INFO] [stdout] 362 | 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:365:27 [INFO] [stdout] | [INFO] [stdout] 365 | 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:365:35 [INFO] [stdout] | [INFO] [stdout] 365 | 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:365:43 [INFO] [stdout] | [INFO] [stdout] 365 | 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:365:51 [INFO] [stdout] | [INFO] [stdout] 365 | 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:365:67 [INFO] [stdout] | [INFO] [stdout] 365 | 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:365:80 [INFO] [stdout] | [INFO] [stdout] 365 | 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:368:71 [INFO] [stdout] | [INFO] [stdout] 368 | 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:370:27 [INFO] [stdout] | [INFO] [stdout] 370 | 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:370:35 [INFO] [stdout] | [INFO] [stdout] 370 | 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:370:52 [INFO] [stdout] | [INFO] [stdout] 370 | 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:370:60 [INFO] [stdout] | [INFO] [stdout] 370 | 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:372:64 [INFO] [stdout] | [INFO] [stdout] 372 | 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:498:26 [INFO] [stdout] | [INFO] [stdout] 498 | 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:499:46 [INFO] [stdout] | [INFO] [stdout] 497 | pub unsafe fn sapp_mouse_shown() -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 498 | let mut cursor_info: CURSORINFO = std::mem::zeroed(); [INFO] [stdout] 499 | 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:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | 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:502:25 [INFO] [stdout] | [INFO] [stdout] 502 | 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:512:18 [INFO] [stdout] | [INFO] [stdout] 512 | 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:512:35 [INFO] [stdout] | [INFO] [stdout] 512 | 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:513:22 [INFO] [stdout] | [INFO] [stdout] 513 | 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:514:18 [INFO] [stdout] | [INFO] [stdout] 514 | 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:515:39 [INFO] [stdout] | [INFO] [stdout] 515 | 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:516:57 [INFO] [stdout] | [INFO] [stdout] 516 | 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:519:8 [INFO] [stdout] | [INFO] [stdout] 519 | 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:522:29 [INFO] [stdout] | [INFO] [stdout] 505 | pub unsafe fn sapp_set_cursor_grab(grab: bool) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 522 | 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:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | 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:533:20 [INFO] [stdout] | [INFO] [stdout] 533 | 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:538:5 [INFO] [stdout] | [INFO] [stdout] 538 | 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:543:32 [INFO] [stdout] | [INFO] [stdout] 543 | 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:544:29 [INFO] [stdout] | [INFO] [stdout] 544 | 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:545:32 [INFO] [stdout] | [INFO] [stdout] 545 | 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:546:29 [INFO] [stdout] | [INFO] [stdout] 546 | 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:547:34 [INFO] [stdout] | [INFO] [stdout] 547 | 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:548:29 [INFO] [stdout] | [INFO] [stdout] 548 | 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:549:29 [INFO] [stdout] | [INFO] [stdout] 549 | 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:550:35 [INFO] [stdout] | [INFO] [stdout] 550 | 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:551:33 [INFO] [stdout] | [INFO] [stdout] 551 | 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:552:33 [INFO] [stdout] | [INFO] [stdout] 552 | 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:553:35 [INFO] [stdout] | [INFO] [stdout] 553 | 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:554:35 [INFO] [stdout] | [INFO] [stdout] 554 | 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:557:20 [INFO] [stdout] | [INFO] [stdout] 557 | _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:557:32 [INFO] [stdout] | [INFO] [stdout] 557 | _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:558:5 [INFO] [stdout] | [INFO] [stdout] 558 | SetCursor(_sapp_cursor); [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:564:20 [INFO] [stdout] | [INFO] [stdout] 564 | let win_style: DWORD = get_win_style(); [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:565:23 [INFO] [stdout] | [INFO] [stdout] 565 | 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:565:31 [INFO] [stdout] | [INFO] [stdout] 565 | 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:565:49 [INFO] [stdout] | [INFO] [stdout] 565 | 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[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/lib.rs:567:19 [INFO] [stdout] | [INFO] [stdout] 567 | 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 `GetSystemMetrics` in this scope [INFO] [stdout] --> src/lib.rs:569:22 [INFO] [stdout] | [INFO] [stdout] 569 | 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:569:39 [INFO] [stdout] | [INFO] [stdout] 569 | 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:570:23 [INFO] [stdout] | [INFO] [stdout] 570 | 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:570:40 [INFO] [stdout] | [INFO] [stdout] 570 | rect.bottom = GetSystemMetrics(SM_CYSCREEN); [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:575:5 [INFO] [stdout] | [INFO] [stdout] 575 | 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 `SetWindowPos` in this scope [INFO] [stdout] --> src/lib.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | 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:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | 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:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | 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:591:30 [INFO] [stdout] | [INFO] [stdout] 591 | unsafe fn get_win_style() -> DWORD { [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:593:9 [INFO] [stdout] | [INFO] [stdout] 593 | 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:593:20 [INFO] [stdout] | [INFO] [stdout] 593 | 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:593:33 [INFO] [stdout] | [INFO] [stdout] 593 | 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:595:28 [INFO] [stdout] | [INFO] [stdout] 595 | let mut win_style: DWORD = [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:596:13 [INFO] [stdout] | [INFO] [stdout] 596 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; [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:596:31 [INFO] [stdout] | [INFO] [stdout] 596 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; [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:596:49 [INFO] [stdout] | [INFO] [stdout] 596 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; [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:596:62 [INFO] [stdout] | [INFO] [stdout] 596 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; [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:596:75 [INFO] [stdout] | [INFO] [stdout] 596 | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | 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:599:26 [INFO] [stdout] | [INFO] [stdout] 599 | 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:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | win_style |= WS_MAXIMIZEBOX | WS_SIZEBOX; [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:609:20 [INFO] [stdout] | [INFO] [stdout] 609 | let win_style: DWORD = get_win_style(); [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:611:5 [INFO] [stdout] | [INFO] [stdout] 611 | 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:611:41 [INFO] [stdout] | [INFO] [stdout] 611 | 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:614:9 [INFO] [stdout] | [INFO] [stdout] 614 | 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:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | 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:619:13 [INFO] [stdout] | [INFO] [stdout] 619 | 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:619:30 [INFO] [stdout] | [INFO] [stdout] 619 | 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:620:13 [INFO] [stdout] | [INFO] [stdout] 620 | 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:620:30 [INFO] [stdout] | [INFO] [stdout] 620 | 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:621:13 [INFO] [stdout] | [INFO] [stdout] 621 | 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:627:5 [INFO] [stdout] | [INFO] [stdout] 627 | 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:627:34 [INFO] [stdout] | [INFO] [stdout] 627 | 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:669:8 [INFO] [stdout] | [INFO] [stdout] 669 | 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:669:20 [INFO] [stdout] | [INFO] [stdout] 669 | 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:672:8 [INFO] [stdout] | [INFO] [stdout] 672 | 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:672:20 [INFO] [stdout] | [INFO] [stdout] 672 | 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:675:8 [INFO] [stdout] | [INFO] [stdout] 675 | 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:675:20 [INFO] [stdout] | [INFO] [stdout] 675 | 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:678:9 [INFO] [stdout] | [INFO] [stdout] 678 | 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:678:21 [INFO] [stdout] | [INFO] [stdout] 678 | 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:678:32 [INFO] [stdout] | [INFO] [stdout] 678 | 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:678:44 [INFO] [stdout] | [INFO] [stdout] 678 | 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:726:34 [INFO] [stdout] | [INFO] [stdout] 726 | 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:729:19 [INFO] [stdout] | [INFO] [stdout] 729 | 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:731:5 [INFO] [stdout] | [INFO] [stdout] 731 | 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:732:26 [INFO] [stdout] | [INFO] [stdout] 732 | 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:736:27 [INFO] [stdout] | [INFO] [stdout] 736 | 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:741:5 [INFO] [stdout] | [INFO] [stdout] 741 | 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:742:5 [INFO] [stdout] | [INFO] [stdout] 742 | 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:744:5 [INFO] [stdout] | [INFO] [stdout] 744 | 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:751:5 [INFO] [stdout] | [INFO] [stdout] 751 | 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:755:11 [INFO] [stdout] | [INFO] [stdout] 755 | 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:756:11 [INFO] [stdout] | [INFO] [stdout] 756 | 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:757:13 [INFO] [stdout] | [INFO] [stdout] 757 | 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:758:13 [INFO] [stdout] | [INFO] [stdout] 758 | 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:759:6 [INFO] [stdout] | [INFO] [stdout] 759 | ) -> 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:776:21 [INFO] [stdout] | [INFO] [stdout] 776 | 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:803:43 [INFO] [stdout] | [INFO] [stdout] 803 | 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:815:24 [INFO] [stdout] | [INFO] [stdout] 815 | 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:815:47 [INFO] [stdout] | [INFO] [stdout] 815 | 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:816:25 [INFO] [stdout] | [INFO] [stdout] 816 | 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:848:33 [INFO] [stdout] | [INFO] [stdout] 848 | _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:849:33 [INFO] [stdout] | [INFO] [stdout] 849 | _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:853:34 [INFO] [stdout] | [INFO] [stdout] 853 | 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:856:35 [INFO] [stdout] | [INFO] [stdout] 856 | 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:858:21 [INFO] [stdout] | [INFO] [stdout] 858 | 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:876:31 [INFO] [stdout] | [INFO] [stdout] 876 | 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:877:52 [INFO] [stdout] | [INFO] [stdout] 754 | unsafe extern "system" fn win32_wndproc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 877 | 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:878:35 [INFO] [stdout] | [INFO] [stdout] 878 | 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:880:21 [INFO] [stdout] | [INFO] [stdout] 880 | 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:883:41 [INFO] [stdout] | [INFO] [stdout] 754 | unsafe extern "system" fn win32_wndproc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 883 | 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:889:48 [INFO] [stdout] | [INFO] [stdout] 889 | 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:909:48 [INFO] [stdout] | [INFO] [stdout] 909 | _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:913:43 [INFO] [stdout] | [INFO] [stdout] 913 | _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:918:17 [INFO] [stdout] | [INFO] [stdout] 918 | 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:923:17 [INFO] [stdout] | [INFO] [stdout] 923 | 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:930:5 [INFO] [stdout] | [INFO] [stdout] 930 | 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:1130:19 [INFO] [stdout] | [INFO] [stdout] 1130 | 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:1132:8 [INFO] [stdout] | [INFO] [stdout] 1132 | 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:1166:18 [INFO] [stdout] | [INFO] [stdout] 1166 | 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:1172:18 [INFO] [stdout] | [INFO] [stdout] 1172 | 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:1181:41 [INFO] [stdout] | [INFO] [stdout] 1181 | 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:1184:37 [INFO] [stdout] | [INFO] [stdout] 1184 | 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:1195:22 [INFO] [stdout] | [INFO] [stdout] 1195 | 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:1196:22 [INFO] [stdout] | [INFO] [stdout] 1196 | 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:1196:43 [INFO] [stdout] | [INFO] [stdout] 1196 | 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:1197:27 [INFO] [stdout] | [INFO] [stdout] 1197 | 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:1198:27 [INFO] [stdout] | [INFO] [stdout] 1198 | 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:1201:17 [INFO] [stdout] | [INFO] [stdout] 1201 | 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:1221:9 [INFO] [stdout] | [INFO] [stdout] 1221 | 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:1224:9 [INFO] [stdout] | [INFO] [stdout] 1224 | FreeLibrary(shcore); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/lib.rs:1228:88 [INFO] [stdout] | [INFO] [stdout] 1228 | unsafe fn create_win_icon_from_image(width: u32, height: u32, colors: &[u8]) -> Option { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPV5HEADER` in this scope [INFO] [stdout] --> src/lib.rs:1229:17 [INFO] [stdout] | [INFO] [stdout] 1229 | let mut bi: BITMAPV5HEADER = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPV5HEADER` in this scope [INFO] [stdout] --> src/lib.rs:1231:38 [INFO] [stdout] | [INFO] [stdout] 1228 | unsafe fn create_win_icon_from_image(width: u32, height: u32, colors: &[u8]) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 1231 | bi.bV5Size = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BI_BITFIELDS` in this scope [INFO] [stdout] --> src/lib.rs:1236:25 [INFO] [stdout] | [INFO] [stdout] 1236 | bi.bV5Compression = BI_BITFIELDS; [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:1243:14 [INFO] [stdout] | [INFO] [stdout] 1243 | let dc = GetDC(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 `CreateDIBSection` in this scope [INFO] [stdout] --> src/lib.rs:1244:17 [INFO] [stdout] | [INFO] [stdout] 1244 | let color = CreateDIBSection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFO` in this scope [INFO] [stdout] --> src/lib.rs:1246:35 [INFO] [stdout] | [INFO] [stdout] 1246 | &bi as *const _ as *const BITMAPINFO, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope [INFO] [stdout] --> src/lib.rs:1247:9 [INFO] [stdout] | [INFO] [stdout] 1247 | DIB_RGB_COLORS, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> src/lib.rs:1252:5 [INFO] [stdout] | [INFO] [stdout] 1252 | ReleaseDC(std::ptr::null_mut(), dc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateBitmap` in this scope [INFO] [stdout] --> src/lib.rs:1258:16 [INFO] [stdout] | [INFO] [stdout] 1258 | let mask = CreateBitmap(width as _, height as _, 1, 1, std::ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/lib.rs:1260:9 [INFO] [stdout] | [INFO] [stdout] 1260 | DeleteObject(color as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ICONINFO` in this scope [INFO] [stdout] --> src/lib.rs:1271:24 [INFO] [stdout] | [INFO] [stdout] 1271 | let mut icon_info: ICONINFO = 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 `CreateIconIndirect` in this scope [INFO] [stdout] --> src/lib.rs:1277:23 [INFO] [stdout] | [INFO] [stdout] 1277 | let icon_handle = CreateIconIndirect(&mut icon_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/lib.rs:1278:5 [INFO] [stdout] | [INFO] [stdout] 1278 | DeleteObject(color as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/lib.rs:1279:5 [INFO] [stdout] | [INFO] [stdout] 1279 | DeleteObject(mask as *mut _); [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:1285:22 [INFO] [stdout] | [INFO] [stdout] 1285 | let big_icon_w = GetSystemMetrics(SM_CXICON); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXICON` in this scope [INFO] [stdout] --> src/lib.rs:1285:39 [INFO] [stdout] | [INFO] [stdout] 1285 | let big_icon_w = GetSystemMetrics(SM_CXICON); [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:1286:22 [INFO] [stdout] | [INFO] [stdout] 1286 | let big_icon_h = GetSystemMetrics(SM_CYICON); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYICON` in this scope [INFO] [stdout] --> src/lib.rs:1286:39 [INFO] [stdout] | [INFO] [stdout] 1286 | let big_icon_h = GetSystemMetrics(SM_CYICON); [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:1287:24 [INFO] [stdout] | [INFO] [stdout] 1287 | let small_icon_w = GetSystemMetrics(SM_CXSMICON); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXSMICON` in this scope [INFO] [stdout] --> src/lib.rs:1287:41 [INFO] [stdout] | [INFO] [stdout] 1287 | let small_icon_w = GetSystemMetrics(SM_CXSMICON); [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:1288:24 [INFO] [stdout] | [INFO] [stdout] 1288 | let small_icon_h = GetSystemMetrics(SM_CYSMICON); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYSMICON` in this scope [INFO] [stdout] --> src/lib.rs:1288:41 [INFO] [stdout] | [INFO] [stdout] 1288 | let small_icon_h = GetSystemMetrics(SM_CYSMICON); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope [INFO] [stdout] --> src/lib.rs:1305:9 [INFO] [stdout] | [INFO] [stdout] 1305 | SendMessageW(_sapp_win32_hwnd, WM_SETICON, ICON_BIG as _, icon as LPARAM); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETICON` in this scope [INFO] [stdout] --> src/lib.rs:1305:40 [INFO] [stdout] | [INFO] [stdout] 1305 | SendMessageW(_sapp_win32_hwnd, WM_SETICON, ICON_BIG as _, icon as LPARAM); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ICON_BIG` in this scope [INFO] [stdout] --> src/lib.rs:1305:52 [INFO] [stdout] | [INFO] [stdout] 1305 | SendMessageW(_sapp_win32_hwnd, WM_SETICON, ICON_BIG as _, icon as LPARAM); [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:1305:75 [INFO] [stdout] | [INFO] [stdout] 1305 | SendMessageW(_sapp_win32_hwnd, WM_SETICON, ICON_BIG as _, icon 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 `SendMessageW` in this scope [INFO] [stdout] --> src/lib.rs:1308:9 [INFO] [stdout] | [INFO] [stdout] 1308 | SendMessageW( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SETICON` in this scope [INFO] [stdout] --> src/lib.rs:1310:13 [INFO] [stdout] | [INFO] [stdout] 1310 | WM_SETICON, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ICON_SMALL` in this scope [INFO] [stdout] --> src/lib.rs:1311:13 [INFO] [stdout] | [INFO] [stdout] 1311 | ICON_SMALL as _, [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:1312:21 [INFO] [stdout] | [INFO] [stdout] 1312 | icon as LPARAM, [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:1318:24 [INFO] [stdout] | [INFO] [stdout] 1318 | 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:1320:23 [INFO] [stdout] | [INFO] [stdout] 1320 | 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:1320:36 [INFO] [stdout] | [INFO] [stdout] 1320 | 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:1320:49 [INFO] [stdout] | [INFO] [stdout] 1320 | 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:1322:27 [INFO] [stdout] | [INFO] [stdout] 1322 | 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:1322:44 [INFO] [stdout] | [INFO] [stdout] 1322 | 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:1323:25 [INFO] [stdout] | [INFO] [stdout] 1323 | 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:1323:37 [INFO] [stdout] | [INFO] [stdout] 1323 | 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:1323:48 [INFO] [stdout] | [INFO] [stdout] 1323 | 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:1324:23 [INFO] [stdout] | [INFO] [stdout] 1324 | 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:1324:33 [INFO] [stdout] | [INFO] [stdout] 1324 | 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:1324:44 [INFO] [stdout] | [INFO] [stdout] 1324 | 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:1327:5 [INFO] [stdout] | [INFO] [stdout] 1327 | 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:1329:23 [INFO] [stdout] | [INFO] [stdout] 1329 | 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:1329:31 [INFO] [stdout] | [INFO] [stdout] 1329 | 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:1329:49 [INFO] [stdout] | [INFO] [stdout] 1329 | 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:1330:20 [INFO] [stdout] | [INFO] [stdout] 1330 | let mut rect = RECT { [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:1337:20 [INFO] [stdout] | [INFO] [stdout] 1337 | let win_style: DWORD = get_win_style(); [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:1339:22 [INFO] [stdout] | [INFO] [stdout] 1339 | 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:1339:39 [INFO] [stdout] | [INFO] [stdout] 1339 | 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:1340:23 [INFO] [stdout] | [INFO] [stdout] 1340 | 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:1340:40 [INFO] [stdout] | [INFO] [stdout] 1340 | rect.bottom = GetSystemMetrics(SM_CYSCREEN); [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:1346:5 [INFO] [stdout] | [INFO] [stdout] 1346 | 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:1353:24 [INFO] [stdout] | [INFO] [stdout] 1353 | _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:1358:9 [INFO] [stdout] | [INFO] [stdout] 1358 | 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:1359:9 [INFO] [stdout] | [INFO] [stdout] 1359 | 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:1362:9 [INFO] [stdout] | [INFO] [stdout] 1362 | 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:1363:9 [INFO] [stdout] | [INFO] [stdout] 1363 | 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:1364:9 [INFO] [stdout] | [INFO] [stdout] 1364 | 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:1364:26 [INFO] [stdout] | [INFO] [stdout] 1364 | 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:1365:9 [INFO] [stdout] | [INFO] [stdout] 1365 | 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:1368:5 [INFO] [stdout] | [INFO] [stdout] 1368 | 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:1368:34 [INFO] [stdout] | [INFO] [stdout] 1368 | 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:1370:14 [INFO] [stdout] | [INFO] [stdout] 1370 | 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:1377:5 [INFO] [stdout] | [INFO] [stdout] 1377 | 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:1382:5 [INFO] [stdout] | [INFO] [stdout] 1382 | 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:1382:52 [INFO] [stdout] | [INFO] [stdout] 1382 | 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:1382:69 [INFO] [stdout] | [INFO] [stdout] 1382 | 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:1385:36 [INFO] [stdout] | [INFO] [stdout] 1385 | 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:1386:16 [INFO] [stdout] | [INFO] [stdout] 1386 | 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:1431:18 [INFO] [stdout] | [INFO] [stdout] 1431 | 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:1434:19 [INFO] [stdout] | [INFO] [stdout] 1434 | 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:1434:40 [INFO] [stdout] | [INFO] [stdout] 1434 | 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:1434:61 [INFO] [stdout] | [INFO] [stdout] 1434 | 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:1435:22 [INFO] [stdout] | [INFO] [stdout] 1435 | 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:1437:8 [INFO] [stdout] | [INFO] [stdout] 1437 | 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:1439:9 [INFO] [stdout] | [INFO] [stdout] 1439 | 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:1671:18 [INFO] [stdout] | [INFO] [stdout] 1671 | 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:1672:8 [INFO] [stdout] | [INFO] [stdout] 1672 | 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:1681:8 [INFO] [stdout] | [INFO] [stdout] 1681 | 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:1708:19 [INFO] [stdout] | [INFO] [stdout] 1708 | 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:1729:5 [INFO] [stdout] | [INFO] [stdout] 1376 | unsafe fn destroy_window() { [INFO] [stdout] | -------------------------- similarly named function `destroy_window` defined here [INFO] [stdout] ... [INFO] [stdout] 1729 | 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:1731:5 [INFO] [stdout] | [INFO] [stdout] 1731 | 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:1736:22 [INFO] [stdout] | [INFO] [stdout] 1736 | _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:1758:28 [INFO] [stdout] | [INFO] [stdout] 1758 | _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:1759:9 [INFO] [stdout] | [INFO] [stdout] 1759 | 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:1762:9 [INFO] [stdout] | [INFO] [stdout] 1762 | 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:1762:27 [INFO] [stdout] | [INFO] [stdout] 1762 | 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:1767:9 [INFO] [stdout] | [INFO] [stdout] 1767 | 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:1768:9 [INFO] [stdout] | [INFO] [stdout] 1768 | 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:1769:9 [INFO] [stdout] | [INFO] [stdout] 1769 | 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:1769:26 [INFO] [stdout] | [INFO] [stdout] 1769 | 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:1770:9 [INFO] [stdout] | [INFO] [stdout] 1770 | 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:1776:5 [INFO] [stdout] | [INFO] [stdout] 1776 | 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:1776:38 [INFO] [stdout] | [INFO] [stdout] 1776 | 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:1778:11 [INFO] [stdout] | [INFO] [stdout] 1778 | 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:1778:67 [INFO] [stdout] | [INFO] [stdout] 1778 | 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:1779:9 [INFO] [stdout] | [INFO] [stdout] 1779 | 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:1780:9 [INFO] [stdout] | [INFO] [stdout] 1780 | 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:1782:26 [INFO] [stdout] | [INFO] [stdout] 1782 | _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:1792:5 [INFO] [stdout] | [INFO] [stdout] 1792 | 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:1820:22 [INFO] [stdout] | [INFO] [stdout] 1820 | 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:1821:15 [INFO] [stdout] | [INFO] [stdout] 1821 | 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:1821:53 [INFO] [stdout] | [INFO] [stdout] 1821 | 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:1821:70 [INFO] [stdout] | [INFO] [stdout] 1821 | 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:1822:16 [INFO] [stdout] | [INFO] [stdout] 1822 | 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:1826:17 [INFO] [stdout] | [INFO] [stdout] 1826 | 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:1827:17 [INFO] [stdout] | [INFO] [stdout] 1827 | 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:1837:13 [INFO] [stdout] | [INFO] [stdout] 1837 | 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:1837:44 [INFO] [stdout] | [INFO] [stdout] 1837 | PostMessageW(_sapp_win32_hwnd, WM_CLOSE, 0, 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0699]: the type of this value must be known to call a method on a raw pointer on it [INFO] [stdout] --> src/lib.rs:1256:20 [INFO] [stdout] | [INFO] [stdout] 1256 | assert!(target.is_null() == false); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sapp-windows` due to 298 previous errors [INFO] [stdout] error: aborting due to 297 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0422, E0425, E0432, E0433, E0699. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "68dd84371916e42d940243368dc0b4ebdc9149cb9e91ea5e7679cd7b7a5fa128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68dd84371916e42d940243368dc0b4ebdc9149cb9e91ea5e7679cd7b7a5fa128", kill_on_drop: false }` [INFO] [stdout] 68dd84371916e42d940243368dc0b4ebdc9149cb9e91ea5e7679cd7b7a5fa128