[INFO] updating cached repository https://github.com/jestarray/handmadehero-rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] [stderr] From https://github.com/jestarray/handmadehero-rust
[INFO] [stderr]    87903b3..b1d78e4  master     -> master
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] b1d78e44aacef0afd99036226ea4fa9d91dc8bcc
[INFO] testing jestarray/handmadehero-rust against beta-2019-12-18 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjestarray%2Fhandmadehero-rust" "/workspace/builds/worker-4/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jestarray/handmadehero-rust on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/jestarray/handmadehero-rust
[INFO] finished tweaking git repo https://github.com/jestarray/handmadehero-rust
[INFO] tweaked toml for git repo https://github.com/jestarray/handmadehero-rust written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/jestarray/handmadehero-rust already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: unused manifest key: lib.src
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-12-18" "build" "--frozen"`
[INFO] [stdout] a98c5eaf73e67898e6a7359cd3bf1f2902dfac22ae7ad1d0a9d28418c16d4fdf
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "a98c5eaf73e67898e6a7359cd3bf1f2902dfac22ae7ad1d0a9d28418c16d4fdf"`
[INFO] [stderr] warning: unused manifest key: lib.src
[INFO] [stderr]    Compiling handmadehero-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused variable: `Y`
[INFO] [stderr]    --> src/handmade.rs:313:13
[INFO] [stderr]     |
[INFO] [stderr] 313 |         for Y in MinY..MaxY
[INFO] [stderr]     |             ^ help: consider prefixing with an underscore: `_Y`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `X`
[INFO] [stderr]    --> src/handmade.rs:320:17
[INFO] [stderr]     |
[INFO] [stderr] 320 |             for X in MinX..MaxX
[INFO] [stderr]     |                 ^ help: consider prefixing with an underscore: `_X`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `Y`
[INFO] [stderr]    --> src/handmade.rs:397:13
[INFO] [stderr]     |
[INFO] [stderr] 397 |         for Y in 0..Header.Height
[INFO] [stderr]     |             ^ help: consider prefixing with an underscore: `_Y`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `X`
[INFO] [stderr]    --> src/handmade.rs:402:17
[INFO] [stderr]     |
[INFO] [stderr] 402 |             for X in 0..Header.Width
[INFO] [stderr]     |                 ^ help: consider prefixing with an underscore: `_X`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `World`
[INFO] [stderr]    --> src/handmade.rs:555:25
[INFO] [stderr]     |
[INFO] [stderr] 555 |                     let World = game_state.world.as_mut().unwrap();
[INFO] [stderr]     |                         ^^^^^ help: consider prefixing with an underscore: `_World`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ScreenIndex`
[INFO] [stderr]    --> src/handmade.rs:578:17
[INFO] [stderr]     |
[INFO] [stderr] 578 |             for ScreenIndex in 0..100
[INFO] [stderr]     |                 ^^^^^^^^^^^ help: consider prefixing with an underscore: `_ScreenIndex`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `RandomChoice` is never read
[INFO] [stderr]    --> src/handmade.rs:586:25
[INFO] [stderr]     |
[INFO] [stderr] 586 |                 let mut RandomChoice = 0;
[INFO] [stderr]     |                         ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `LowerLeftX`
[INFO] [stderr]    --> src/handmade.rs:703:13
[INFO] [stderr]     |
[INFO] [stderr] 703 |         let LowerLeftX = -(TileSideInPixels / 2) as f32;
[INFO] [stderr]     |             ^^^^^^^^^^ help: consider prefixing with an underscore: `_LowerLeftX`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `LowerLeftY`
[INFO] [stderr]    --> src/handmade.rs:704:13
[INFO] [stderr]     |
[INFO] [stderr] 704 |         let LowerLeftY = buffer.height as f32;
[INFO] [stderr]     |             ^^^^^^^^^^ help: consider prefixing with an underscore: `_LowerLeftY`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `width`
[INFO] [stderr]    --> src/handmade.rs:819:13
[INFO] [stderr]     |
[INFO] [stderr] 819 |         let width = buffer.width;
[INFO] [stderr]     |             ^^^^^ help: consider prefixing with an underscore: `_width`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `height`
[INFO] [stderr]    --> src/handmade.rs:820:13
[INFO] [stderr]     |
[INFO] [stderr] 820 |         let height = buffer.height;
[INFO] [stderr]     |             ^^^^^^ help: consider prefixing with an underscore: `_height`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `game_state`
[INFO] [stderr]    --> src/handmade.rs:995:5
[INFO] [stderr]     |
[INFO] [stderr] 995 |     game_state: *mut GameState,
[INFO] [stderr]     |     ^^^^^^^^^^ help: consider prefixing with an underscore: `_game_state`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `buffer`
[INFO] [stderr]    --> src/handmade.rs:996:5
[INFO] [stderr]     |
[INFO] [stderr] 996 |     buffer: &mut game_sound_output_buffer,
[INFO] [stderr]     |     ^^^^^^ help: consider prefixing with an underscore: `_buffer`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tone_hz`
[INFO] [stderr]    --> src/handmade.rs:997:5
[INFO] [stderr]     |
[INFO] [stderr] 997 |     tone_hz: u32,
[INFO] [stderr]     |     ^^^^^^^ help: consider prefixing with an underscore: `_tone_hz`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `thread`
[INFO] [stderr]     --> src/handmade.rs:1037:5
[INFO] [stderr]      |
[INFO] [stderr] 1037 |     thread: &thread_context,
[INFO] [stderr]      |     ^^^^^^ help: consider prefixing with an underscore: `_thread`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/handmade.rs:554:25
[INFO] [stderr]     |
[INFO] [stderr] 554 |                     let mut game_state = &mut *(memory.permanent_storage as *mut GameState);
[INFO] [stderr]     |                         ----^^^^^^^^^^
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]   --> src/handmade_tile.rs:98:8
[INFO] [stderr]    |
[INFO] [stderr] 98 |     if (TileChunkX >= 0)
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]    --> src/handmade_tile.rs:100:12
[INFO] [stderr]     |
[INFO] [stderr] 100 |         && (TileChunkY >= 0)
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]    --> src/handmade_tile.rs:102:12
[INFO] [stderr]     |
[INFO] [stderr] 102 |         && (TileChunkZ >= 0)
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]   --> src/win32_handmade.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |     os::windows::ffi::OsStrExt,
[INFO] [stderr]    |         ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use winapi::um::minwinbase::GetFileExInfoStandard;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use winapi::um::winuser::GetMonitorInfoA;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use winapi::um::winuser::GetWindowLongA;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::um::winuser::GetWindowPlacement;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | use winapi::um::winuser::MonitorFromWindow;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | use winapi::um::winuser::SetCursor;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use winapi::um::winuser::SetWindowLongA;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use winapi::um::winuser::SetWindowPlacement;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use winapi::um::winuser::GWL_STYLE;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use winapi::um::winuser::HWND_TOP;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 25 | use winapi::um::winuser::MONITOR_DEFAULTTOPRIMARY;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | use winapi::um::winuser::WM_SETCURSOR;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 27 | use winapi::{
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:50:5
[INFO] [stderr]    |
[INFO] [stderr] 50 | use winapi::um::winuser::SetWindowPos;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:51:5
[INFO] [stderr]    |
[INFO] [stderr] 51 | use winapi::um::{
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:59:5
[INFO] [stderr]    |
[INFO] [stderr] 59 | use winapi::um::fileapi::WIN32_FILE_ATTRIBUTE_DATA;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:60:5
[INFO] [stderr]    |
[INFO] [stderr] 60 | use winapi::um::winuser::LoadCursorW;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:61:5
[INFO] [stderr]    |
[INFO] [stderr] 61 | use winapi::um::winuser::IDC_ARROW;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:62:5
[INFO] [stderr]    |
[INFO] [stderr] 62 | use winapi::um::winuser::MONITORINFO;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:63:5
[INFO] [stderr]    |
[INFO] [stderr] 63 | use winapi::um::winuser::SWP_FRAMECHANGED;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:64:5
[INFO] [stderr]    |
[INFO] [stderr] 64 | use winapi::um::winuser::SWP_NOMOVE;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:65:5
[INFO] [stderr]    |
[INFO] [stderr] 65 | use winapi::um::winuser::SWP_NOOWNERZORDER;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:66:5
[INFO] [stderr]    |
[INFO] [stderr] 66 | use winapi::um::winuser::SWP_NOSIZE;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:67:5
[INFO] [stderr]    |
[INFO] [stderr] 67 | use winapi::um::winuser::SWP_NOZORDER;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:68:5
[INFO] [stderr]    |
[INFO] [stderr] 68 | use winapi::um::winuser::WINDOWPLACEMENT;
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:69:5
[INFO] [stderr]    |
[INFO] [stderr] 69 | use winapi::um::{
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:79:5
[INFO] [stderr]    |
[INFO] [stderr] 79 | use winapi::um::{
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]   --> src/win32_handmade.rs:90:5
[INFO] [stderr]    |
[INFO] [stderr] 90 | use winapi::{
[INFO] [stderr]    |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/win32_handmade.rs:181:19
[INFO] [stderr]     |
[INFO] [stderr] 181 |         0 as *mut winapi::um::minwinbase::SECURITY_ATTRIBUTES,
[INFO] [stderr]     |                   ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/win32_handmade.rs:200:45
[INFO] [stderr]     |
[INFO] [stderr] 200 |                     result.contents as *mut winapi::ctypes::c_void,
[INFO] [stderr]     |                                             ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/win32_handmade.rs:225:36
[INFO] [stderr]     |
[INFO] [stderr] 225 |         VirtualFree(memory as *mut winapi::ctypes::c_void, 0, MEM_RELEASE);
[INFO] [stderr]     |                                    ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/win32_handmade.rs:240:19
[INFO] [stderr]     |
[INFO] [stderr] 240 |         0 as *mut winapi::um::minwinbase::SECURITY_ATTRIBUTES,
[INFO] [stderr]     |                   ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]    --> src/win32_handmade.rs:250:30
[INFO] [stderr]     |
[INFO] [stderr] 250 |             memory as *const winapi::ctypes::c_void,
[INFO] [stderr]     |                              ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1068:23
[INFO] [stderr]      |
[INFO] [stderr] 1068 |             0 as *mut winapi::shared::windef::HWND__,
[INFO] [stderr]      |                       ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0408]: variable `WM_KEYDOWN` is not bound in all patterns
[INFO] [stderr]     --> src/win32_handmade.rs:1089:13
[INFO] [stderr]      |
[INFO] [stderr] 1089 |             WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => {
[INFO] [stderr]      |             ^^^^^^^^^^^^^   ^^^^^^^^^^^   ----------   ^^^^^^^^ pattern doesn't bind `WM_KEYDOWN`
[INFO] [stderr]      |             |               |             |
[INFO] [stderr]      |             |               |             variable not in all patterns
[INFO] [stderr]      |             |               pattern doesn't bind `WM_KEYDOWN`
[INFO] [stderr]      |             pattern doesn't bind `WM_KEYDOWN`
[INFO] [stderr]      |
[INFO] [stderr] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_KEYDOWN`
[INFO] [stderr]     --> src/win32_handmade.rs:1089:43
[INFO] [stderr]      |
[INFO] [stderr] 1089 |             WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => {
[INFO] [stderr]      |                                           ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0408]: variable `WM_KEYUP` is not bound in all patterns
[INFO] [stderr]     --> src/win32_handmade.rs:1089:13
[INFO] [stderr]      |
[INFO] [stderr] 1089 |             WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => {
[INFO] [stderr]      |             ^^^^^^^^^^^^^   ^^^^^^^^^^^   ^^^^^^^^^^   -------- variable not in all patterns
[INFO] [stderr]      |             |               |             |
[INFO] [stderr]      |             |               |             pattern doesn't bind `WM_KEYUP`
[INFO] [stderr]      |             |               pattern doesn't bind `WM_KEYUP`
[INFO] [stderr]      |             pattern doesn't bind `WM_KEYUP`
[INFO] [stderr]      |
[INFO] [stderr] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_KEYUP`
[INFO] [stderr]     --> src/win32_handmade.rs:1089:56
[INFO] [stderr]      |
[INFO] [stderr] 1089 |             WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => {
[INFO] [stderr]      |                                                        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0408]: variable `WM_SYSKEYDOWN` is not bound in all patterns
[INFO] [stderr]     --> src/win32_handmade.rs:1089:29
[INFO] [stderr]      |
[INFO] [stderr] 1089 |             WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => {
[INFO] [stderr]      |             -------------   ^^^^^^^^^^^   ^^^^^^^^^^   ^^^^^^^^ pattern doesn't bind `WM_SYSKEYDOWN`
[INFO] [stderr]      |             |               |             |
[INFO] [stderr]      |             |               |             pattern doesn't bind `WM_SYSKEYDOWN`
[INFO] [stderr]      |             |               pattern doesn't bind `WM_SYSKEYDOWN`
[INFO] [stderr]      |             variable not in all patterns
[INFO] [stderr]      |
[INFO] [stderr] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_SYSKEYDOWN`
[INFO] [stderr]     --> src/win32_handmade.rs:1089:13
[INFO] [stderr]      |
[INFO] [stderr] 1089 |             WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => {
[INFO] [stderr]      |             ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0408]: variable `WM_SYSKEYUP` is not bound in all patterns
[INFO] [stderr]     --> src/win32_handmade.rs:1089:13
[INFO] [stderr]      |
[INFO] [stderr] 1089 |             WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => {
[INFO] [stderr]      |             ^^^^^^^^^^^^^   -----------   ^^^^^^^^^^   ^^^^^^^^ pattern doesn't bind `WM_SYSKEYUP`
[INFO] [stderr]      |             |               |             |
[INFO] [stderr]      |             |               |             pattern doesn't bind `WM_SYSKEYUP`
[INFO] [stderr]      |             |               variable not in all patterns
[INFO] [stderr]      |             pattern doesn't bind `WM_SYSKEYUP`
[INFO] [stderr]      |
[INFO] [stderr] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::WM_SYSKEYUP`
[INFO] [stderr]     --> src/win32_handmade.rs:1089:29
[INFO] [stderr]      |
[INFO] [stderr] 1089 |             WM_SYSKEYDOWN | WM_SYSKEYUP | WM_KEYDOWN | WM_KEYUP => {
[INFO] [stderr]      |                             ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1238:37
[INFO] [stderr]      |
[INFO] [stderr] 1238 |                 SetCursor(0 as *mut winapi::shared::windef::HICON__);
[INFO] [stderr]      |                                     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1704:59
[INFO] [stderr]      |
[INFO] [stderr] 1704 | ...                   let mut controller_state: winapi::um::xinput::XINPUT_STATE =
[INFO] [stderr]      |                                                 ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1707:40
[INFO] [stderr]      |
[INFO] [stderr] 1707 | ...                   == winapi::shared::winerror::ERROR_SUCCESS
[INFO] [stderr]      |                          ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1715:56
[INFO] [stderr]      |
[INFO] [stderr] 1715 | ...                   pad.wButtons & winapi::um::xinput::XINPUT_GAMEPAD_DPAD_UP;
[INFO] [stderr]      |                                      ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1717:56
[INFO] [stderr]      |
[INFO] [stderr] 1717 | ...                   pad.wButtons & winapi::um::xinput::XINPUT_GAMEPAD_DPAD_DOWN;
[INFO] [stderr]      |                                      ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1719:56
[INFO] [stderr]      |
[INFO] [stderr] 1719 | ...                   pad.wButtons & winapi::um::xinput::XINPUT_GAMEPAD_DPAD_LEFT;
[INFO] [stderr]      |                                      ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1721:43
[INFO] [stderr]      |
[INFO] [stderr] 1721 | ...                   & winapi::um::xinput::XINPUT_GAMEPAD_DPAD_RIGHT;
[INFO] [stderr]      |                         ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1807:41
[INFO] [stderr]      |
[INFO] [stderr] 1807 | ...                   winapi::um::xinput::XINPUT_GAMEPAD_A.into(),
[INFO] [stderr]      |                       ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1813:41
[INFO] [stderr]      |
[INFO] [stderr] 1813 | ...                   winapi::um::xinput::XINPUT_GAMEPAD_B.into(),
[INFO] [stderr]      |                       ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1820:41
[INFO] [stderr]      |
[INFO] [stderr] 1820 | ...                   winapi::um::xinput::XINPUT_GAMEPAD_X.into(),
[INFO] [stderr]      |                       ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1827:41
[INFO] [stderr]      |
[INFO] [stderr] 1827 | ...                   winapi::um::xinput::XINPUT_GAMEPAD_Y.into(),
[INFO] [stderr]      |                       ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1834:41
[INFO] [stderr]      |
[INFO] [stderr] 1834 | ...                   winapi::um::xinput::XINPUT_GAMEPAD_LEFT_SHOULDER.into(),
[INFO] [stderr]      |                       ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1841:41
[INFO] [stderr]      |
[INFO] [stderr] 1841 | ...                   winapi::um::xinput::XINPUT_GAMEPAD_RIGHT_SHOULDER.into(),
[INFO] [stderr]      |                       ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1848:41
[INFO] [stderr]      |
[INFO] [stderr] 1848 | ...                   winapi::um::xinput::XINPUT_GAMEPAD_START.into(),
[INFO] [stderr]      |                       ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]     --> src/win32_handmade.rs:1855:41
[INFO] [stderr]      |
[INFO] [stderr] 1855 | ...                   winapi::um::xinput::XINPUT_GAMEPAD_BACK.into(),
[INFO] [stderr]      |                       ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:123:23
[INFO] [stderr]     |
[INFO] [stderr] 123 |     memory: 0 as *mut c_void,
[INFO] [stderr]     |                       ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::os::raw::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:128:11
[INFO] [stderr]     |
[INFO] [stderr] 128 |     info: BITMAPINFO {
[INFO] [stderr]     |           ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:129:20
[INFO] [stderr]     |
[INFO] [stderr] 129 |         bmiHeader: BITMAPINFOHEADER {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `BI_RGB` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:135:28
[INFO] [stderr]     |
[INFO] [stderr] 135 |             biCompression: BI_RGB,
[INFO] [stderr]     |                            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RGBQUAD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:142:21
[INFO] [stderr]     |
[INFO] [stderr] 142 |         bmiColors: [RGBQUAD {
[INFO] [stderr]     |                     ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPDIRECTSOUNDBUFFER` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:150:37
[INFO] [stderr]     |
[INFO] [stderr] 150 | static mut GLOBAL_SECONDARY_BUFFER: LPDIRECTSOUNDBUFFER = null_mut();
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:154:34
[INFO] [stderr]     |
[INFO] [stderr] 154 | static mut GlobalWindowPosition: WINDOWPLACEMENT = WINDOWPLACEMENT {
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:154:52
[INFO] [stderr]     |
[INFO] [stderr] 154 | static mut GlobalWindowPosition: WINDOWPLACEMENT = WINDOWPLACEMENT {
[INFO] [stderr]     |                                                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:158:20
[INFO] [stderr]     |
[INFO] [stderr] 158 |     ptMinPosition: POINT { x: 0, y: 0 },
[INFO] [stderr]     |                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:159:20
[INFO] [stderr]     |
[INFO] [stderr] 159 |     ptMaxPosition: POINT { x: 0, y: 0 },
[INFO] [stderr]     |                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:160:23
[INFO] [stderr]     |
[INFO] [stderr] 160 |     rcNormalPosition: RECT {
[INFO] [stderr]     |                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:177:23
[INFO] [stderr]     |
[INFO] [stderr] 177 |     let file_handle = CreateFileA(
[INFO] [stderr]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GENERIC_READ` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:179:9
[INFO] [stderr]     |
[INFO] [stderr] 179 |         GENERIC_READ,
[INFO] [stderr]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:180:9
[INFO] [stderr]     |
[INFO] [stderr] 180 |         FILE_SHARE_READ,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `OPEN_EXISTING` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:182:9
[INFO] [stderr]     |
[INFO] [stderr] 182 |         OPEN_EXISTING,
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:187:23
[INFO] [stderr]     |
[INFO] [stderr] 187 |     if file_handle != INVALID_HANDLE_VALUE {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:188:38
[INFO] [stderr]     |
[INFO] [stderr] 188 |         let mut file_size = zeroed::<LARGE_INTEGER>();
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetFileSizeEx` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:189:12
[INFO] [stderr]     |
[INFO] [stderr] 189 |         if GetFileSizeEx(file_handle, &mut file_size) != 0 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:190:31
[INFO] [stderr]     |
[INFO] [stderr] 190 |             result.contents = VirtualAlloc(
[INFO] [stderr]     |                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:193:17
[INFO] [stderr]     |
[INFO] [stderr] 193 |                 MEM_RESERVE | MEM_COMMIT,
[INFO] [stderr]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:193:31
[INFO] [stderr]     |
[INFO] [stderr] 193 |                 MEM_RESERVE | MEM_COMMIT,
[INFO] [stderr]     |                               ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:194:17
[INFO] [stderr]     |
[INFO] [stderr] 194 |                 PAGE_READWRITE,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:197:47
[INFO] [stderr]     |
[INFO] [stderr] 197 |                 let mut bytes_read = zeroed::<DWORD>();
[INFO] [stderr]     |                                               ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:198:20
[INFO] [stderr]     |
[INFO] [stderr] 198 |                 if ReadFile(
[INFO] [stderr]     |                    ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:216:9
[INFO] [stderr]     |
[INFO] [stderr] 216 |         CloseHandle(file_handle);
[INFO] [stderr]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:225:9
[INFO] [stderr]     |
[INFO] [stderr] 225 |         VirtualFree(memory as *mut winapi::ctypes::c_void, 0, MEM_RELEASE);
[INFO] [stderr]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:225:63
[INFO] [stderr]     |
[INFO] [stderr] 225 |         VirtualFree(memory as *mut winapi::ctypes::c_void, 0, MEM_RELEASE);
[INFO] [stderr]     |                                                               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:236:23
[INFO] [stderr]     |
[INFO] [stderr] 236 |     let file_handle = CreateFileA(
[INFO] [stderr]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GENERIC_WRITE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:238:9
[INFO] [stderr]     |
[INFO] [stderr] 238 |         GENERIC_WRITE,
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CREATE_ALWAYS` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:241:9
[INFO] [stderr]     |
[INFO] [stderr] 241 |         CREATE_ALWAYS,
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:246:23
[INFO] [stderr]     |
[INFO] [stderr] 246 |     if file_handle != INVALID_HANDLE_VALUE {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:247:42
[INFO] [stderr]     |
[INFO] [stderr] 247 |         let mut bytes_written = zeroed::<DWORD>();
[INFO] [stderr]     |                                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WriteFile` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:248:12
[INFO] [stderr]     |
[INFO] [stderr] 248 |         if WriteFile(
[INFO] [stderr]     |            ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:262:9
[INFO] [stderr]     |
[INFO] [stderr] 262 |         CloseHandle(file_handle);
[INFO] [stderr]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:269:18
[INFO] [stderr]     |
[INFO] [stderr] 269 |     memory: *mut c_void,
[INFO] [stderr]     |                  ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::os::raw::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BITMAPINFO` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:274:11
[INFO] [stderr]     |
[INFO] [stderr] 274 |     info: BITMAPINFO,
[INFO] [stderr]     |           ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:287:23
[INFO] [stderr]     |
[INFO] [stderr] 287 |     OutputPlayCursor: DWORD,
[INFO] [stderr]     |                       ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:288:24
[INFO] [stderr]     |
[INFO] [stderr] 288 |     OutputWriteCursor: DWORD,
[INFO] [stderr]     |                        ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:289:21
[INFO] [stderr]     |
[INFO] [stderr] 289 |     OutputLocation: DWORD,
[INFO] [stderr]     |                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:290:22
[INFO] [stderr]     |
[INFO] [stderr] 290 |     OutputByteCount: DWORD,
[INFO] [stderr]     |                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:291:29
[INFO] [stderr]     |
[INFO] [stderr] 291 |     ExpectedFlipPlayCursor: DWORD,
[INFO] [stderr]     |                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:293:21
[INFO] [stderr]     |
[INFO] [stderr] 293 |     FlipPlayCursor: DWORD,
[INFO] [stderr]     |                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:294:22
[INFO] [stderr]     |
[INFO] [stderr] 294 |     FlipWriteCursor: DWORD,
[INFO] [stderr]     |                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:301:17
[INFO] [stderr]     |
[INFO] [stderr] 301 |     FileHandle: HANDLE,
[INFO] [stderr]     |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:302:16
[INFO] [stderr]     |
[INFO] [stderr] 302 |     MemoryMap: HANDLE,
[INFO] [stderr]     |                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:303:20
[INFO] [stderr]     |
[INFO] [stderr] 303 |     FileName: [u8; MAX_PATH],
[INFO] [stderr]     |                    ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:304:23
[INFO] [stderr]     |
[INFO] [stderr] 304 |     MemoryBlock: *mut c_void,
[INFO] [stderr]     |                       ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::os::raw::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:312:36
[INFO] [stderr]     |
[INFO] [stderr] 312 |             FileName: ['\0' as u8; MAX_PATH],
[INFO] [stderr]     |                                    ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:320:27
[INFO] [stderr]     |
[INFO] [stderr] 320 |     GameMemoryBlock: *mut c_void,
[INFO] [stderr]     |                           ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::os::raw::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:323:22
[INFO] [stderr]     |
[INFO] [stderr] 323 |     RecordingHandle: HANDLE,
[INFO] [stderr]     |                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:326:21
[INFO] [stderr]     |
[INFO] [stderr] 326 |     PlaybackHandle: HANDLE,
[INFO] [stderr]     |                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:329:29
[INFO] [stderr]     |
[INFO] [stderr] 329 |     exe_file_name: &'a [u8; MAX_PATH],
[INFO] [stderr]     |                             ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:333:39
[INFO] [stderr]     |
[INFO] [stderr] 333 | fn win32_get_window_dimension(window: HWND) -> Win32WindowDimension {
[INFO] [stderr]     |                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:335:40
[INFO] [stderr]     |
[INFO] [stderr] 335 |         let mut client_rect = zeroed::<RECT>();
[INFO] [stderr]     |                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:336:9
[INFO] [stderr]     |
[INFO] [stderr] 336 |         GetClientRect(window, &mut client_rect);
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:529:20
[INFO] [stderr]     |
[INFO] [stderr] 529 |     game_code_dll: HMODULE,
[INFO] [stderr]     |                    ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FILETIME` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:533:26
[INFO] [stderr]     |
[INFO] [stderr] 533 |     dll_last_write_time: FILETIME,
[INFO] [stderr]     |                          ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FILETIME` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:536:57
[INFO] [stderr]     |
[INFO] [stderr] 536 | unsafe fn win32_get_last_write_time(file_name: &str) -> FILETIME {
[INFO] [stderr]     |                                                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FILETIME` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:537:40
[INFO] [stderr]     |
[INFO] [stderr] 537 |     let mut last_write_time = zeroed::<FILETIME>();
[INFO] [stderr]     |                                        ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WIN32_FIND_DATAA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:539:34
[INFO] [stderr]     |
[INFO] [stderr] 539 |     let mut find_data = zeroed::<WIN32_FIND_DATAA>();
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindFirstFileA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:540:23
[INFO] [stderr]     |
[INFO] [stderr] 540 |     let find_handle = FindFirstFileA(name.as_ptr(), &mut find_data);
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:541:23
[INFO] [stderr]     |
[INFO] [stderr] 541 |     if find_handle != INVALID_HANDLE_VALUE {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindClose` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:543:9
[INFO] [stderr]     |
[INFO] [stderr] 543 |         FindClose(find_handle);
[INFO] [stderr]     |         ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WIN32_FILE_ATTRIBUTE_DATA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:566:32
[INFO] [stderr]     |
[INFO] [stderr] 566 |     let mut Ignored = zeroed::<WIN32_FILE_ATTRIBUTE_DATA>();
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:569:29
[INFO] [stderr]     |
[INFO] [stderr] 569 |         game_code_dll: 0 as HMODULE,
[INFO] [stderr]     |                             ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetFileAttributesExA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:575:10
[INFO] [stderr]     |
[INFO] [stderr] 575 |     if !(GetFileAttributesExA(
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GetFileExInfoStandard` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:577:9
[INFO] [stderr]     |
[INFO] [stderr] 577 |         GetFileExInfoStandard,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WIN32_FILE_ATTRIBUTE_DATA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:578:30
[INFO] [stderr]     |
[INFO] [stderr] 578 |         &mut Ignored as *mut WIN32_FILE_ATTRIBUTE_DATA as *mut c_void,
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:578:64
[INFO] [stderr]     |
[INFO] [stderr] 578 |         &mut Ignored as *mut WIN32_FILE_ATTRIBUTE_DATA as *mut c_void,
[INFO] [stderr]     |                                                                ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::ffi::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::os::raw::c_void;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CopyFileA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:581:12
[INFO] [stderr]     |
[INFO] [stderr] 581 |         if CopyFileA(source_name.as_ptr(), temp_name.as_ptr(), FALSE) != 0 {
[INFO] [stderr]     |            ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:581:64
[INFO] [stderr]     |
[INFO] [stderr] 581 |         if CopyFileA(source_name.as_ptr(), temp_name.as_ptr(), FALSE) != 0 {
[INFO] [stderr]     |                                                                ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:590:32
[INFO] [stderr]     |
[INFO] [stderr] 590 |         result.game_code_dll = LoadLibraryA(temp_name.as_ptr());
[INFO] [stderr]     |                                ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:594:36
[INFO] [stderr]     |
[INFO] [stderr] 594 |             let update = transmute(GetProcAddress(
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:601:47
[INFO] [stderr]     |
[INFO] [stderr] 601 |             let get_sound_samples = transmute(GetProcAddress(
[INFO] [stderr]     |                                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:617:9
[INFO] [stderr]     |
[INFO] [stderr] 617 |         FreeLibrary(game_code.game_code_dll);
[INFO] [stderr]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:624:44
[INFO] [stderr]     |
[INFO] [stderr] 624 | type XInputGetStateFn = extern "system" fn(DWORD, *mut XINPUT_STATE) -> DWORD;
[INFO] [stderr]     |                                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `XINPUT_STATE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:624:56
[INFO] [stderr]     |
[INFO] [stderr] 624 | type XInputGetStateFn = extern "system" fn(DWORD, *mut XINPUT_STATE) -> DWORD;
[INFO] [stderr]     |                                                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:624:73
[INFO] [stderr]     |
[INFO] [stderr] 624 | type XInputGetStateFn = extern "system" fn(DWORD, *mut XINPUT_STATE) -> DWORD;
[INFO] [stderr]     |                                                                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:625:45
[INFO] [stderr]     |
[INFO] [stderr] 625 | extern "system" fn xinput_get_state_stub(_: DWORD, _: *mut XINPUT_STATE) -> DWORD {
[INFO] [stderr]     |                                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `XINPUT_STATE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:625:60
[INFO] [stderr]     |
[INFO] [stderr] 625 | extern "system" fn xinput_get_state_stub(_: DWORD, _: *mut XINPUT_STATE) -> DWORD {
[INFO] [stderr]     |                                                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:625:77
[INFO] [stderr]     |
[INFO] [stderr] 625 | extern "system" fn xinput_get_state_stub(_: DWORD, _: *mut XINPUT_STATE) -> DWORD {
[INFO] [stderr]     |                                                                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `ERROR_DEVICE_NOT_CONNECTED` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:626:12
[INFO] [stderr]     |
[INFO] [stderr] 626 |     return ERROR_DEVICE_NOT_CONNECTED;
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:630:44
[INFO] [stderr]     |
[INFO] [stderr] 630 | type XInputSetStateFn = extern "system" fn(DWORD, *mut XINPUT_VIBRATION) -> DWORD;
[INFO] [stderr]     |                                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `XINPUT_VIBRATION` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:630:56
[INFO] [stderr]     |
[INFO] [stderr] 630 | type XInputSetStateFn = extern "system" fn(DWORD, *mut XINPUT_VIBRATION) -> DWORD;
[INFO] [stderr]     |                                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:630:77
[INFO] [stderr]     |
[INFO] [stderr] 630 | type XInputSetStateFn = extern "system" fn(DWORD, *mut XINPUT_VIBRATION) -> DWORD;
[INFO] [stderr]     |                                                                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:631:45
[INFO] [stderr]     |
[INFO] [stderr] 631 | extern "system" fn xinput_set_state_stub(_: DWORD, _: *mut XINPUT_VIBRATION) -> DWORD {
[INFO] [stderr]     |                                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `XINPUT_VIBRATION` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:631:60
[INFO] [stderr]     |
[INFO] [stderr] 631 | extern "system" fn xinput_set_state_stub(_: DWORD, _: *mut XINPUT_VIBRATION) -> DWORD {
[INFO] [stderr]     |                                                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:631:81
[INFO] [stderr]     |
[INFO] [stderr] 631 | extern "system" fn xinput_set_state_stub(_: DWORD, _: *mut XINPUT_VIBRATION) -> DWORD {
[INFO] [stderr]     |                                                                                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `ERROR_DEVICE_NOT_CONNECTED` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:632:12
[INFO] [stderr]     |
[INFO] [stderr] 632 |     return ERROR_DEVICE_NOT_CONNECTED;
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:638:23
[INFO] [stderr]     |
[INFO] [stderr] 638 |     let mut library = LoadLibraryA(xinput1_4.as_ptr());
[INFO] [stderr]     |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:639:24
[INFO] [stderr]     |
[INFO] [stderr] 639 |     if library == 0 as HINSTANCE {
[INFO] [stderr]     |                        ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:641:19
[INFO] [stderr]     |
[INFO] [stderr] 641 |         library = LoadLibraryA(xinput9_1_0.as_ptr());
[INFO] [stderr]     |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:643:24
[INFO] [stderr]     |
[INFO] [stderr] 643 |     if library == 0 as HINSTANCE {
[INFO] [stderr]     |                        ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:645:19
[INFO] [stderr]     |
[INFO] [stderr] 645 |         library = LoadLibraryA(xinput1_3.as_ptr());
[INFO] [stderr]     |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:648:24
[INFO] [stderr]     |
[INFO] [stderr] 648 |     if library != 0 as HINSTANCE {
[INFO] [stderr]     |                        ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:650:36
[INFO] [stderr]     |
[INFO] [stderr] 650 |         XInputGetState = transmute(GetProcAddress(library, xinput_get_state_str.as_ptr()));
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:652:38
[INFO] [stderr]     |
[INFO] [stderr] 652 |         XINPUT_SET_STATE = transmute(GetProcAddress(library, xinput_set_state_str.as_ptr()));
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCGUID` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:656:31
[INFO] [stderr]     |
[INFO] [stderr] 656 | type DirectSoundCreateFn = fn(LPCGUID, *mut LPDIRECTSOUND, LPUNKNOWN) -> HRESULT;
[INFO] [stderr]     |                               ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPDIRECTSOUND` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:656:45
[INFO] [stderr]     |
[INFO] [stderr] 656 | type DirectSoundCreateFn = fn(LPCGUID, *mut LPDIRECTSOUND, LPUNKNOWN) -> HRESULT;
[INFO] [stderr]     |                                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPUNKNOWN` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:656:60
[INFO] [stderr]     |
[INFO] [stderr] 656 | type DirectSoundCreateFn = fn(LPCGUID, *mut LPDIRECTSOUND, LPUNKNOWN) -> HRESULT;
[INFO] [stderr]     |                                                            ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:656:74
[INFO] [stderr]     |
[INFO] [stderr] 656 | type DirectSoundCreateFn = fn(LPCGUID, *mut LPDIRECTSOUND, LPUNKNOWN) -> HRESULT;
[INFO] [stderr]     |                                                                          ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:657:37
[INFO] [stderr]     |
[INFO] [stderr] 657 | unsafe fn win32_init_dsound(window: HWND, samples_per_sec: u32, buffersize: i32) {
[INFO] [stderr]     |                                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:659:27
[INFO] [stderr]     |
[INFO] [stderr] 659 |     let d_sound_library = LoadLibraryA(dsound_str.as_ptr());
[INFO] [stderr]     |                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPDIRECTSOUND` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:661:37
[INFO] [stderr]     |
[INFO] [stderr] 661 |     let mut direct_sound = zeroed::<LPDIRECTSOUND>();
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:665:39
[INFO] [stderr]     |
[INFO] [stderr] 665 |         let direct_sound_create_ptr = GetProcAddress(d_sound_library, dsoundcrate_str.as_ptr());
[INFO] [stderr]     |                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:669:16
[INFO] [stderr]     |
[INFO] [stderr] 669 |             && SUCCEEDED(DirectSoundCreate(zeroed(), &mut direct_sound, zeroed()))
[INFO] [stderr]     |                ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WAVEFORMATEX` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:671:44
[INFO] [stderr]     |
[INFO] [stderr] 671 |             let mut wave_format = zeroed::<WAVEFORMATEX>();
[INFO] [stderr]     |                                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WAVE_FORMAT_PCM` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:672:38
[INFO] [stderr]     |
[INFO] [stderr] 672 |             wave_format.wFormatTag = WAVE_FORMAT_PCM;
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:678:73
[INFO] [stderr]     |
[INFO] [stderr] 678 |                 wave_format.nSamplesPerSec * wave_format.nBlockAlign as DWORD;
[INFO] [stderr]     |                                                                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:680:16
[INFO] [stderr]     |
[INFO] [stderr] 680 |             if SUCCEEDED((*direct_sound).SetCooperativeLevel(window, DSSCL_PRIORITY)) {
[INFO] [stderr]     |                ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DSSCL_PRIORITY` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:680:70
[INFO] [stderr]     |
[INFO] [stderr] 680 |             if SUCCEEDED((*direct_sound).SetCooperativeLevel(window, DSSCL_PRIORITY)) {
[INFO] [stderr]     |                                                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DSBUFFERDESC` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:683:55
[INFO] [stderr]     |
[INFO] [stderr] 683 |                 let mut buffer_description = zeroed::<DSBUFFERDESC>();
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DSBUFFERDESC` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:684:55
[INFO] [stderr]     |
[INFO] [stderr] 684 |                 buffer_description.dwSize = size_of::<DSBUFFERDESC>().try_into().unwrap();
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DSBCAPS_PRIMARYBUFFER` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:685:46
[INFO] [stderr]     |
[INFO] [stderr] 685 |                 buffer_description.dwFlags = DSBCAPS_PRIMARYBUFFER;
[INFO] [stderr]     |                                              ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPDIRECTSOUNDBUFFER` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:686:51
[INFO] [stderr]     |
[INFO] [stderr] 686 |                 let mut primary_buffer = zeroed::<LPDIRECTSOUNDBUFFER>();
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:688:20
[INFO] [stderr]     |
[INFO] [stderr] 688 |                 if SUCCEEDED((*direct_sound).CreateSoundBuffer(
[INFO] [stderr]     |                    ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:693:24
[INFO] [stderr]     |
[INFO] [stderr] 693 |                     if SUCCEEDED((*primary_buffer).SetFormat(&wave_format)) {
[INFO] [stderr]     |                        ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DSBUFFERDESC` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:704:44
[INFO] [stderr]     |
[INFO] [stderr] 704 |             let mut buffer_desc = zeroed::<DSBUFFERDESC>();
[INFO] [stderr]     |                                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DSBUFFERDESC` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:705:44
[INFO] [stderr]     |
[INFO] [stderr] 705 |             buffer_desc.dwSize = size_of::<DSBUFFERDESC>().try_into().unwrap();
[INFO] [stderr]     |                                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:709:16
[INFO] [stderr]     |
[INFO] [stderr] 709 |             if SUCCEEDED((*direct_sound).CreateSoundBuffer(
[INFO] [stderr]     |                ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:726:18
[INFO] [stderr]     |
[INFO] [stderr] 726 |     BytesToLock: DWORD,
[INFO] [stderr]     |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:727:19
[INFO] [stderr]     |
[INFO] [stderr] 727 |     BytesToWrite: DWORD,
[INFO] [stderr]     |                   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:731:26
[INFO] [stderr]     |
[INFO] [stderr] 731 |     let mut Region1Size: DWORD = 0;
[INFO] [stderr]     |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:733:26
[INFO] [stderr]     |
[INFO] [stderr] 733 |     let mut Region2Size: DWORD = 0;
[INFO] [stderr]     |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:735:8
[INFO] [stderr]     |
[INFO] [stderr] 735 |     if SUCCEEDED((*GLOBAL_SECONDARY_BUFFER).Lock(
[INFO] [stderr]     |        ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:777:26
[INFO] [stderr]     |
[INFO] [stderr] 777 |     let mut Region1Size: DWORD = 0;
[INFO] [stderr]     |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:779:26
[INFO] [stderr]     |
[INFO] [stderr] 779 |     let mut Region2Size: DWORD = 0;
[INFO] [stderr]     |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:781:8
[INFO] [stderr]     |
[INFO] [stderr] 781 |     if SUCCEEDED((*GLOBAL_SECONDARY_BUFFER).Lock(
[INFO] [stderr]     |        ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:812:13
[INFO] [stderr]     |
[INFO] [stderr] 812 |             VirtualFree(buffer.memory, 0, MEM_RELEASE);
[INFO] [stderr]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:812:43
[INFO] [stderr]     |
[INFO] [stderr] 812 |             VirtualFree(buffer.memory, 0, MEM_RELEASE);
[INFO] [stderr]     |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:819:46
[INFO] [stderr]     |
[INFO] [stderr] 819 |     buffer.info.bmiHeader.biSize = size_of::<BITMAPINFOHEADER>() as u32;
[INFO] [stderr]     |                                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `BI_RGB` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:824:43
[INFO] [stderr]     |
[INFO] [stderr] 824 |     buffer.info.bmiHeader.biCompression = BI_RGB;
[INFO] [stderr]     |                                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:828:9
[INFO] [stderr]     |
[INFO] [stderr] 828 |         VirtualAlloc(
[INFO] [stderr]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:831:13
[INFO] [stderr]     |
[INFO] [stderr] 831 |             MEM_COMMIT,
[INFO] [stderr]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:832:13
[INFO] [stderr]     |
[INFO] [stderr] 832 |             PAGE_READWRITE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:838:21
[INFO] [stderr]     |
[INFO] [stderr] 838 |     device_context: HDC,
[INFO] [stderr]     |                     ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `StretchDIBits` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:845:9
[INFO] [stderr]     |
[INFO] [stderr] 845 |         StretchDIBits(
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:857:13
[INFO] [stderr]     |
[INFO] [stderr] 857 |             DIB_RGB_COLORS,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SRCCOPY` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:858:13
[INFO] [stderr]     |
[INFO] [stderr] 858 |             SRCCOPY,
[INFO] [stderr]     |             ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PatBlt` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:864:9
[INFO] [stderr]     |
[INFO] [stderr] 864 |         PatBlt(device_context, 0, 0, window_width, OffsetY, BLACKNESS);
[INFO] [stderr]     |         ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `BLACKNESS` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:864:61
[INFO] [stderr]     |
[INFO] [stderr] 864 |         PatBlt(device_context, 0, 0, window_width, OffsetY, BLACKNESS);
[INFO] [stderr]     |                                                             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PatBlt` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:865:9
[INFO] [stderr]     |
[INFO] [stderr] 865 |         PatBlt(
[INFO] [stderr]     |         ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `BLACKNESS` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:871:13
[INFO] [stderr]     |
[INFO] [stderr] 871 |             BLACKNESS,
[INFO] [stderr]     |             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PatBlt` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:873:9
[INFO] [stderr]     |
[INFO] [stderr] 873 |         PatBlt(device_context, 0, 0, OffsetX, window_height, BLACKNESS);
[INFO] [stderr]     |         ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `BLACKNESS` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:873:62
[INFO] [stderr]     |
[INFO] [stderr] 873 |         PatBlt(device_context, 0, 0, OffsetX, window_height, BLACKNESS);
[INFO] [stderr]     |                                                              ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PatBlt` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:874:9
[INFO] [stderr]     |
[INFO] [stderr] 874 |         PatBlt(
[INFO] [stderr]     |         ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `BLACKNESS` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:880:13
[INFO] [stderr]     |
[INFO] [stderr] 880 |             BLACKNESS,
[INFO] [stderr]     |             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `StretchDIBits` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:883:9
[INFO] [stderr]     |
[INFO] [stderr] 883 |         StretchDIBits(
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:895:13
[INFO] [stderr]     |
[INFO] [stderr] 895 |             DIB_RGB_COLORS,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SRCCOPY` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:896:13
[INFO] [stderr]     |
[INFO] [stderr] 896 |             SRCCOPY,
[INFO] [stderr]     |             ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `wsprintfA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:909:5
[INFO] [stderr]     |
[INFO] [stderr] 909 |     wsprintfA(
[INFO] [stderr]     |     ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:928:42
[INFO] [stderr]     |
[INFO] [stderr] 928 |         let mut file_name = ['\0' as u8; MAX_PATH];
[INFO] [stderr]     |                                          ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:935:33
[INFO] [stderr]     |
[INFO] [stderr] 935 |         State.RecordingHandle = CreateFileA(
[INFO] [stderr]     |                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GENERIC_WRITE` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:937:13
[INFO] [stderr]     |
[INFO] [stderr] 937 |             GENERIC_WRITE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CREATE_ALWAYS` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:940:13
[INFO] [stderr]     |
[INFO] [stderr] 940 |             CREATE_ALWAYS,
[INFO] [stderr]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RtlCopyMemory` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:954:9
[INFO] [stderr]     |
[INFO] [stderr] 954 |         RtlCopyMemory(
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:963:5
[INFO] [stderr]     |
[INFO] [stderr] 963 |     CloseHandle(State.RecordingHandle);
[INFO] [stderr]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:971:41
[INFO] [stderr]     |
[INFO] [stderr] 971 |         let mut FileName = ['\0' as u8; MAX_PATH];
[INFO] [stderr]     |                                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:978:32
[INFO] [stderr]     |
[INFO] [stderr] 978 |         State.PlaybackHandle = CreateFileA(
[INFO] [stderr]     |                                ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GENERIC_READ` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:980:13
[INFO] [stderr]     |
[INFO] [stderr] 980 |             GENERIC_READ,
[INFO] [stderr]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `OPEN_EXISTING` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:983:13
[INFO] [stderr]     |
[INFO] [stderr] 983 |             OPEN_EXISTING,
[INFO] [stderr]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RtlCopyMemory` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:988:9
[INFO] [stderr]     |
[INFO] [stderr] 988 |         RtlCopyMemory(
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]    --> src/win32_handmade.rs:997:5
[INFO] [stderr]     |
[INFO] [stderr] 997 |     CloseHandle(State.PlaybackHandle);
[INFO] [stderr]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WriteFile` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1003:5
[INFO] [stderr]      |
[INFO] [stderr] 1003 |     WriteFile(
[INFO] [stderr]      |     ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1005:44
[INFO] [stderr]      |
[INFO] [stderr] 1005 |         NewInput as *mut GameInput as *mut c_void,
[INFO] [stderr]      |                                            ^^^^^^ not found in this scope
[INFO] [stderr]      |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]      |
[INFO] [stderr] 3    | use core::ffi::c_void;
[INFO] [stderr]      |
[INFO] [stderr] 3    | use std::ffi::c_void;
[INFO] [stderr]      |
[INFO] [stderr] 3    | use std::os::raw::c_void;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1014:8
[INFO] [stderr]      |
[INFO] [stderr] 1014 |     if ReadFile(
[INFO] [stderr]      |        ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1016:44
[INFO] [stderr]      |
[INFO] [stderr] 1016 |         NewInput as *mut GameInput as *mut c_void,
[INFO] [stderr]      |                                            ^^^^^^ not found in this scope
[INFO] [stderr]      |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]      |
[INFO] [stderr] 3    | use core::ffi::c_void;
[INFO] [stderr]      |
[INFO] [stderr] 3    | use std::ffi::c_void;
[INFO] [stderr]      |
[INFO] [stderr] 3    | use std::os::raw::c_void;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1027:13
[INFO] [stderr]      |
[INFO] [stderr] 1027 |             ReadFile(
[INFO] [stderr]      |             ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1029:52
[INFO] [stderr]      |
[INFO] [stderr] 1029 |                 NewInput as *mut GameInput as *mut c_void,
[INFO] [stderr]      |                                                    ^^^^^^ not found in this scope
[INFO] [stderr]      |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]      |
[INFO] [stderr] 3    | use core::ffi::c_void;
[INFO] [stderr]      |
[INFO] [stderr] 3    | use std::ffi::c_void;
[INFO] [stderr]      |
[INFO] [stderr] 3    | use std::os::raw::c_void;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1038:36
[INFO] [stderr]      |
[INFO] [stderr] 1038 | unsafe fn ToggleFullscreen(Window: HWND) {
[INFO] [stderr]      |                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongA` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1042:17
[INFO] [stderr]      |
[INFO] [stderr] 1042 |     let Style = GetWindowLongA(Window, GWL_STYLE);
[INFO] [stderr]      |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GWL_STYLE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1042:40
[INFO] [stderr]      |
[INFO] [stderr] 1042 |     let Style = GetWindowLongA(Window, GWL_STYLE);
[INFO] [stderr]      |                                        ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1043:17
[INFO] [stderr]      |
[INFO] [stderr] 1043 |     if (Style & WS_OVERLAPPEDWINDOW as i32) != 0 {
[INFO] [stderr]      |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MONITORINFO` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1044:40
[INFO] [stderr]      |
[INFO] [stderr] 1044 |         let mut MonitorInfo = zeroed::<MONITORINFO>();
[INFO] [stderr]      |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowPlacement` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1045:12
[INFO] [stderr]      |
[INFO] [stderr] 1045 |         if GetWindowPlacement(Window, &mut GlobalWindowPosition) != 0
[INFO] [stderr]      |            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoA` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1046:16
[INFO] [stderr]      |
[INFO] [stderr] 1046 |             && GetMonitorInfoA(
[INFO] [stderr]      |                ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `MonitorInfo`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromWindow` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1048:17
[INFO] [stderr]      |
[INFO] [stderr] 1048 |                 MonitorFromWindow(Window, MONITOR_DEFAULTTOPRIMARY),
[INFO] [stderr]      |                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MONITOR_DEFAULTTOPRIMARY` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1048:43
[INFO] [stderr]      |
[INFO] [stderr] 1048 |                 MonitorFromWindow(Window, MONITOR_DEFAULTTOPRIMARY),
[INFO] [stderr]      |                                           ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1052:13
[INFO] [stderr]      |
[INFO] [stderr] 1052 |             SetWindowLongA(Window, GWL_STYLE, Style & !(WS_OVERLAPPEDWINDOW as i32));
[INFO] [stderr]      |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GWL_STYLE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1052:36
[INFO] [stderr]      |
[INFO] [stderr] 1052 |             SetWindowLongA(Window, GWL_STYLE, Style & !(WS_OVERLAPPEDWINDOW as i32));
[INFO] [stderr]      |                                    ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1052:57
[INFO] [stderr]      |
[INFO] [stderr] 1052 |             SetWindowLongA(Window, GWL_STYLE, Style & !(WS_OVERLAPPEDWINDOW as i32));
[INFO] [stderr]      |                                                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1053:13
[INFO] [stderr]      |
[INFO] [stderr] 1053 |             SetWindowPos(
[INFO] [stderr]      |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `HWND_TOP` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1055:17
[INFO] [stderr]      |
[INFO] [stderr] 1055 |                 HWND_TOP,
[INFO] [stderr]      |                 ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SWP_NOOWNERZORDER` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1060:17
[INFO] [stderr]      |
[INFO] [stderr] 1060 |                 SWP_NOOWNERZORDER | SWP_FRAMECHANGED,
[INFO] [stderr]      |                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SWP_FRAMECHANGED` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1060:37
[INFO] [stderr]      |
[INFO] [stderr] 1060 |                 SWP_NOOWNERZORDER | SWP_FRAMECHANGED,
[INFO] [stderr]      |                                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1064:9
[INFO] [stderr]      |
[INFO] [stderr] 1064 |         SetWindowLongA(Window, GWL_STYLE, Style | WS_OVERLAPPEDWINDOW as i32);
[INFO] [stderr]      |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GWL_STYLE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1064:32
[INFO] [stderr]      |
[INFO] [stderr] 1064 |         SetWindowLongA(Window, GWL_STYLE, Style | WS_OVERLAPPEDWINDOW as i32);
[INFO] [stderr]      |                                ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1064:51
[INFO] [stderr]      |
[INFO] [stderr] 1064 |         SetWindowLongA(Window, GWL_STYLE, Style | WS_OVERLAPPEDWINDOW as i32);
[INFO] [stderr]      |                                                   ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPlacement` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1065:9
[INFO] [stderr]      |
[INFO] [stderr] 1065 |         SetWindowPlacement(Window, &GlobalWindowPosition);
[INFO] [stderr]      |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1066:9
[INFO] [stderr]      |
[INFO] [stderr] 1066 |         SetWindowPos(
[INFO] [stderr]      |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SWP_NOMOVE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1073:13
[INFO] [stderr]      |
[INFO] [stderr] 1073 |             SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_FRAMECHANGED,
[INFO] [stderr]      |             ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SWP_NOSIZE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1073:26
[INFO] [stderr]      |
[INFO] [stderr] 1073 |             SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_FRAMECHANGED,
[INFO] [stderr]      |                          ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SWP_NOZORDER` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1073:39
[INFO] [stderr]      |
[INFO] [stderr] 1073 |             SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_FRAMECHANGED,
[INFO] [stderr]      |                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SWP_NOOWNERZORDER` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1073:54
[INFO] [stderr]      |
[INFO] [stderr] 1073 |             SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_FRAMECHANGED,
[INFO] [stderr]      |                                                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SWP_FRAMECHANGED` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1073:74
[INFO] [stderr]      |
[INFO] [stderr] 1073 |             SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_FRAMECHANGED,
[INFO] [stderr]      |                                                                          ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1082:32
[INFO] [stderr]      |
[INFO] [stderr] 1082 |     let mut message = zeroed::<MSG>();
[INFO] [stderr]      |                                ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1083:11
[INFO] [stderr]      |
[INFO] [stderr] 1083 |     while PeekMessageW(&mut message, zeroed(), 0, 0, PM_REMOVE) != 0 {
[INFO] [stderr]      |           ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PM_REMOVE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1083:54
[INFO] [stderr]      |
[INFO] [stderr] 1083 |     while PeekMessageW(&mut message, zeroed(), 0, 0, PM_REMOVE) != 0 {
[INFO] [stderr]      |                                                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_QUIT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1084:31
[INFO] [stderr]      |
[INFO] [stderr] 1084 |         if message.message == WM_QUIT {
[INFO] [stderr]      |                               ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1214:17
[INFO] [stderr]      |
[INFO] [stderr] 1214 |                 TranslateMessage(&message);
[INFO] [stderr]      |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1215:17
[INFO] [stderr]      |
[INFO] [stderr] 1215 |                 DispatchMessageW(&message);
[INFO] [stderr]      |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1222:13
[INFO] [stderr]      |
[INFO] [stderr] 1222 |     window: HWND,
[INFO] [stderr]      |             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1223:14
[INFO] [stderr]      |
[INFO] [stderr] 1223 |     message: UINT,
[INFO] [stderr]      |              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1224:13
[INFO] [stderr]      |
[INFO] [stderr] 1224 |     wparam: WPARAM,
[INFO] [stderr]      |             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1225:13
[INFO] [stderr]      |
[INFO] [stderr] 1225 |     lparam: LPARAM,
[INFO] [stderr]      |             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1226:6
[INFO] [stderr]      |
[INFO] [stderr] 1226 | ) -> LRESULT {
[INFO] [stderr]      |      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1236:26
[INFO] [stderr]      |
[INFO] [stderr] 1236 |                 result = DefWindowProcW(window, message, wparam, lparam);
[INFO] [stderr]      |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursor` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1238:17
[INFO] [stderr]      |
[INFO] [stderr] 1238 |                 SetCursor(0 as *mut winapi::shared::windef::HICON__);
[INFO] [stderr]      |                 ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1257:28
[INFO] [stderr]      |
[INFO] [stderr] 1257 |             let mut paint: PAINTSTRUCT = zeroed::<PAINTSTRUCT>();
[INFO] [stderr]      |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1257:51
[INFO] [stderr]      |
[INFO] [stderr] 1257 |             let mut paint: PAINTSTRUCT = zeroed::<PAINTSTRUCT>();
[INFO] [stderr]      |                                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1258:34
[INFO] [stderr]      |
[INFO] [stderr] 1258 |             let device_context = BeginPaint(window, &mut paint);
[INFO] [stderr]      |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1268:13
[INFO] [stderr]      |
[INFO] [stderr] 1268 |             EndPaint(window, &paint);
[INFO] [stderr]      |             ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1271:14
[INFO] [stderr]      |
[INFO] [stderr] 1271 |         _ => DefWindowProcW(window, message, wparam, lparam),
[INFO] [stderr]      |              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1287:26
[INFO] [stderr]      |
[INFO] [stderr] 1287 |     xinput_button_state: DWORD,
[INFO] [stderr]      |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1289:17
[INFO] [stderr]      |
[INFO] [stderr] 1289 |     button_bit: DWORD,
[INFO] [stderr]      |                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SHORT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1300:43
[INFO] [stderr]      |
[INFO] [stderr] 1300 | fn win32_process_xinput_stickvalue(value: SHORT, dead_zone_threshold: SHORT) -> f32 {
[INFO] [stderr]      |                                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SHORT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1300:71
[INFO] [stderr]      |
[INFO] [stderr] 1300 | fn win32_process_xinput_stickvalue(value: SHORT, dead_zone_threshold: SHORT) -> f32 {
[INFO] [stderr]      |                                                                       ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1310:37
[INFO] [stderr]      |
[INFO] [stderr] 1310 | unsafe fn win32_get_wall_clock() -> LARGE_INTEGER {
[INFO] [stderr]      |                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1311:31
[INFO] [stderr]      |
[INFO] [stderr] 1311 |     let mut result = zeroed::<LARGE_INTEGER>();
[INFO] [stderr]      |                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1312:5
[INFO] [stderr]      |
[INFO] [stderr] 1312 |     QueryPerformanceCounter(&mut result);
[INFO] [stderr]      |     ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1315:44
[INFO] [stderr]      |
[INFO] [stderr] 1315 | unsafe fn win32_get_seconds_elasped(start: LARGE_INTEGER, end: LARGE_INTEGER) -> f32 {
[INFO] [stderr]      |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1315:64
[INFO] [stderr]      |
[INFO] [stderr] 1315 | unsafe fn win32_get_seconds_elasped(start: LARGE_INTEGER, end: LARGE_INTEGER) -> f32 {
[INFO] [stderr]      |                                                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1347:33
[INFO] [stderr]      |
[INFO] [stderr] 1347 |     let mut exe_file_name: [u8; MAX_PATH] = ['\0' as u8; MAX_PATH];
[INFO] [stderr]      |                                 ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1347:58
[INFO] [stderr]      |
[INFO] [stderr] 1347 |     let mut exe_file_name: [u8; MAX_PATH] = ['\0' as u8; MAX_PATH];
[INFO] [stderr]      |                                                          ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameA` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1348:29
[INFO] [stderr]      |
[INFO] [stderr] 1348 |     let size_of_file_name = GetModuleFileNameA(
[INFO] [stderr]      |                             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1349:14
[INFO] [stderr]      |
[INFO] [stderr] 1349 |         0 as HMODULE,
[INFO] [stderr]      |              ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1351:26
[INFO] [stderr]      |
[INFO] [stderr] 1351 |         size_of::<[char; MAX_PATH]>().try_into().unwrap(),
[INFO] [stderr]      |                          ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1404:53
[INFO] [stderr]      |
[INFO] [stderr] 1404 |     let mut perfcounter_frequency_result = zeroed::<LARGE_INTEGER>();
[INFO] [stderr]      |                                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceFrequency` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1405:5
[INFO] [stderr]      |
[INFO] [stderr] 1405 |     QueryPerformanceFrequency(&mut perfcounter_frequency_result);
[INFO] [stderr]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `timeBeginPeriod` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1409:29
[INFO] [stderr]      |
[INFO] [stderr] 1409 |     let sleep_is_granular = timeBeginPeriod(desired_scheduler_ms) == TIMERR_NOERROR;
[INFO] [stderr]      |                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TIMERR_NOERROR` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1409:70
[INFO] [stderr]      |
[INFO] [stderr] 1409 |     let sleep_is_granular = timeBeginPeriod(desired_scheduler_ms) == TIMERR_NOERROR;
[INFO] [stderr]      |                                                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1419:20
[INFO] [stderr]      |
[INFO] [stderr] 1419 |     let instance = GetModuleHandleW(name.as_ptr() as *const u16) as HINSTANCE;
[INFO] [stderr]      |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1419:69
[INFO] [stderr]      |
[INFO] [stderr] 1419 |     let instance = GetModuleHandleW(name.as_ptr() as *const u16) as HINSTANCE;
[INFO] [stderr]      |                                                                     ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1421:21
[INFO] [stderr]      |
[INFO] [stderr] 1421 |     let wnd_class = WNDCLASSW {
[INFO] [stderr]      |                     ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1422:16
[INFO] [stderr]      |
[INFO] [stderr] 1422 |         style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]      |                ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1422:29
[INFO] [stderr]      |
[INFO] [stderr] 1422 |         style: CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]      |                             ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1429:18
[INFO] [stderr]      |
[INFO] [stderr] 1429 |         hCursor: LoadCursorW(0 as HINSTANCE, IDC_ARROW),
[INFO] [stderr]      |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1429:35
[INFO] [stderr]      |
[INFO] [stderr] 1429 |         hCursor: LoadCursorW(0 as HINSTANCE, IDC_ARROW),
[INFO] [stderr]      |                                   ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1429:46
[INFO] [stderr]      |
[INFO] [stderr] 1429 |         hCursor: LoadCursorW(0 as HINSTANCE, IDC_ARROW),
[INFO] [stderr]      |                                              ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1436:11
[INFO] [stderr]      |
[INFO] [stderr] 1436 |     match RegisterClassW(&wnd_class) {
[INFO] [stderr]      |           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1438:26
[INFO] [stderr]      |
[INFO] [stderr] 1438 |             let window = CreateWindowExW(
[INFO] [stderr]      |                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1442:17
[INFO] [stderr]      |
[INFO] [stderr] 1442 |                 WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stderr]      |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1442:39
[INFO] [stderr]      |
[INFO] [stderr] 1442 |                 WS_OVERLAPPEDWINDOW | WS_VISIBLE,
[INFO] [stderr]      |                                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1443:17
[INFO] [stderr]      |
[INFO] [stderr] 1443 |                 CW_USEDEFAULT,
[INFO] [stderr]      |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1444:17
[INFO] [stderr]      |
[INFO] [stderr] 1444 |                 CW_USEDEFAULT,
[INFO] [stderr]      |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1445:17
[INFO] [stderr]      |
[INFO] [stderr] 1445 |                 CW_USEDEFAULT,
[INFO] [stderr]      |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1446:17
[INFO] [stderr]      |
[INFO] [stderr] 1446 |                 CW_USEDEFAULT,
[INFO] [stderr]      |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1460:33
[INFO] [stderr]      |
[INFO] [stderr] 1460 |                 let RefreshDC = GetDC(window);
[INFO] [stderr]      |                                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetDeviceCaps` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1461:40
[INFO] [stderr]      |
[INFO] [stderr] 1461 |                 let Win32RefreshRate = GetDeviceCaps(RefreshDC, VREFRESH);
[INFO] [stderr]      |                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `VREFRESH` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1461:65
[INFO] [stderr]      |
[INFO] [stderr] 1461 |                 let Win32RefreshRate = GetDeviceCaps(RefreshDC, VREFRESH);
[INFO] [stderr]      |                                                                 ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1462:17
[INFO] [stderr]      |
[INFO] [stderr] 1462 |                 ReleaseDC(window, RefreshDC);
[INFO] [stderr]      |                 ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DSBPLAY_LOOPING` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1480:55
[INFO] [stderr]      |
[INFO] [stderr] 1480 |                 (*GLOBAL_SECONDARY_BUFFER).Play(0, 0, DSBPLAY_LOOPING);
[INFO] [stderr]      |                                                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1484:31
[INFO] [stderr]      |
[INFO] [stderr] 1484 |                 let samples = VirtualAlloc(
[INFO] [stderr]      |                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1487:21
[INFO] [stderr]      |
[INFO] [stderr] 1487 |                     MEM_COMMIT | MEM_RESERVE,
[INFO] [stderr]      |                     ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1487:34
[INFO] [stderr]      |
[INFO] [stderr] 1487 |                     MEM_COMMIT | MEM_RESERVE,
[INFO] [stderr]      |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1488:21
[INFO] [stderr]      |
[INFO] [stderr] 1488 |                     PAGE_READWRITE,
[INFO] [stderr]      |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1491:45
[INFO] [stderr]      |
[INFO] [stderr] 1491 |                 let mut base_address = 0 as LPVOID;
[INFO] [stderr]      |                                             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1495:78
[INFO] [stderr]      |
[INFO] [stderr] 1495 |                     base_address = (2 * 1024 * 1024 * 1024 * 1024 as u64) as LPVOID;
[INFO] [stderr]      |                                                                              ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1513:41
[INFO] [stderr]      |
[INFO] [stderr] 1513 |                 State.GameMemoryBlock = VirtualAlloc(
[INFO] [stderr]      |                                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1516:21
[INFO] [stderr]      |
[INFO] [stderr] 1516 |                     MEM_RESERVE | MEM_COMMIT,
[INFO] [stderr]      |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1516:35
[INFO] [stderr]      |
[INFO] [stderr] 1516 |                     MEM_RESERVE | MEM_COMMIT,
[INFO] [stderr]      |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1517:21
[INFO] [stderr]      |
[INFO] [stderr] 1517 |                     PAGE_READWRITE,
[INFO] [stderr]      |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1521:49
[INFO] [stderr]      |
[INFO] [stderr] 1521 |                 game_memory.permanent_storage = VirtualAlloc(
[INFO] [stderr]      |                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1524:21
[INFO] [stderr]      |
[INFO] [stderr] 1524 |                     MEM_RESERVE | MEM_COMMIT,
[INFO] [stderr]      |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1524:35
[INFO] [stderr]      |
[INFO] [stderr] 1524 |                     MEM_RESERVE | MEM_COMMIT,
[INFO] [stderr]      |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1525:21
[INFO] [stderr]      |
[INFO] [stderr] 1525 |                     PAGE_READWRITE,
[INFO] [stderr]      |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1528:49
[INFO] [stderr]      |
[INFO] [stderr] 1528 |                 game_memory.transient_storage = VirtualAlloc(
[INFO] [stderr]      |                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1531:21
[INFO] [stderr]      |
[INFO] [stderr] 1531 |                     MEM_RESERVE | MEM_COMMIT,
[INFO] [stderr]      |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1531:35
[INFO] [stderr]      |
[INFO] [stderr] 1531 |                     MEM_RESERVE | MEM_COMMIT,
[INFO] [stderr]      |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1532:21
[INFO] [stderr]      |
[INFO] [stderr] 1532 |                     PAGE_READWRITE,
[INFO] [stderr]      |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1578:47
[INFO] [stderr]      |
[INFO] [stderr] 1578 |                     ReplayBuffer.FileHandle = CreateFileA(
[INFO] [stderr]      |                                               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GENERIC_WRITE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1580:25
[INFO] [stderr]      |
[INFO] [stderr] 1580 |                         GENERIC_WRITE | GENERIC_READ,
[INFO] [stderr]      |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GENERIC_READ` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1580:41
[INFO] [stderr]      |
[INFO] [stderr] 1580 |                         GENERIC_WRITE | GENERIC_READ,
[INFO] [stderr]      |                                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CREATE_ALWAYS` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1583:25
[INFO] [stderr]      |
[INFO] [stderr] 1583 |                         CREATE_ALWAYS,
[INFO] [stderr]      |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1588:48
[INFO] [stderr]      |
[INFO] [stderr] 1588 |                     let mut MaxSize = zeroed::<LARGE_INTEGER>();
[INFO] [stderr]      |                                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER_u` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1590:32
[INFO] [stderr]      |
[INFO] [stderr] 1590 |                     let msize: LARGE_INTEGER_u = *MaxSize.u_mut();
[INFO] [stderr]      |                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileMappingA` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1591:46
[INFO] [stderr]      |
[INFO] [stderr] 1591 |                     ReplayBuffer.MemoryMap = CreateFileMappingA(
[INFO] [stderr]      |                                              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1594:25
[INFO] [stderr]      |
[INFO] [stderr] 1594 |                         PAGE_READWRITE,
[INFO] [stderr]      |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1599:48
[INFO] [stderr]      |
[INFO] [stderr] 1599 |                     ReplayBuffer.MemoryBlock = MapViewOfFile(
[INFO] [stderr]      |                                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FILE_MAP_ALL_ACCESS` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1601:25
[INFO] [stderr]      |
[INFO] [stderr] 1601 |                         FILE_MAP_ALL_ACCESS,
[INFO] [stderr]      |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CompareFileTime` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1641:28
[INFO] [stderr]      |
[INFO] [stderr] 1641 |                         if CompareFileTime(&new_dll_write_time, &game.dll_last_write_time) != 0 {
[INFO] [stderr]      |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `POINT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1665:55
[INFO] [stderr]      |
[INFO] [stderr] 1665 | ...                   let mut MouseP = zeroed::<POINT>();
[INFO] [stderr]      |                                                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1666:29
[INFO] [stderr]      |
[INFO] [stderr] 1666 | ...                   GetCursorPos(&mut MouseP);
[INFO] [stderr]      |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ScreenToClient` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1667:29
[INFO] [stderr]      |
[INFO] [stderr] 1667 | ...                   ScreenToClient(window, &mut MouseP);
[INFO] [stderr]      |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1673:34
[INFO] [stderr]      |
[INFO] [stderr] 1673 | ...                   (GetKeyState(VK_LBUTTON) & (1 << 15)) != 0,
[INFO] [stderr]      |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `VK_LBUTTON` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1673:46
[INFO] [stderr]      |
[INFO] [stderr] 1673 | ...                   (GetKeyState(VK_LBUTTON) & (1 << 15)) != 0,
[INFO] [stderr]      |                                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1677:34
[INFO] [stderr]      |
[INFO] [stderr] 1677 | ...                   (GetKeyState(VK_MBUTTON) & (1 << 15)) != 0,
[INFO] [stderr]      |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `VK_MBUTTON` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1677:46
[INFO] [stderr]      |
[INFO] [stderr] 1677 | ...                   (GetKeyState(VK_MBUTTON) & (1 << 15)) != 0,
[INFO] [stderr]      |                                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1681:34
[INFO] [stderr]      |
[INFO] [stderr] 1681 | ...                   (GetKeyState(VK_RBUTTON) & (1 << 15)) != 0,
[INFO] [stderr]      |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `VK_RBUTTON` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1681:46
[INFO] [stderr]      |
[INFO] [stderr] 1681 | ...                   (GetKeyState(VK_RBUTTON) & (1 << 15)) != 0,
[INFO] [stderr]      |                                    ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1685:34
[INFO] [stderr]      |
[INFO] [stderr] 1685 | ...                   (GetKeyState(VK_XBUTTON1) & (1 << 15)) != 0,
[INFO] [stderr]      |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `VK_XBUTTON1` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1685:46
[INFO] [stderr]      |
[INFO] [stderr] 1685 | ...                   (GetKeyState(VK_XBUTTON1) & (1 << 15)) != 0,
[INFO] [stderr]      |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1689:34
[INFO] [stderr]      |
[INFO] [stderr] 1689 | ...                   (GetKeyState(VK_XBUTTON2) & (1 << 15)) != 0,
[INFO] [stderr]      |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `VK_XBUTTON2` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1689:46
[INFO] [stderr]      |
[INFO] [stderr] 1689 | ...                   (GetKeyState(VK_XBUTTON2) & (1 << 15)) != 0,
[INFO] [stderr]      |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `XUSER_MAX_COUNT` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1692:60
[INFO] [stderr]      |
[INFO] [stderr] 1692 | ...                   let mut max_controller_count = XUSER_MAX_COUNT;
[INFO] [stderr]      |                                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1726:45
[INFO] [stderr]      |
[INFO] [stderr] 1726 | ...                   XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE,
[INFO] [stderr]      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1732:45
[INFO] [stderr]      |
[INFO] [stderr] 1732 | ...                   XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE,
[INFO] [stderr]      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DS_OK` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:1896:36
[INFO] [stderr]      |
[INFO] [stderr] 1896 | ...                   == DS_OK
[INFO] [stderr]      |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:2012:51
[INFO] [stderr]      |
[INFO] [stderr] 2012 | ...                   let sleep_ms: DWORD = (1000.0
[INFO] [stderr]      |                                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:2014:44
[INFO] [stderr]      |
[INFO] [stderr] 2014 | ...                   as DWORD;
[INFO] [stderr]      |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Sleep` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:2016:41
[INFO] [stderr]      |
[INFO] [stderr] 2016 | ...                   Sleep(sleep_ms);
[INFO] [stderr]      |                       ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:2048:50
[INFO] [stderr]      |
[INFO] [stderr] 2048 | ...                   let device_context = GetDC(window);
[INFO] [stderr]      |                                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:2055:29
[INFO] [stderr]      |
[INFO] [stderr] 2055 | ...                   ReleaseDC(window, device_context);
[INFO] [stderr]      |                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:2061:53
[INFO] [stderr]      |
[INFO] [stderr] 2061 | ...                   let mut PlayCursor: DWORD = 0;
[INFO] [stderr]      |                                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:2062:54
[INFO] [stderr]      |
[INFO] [stderr] 2062 | ...                   let mut WriteCursor: DWORD = 0;
[INFO] [stderr]      |                                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DS_OK` in this scope
[INFO] [stderr]     --> src/win32_handmade.rs:2065:40
[INFO] [stderr]      |
[INFO] [stderr] 2065 | ...                   == DS_OK
[INFO] [stderr]      |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]     --> src/win32_handmade.rs:1022:12
[INFO] [stderr]      |
[INFO] [stderr] 1022 |         if (BytesRead == 0) {
[INFO] [stderr]      |            ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around pattern
[INFO] [stderr]     --> src/win32_handmade.rs:1559:21
[INFO] [stderr]      |
[INFO] [stderr] 1559 |                 for (ReplayBuffer) in State.ReplayBuffers.iter_mut()
[INFO] [stderr]      |                     ^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]     --> src/win32_handmade.rs:1941:52
[INFO] [stderr]      |
[INFO] [stderr] 1941 |   ...                   TargetCursor = (WriteCursor as i32
[INFO] [stderr]      |  ______________________________________^
[INFO] [stderr] 1942 | | ...                       + ExpectedSoundBytesPerFrame
[INFO] [stderr] 1943 | | ...                       + SoundOutput.SafetyBytes as i32);
[INFO] [stderr]      | |___________________________________________________________^
[INFO] [stderr]      |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 1941 |                                     TargetCursor = WriteCursor as i32
[INFO] [stderr] 1942 |                                         + ExpectedSoundBytesPerFrame
[INFO] [stderr] 1943 |                                         + SoundOutput.SafetyBytes as i32;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]     --> src/win32_handmade.rs:1946:37
[INFO] [stderr]      |
[INFO] [stderr] 1946 | ...                   (TargetCursor % SoundOutput.SecondaryBufferSize as i32);
[INFO] [stderr]      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]     --> src/win32_handmade.rs:1950:52
[INFO] [stderr]      |
[INFO] [stderr] 1950 | ...                   BytesToWrite = (SoundOutput.SecondaryBufferSize - ByteToLock);
[INFO] [stderr]      |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr]    --> src/win32_handmade.rs:287:5
[INFO] [stderr]     |
[INFO] [stderr] 287 |     OutputPlayCursor: DWORD,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stderr]     |
[INFO] [stderr]     = note: cannot resolve `_: std::default::Default`
[INFO] [stderr]     = note: required by `std::default::Default::default`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope
[INFO] [stderr]     --> src/win32_handmade.rs:1277:23
[INFO] [stderr]      |
[INFO] [stderr] 1277 |     OsStr::new(value).encode_wide().chain(once(0)).collect()
[INFO] [stderr]      |                       ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]     --> src/win32_handmade.rs:1375:24
[INFO] [stderr]      |
[INFO] [stderr] 1375 |         exe_file_name: &exe_file_name,
[INFO] [stderr]      |                        ^^^^^^^^^^^^^^ expected `MAX_PATH`, found `MAX_PATH`
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected reference `&[u8; _]`
[INFO] [stderr]                 found reference `&[u8; _]`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 363 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0283, E0308, E0408, E0412, E0422, E0425, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0283`.
[INFO] [stderr] error: could not compile `handmadehero-rust`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "a98c5eaf73e67898e6a7359cd3bf1f2902dfac22ae7ad1d0a9d28418c16d4fdf"`
[INFO] running `"docker" "rm" "-f" "a98c5eaf73e67898e6a7359cd3bf1f2902dfac22ae7ad1d0a9d28418c16d4fdf"`
[INFO] [stdout] a98c5eaf73e67898e6a7359cd3bf1f2902dfac22ae7ad1d0a9d28418c16d4fdf
