[INFO] cloning repository https://github.com/13jon37/handmade_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/13jon37/handmade_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F13jon37%2Fhandmade_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F13jon37%2Fhandmade_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09977c5e89a21753419bd9bf0350b51621a2119b [INFO] checking 13jon37/handmade_rust/09977c5e89a21753419bd9bf0350b51621a2119b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F13jon37%2Fhandmade_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/13jon37/handmade_rust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/13jon37/handmade_rust [INFO] finished tweaking git repo https://github.com/13jon37/handmade_rust [INFO] tweaked toml for git repo https://github.com/13jon37/handmade_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/13jon37/handmade_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fa4365e1c9f18ba52636f59886e7fc8698ec583acbb79bcfa7916a39aa78275 [INFO] running `Command { std: "docker" "start" "-a" "7fa4365e1c9f18ba52636f59886e7fc8698ec583acbb79bcfa7916a39aa78275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fa4365e1c9f18ba52636f59886e7fc8698ec583acbb79bcfa7916a39aa78275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fa4365e1c9f18ba52636f59886e7fc8698ec583acbb79bcfa7916a39aa78275", kill_on_drop: false }` [INFO] [stdout] 7fa4365e1c9f18ba52636f59886e7fc8698ec583acbb79bcfa7916a39aa78275 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29ecdb22f34c1b40831ffd63f4b947fdf3ac5b8a967658fd711eebb26324f20e [INFO] running `Command { std: "docker" "start" "-a" "29ecdb22f34c1b40831ffd63f4b947fdf3ac5b8a967658fd711eebb26324f20e", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking rusty-xinput v1.2.0 [INFO] [stderr] Checking handmade_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/language_layer.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/language_layer.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::basetsd::LONG_PTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/language_layer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/language_layer.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::ntdef::HANDLE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::{HINSTANCE, LPARAM, LPDWORD, LPVOID, LRESULT, UINT, WORD, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::ntdef::{LPCSTR, LPCWSTR}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::windef::{HBRUSH, HDC, HICON, HMENU, HWND, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::winerror::ERROR_SUCCESS; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::wingdi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::xinput::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/language_layer.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/language_layer.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::basetsd::LONG_PTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/language_layer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/language_layer.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::ntdef::HANDLE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::{HINSTANCE, LPARAM, LPDWORD, LPVOID, LRESULT, UINT, WORD, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::ntdef::{LPCSTR, LPCWSTR}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::windef::{HBRUSH, HDC, HICON, HMENU, HWND, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::winerror::ERROR_SUCCESS; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::wingdi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::xinput::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | pub memory: *const winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | pub memory: *const winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:126:47 [INFO] [stdout] | [INFO] [stdout] 126 | let mut _memory = 0 as *const winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:126:47 [INFO] [stdout] | [INFO] [stdout] 126 | let mut _memory = 0 as *const winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 138 | ) as *const winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 138 | ) as *const winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:174:39 [INFO] [stdout] | [INFO] [stdout] 174 | memory: 0 as *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:174:39 [INFO] [stdout] | [INFO] [stdout] 174 | memory: 0 as *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:214:33 [INFO] [stdout] | [INFO] [stdout] 214 | ) as *const winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:214:33 [INFO] [stdout] | [INFO] [stdout] 214 | ) as *const winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:260:28 [INFO] [stdout] | [INFO] [stdout] 260 | contents: *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:260:28 [INFO] [stdout] | [INFO] [stdout] 260 | contents: *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:266:37 [INFO] [stdout] | [INFO] [stdout] 266 | contents: 0 as *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:266:37 [INFO] [stdout] | [INFO] [stdout] 266 | contents: 0 as *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:299:27 [INFO] [stdout] | [INFO] [stdout] 299 | ) as *mut winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:299:27 [INFO] [stdout] | [INFO] [stdout] 299 | ) as *mut winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:437:33 [INFO] [stdout] | [INFO] [stdout] 437 | ) as *const winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/win32_engine.rs:437:33 [INFO] [stdout] | [INFO] [stdout] 437 | ) as *const winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/win32_engine.rs:251:15 [INFO] [stdout] | [INFO] [stdout] 251 | if msg == WM_CLOSE { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/win32_engine.rs:335:32 [INFO] [stdout] | [INFO] [stdout] 335 | let window_class = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> src/win32_engine.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/win32_engine.rs:356:39 [INFO] [stdout] | [INFO] [stdout] 356 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/win32_engine.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/win32_engine.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/win32_engine.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/win32_engine.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/win32_engine.rs:369:32 [INFO] [stdout] | [INFO] [stdout] 369 | ShowWindow(window, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/win32_engine.rs:383:26 [INFO] [stdout] | [INFO] [stdout] 383 | let mut msg: MSG = std::mem::zeroed(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> src/win32_engine.rs:386:59 [INFO] [stdout] | [INFO] [stdout] 386 | while PeekMessageA(&mut msg, self.hwnd, 0, 0, PM_REMOVE) > 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LEFT` in this scope [INFO] [stdout] --> src/win32_engine.rs:627:64 [INFO] [stdout] | [INFO] [stdout] 627 | if GetAsyncKeyState(0x41) != 0 || GetAsyncKeyState(VK_LEFT) != 0 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_RIGHT` in this scope [INFO] [stdout] --> src/win32_engine.rs:643:64 [INFO] [stdout] | [INFO] [stdout] 643 | if GetAsyncKeyState(0x44) != 0 || GetAsyncKeyState(VK_RIGHT) != 0 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_UP` in this scope [INFO] [stdout] --> src/win32_engine.rs:656:64 [INFO] [stdout] | [INFO] [stdout] 656 | if GetAsyncKeyState(0x57) != 0 || GetAsyncKeyState(VK_UP) != 0 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_DOWN` in this scope [INFO] [stdout] --> src/win32_engine.rs:669:64 [INFO] [stdout] | [INFO] [stdout] 669 | if GetAsyncKeyState(0x53) != 0 || GetAsyncKeyState(VK_DOWN) != 0 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kernel32::*` [INFO] [stdout] --> src/win32_engine.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use kernel32::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `Point` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use math::{Color, Point, Rect}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Win32Drawable` [INFO] [stdout] --> src/main.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use win32_engine::{Win32Drawable, Win32Engine, Win32GameBitmap, Win32Input}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/win32_engine.rs:251:15 [INFO] [stdout] | [INFO] [stdout] 251 | if msg == WM_CLOSE { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/win32_engine.rs:335:32 [INFO] [stdout] | [INFO] [stdout] 335 | let window_class = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> src/win32_engine.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/win32_engine.rs:356:39 [INFO] [stdout] | [INFO] [stdout] 356 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/win32_engine.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/win32_engine.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/win32_engine.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/win32_engine.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/win32_engine.rs:369:32 [INFO] [stdout] | [INFO] [stdout] 369 | ShowWindow(window, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/win32_engine.rs:383:26 [INFO] [stdout] | [INFO] [stdout] 383 | let mut msg: MSG = std::mem::zeroed(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> src/win32_engine.rs:386:59 [INFO] [stdout] | [INFO] [stdout] 386 | while PeekMessageA(&mut msg, self.hwnd, 0, 0, PM_REMOVE) > 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LEFT` in this scope [INFO] [stdout] --> src/win32_engine.rs:627:64 [INFO] [stdout] | [INFO] [stdout] 627 | if GetAsyncKeyState(0x41) != 0 || GetAsyncKeyState(VK_LEFT) != 0 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_RIGHT` in this scope [INFO] [stdout] --> src/win32_engine.rs:643:64 [INFO] [stdout] | [INFO] [stdout] 643 | if GetAsyncKeyState(0x44) != 0 || GetAsyncKeyState(VK_RIGHT) != 0 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_UP` in this scope [INFO] [stdout] --> src/win32_engine.rs:656:64 [INFO] [stdout] | [INFO] [stdout] 656 | if GetAsyncKeyState(0x57) != 0 || GetAsyncKeyState(VK_UP) != 0 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_DOWN` in this scope [INFO] [stdout] --> src/win32_engine.rs:669:64 [INFO] [stdout] | [INFO] [stdout] 669 | if GetAsyncKeyState(0x53) != 0 || GetAsyncKeyState(VK_DOWN) != 0 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kernel32::*` [INFO] [stdout] --> src/win32_engine.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use kernel32::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `Point` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use math::{Color, Point, Rect}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Win32Drawable` [INFO] [stdout] --> src/main.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use win32_engine::{Win32Drawable, Win32Engine, Win32GameBitmap, Win32Input}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/language_layer.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | let mut result: Vec = OsStr::new(string).encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/win32_engine.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | GetClientRect(*window, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope [INFO] [stdout] --> src/win32_engine.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | VirtualFree(_memory as *mut std::ffi::c_void, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope [INFO] [stdout] --> src/win32_engine.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | _memory = VirtualAlloc( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/language_layer.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | let mut result: Vec = OsStr::new(string).encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/win32_engine.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | GetClientRect(*window, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope [INFO] [stdout] --> src/win32_engine.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | VirtualFree(_memory as *mut std::ffi::c_void, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope [INFO] [stdout] --> src/win32_engine.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | _memory = VirtualAlloc( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessHeap` in this scope [INFO] [stdout] --> src/win32_engine.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | GetProcessHeap(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HeapAlloc` in this scope [INFO] [stdout] --> src/win32_engine.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | result.memory = HeapAlloc( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/win32_engine.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessHeap` in this scope [INFO] [stdout] --> src/win32_engine.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | GetProcessHeap(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HeapAlloc` in this scope [INFO] [stdout] --> src/win32_engine.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | result.memory = HeapAlloc( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/win32_engine.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | DefWindowProcW(h_wnd, msg, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/win32_engine.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 274 | let file_handle = CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFileSize` in this scope [INFO] [stdout] --> src/win32_engine.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | let file_size = GetFileSize(file_handle as *mut std::ffi::c_void, std::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope [INFO] [stdout] --> src/win32_engine.rs:294:27 [INFO] [stdout] | [INFO] [stdout] 294 | result.contents = VirtualAlloc( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope [INFO] [stdout] --> src/win32_engine.rs:303:20 [INFO] [stdout] | [INFO] [stdout] 303 | let read = ReadFile( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/win32_engine.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | CloseHandle(file_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> src/win32_engine.rs:348:30 [INFO] [stdout] | [INFO] [stdout] 348 | let error_code = RegisterClassW(&window_class); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/win32_engine.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/win32_engine.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | DefWindowProcW(h_wnd, msg, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/win32_engine.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 274 | let file_handle = CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/win32_engine.rs:352:26 [INFO] [stdout] | [INFO] [stdout] 352 | let window = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFileSize` in this scope [INFO] [stdout] --> src/win32_engine.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | let file_size = GetFileSize(file_handle as *mut std::ffi::c_void, std::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/win32_engine.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | ShowWindow(window, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope [INFO] [stdout] --> src/win32_engine.rs:294:27 [INFO] [stdout] | [INFO] [stdout] 294 | result.contents = VirtualAlloc( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope [INFO] [stdout] --> src/win32_engine.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | UpdateWindow(window); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope [INFO] [stdout] --> src/win32_engine.rs:303:20 [INFO] [stdout] | [INFO] [stdout] 303 | let read = ReadFile( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/win32_engine.rs:376:33 [INFO] [stdout] | [INFO] [stdout] 376 | device_context: GetDC(window), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageA` in this scope [INFO] [stdout] --> src/win32_engine.rs:386:19 [INFO] [stdout] | [INFO] [stdout] 386 | while PeekMessageA(&mut msg, self.hwnd, 0, 0, PM_REMOVE) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/win32_engine.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | CloseHandle(file_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/win32_engine.rs:387:17 [INFO] [stdout] | [INFO] [stdout] 387 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in this scope [INFO] [stdout] --> src/win32_engine.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | DispatchMessageA(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope [INFO] [stdout] --> src/win32_engine.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | VirtualFree(buffer.memory as *mut std::ffi::c_void, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> src/win32_engine.rs:348:30 [INFO] [stdout] | [INFO] [stdout] 348 | let error_code = RegisterClassW(&window_class); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope [INFO] [stdout] --> src/win32_engine.rs:432:29 [INFO] [stdout] | [INFO] [stdout] 432 | buffer.memory = VirtualAlloc( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/win32_engine.rs:352:26 [INFO] [stdout] | [INFO] [stdout] 352 | let window = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/win32_engine.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | ShowWindow(window, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope [INFO] [stdout] --> src/win32_engine.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | UpdateWindow(window); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/win32_engine.rs:376:33 [INFO] [stdout] | [INFO] [stdout] 376 | device_context: GetDC(window), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFocus` in this scope [INFO] [stdout] --> src/win32_engine.rs:524:24 [INFO] [stdout] | [INFO] [stdout] 524 | let wind = GetFocus(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageA` in this scope [INFO] [stdout] --> src/win32_engine.rs:386:19 [INFO] [stdout] | [INFO] [stdout] 386 | while PeekMessageA(&mut msg, self.hwnd, 0, 0, PM_REMOVE) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> src/win32_engine.rs:535:13 [INFO] [stdout] | [INFO] [stdout] 535 | ReleaseDC(self.hwnd, self.device_context); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/win32_engine.rs:387:17 [INFO] [stdout] | [INFO] [stdout] 387 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in this scope [INFO] [stdout] --> src/win32_engine.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | DispatchMessageA(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope [INFO] [stdout] --> src/win32_engine.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | VirtualFree(buffer.memory as *mut std::ffi::c_void, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope [INFO] [stdout] --> src/win32_engine.rs:432:29 [INFO] [stdout] | [INFO] [stdout] 432 | buffer.memory = VirtualAlloc( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:627:16 [INFO] [stdout] | [INFO] [stdout] 627 | if GetAsyncKeyState(0x41) != 0 || GetAsyncKeyState(VK_LEFT) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:627:47 [INFO] [stdout] | [INFO] [stdout] 627 | if GetAsyncKeyState(0x41) != 0 || GetAsyncKeyState(VK_LEFT) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFocus` in this scope [INFO] [stdout] --> src/win32_engine.rs:524:24 [INFO] [stdout] | [INFO] [stdout] 524 | let wind = GetFocus(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:643:16 [INFO] [stdout] | [INFO] [stdout] 643 | if GetAsyncKeyState(0x44) != 0 || GetAsyncKeyState(VK_RIGHT) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:643:47 [INFO] [stdout] | [INFO] [stdout] 643 | if GetAsyncKeyState(0x44) != 0 || GetAsyncKeyState(VK_RIGHT) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> src/win32_engine.rs:535:13 [INFO] [stdout] | [INFO] [stdout] 535 | ReleaseDC(self.hwnd, self.device_context); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:656:16 [INFO] [stdout] | [INFO] [stdout] 656 | if GetAsyncKeyState(0x57) != 0 || GetAsyncKeyState(VK_UP) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:656:47 [INFO] [stdout] | [INFO] [stdout] 656 | if GetAsyncKeyState(0x57) != 0 || GetAsyncKeyState(VK_UP) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:669:16 [INFO] [stdout] | [INFO] [stdout] 669 | if GetAsyncKeyState(0x53) != 0 || GetAsyncKeyState(VK_DOWN) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:669:47 [INFO] [stdout] | [INFO] [stdout] 669 | if GetAsyncKeyState(0x53) != 0 || GetAsyncKeyState(VK_DOWN) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:627:16 [INFO] [stdout] | [INFO] [stdout] 627 | if GetAsyncKeyState(0x41) != 0 || GetAsyncKeyState(VK_LEFT) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:627:47 [INFO] [stdout] | [INFO] [stdout] 627 | if GetAsyncKeyState(0x41) != 0 || GetAsyncKeyState(VK_LEFT) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:643:16 [INFO] [stdout] | [INFO] [stdout] 643 | if GetAsyncKeyState(0x44) != 0 || GetAsyncKeyState(VK_RIGHT) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:643:47 [INFO] [stdout] | [INFO] [stdout] 643 | if GetAsyncKeyState(0x44) != 0 || GetAsyncKeyState(VK_RIGHT) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:656:16 [INFO] [stdout] | [INFO] [stdout] 656 | if GetAsyncKeyState(0x57) != 0 || GetAsyncKeyState(VK_UP) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:656:47 [INFO] [stdout] | [INFO] [stdout] 656 | if GetAsyncKeyState(0x57) != 0 || GetAsyncKeyState(VK_UP) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:669:16 [INFO] [stdout] | [INFO] [stdout] 669 | if GetAsyncKeyState(0x53) != 0 || GetAsyncKeyState(VK_DOWN) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope [INFO] [stdout] --> src/win32_engine.rs:669:47 [INFO] [stdout] | [INFO] [stdout] 669 | if GetAsyncKeyState(0x53) != 0 || GetAsyncKeyState(VK_DOWN) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 69 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 69 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `handmade_rust` (bin "handmade_rust" test) due to 70 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `handmade_rust` (bin "handmade_rust") due to 70 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "29ecdb22f34c1b40831ffd63f4b947fdf3ac5b8a967658fd711eebb26324f20e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29ecdb22f34c1b40831ffd63f4b947fdf3ac5b8a967658fd711eebb26324f20e", kill_on_drop: false }` [INFO] [stdout] 29ecdb22f34c1b40831ffd63f4b947fdf3ac5b8a967658fd711eebb26324f20e