[INFO] updating cached repository ArmsOfSorrow/win32-d3d-template [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ArmsOfSorrow/win32-d3d-template [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ArmsOfSorrow/win32-d3d-template" "work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/gh/ArmsOfSorrow/win32-d3d-template"` [INFO] [stderr] Cloning into 'work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/gh/ArmsOfSorrow/win32-d3d-template'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ArmsOfSorrow/win32-d3d-template" "work/ex/pr-58592/sources/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a/gh/ArmsOfSorrow/win32-d3d-template"` [INFO] [stderr] Cloning into 'work/ex/pr-58592/sources/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a/gh/ArmsOfSorrow/win32-d3d-template'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 566ca9e5967fd080191724f88d1c92d1b0a7ff93 [INFO] sha for GitHub repo ArmsOfSorrow/win32-d3d-template: 566ca9e5967fd080191724f88d1c92d1b0a7ff93 [INFO] validating manifest of ArmsOfSorrow/win32-d3d-template on toolchain master#f66e4697ae286985ddefc53c3a047614568458bb [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of ArmsOfSorrow/win32-d3d-template on toolchain try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing ArmsOfSorrow/win32-d3d-template [INFO] finished frobbing ArmsOfSorrow/win32-d3d-template [INFO] frobbed toml for ArmsOfSorrow/win32-d3d-template written to work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/gh/ArmsOfSorrow/win32-d3d-template/Cargo.toml [INFO] started frobbing ArmsOfSorrow/win32-d3d-template [INFO] finished frobbing ArmsOfSorrow/win32-d3d-template [INFO] frobbed toml for ArmsOfSorrow/win32-d3d-template written to work/ex/pr-58592/sources/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a/gh/ArmsOfSorrow/win32-d3d-template/Cargo.toml [INFO] crate ArmsOfSorrow/win32-d3d-template has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking ArmsOfSorrow/win32-d3d-template against try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a for pr-58592 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58592/worker-4/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58592/sources/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a/gh/ArmsOfSorrow/win32-d3d-template:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3340220586d41ee8c6866e3b5034a803dc19f0ab3aa29425721d8c8e07779efd [INFO] running `"docker" "start" "-a" "3340220586d41ee8c6866e3b5034a803dc19f0ab3aa29425721d8c8e07779efd"` [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Checking wio v0.2.0 [INFO] [stderr] Checking win32-d3d-template v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{HINSTANCE, LPARAM, LRESULT, WPARAM}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::ntdef::HRESULT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shared::windef::{HBRUSH, HMENU, HWND}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::combaseapi::{CoInitializeEx, CoUninitialize, COINITBASE_MULTITHREADED}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::um::winuser::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::dxgi1_2::IDXGISwapChain1; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::minwindef::UINT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::windef::HWND; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::winerror::{DXGI_ERROR_DEVICE_REMOVED, DXGI_ERROR_DEVICE_RESET}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/game.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::d3d11::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/game.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::d3d11_1::{ID3D11Device1, ID3D11DeviceContext1}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/game.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::um::d3dcommon::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/step_timer.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::profileapi::{QueryPerformanceCounter, QueryPerformanceFrequency}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/step_timer.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::winnt::LARGE_INTEGER; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wio::com` [INFO] [stderr] --> src/game.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | use wio::com::ComPtr; [INFO] [stderr] | ^^^ could not find `com` in `wio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{HINSTANCE, LPARAM, LRESULT, WPARAM}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::ntdef::HRESULT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shared::windef::{HBRUSH, HMENU, HWND}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::combaseapi::{CoInitializeEx, CoUninitialize, COINITBASE_MULTITHREADED}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::um::winuser::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::dxgi1_2::IDXGISwapChain1; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::minwindef::UINT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::windef::HWND; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/game.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::winerror::{DXGI_ERROR_DEVICE_REMOVED, DXGI_ERROR_DEVICE_RESET}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/game.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::d3d11::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/game.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::d3d11_1::{ID3D11Device1, ID3D11DeviceContext1}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/game.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::um::d3dcommon::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/step_timer.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::profileapi::{QueryPerformanceCounter, QueryPerformanceFrequency}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/step_timer.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::winnt::LARGE_INTEGER; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wio::com` [INFO] [stderr] --> src/game.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | use wio::com::ComPtr; [INFO] [stderr] | ^^^ could not find `com` in `wio` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/game.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | window: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D_FEATURE_LEVEL` in this scope [INFO] [stderr] --> src/game.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | feature_level: D3D_FEATURE_LEVEL, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stderr] --> src/game.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | d3d_device: ComPtr, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext1` in this scope [INFO] [stderr] --> src/game.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 27 | d3d_context: ComPtr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stderr] --> src/game.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | swap_chain: ComPtr, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11RenderTargetView` in this scope [INFO] [stderr] --> src/game.rs:29:32 [INFO] [stderr] | [INFO] [stderr] 29 | render_target_view: ComPtr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stderr] --> src/game.rs:30:32 [INFO] [stderr] | [INFO] [stderr] 30 | depth_stencil_view: ComPtr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_1` in this scope [INFO] [stderr] --> src/game.rs:41:32 [INFO] [stderr] | [INFO] [stderr] 41 | feature_level: D3D_FEATURE_LEVEL_9_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/game.rs:51:49 [INFO] [stderr] | [INFO] [stderr] 51 | pub unsafe fn initialize(&mut self, window: HWND, width: i32, height: i32) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_CLEAR_DEPTH` in this scope [INFO] [stderr] --> src/game.rs:95:17 [INFO] [stderr] | [INFO] [stderr] 95 | D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_CLEAR_STENCIL` in this scope [INFO] [stderr] --> src/game.rs:95:37 [INFO] [stderr] | [INFO] [stderr] 95 | D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D11_VIEWPORT` in this scope [INFO] [stderr] --> src/game.rs:105:28 [INFO] [stderr] | [INFO] [stderr] 105 | let viewport = D3D11_VIEWPORT { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_MIN_DEPTH` in this scope [INFO] [stderr] --> src/game.rs:110:27 [INFO] [stderr] | [INFO] [stderr] 110 | MinDepth: D3D11_MIN_DEPTH, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_MAX_DEPTH` in this scope [INFO] [stderr] --> src/game.rs:111:27 [INFO] [stderr] | [INFO] [stderr] 111 | MaxDepth: D3D11_MAX_DEPTH, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_REMOVED` in this scope [INFO] [stderr] --> src/game.rs:126:22 [INFO] [stderr] | [INFO] [stderr] 126 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_RESET` in this scope [INFO] [stderr] --> src/game.rs:126:57 [INFO] [stderr] | [INFO] [stderr] 126 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/game.rs:170:33 [INFO] [stderr] | [INFO] [stderr] 170 | let mut creation_flags: UINT = 0; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_CREATE_DEVICE_DEBUG` in this scope [INFO] [stderr] --> src/game.rs:174:31 [INFO] [stderr] | [INFO] [stderr] 174 | creation_flags |= D3D11_CREATE_DEVICE_DEBUG; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_1` in this scope [INFO] [stderr] --> src/game.rs:179:13 [INFO] [stderr] | [INFO] [stderr] 179 | D3D_FEATURE_LEVEL_11_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_0` in this scope [INFO] [stderr] --> src/game.rs:180:13 [INFO] [stderr] | [INFO] [stderr] 180 | D3D_FEATURE_LEVEL_11_0, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_1` in this scope [INFO] [stderr] --> src/game.rs:181:13 [INFO] [stderr] | [INFO] [stderr] 181 | D3D_FEATURE_LEVEL_10_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_0` in this scope [INFO] [stderr] --> src/game.rs:182:13 [INFO] [stderr] | [INFO] [stderr] 182 | D3D_FEATURE_LEVEL_10_0, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_3` in this scope [INFO] [stderr] --> src/game.rs:183:13 [INFO] [stderr] | [INFO] [stderr] 183 | D3D_FEATURE_LEVEL_9_3, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_2` in this scope [INFO] [stderr] --> src/game.rs:184:13 [INFO] [stderr] | [INFO] [stderr] 184 | D3D_FEATURE_LEVEL_9_2, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_1` in this scope [INFO] [stderr] --> src/game.rs:185:13 [INFO] [stderr] | [INFO] [stderr] 185 | D3D_FEATURE_LEVEL_9_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/game.rs:188:28 [INFO] [stderr] | [INFO] [stderr] 188 | let device: ComPtr = ComPtr::from_raw(std::ptr::null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/game.rs:189:29 [INFO] [stderr] | [INFO] [stderr] 189 | let context: ComPtr = ComPtr::from_raw(std::ptr::null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `D3D11CreateDevice` in this scope [INFO] [stderr] --> src/game.rs:190:18 [INFO] [stderr] | [INFO] [stderr] 190 | let hr = D3D11CreateDevice( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_DRIVER_TYPE_HARDWARE` in this scope [INFO] [stderr] --> src/game.rs:192:13 [INFO] [stderr] | [INFO] [stderr] 192 | D3D_DRIVER_TYPE_HARDWARE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope [INFO] [stderr] --> src/game.rs:197:13 [INFO] [stderr] | [INFO] [stderr] 197 | D3D11_SDK_VERSION, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stderr] --> src/game.rs:208:36 [INFO] [stderr] | [INFO] [stderr] 208 | let device = device.cast::().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext1` in this scope [INFO] [stderr] --> src/game.rs:210:38 [INFO] [stderr] | [INFO] [stderr] 210 | let context = context.cast::().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | qpc_frequency: LARGE_INTEGER, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | qpc_last_time: LARGE_INTEGER, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:26:27 [INFO] [stderr] | [INFO] [stderr] 26 | let mut freq: LARGE_INTEGER = std::mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `QueryPerformanceFrequency` in this scope [INFO] [stderr] --> src/step_timer.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | if QueryPerformanceFrequency(&mut freq) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:31:32 [INFO] [stderr] | [INFO] [stderr] 31 | let mut last_time: LARGE_INTEGER = std::mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `QueryPerformanceCounter` in this scope [INFO] [stderr] --> src/step_timer.rs:32:16 [INFO] [stderr] | [INFO] [stderr] 32 | if QueryPerformanceCounter(&mut last_time) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:60:35 [INFO] [stderr] | [INFO] [stderr] 60 | let mut current_time: LARGE_INTEGER = std::mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `QueryPerformanceCounter` in this scope [INFO] [stderr] --> src/step_timer.rs:62:16 [INFO] [stderr] | [INFO] [stderr] 62 | if QueryPerformanceCounter(&mut current_time) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `QueryPerformanceCounter` in this scope [INFO] [stderr] --> src/step_timer.rs:129:16 [INFO] [stderr] | [INFO] [stderr] 129 | if QueryPerformanceCounter(&mut self.qpc_last_time) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CoInitializeEx` in this scope [INFO] [stderr] --> src/main.rs:30:18 [INFO] [stderr] | [INFO] [stderr] 30 | let hr = CoInitializeEx(std::ptr::null_mut(), COINITBASE_MULTITHREADED); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `COINITBASE_MULTITHREADED` in this scope [INFO] [stderr] --> src/main.rs:30:55 [INFO] [stderr] | [INFO] [stderr] 30 | let hr = CoInitializeEx(std::ptr::null_mut(), COINITBASE_MULTITHREADED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | let hinstance = GetModuleHandleW(std::ptr::null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/main.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | let wnd_class = WNDCLASSEXW { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/main.rs:52:41 [INFO] [stderr] | [INFO] [stderr] 52 | cbSize: std::mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/main.rs:53:20 [INFO] [stderr] | [INFO] [stderr] 53 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/main.rs:53:33 [INFO] [stderr] | [INFO] [stderr] 53 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadIconW` in this scope [INFO] [stderr] --> src/main.rs:58:20 [INFO] [stderr] | [INFO] [stderr] 58 | hIcon: LoadIconW(hinstance, idi_icon.as_ptr()), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadCursorW` in this scope [INFO] [stderr] --> src/main.rs:59:22 [INFO] [stderr] | [INFO] [stderr] 59 | hCursor: LoadCursorW(std::ptr::null_mut(), IDC_ARROW), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/main.rs:59:56 [INFO] [stderr] | [INFO] [stderr] 59 | hCursor: LoadCursorW(std::ptr::null_mut(), IDC_ARROW), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in this scope [INFO] [stderr] --> src/main.rs:60:29 [INFO] [stderr] | [INFO] [stderr] 60 | hbrBackground: (COLOR_WINDOW + 1) as HBRUSH, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/main.rs:60:50 [INFO] [stderr] | [INFO] [stderr] 60 | hbrBackground: (COLOR_WINDOW + 1) as HBRUSH, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadIconW` in this scope [INFO] [stderr] --> src/main.rs:63:22 [INFO] [stderr] | [INFO] [stderr] 63 | hIconSm: LoadIconW(hinstance, idi_icon.as_ptr()), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/main.rs:66:26 [INFO] [stderr] | [INFO] [stderr] 66 | let registered = RegisterClassExW(&wnd_class as *const WNDCLASSEXW) != 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/main.rs:66:64 [INFO] [stderr] | [INFO] [stderr] 66 | let registered = RegisterClassExW(&wnd_class as *const WNDCLASSEXW) != 0; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/main.rs:71:24 [INFO] [stderr] | [INFO] [stderr] 71 | let hwnd = CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stderr] --> src/main.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | WS_OVERLAPPEDWINDOW, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/main.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/main.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:80:22 [INFO] [stderr] | [INFO] [stderr] 80 | 0 as HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/main.rs:81:22 [INFO] [stderr] | [INFO] [stderr] 81 | 0 as HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:82:22 [INFO] [stderr] | [INFO] [stderr] 82 | 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ShowWindow` in this scope [INFO] [stderr] --> src/main.rs:87:17 [INFO] [stderr] | [INFO] [stderr] 87 | ShowWindow(hwnd, SW_SHOW); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stderr] --> src/main.rs:87:34 [INFO] [stderr] | [INFO] [stderr] 87 | ShowWindow(hwnd, SW_SHOW); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:88:30 [INFO] [stderr] | [INFO] [stderr] 88 | let mut msg: MSG = std::mem::zeroed(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stderr] --> src/main.rs:89:23 [INFO] [stderr] | [INFO] [stderr] 89 | while WM_QUIT != msg.message { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PeekMessageW` in this scope [INFO] [stderr] --> src/main.rs:90:24 [INFO] [stderr] | [INFO] [stderr] 90 | if PeekMessageW(&mut msg, std::ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stderr] --> src/main.rs:90:75 [INFO] [stderr] | [INFO] [stderr] 90 | if PeekMessageW(&mut msg, std::ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TranslateMessage` in this scope [INFO] [stderr] --> src/main.rs:91:25 [INFO] [stderr] | [INFO] [stderr] 91 | TranslateMessage(&msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DispatchMessageW` in this scope [INFO] [stderr] --> src/main.rs:92:25 [INFO] [stderr] | [INFO] [stderr] 92 | DispatchMessageW(&msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CoUninitialize` in this scope [INFO] [stderr] --> src/main.rs:98:17 [INFO] [stderr] | [INFO] [stderr] 98 | CoUninitialize(); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:108:11 [INFO] [stderr] | [INFO] [stderr] 108 | hwnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:110:14 [INFO] [stderr] | [INFO] [stderr] 110 | w_param: WPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:111:14 [INFO] [stderr] | [INFO] [stderr] 111 | l_param: LPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:112:6 [INFO] [stderr] | [INFO] [stderr] 112 | ) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | DefWindowProcW(hwnd, message, w_param, l_param) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/main.rs:132:15 [INFO] [stderr] | [INFO] [stderr] 132 | fn failed(hr: HRESULT) -> bool { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `game::Game` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use game::Game; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HINSTANCE`, `LPARAM`, `LRESULT`, `WPARAM` [INFO] [stderr] --> src/main.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{HINSTANCE, LPARAM, LRESULT, WPARAM}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::ntdef::HRESULT` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::ntdef::HRESULT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HBRUSH`, `HMENU`, `HWND` [INFO] [stderr] --> src/main.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shared::windef::{HBRUSH, HMENU, HWND}; [INFO] [stderr] | ^^^^^^ ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `COINITBASE_MULTITHREADED`, `CoInitializeEx`, `CoUninitialize` [INFO] [stderr] --> src/main.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::combaseapi::{CoInitializeEx, CoUninitialize, COINITBASE_MULTITHREADED}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::libloaderapi::GetModuleHandleW` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `COLOR_WINDOW`, `CS_HREDRAW`, `CS_VREDRAW`, `CW_USEDEFAULT`, `CreateWindowExW`, `DefWindowProcW`, `DispatchMessageW`, `IDC_ARROW`, `LoadCursorW`, `LoadIconW`, `MSG`, `PM_REMOVE`, `PeekMessageW`, `PostQuitMessage`, `RegisterClassExW`, `SW_SHOW`, `ShowWindow`, `TranslateMessage`, `WM_ACTIVATEAPP`, `WM_DESTROY`, `WM_ENTERSIZEMOVE`, `WM_EXITSIZEMOVE`, `WM_GETMINMAXINFO`, `WM_MENUCHAR`, `WM_PAINT`, `WM_POWERBROADCAST`, `WM_QUIT`, `WM_SIZE`, `WM_SYSKEYDOWN`, `WNDCLASSEXW`, `WS_OVERLAPPEDWINDOW` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | CreateWindowExW, DefWindowProcW, DispatchMessageW, LoadCursorW, LoadIconW, PeekMessageW, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] 15 | PostQuitMessage, RegisterClassExW, ShowWindow, TranslateMessage, COLOR_WINDOW, CS_HREDRAW, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] 16 | CS_VREDRAW, CW_USEDEFAULT, IDC_ARROW, MSG, PM_REMOVE, SW_SHOW, WM_ACTIVATEAPP, WM_DESTROY, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] 17 | WM_ENTERSIZEMOVE, WM_EXITSIZEMOVE, WM_GETMINMAXINFO, WM_MENUCHAR, WM_PAINT, WM_POWERBROADCAST, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 18 | WM_QUIT, WM_SIZE, WM_SYSKEYDOWN, WNDCLASSEXW, WS_OVERLAPPEDWINDOW, [INFO] [stderr] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgi1_2::IDXGISwapChain1` [INFO] [stderr] --> src/game.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::dxgi1_2::IDXGISwapChain1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::UINT` [INFO] [stderr] --> src/game.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::minwindef::UINT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::HWND` [INFO] [stderr] --> src/game.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::windef::HWND; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DXGI_ERROR_DEVICE_REMOVED`, `DXGI_ERROR_DEVICE_RESET` [INFO] [stderr] --> src/game.rs:5:32 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::winerror::{DXGI_ERROR_DEVICE_REMOVED, DXGI_ERROR_DEVICE_RESET}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `D3D11CreateDevice`, `D3D11_CLEAR_DEPTH`, `D3D11_CLEAR_STENCIL`, `D3D11_CREATE_DEVICE_DEBUG`, `D3D11_MAX_DEPTH`, `D3D11_MIN_DEPTH`, `D3D11_SDK_VERSION`, `D3D11_VIEWPORT`, `ID3D11DepthStencilView`, `ID3D11DeviceContext`, `ID3D11Device`, `ID3D11RenderTargetView` [INFO] [stderr] --> src/game.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | D3D11CreateDevice, ID3D11DepthStencilView, ID3D11Device, ID3D11DeviceContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 8 | ID3D11RenderTargetView, D3D11_CLEAR_DEPTH, D3D11_CLEAR_STENCIL, D3D11_CREATE_DEVICE_DEBUG, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | D3D11_MAX_DEPTH, D3D11_MIN_DEPTH, D3D11_SDK_VERSION, D3D11_VIEWPORT, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ID3D11Device1`, `ID3D11DeviceContext1` [INFO] [stderr] --> src/game.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::d3d11_1::{ID3D11Device1, ID3D11DeviceContext1}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `D3D_DRIVER_TYPE_HARDWARE`, `D3D_FEATURE_LEVEL_10_0`, `D3D_FEATURE_LEVEL_10_1`, `D3D_FEATURE_LEVEL_11_0`, `D3D_FEATURE_LEVEL_11_1`, `D3D_FEATURE_LEVEL_9_1`, `D3D_FEATURE_LEVEL_9_2`, `D3D_FEATURE_LEVEL_9_3`, `D3D_FEATURE_LEVEL` [INFO] [stderr] --> src/game.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | D3D_DRIVER_TYPE_HARDWARE, D3D_FEATURE_LEVEL, D3D_FEATURE_LEVEL_10_0, D3D_FEATURE_LEVEL_10_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 14 | D3D_FEATURE_LEVEL_11_0, D3D_FEATURE_LEVEL_11_1, D3D_FEATURE_LEVEL_9_1, D3D_FEATURE_LEVEL_9_2, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 15 | D3D_FEATURE_LEVEL_9_3, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `QueryPerformanceCounter`, `QueryPerformanceFrequency` [INFO] [stderr] --> src/step_timer.rs:1:30 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::profileapi::{QueryPerformanceCounter, QueryPerformanceFrequency}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winnt::LARGE_INTEGER` [INFO] [stderr] --> src/step_timer.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::winnt::LARGE_INTEGER; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/game.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | window: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D_FEATURE_LEVEL` in this scope [INFO] [stderr] --> src/game.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | feature_level: D3D_FEATURE_LEVEL, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stderr] --> src/game.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | d3d_device: ComPtr, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext1` in this scope [INFO] [stderr] --> src/game.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 27 | d3d_context: ComPtr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stderr] --> src/game.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | swap_chain: ComPtr, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11RenderTargetView` in this scope [INFO] [stderr] --> src/game.rs:29:32 [INFO] [stderr] | [INFO] [stderr] 29 | render_target_view: ComPtr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stderr] --> src/game.rs:30:32 [INFO] [stderr] | [INFO] [stderr] 30 | depth_stencil_view: ComPtr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_1` in this scope [INFO] [stderr] --> src/game.rs:41:32 [INFO] [stderr] | [INFO] [stderr] 41 | feature_level: D3D_FEATURE_LEVEL_9_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/game.rs:51:49 [INFO] [stderr] | [INFO] [stderr] 51 | pub unsafe fn initialize(&mut self, window: HWND, width: i32, height: i32) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_CLEAR_DEPTH` in this scope [INFO] [stderr] --> src/game.rs:95:17 [INFO] [stderr] | [INFO] [stderr] 95 | D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_CLEAR_STENCIL` in this scope [INFO] [stderr] --> src/game.rs:95:37 [INFO] [stderr] | [INFO] [stderr] 95 | D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D11_VIEWPORT` in this scope [INFO] [stderr] --> src/game.rs:105:28 [INFO] [stderr] | [INFO] [stderr] 105 | let viewport = D3D11_VIEWPORT { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_MIN_DEPTH` in this scope [INFO] [stderr] --> src/game.rs:110:27 [INFO] [stderr] | [INFO] [stderr] 110 | MinDepth: D3D11_MIN_DEPTH, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_MAX_DEPTH` in this scope [INFO] [stderr] --> src/game.rs:111:27 [INFO] [stderr] | [INFO] [stderr] 111 | MaxDepth: D3D11_MAX_DEPTH, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_REMOVED` in this scope [INFO] [stderr] --> src/game.rs:126:22 [INFO] [stderr] | [INFO] [stderr] 126 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_ERROR_DEVICE_RESET` in this scope [INFO] [stderr] --> src/game.rs:126:57 [INFO] [stderr] | [INFO] [stderr] 126 | if hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/game.rs:170:33 [INFO] [stderr] | [INFO] [stderr] 170 | let mut creation_flags: UINT = 0; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_CREATE_DEVICE_DEBUG` in this scope [INFO] [stderr] --> src/game.rs:174:31 [INFO] [stderr] | [INFO] [stderr] 174 | creation_flags |= D3D11_CREATE_DEVICE_DEBUG; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_1` in this scope [INFO] [stderr] --> src/game.rs:179:13 [INFO] [stderr] | [INFO] [stderr] 179 | D3D_FEATURE_LEVEL_11_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_0` in this scope [INFO] [stderr] --> src/game.rs:180:13 [INFO] [stderr] | [INFO] [stderr] 180 | D3D_FEATURE_LEVEL_11_0, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_1` in this scope [INFO] [stderr] --> src/game.rs:181:13 [INFO] [stderr] | [INFO] [stderr] 181 | D3D_FEATURE_LEVEL_10_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_0` in this scope [INFO] [stderr] --> src/game.rs:182:13 [INFO] [stderr] | [INFO] [stderr] 182 | D3D_FEATURE_LEVEL_10_0, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_3` in this scope [INFO] [stderr] --> src/game.rs:183:13 [INFO] [stderr] | [INFO] [stderr] 183 | D3D_FEATURE_LEVEL_9_3, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_2` in this scope [INFO] [stderr] --> src/game.rs:184:13 [INFO] [stderr] | [INFO] [stderr] 184 | D3D_FEATURE_LEVEL_9_2, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_1` in this scope [INFO] [stderr] --> src/game.rs:185:13 [INFO] [stderr] | [INFO] [stderr] 185 | D3D_FEATURE_LEVEL_9_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/game.rs:188:28 [INFO] [stderr] | [INFO] [stderr] 188 | let device: ComPtr = ComPtr::from_raw(std::ptr::null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/game.rs:189:29 [INFO] [stderr] | [INFO] [stderr] 189 | let context: ComPtr = ComPtr::from_raw(std::ptr::null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `D3D11CreateDevice` in this scope [INFO] [stderr] --> src/game.rs:190:18 [INFO] [stderr] | [INFO] [stderr] 190 | let hr = D3D11CreateDevice( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_DRIVER_TYPE_HARDWARE` in this scope [INFO] [stderr] --> src/game.rs:192:13 [INFO] [stderr] | [INFO] [stderr] 192 | D3D_DRIVER_TYPE_HARDWARE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope [INFO] [stderr] --> src/game.rs:197:13 [INFO] [stderr] | [INFO] [stderr] 197 | D3D11_SDK_VERSION, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stderr] --> src/game.rs:208:36 [INFO] [stderr] | [INFO] [stderr] 208 | let device = device.cast::().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext1` in this scope [INFO] [stderr] --> src/game.rs:210:38 [INFO] [stderr] | [INFO] [stderr] 210 | let context = context.cast::().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | qpc_frequency: LARGE_INTEGER, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | qpc_last_time: LARGE_INTEGER, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:26:27 [INFO] [stderr] | [INFO] [stderr] 26 | let mut freq: LARGE_INTEGER = std::mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `QueryPerformanceFrequency` in this scope [INFO] [stderr] --> src/step_timer.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | if QueryPerformanceFrequency(&mut freq) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:31:32 [INFO] [stderr] | [INFO] [stderr] 31 | let mut last_time: LARGE_INTEGER = std::mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `QueryPerformanceCounter` in this scope [INFO] [stderr] --> src/step_timer.rs:32:16 [INFO] [stderr] | [INFO] [stderr] 32 | if QueryPerformanceCounter(&mut last_time) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/step_timer.rs:60:35 [INFO] [stderr] | [INFO] [stderr] 60 | let mut current_time: LARGE_INTEGER = std::mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `QueryPerformanceCounter` in this scope [INFO] [stderr] --> src/step_timer.rs:62:16 [INFO] [stderr] | [INFO] [stderr] 62 | if QueryPerformanceCounter(&mut current_time) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `QueryPerformanceCounter` in this scope [INFO] [stderr] --> src/step_timer.rs:129:16 [INFO] [stderr] | [INFO] [stderr] 129 | if QueryPerformanceCounter(&mut self.qpc_last_time) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CoInitializeEx` in this scope [INFO] [stderr] --> src/main.rs:30:18 [INFO] [stderr] | [INFO] [stderr] 30 | let hr = CoInitializeEx(std::ptr::null_mut(), COINITBASE_MULTITHREADED); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `COINITBASE_MULTITHREADED` in this scope [INFO] [stderr] --> src/main.rs:30:55 [INFO] [stderr] | [INFO] [stderr] 30 | let hr = CoInitializeEx(std::ptr::null_mut(), COINITBASE_MULTITHREADED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | let hinstance = GetModuleHandleW(std::ptr::null_mut()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/main.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | let wnd_class = WNDCLASSEXW { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/main.rs:52:41 [INFO] [stderr] | [INFO] [stderr] 52 | cbSize: std::mem::size_of::() as u32, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/main.rs:53:20 [INFO] [stderr] | [INFO] [stderr] 53 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/main.rs:53:33 [INFO] [stderr] | [INFO] [stderr] 53 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadIconW` in this scope [INFO] [stderr] --> src/main.rs:58:20 [INFO] [stderr] | [INFO] [stderr] 58 | hIcon: LoadIconW(hinstance, idi_icon.as_ptr()), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadCursorW` in this scope [INFO] [stderr] --> src/main.rs:59:22 [INFO] [stderr] | [INFO] [stderr] 59 | hCursor: LoadCursorW(std::ptr::null_mut(), IDC_ARROW), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/main.rs:59:56 [INFO] [stderr] | [INFO] [stderr] 59 | hCursor: LoadCursorW(std::ptr::null_mut(), IDC_ARROW), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in this scope [INFO] [stderr] --> src/main.rs:60:29 [INFO] [stderr] | [INFO] [stderr] 60 | hbrBackground: (COLOR_WINDOW + 1) as HBRUSH, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/main.rs:60:50 [INFO] [stderr] | [INFO] [stderr] 60 | hbrBackground: (COLOR_WINDOW + 1) as HBRUSH, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadIconW` in this scope [INFO] [stderr] --> src/main.rs:63:22 [INFO] [stderr] | [INFO] [stderr] 63 | hIconSm: LoadIconW(hinstance, idi_icon.as_ptr()), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `RegisterClassExW` in this scope [INFO] [stderr] --> src/main.rs:66:26 [INFO] [stderr] | [INFO] [stderr] 66 | let registered = RegisterClassExW(&wnd_class as *const WNDCLASSEXW) != 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stderr] --> src/main.rs:66:64 [INFO] [stderr] | [INFO] [stderr] 66 | let registered = RegisterClassExW(&wnd_class as *const WNDCLASSEXW) != 0; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope [INFO] [stderr] --> src/main.rs:71:24 [INFO] [stderr] | [INFO] [stderr] 71 | let hwnd = CreateWindowExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stderr] --> src/main.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | WS_OVERLAPPEDWINDOW, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/main.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stderr] --> src/main.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | CW_USEDEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:80:22 [INFO] [stderr] | [INFO] [stderr] 80 | 0 as HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/main.rs:81:22 [INFO] [stderr] | [INFO] [stderr] 81 | 0 as HMENU, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:82:22 [INFO] [stderr] | [INFO] [stderr] 82 | 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ShowWindow` in this scope [INFO] [stderr] --> src/main.rs:87:17 [INFO] [stderr] | [INFO] [stderr] 87 | ShowWindow(hwnd, SW_SHOW); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stderr] --> src/main.rs:87:34 [INFO] [stderr] | [INFO] [stderr] 87 | ShowWindow(hwnd, SW_SHOW); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:88:30 [INFO] [stderr] | [INFO] [stderr] 88 | let mut msg: MSG = std::mem::zeroed(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stderr] --> src/main.rs:89:23 [INFO] [stderr] | [INFO] [stderr] 89 | while WM_QUIT != msg.message { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PeekMessageW` in this scope [INFO] [stderr] --> src/main.rs:90:24 [INFO] [stderr] | [INFO] [stderr] 90 | if PeekMessageW(&mut msg, std::ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stderr] --> src/main.rs:90:75 [INFO] [stderr] | [INFO] [stderr] 90 | if PeekMessageW(&mut msg, std::ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `TranslateMessage` in this scope [INFO] [stderr] --> src/main.rs:91:25 [INFO] [stderr] | [INFO] [stderr] 91 | TranslateMessage(&msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DispatchMessageW` in this scope [INFO] [stderr] --> src/main.rs:92:25 [INFO] [stderr] | [INFO] [stderr] 92 | DispatchMessageW(&msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CoUninitialize` in this scope [INFO] [stderr] --> src/main.rs:98:17 [INFO] [stderr] | [INFO] [stderr] 98 | CoUninitialize(); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:108:11 [INFO] [stderr] | [INFO] [stderr] 108 | hwnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:110:14 [INFO] [stderr] | [INFO] [stderr] 110 | w_param: WPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:111:14 [INFO] [stderr] | [INFO] [stderr] 111 | l_param: LPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:112:6 [INFO] [stderr] | [INFO] [stderr] 112 | ) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | DefWindowProcW(hwnd, message, w_param, l_param) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/main.rs:132:15 [INFO] [stderr] | [INFO] [stderr] 132 | fn failed(hr: HRESULT) -> bool { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `game::Game` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use game::Game; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HINSTANCE`, `LPARAM`, `LRESULT`, `WPARAM` [INFO] [stderr] --> src/main.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{HINSTANCE, LPARAM, LRESULT, WPARAM}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::ntdef::HRESULT` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::ntdef::HRESULT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HBRUSH`, `HMENU`, `HWND` [INFO] [stderr] --> src/main.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shared::windef::{HBRUSH, HMENU, HWND}; [INFO] [stderr] | ^^^^^^ ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `COINITBASE_MULTITHREADED`, `CoInitializeEx`, `CoUninitialize` [INFO] [stderr] --> src/main.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::combaseapi::{CoInitializeEx, CoUninitialize, COINITBASE_MULTITHREADED}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::libloaderapi::GetModuleHandleW` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `COLOR_WINDOW`, `CS_HREDRAW`, `CS_VREDRAW`, `CW_USEDEFAULT`, `CreateWindowExW`, `DefWindowProcW`, `DispatchMessageW`, `IDC_ARROW`, `LoadCursorW`, `LoadIconW`, `MSG`, `PM_REMOVE`, `PeekMessageW`, `PostQuitMessage`, `RegisterClassExW`, `SW_SHOW`, `ShowWindow`, `TranslateMessage`, `WM_ACTIVATEAPP`, `WM_DESTROY`, `WM_ENTERSIZEMOVE`, `WM_EXITSIZEMOVE`, `WM_GETMINMAXINFO`, `WM_MENUCHAR`, `WM_PAINT`, `WM_POWERBROADCAST`, `WM_QUIT`, `WM_SIZE`, `WM_SYSKEYDOWN`, `WNDCLASSEXW`, `WS_OVERLAPPEDWINDOW` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | CreateWindowExW, DefWindowProcW, DispatchMessageW, LoadCursorW, LoadIconW, PeekMessageW, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] 15 | PostQuitMessage, RegisterClassExW, ShowWindow, TranslateMessage, COLOR_WINDOW, CS_HREDRAW, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] 16 | CS_VREDRAW, CW_USEDEFAULT, IDC_ARROW, MSG, PM_REMOVE, SW_SHOW, WM_ACTIVATEAPP, WM_DESTROY, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] 17 | WM_ENTERSIZEMOVE, WM_EXITSIZEMOVE, WM_GETMINMAXINFO, WM_MENUCHAR, WM_PAINT, WM_POWERBROADCAST, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 18 | WM_QUIT, WM_SIZE, WM_SYSKEYDOWN, WNDCLASSEXW, WS_OVERLAPPEDWINDOW, [INFO] [stderr] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::dxgi1_2::IDXGISwapChain1` [INFO] [stderr] --> src/game.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::dxgi1_2::IDXGISwapChain1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::minwindef::UINT` [INFO] [stderr] --> src/game.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::minwindef::UINT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::windef::HWND` [INFO] [stderr] --> src/game.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::windef::HWND; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DXGI_ERROR_DEVICE_REMOVED`, `DXGI_ERROR_DEVICE_RESET` [INFO] [stderr] --> src/game.rs:5:32 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::winerror::{DXGI_ERROR_DEVICE_REMOVED, DXGI_ERROR_DEVICE_RESET}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `D3D11CreateDevice`, `D3D11_CLEAR_DEPTH`, `D3D11_CLEAR_STENCIL`, `D3D11_CREATE_DEVICE_DEBUG`, `D3D11_MAX_DEPTH`, `D3D11_MIN_DEPTH`, `D3D11_SDK_VERSION`, `D3D11_VIEWPORT`, `ID3D11DepthStencilView`, `ID3D11DeviceContext`, `ID3D11Device`, `ID3D11RenderTargetView` [INFO] [stderr] --> src/game.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | D3D11CreateDevice, ID3D11DepthStencilView, ID3D11Device, ID3D11DeviceContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 8 | ID3D11RenderTargetView, D3D11_CLEAR_DEPTH, D3D11_CLEAR_STENCIL, D3D11_CREATE_DEVICE_DEBUG, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | D3D11_MAX_DEPTH, D3D11_MIN_DEPTH, D3D11_SDK_VERSION, D3D11_VIEWPORT, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ID3D11Device1`, `ID3D11DeviceContext1` [INFO] [stderr] --> src/game.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::d3d11_1::{ID3D11Device1, ID3D11DeviceContext1}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `D3D_DRIVER_TYPE_HARDWARE`, `D3D_FEATURE_LEVEL_10_0`, `D3D_FEATURE_LEVEL_10_1`, `D3D_FEATURE_LEVEL_11_0`, `D3D_FEATURE_LEVEL_11_1`, `D3D_FEATURE_LEVEL_9_1`, `D3D_FEATURE_LEVEL_9_2`, `D3D_FEATURE_LEVEL_9_3`, `D3D_FEATURE_LEVEL` [INFO] [stderr] --> src/game.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | D3D_DRIVER_TYPE_HARDWARE, D3D_FEATURE_LEVEL, D3D_FEATURE_LEVEL_10_0, D3D_FEATURE_LEVEL_10_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 14 | D3D_FEATURE_LEVEL_11_0, D3D_FEATURE_LEVEL_11_1, D3D_FEATURE_LEVEL_9_1, D3D_FEATURE_LEVEL_9_2, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 15 | D3D_FEATURE_LEVEL_9_3, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `QueryPerformanceCounter`, `QueryPerformanceFrequency` [INFO] [stderr] --> src/step_timer.rs:1:30 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::profileapi::{QueryPerformanceCounter, QueryPerformanceFrequency}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winnt::LARGE_INTEGER` [INFO] [stderr] --> src/step_timer.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::winnt::LARGE_INTEGER; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | .encode_wide() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:46:14 [INFO] [stderr] | [INFO] [stderr] 46 | .encode_wide() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:70:59 [INFO] [stderr] | [INFO] [stderr] 70 | let wnd_name: Vec = OsStr::new("window").encode_wide().chain(once(0)).collect(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | .encode_wide() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:46:14 [INFO] [stderr] | [INFO] [stderr] 46 | .encode_wide() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:70:59 [INFO] [stderr] | [INFO] [stderr] 70 | let wnd_name: Vec = OsStr::new("window").encode_wide().chain(once(0)).collect(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 99 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `win32-d3d-template`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 99 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `win32-d3d-template`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3340220586d41ee8c6866e3b5034a803dc19f0ab3aa29425721d8c8e07779efd"` [INFO] running `"docker" "rm" "-f" "3340220586d41ee8c6866e3b5034a803dc19f0ab3aa29425721d8c8e07779efd"` [INFO] [stdout] 3340220586d41ee8c6866e3b5034a803dc19f0ab3aa29425721d8c8e07779efd