[INFO] cloning repository https://github.com/jestarray/handmadehero-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jestarray/handmadehero-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjestarray%2Fhandmadehero-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjestarray%2Fhandmadehero-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82d62c17859f7c960ca204e2b407980568e8a9d0 [INFO] documenting jestarray/handmadehero-rust against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjestarray%2Fhandmadehero-rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jestarray/handmadehero-rust on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/jestarray/handmadehero-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.src [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7fa188f1e697464564cd8acbc8101e0e8fcace0bc945c8841fb5145dc976f1f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a7fa188f1e697464564cd8acbc8101e0e8fcace0bc945c8841fb5145dc976f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7fa188f1e697464564cd8acbc8101e0e8fcace0bc945c8841fb5145dc976f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7fa188f1e697464564cd8acbc8101e0e8fcace0bc945c8841fb5145dc976f1f", kill_on_drop: false }` [INFO] [stdout] a7fa188f1e697464564cd8acbc8101e0e8fcace0bc945c8841fb5145dc976f1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a67015f15bc2ec9dc95613c6509a562d01e840727a0b5a47ef597517edf0b2ef [INFO] running `Command { std: "docker" "start" "-a" "a67015f15bc2ec9dc95613c6509a562d01e840727a0b5a47ef597517edf0b2ef", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused manifest key: lib.src [INFO] [stderr] Checking handmadehero-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting handmadehero-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `allow_bad_style` [INFO] [stdout] --> src/handmade_world.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(allow_bad_style)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/handmade_world.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | static TILE_CHUNK_SAFE_MARGIN: i32 = (std::i32::MAX / 64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/handmade_math.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | return (result); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/handmade_math.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | return (result); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/handmade_math.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | return (result); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/handmade_world.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | static TILE_CHUNK_SAFE_MARGIN: i32 = (std::i32::MAX / 64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/handmade.rs:959:32 [INFO] [stdout] | [INFO] [stdout] 959 | ... if ((*Low).HighEntityIndex == 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/handmade.rs:961:36 [INFO] [stdout] | [INFO] [stdout] 961 | ... if (IsInRectangle(CameraBounds, CameraSpaceP)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/handmade.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | for Y in MinY..MaxY [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/handmade.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | for X in MinX..MaxX [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/handmade.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | for Y in 0..Header.Height [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/handmade.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | for X in 0..Header.Width [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `EntityHigh` is never read [INFO] [stdout] --> src/handmade.rs:535:9 [INFO] [stdout] | [INFO] [stdout] 535 | let mut EntityHigh: Option<&mut high_entity> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `HighEntityIndex` is never read [INFO] [stdout] --> src/handmade.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | let mut HighEntityIndex = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `World` [INFO] [stdout] --> src/handmade.rs:723:9 [INFO] [stdout] | [INFO] [stdout] 723 | let mut World = GameState.world.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_World` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `LowIndex` [INFO] [stdout] --> src/handmade.rs:751:13 [INFO] [stdout] | [INFO] [stdout] 751 | LowIndex, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `LowIndex: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NewPlayerP` [INFO] [stdout] --> src/handmade.rs:759:17 [INFO] [stdout] | [INFO] [stdout] 759 | let NewPlayerP = OldPlayerP + PlayerDelta; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NewPlayerP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `HitLow` [INFO] [stdout] --> src/handmade.rs:868:25 [INFO] [stdout] | [INFO] [stdout] 868 | let HitLow = &GameState.LowEntities[HitHigh.LowEntityIndex as usize]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_HitLow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PlayerWidth` [INFO] [stdout] --> src/handmade.rs:994:13 [INFO] [stdout] | [INFO] [stdout] 994 | let PlayerWidth: f32 = 0.75 * PlayerHeight; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PlayerWidth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ScreenIndex` [INFO] [stdout] --> src/handmade.rs:1128:17 [INFO] [stdout] | [INFO] [stdout] 1128 | for ScreenIndex in 0..2000 [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ScreenIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `NewCameraP` is never read [INFO] [stdout] --> src/handmade.rs:1239:17 [INFO] [stdout] | [INFO] [stdout] 1239 | let mut NewCameraP = world_position::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `LowerLeftX` [INFO] [stdout] --> src/handmade.rs:1259:13 [INFO] [stdout] | [INFO] [stdout] 1259 | let LowerLeftX = -(TileSideInPixels / 2) as f32; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_LowerLeftX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `LowerLeftY` [INFO] [stdout] --> src/handmade.rs:1260:13 [INFO] [stdout] | [INFO] [stdout] 1260 | let LowerLeftY = buffer.height as f32; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_LowerLeftY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `High` [INFO] [stdout] --> src/handmade.rs:1321:32 [INFO] [stdout] | [INFO] [stdout] 1321 | High: Some(High), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_High` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PlayerR` [INFO] [stdout] --> src/handmade.rs:1437:17 [INFO] [stdout] | [INFO] [stdout] 1437 | let PlayerR = 1.0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PlayerR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PlayerG` [INFO] [stdout] --> src/handmade.rs:1438:17 [INFO] [stdout] | [INFO] [stdout] 1438 | let PlayerG = 1.0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PlayerG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PlayerB` [INFO] [stdout] --> src/handmade.rs:1439:17 [INFO] [stdout] | [INFO] [stdout] 1439 | let PlayerB = 0.0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PlayerB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PlayerLeftTop` [INFO] [stdout] --> src/handmade.rs:1443:17 [INFO] [stdout] | [INFO] [stdout] 1443 | let PlayerLeftTop = v2 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_PlayerLeftTop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `EntityWidthHeight` [INFO] [stdout] --> src/handmade.rs:1447:17 [INFO] [stdout] | [INFO] [stdout] 1447 | let EntityWidthHeight = v2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_EntityWidthHeight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/handmade.rs:1577:5 [INFO] [stdout] | [INFO] [stdout] 1577 | game_state: *mut GameState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/handmade.rs:1578:5 [INFO] [stdout] | [INFO] [stdout] 1578 | buffer: &mut game_sound_output_buffer, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tone_hz` [INFO] [stdout] --> src/handmade.rs:1579:5 [INFO] [stdout] | [INFO] [stdout] 1579 | tone_hz: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tone_hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/handmade.rs:1602:5 [INFO] [stdout] | [INFO] [stdout] 1602 | thread: &thread_context, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `World` [INFO] [stdout] --> src/handmade_world.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn AreInSameChunk(World: &world, A: &world_position, B: &world_position) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_World` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `OldBlock` is never read [INFO] [stdout] --> src/handmade_world.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | OldBlock = Some(PushStruct::(Arena)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handmade.rs:532:5 [INFO] [stdout] | [INFO] [stdout] 532 | mut GameState: &'a mut GameState, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handmade.rs:587:21 [INFO] [stdout] | [INFO] [stdout] 587 | let mut DelEntity = [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handmade.rs:723:9 [INFO] [stdout] | [INFO] [stdout] 723 | let mut World = GameState.world.as_mut().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/handmade_world.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 94 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 108 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `GetCenter` [INFO] [stdout] --> src/handmade_math.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn GetCenter(Rect: rectangle2) -> v2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `RectMinMax` [INFO] [stdout] --> src/handmade_math.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn RectMinMax(Min: v2, Max: v2) -> rectangle2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `RectMinDim` [INFO] [stdout] --> src/handmade_math.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn RectMinDim(Min: v2, Dim: v2) -> rectangle2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `TILE_CHUNK_SAFE_MARGIN` [INFO] [stdout] --> src/handmade_world.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | static TILE_CHUNK_SAFE_MARGIN: i32 = (std::i32::MAX / 64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `IsCanonical` [INFO] [stdout] --> src/handmade_world.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn IsCanonical(World: &world, TileRel: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `IsCanonical_v2` [INFO] [stdout] --> src/handmade_world.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn IsCanonical_v2(World: &world, Offset: v2) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `CenteredChunkPoint` [INFO] [stdout] --> src/handmade_world.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn CenteredChunkPoint(ChunkX: u32, ChunkY: u32, ChunkZ: u32) -> world_position { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dAbsTileZ` [INFO] [stdout] --> src/handmade.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | dAbsTileZ: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `PushArray` [INFO] [stdout] --> src/handmade.rs:254:4 [INFO] [stdout] | [INFO] [stdout] 254 | fn PushArray(arena: &mut memory_arena, count: u32) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/win32_handmade.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | os::windows::ffi::OsStrExt, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::minwinbase::GetFileExInfoStandard; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winuser::GetMonitorInfoA; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::winuser::GetWindowLongA; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winuser::GetWindowPlacement; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winuser::MonitorFromWindow; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winuser::SetCursor; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winuser::SetWindowLongA; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winuser::SetWindowPlacement; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winuser::GWL_STYLE; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::winuser::HWND_TOP; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::winuser::MONITOR_DEFAULTTOPRIMARY; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::winuser::WM_SETCURSOR; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use winapi::um::winuser::SetWindowPos; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use winapi::um::{ [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use winapi::um::fileapi::WIN32_FILE_ATTRIBUTE_DATA; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | use winapi::um::winuser::LoadCursorW; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use winapi::um::winuser::IDC_ARROW; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use winapi::um::winuser::MONITORINFO; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | use winapi::um::winuser::SWP_FRAMECHANGED; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | use winapi::um::winuser::SWP_NOMOVE; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | use winapi::um::winuser::SWP_NOOWNERZORDER; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use winapi::um::winuser::SWP_NOSIZE; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | use winapi::um::winuser::SWP_NOZORDER; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | use winapi::um::winuser::WINDOWPLACEMENT; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | use winapi::um::{ [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | use winapi::um::{ [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/win32_handmade.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/win32_handmade.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | memory: 0 as *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope [INFO] [stdout] --> src/win32_handmade.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | info: BITMAPINFO { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/win32_handmade.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | bmiHeader: BITMAPINFOHEADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope [INFO] [stdout] --> src/win32_handmade.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | biCompression: BI_RGB, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RGBQUAD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | bmiColors: [RGBQUAD { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDIRECTSOUNDBUFFER` in this scope [INFO] [stdout] --> src/win32_handmade.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | static mut GLOBAL_SECONDARY_BUFFER: LPDIRECTSOUNDBUFFER = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope [INFO] [stdout] --> src/win32_handmade.rs:154:34 [INFO] [stdout] | [INFO] [stdout] 154 | static mut GlobalWindowPosition: WINDOWPLACEMENT = WINDOWPLACEMENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WINDOWPLACEMENT` in this scope [INFO] [stdout] --> src/win32_handmade.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | static mut GlobalWindowPosition: WINDOWPLACEMENT = WINDOWPLACEMENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/win32_handmade.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | ptMinPosition: POINT { x: 0, y: 0 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/win32_handmade.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 159 | ptMaxPosition: POINT { x: 0, y: 0 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/win32_handmade.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 160 | rcNormalPosition: RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/win32_handmade.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | memory: *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFO` in this scope [INFO] [stdout] --> src/win32_handmade.rs:274:11 [INFO] [stdout] | [INFO] [stdout] 274 | info: BITMAPINFO, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:287:23 [INFO] [stdout] | [INFO] [stdout] 287 | OutputPlayCursor: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:288:24 [INFO] [stdout] | [INFO] [stdout] 288 | OutputWriteCursor: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:289:21 [INFO] [stdout] | [INFO] [stdout] 289 | OutputLocation: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:290:22 [INFO] [stdout] | [INFO] [stdout] 290 | OutputByteCount: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:291:29 [INFO] [stdout] | [INFO] [stdout] 291 | ExpectedFlipPlayCursor: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | FlipPlayCursor: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | FlipWriteCursor: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/win32_handmade.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | FileHandle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/win32_handmade.rs:302:16 [INFO] [stdout] | [INFO] [stdout] 302 | MemoryMap: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/win32_handmade.rs:303:20 [INFO] [stdout] | [INFO] [stdout] 303 | FileName: [u8; MAX_PATH], [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/win32_handmade.rs:304:23 [INFO] [stdout] | [INFO] [stdout] 304 | MemoryBlock: *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/win32_handmade.rs:320:27 [INFO] [stdout] | [INFO] [stdout] 320 | GameMemoryBlock: *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/win32_handmade.rs:323:22 [INFO] [stdout] | [INFO] [stdout] 323 | RecordingHandle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/win32_handmade.rs:326:21 [INFO] [stdout] | [INFO] [stdout] 326 | PlaybackHandle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/win32_handmade.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | exe_file_name: &'a [u8; MAX_PATH], [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/win32_handmade.rs:333:39 [INFO] [stdout] | [INFO] [stdout] 333 | fn win32_get_window_dimension(window: HWND) -> Win32WindowDimension { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/win32_handmade.rs:529:20 [INFO] [stdout] | [INFO] [stdout] 529 | game_code_dll: HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FILETIME` in this scope [INFO] [stdout] --> src/win32_handmade.rs:533:26 [INFO] [stdout] | [INFO] [stdout] 533 | dll_last_write_time: FILETIME, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FILETIME` in this scope [INFO] [stdout] --> src/win32_handmade.rs:536:57 [INFO] [stdout] | [INFO] [stdout] 536 | unsafe fn win32_get_last_write_time(file_name: &str) -> FILETIME { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:624:44 [INFO] [stdout] | [INFO] [stdout] 624 | type XInputGetStateFn = extern "system" fn(DWORD, *mut XINPUT_STATE) -> DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in this scope [INFO] [stdout] --> src/win32_handmade.rs:624:56 [INFO] [stdout] | [INFO] [stdout] 624 | type XInputGetStateFn = extern "system" fn(DWORD, *mut XINPUT_STATE) -> DWORD; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:624:73 [INFO] [stdout] | [INFO] [stdout] 624 | type XInputGetStateFn = extern "system" fn(DWORD, *mut XINPUT_STATE) -> DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:625:45 [INFO] [stdout] | [INFO] [stdout] 625 | extern "system" fn xinput_get_state_stub(_: DWORD, _: *mut XINPUT_STATE) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in this scope [INFO] [stdout] --> src/win32_handmade.rs:625:60 [INFO] [stdout] | [INFO] [stdout] 625 | extern "system" fn xinput_get_state_stub(_: DWORD, _: *mut XINPUT_STATE) -> DWORD { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:625:77 [INFO] [stdout] | [INFO] [stdout] 625 | extern "system" fn xinput_get_state_stub(_: DWORD, _: *mut XINPUT_STATE) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:630:44 [INFO] [stdout] | [INFO] [stdout] 630 | type XInputSetStateFn = extern "system" fn(DWORD, *mut XINPUT_VIBRATION) -> DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_VIBRATION` in this scope [INFO] [stdout] --> src/win32_handmade.rs:630:56 [INFO] [stdout] | [INFO] [stdout] 630 | type XInputSetStateFn = extern "system" fn(DWORD, *mut XINPUT_VIBRATION) -> DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:630:77 [INFO] [stdout] | [INFO] [stdout] 630 | type XInputSetStateFn = extern "system" fn(DWORD, *mut XINPUT_VIBRATION) -> DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:631:45 [INFO] [stdout] | [INFO] [stdout] 631 | extern "system" fn xinput_set_state_stub(_: DWORD, _: *mut XINPUT_VIBRATION) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_VIBRATION` in this scope [INFO] [stdout] --> src/win32_handmade.rs:631:60 [INFO] [stdout] | [INFO] [stdout] 631 | extern "system" fn xinput_set_state_stub(_: DWORD, _: *mut XINPUT_VIBRATION) -> DWORD { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:631:81 [INFO] [stdout] | [INFO] [stdout] 631 | extern "system" fn xinput_set_state_stub(_: DWORD, _: *mut XINPUT_VIBRATION) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCGUID` in this scope [INFO] [stdout] --> src/win32_handmade.rs:656:31 [INFO] [stdout] | [INFO] [stdout] 656 | type DirectSoundCreateFn = fn(LPCGUID, *mut LPDIRECTSOUND, LPUNKNOWN) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDIRECTSOUND` in this scope [INFO] [stdout] --> src/win32_handmade.rs:656:45 [INFO] [stdout] | [INFO] [stdout] 656 | type DirectSoundCreateFn = fn(LPCGUID, *mut LPDIRECTSOUND, LPUNKNOWN) -> HRESULT; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPUNKNOWN` in this scope [INFO] [stdout] --> src/win32_handmade.rs:656:60 [INFO] [stdout] | [INFO] [stdout] 656 | type DirectSoundCreateFn = fn(LPCGUID, *mut LPDIRECTSOUND, LPUNKNOWN) -> HRESULT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/win32_handmade.rs:656:74 [INFO] [stdout] | [INFO] [stdout] 656 | type DirectSoundCreateFn = fn(LPCGUID, *mut LPDIRECTSOUND, LPUNKNOWN) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/win32_handmade.rs:657:37 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn win32_init_dsound(window: HWND, samples_per_sec: u32, buffersize: i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:726:18 [INFO] [stdout] | [INFO] [stdout] 726 | BytesToLock: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:727:19 [INFO] [stdout] | [INFO] [stdout] 727 | BytesToWrite: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/win32_handmade.rs:838:21 [INFO] [stdout] | [INFO] [stdout] 838 | device_context: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/win32_handmade.rs:1037:36 [INFO] [stdout] | [INFO] [stdout] 1037 | unsafe fn ToggleFullscreen(Window: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/win32_handmade.rs:1221:13 [INFO] [stdout] | [INFO] [stdout] 1221 | window: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/win32_handmade.rs:1222:14 [INFO] [stdout] | [INFO] [stdout] 1222 | message: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/win32_handmade.rs:1223:13 [INFO] [stdout] | [INFO] [stdout] 1223 | wparam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/win32_handmade.rs:1224:13 [INFO] [stdout] | [INFO] [stdout] 1224 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/win32_handmade.rs:1225:6 [INFO] [stdout] | [INFO] [stdout] 1225 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:1286:26 [INFO] [stdout] | [INFO] [stdout] 1286 | xinput_button_state: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win32_handmade.rs:1288:17 [INFO] [stdout] | [INFO] [stdout] 1288 | button_bit: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/win32_handmade.rs:1299:43 [INFO] [stdout] | [INFO] [stdout] 1299 | fn win32_process_xinput_stickvalue(value: SHORT, dead_zone_threshold: SHORT) -> f32 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/win32_handmade.rs:1299:71 [INFO] [stdout] | [INFO] [stdout] 1299 | fn win32_process_xinput_stickvalue(value: SHORT, dead_zone_threshold: SHORT) -> f32 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/win32_handmade.rs:1309:37 [INFO] [stdout] | [INFO] [stdout] 1309 | unsafe fn win32_get_wall_clock() -> LARGE_INTEGER { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/win32_handmade.rs:1314:44 [INFO] [stdout] | [INFO] [stdout] 1314 | unsafe fn win32_get_seconds_elasped(start: LARGE_INTEGER, end: LARGE_INTEGER) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/win32_handmade.rs:1314:64 [INFO] [stdout] | [INFO] [stdout] 1314 | unsafe fn win32_get_seconds_elasped(start: LARGE_INTEGER, end: LARGE_INTEGER) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 95 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `handmadehero-rust`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name win32_handmade src/win32_handmade.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --cfg 'feature="handmade_internal"' --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern handmade=/opt/rustwide/target/debug/deps/libhandmade-46fdd82ad65b8609.rmeta --cap-lints=warn` (exit code: 1) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a67015f15bc2ec9dc95613c6509a562d01e840727a0b5a47ef597517edf0b2ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a67015f15bc2ec9dc95613c6509a562d01e840727a0b5a47ef597517edf0b2ef", kill_on_drop: false }` [INFO] [stdout] a67015f15bc2ec9dc95613c6509a562d01e840727a0b5a47ef597517edf0b2ef