[INFO] updating cached repository https://github.com/michal-z/rust_d3d12_test1
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] cb559fd420da13f1b730f749d8e605326a98cc0d
[INFO] checking michal-z/rust_d3d12_test1 against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichal-z%2Frust_d3d12_test1" "/workspace/builds/worker-13/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/michal-z/rust_d3d12_test1 on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/michal-z/rust_d3d12_test1
[INFO] finished tweaking git repo https://github.com/michal-z/rust_d3d12_test1
[INFO] tweaked toml for git repo https://github.com/michal-z/rust_d3d12_test1 written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/michal-z/rust_d3d12_test1 already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] f917e4c644258035bd7103dbe327ed6677614b050eda7499a3236cdd4f9619e1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "f917e4c644258035bd7103dbe327ed6677614b050eda7499a3236cdd4f9619e1"`
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]     Checking glam v0.8.6
[INFO] [stderr]     Checking rust_d3d12_test1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/main.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::shared::dxgiformat::*;
[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:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::shared::dxgitype::DXGI_SAMPLE_DESC;
[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:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | 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/main.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::shared::dxgiformat::*;
[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:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::shared::dxgitype::DXGI_SAMPLE_DESC;
[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:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | 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 `um` in `winapi`
[INFO] [stderr]  --> src/main.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::um::d3d12::*;
[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:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::um::d3dcommon::D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST;
[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/util.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, 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/util.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::shared::windef::{HWND, RECT};
[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:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::um::d3d12::*;
[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/util.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::um::libloaderapi::GetModuleHandleA;
[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/util.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | 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/main.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::um::d3dcommon::D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST;
[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/util.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::um::winnt::{LARGE_INTEGER, LPCSTR};
[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/util.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM};
[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/util.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | 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/util.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::shared::windef::{HWND, RECT};
[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/util.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::um::libloaderapi::GetModuleHandleA;
[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/util.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | 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/util.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::um::winnt::{LARGE_INTEGER, LPCSTR};
[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/util.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | 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/d3d12/graphics.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::shared::dxgi::{IDXGISwapChain, DXGI_SWAP_CHAIN_DESC, DXGI_SWAP_EFFECT_FLIP_DISCARD};
[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/d3d12/graphics.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::shared::dxgi1_3::{CreateDXGIFactory2, DXGI_CREATE_FACTORY_DEBUG};
[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/d3d12/graphics.rs:15:13
[INFO] [stderr]    |
[INFO] [stderr] 15 | use winapi::shared::dxgi1_4::{IDXGIFactory4, IDXGISwapChain3};
[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/d3d12/graphics.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 | use winapi::shared::dxgiformat::*;
[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/d3d12/graphics.rs:17:13
[INFO] [stderr]    |
[INFO] [stderr] 17 | use winapi::shared::dxgitype::{DXGI_SAMPLE_DESC, DXGI_USAGE_RENDER_TARGET_OUTPUT};
[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/d3d12/graphics.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::shared::windef::{HWND, RECT};
[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/d3d12/graphics.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::shared::dxgi::{IDXGISwapChain, DXGI_SWAP_CHAIN_DESC, DXGI_SWAP_EFFECT_FLIP_DISCARD};
[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/d3d12/graphics.rs:19:13
[INFO] [stderr]    |
[INFO] [stderr] 19 | use winapi::um::d3d12::*;
[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/d3d12/graphics.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::shared::dxgi1_3::{CreateDXGIFactory2, DXGI_CREATE_FACTORY_DEBUG};
[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/d3d12/graphics.rs:21:13
[INFO] [stderr]    |
[INFO] [stderr] 21 | use winapi::um::d3d12sdklayers::{ID3D12Debug, ID3D12Debug1};
[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/d3d12/graphics.rs:15:13
[INFO] [stderr]    |
[INFO] [stderr] 15 | use winapi::shared::dxgi1_4::{IDXGIFactory4, IDXGISwapChain3};
[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/d3d12/graphics.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 | use winapi::shared::dxgiformat::*;
[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/d3d12/graphics.rs:22:13
[INFO] [stderr]    |
[INFO] [stderr] 22 | use winapi::um::d3dcommon::D3D_FEATURE_LEVEL_11_1;
[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/d3d12/graphics.rs:17:13
[INFO] [stderr]    |
[INFO] [stderr] 17 | use winapi::shared::dxgitype::{DXGI_SAMPLE_DESC, DXGI_USAGE_RENDER_TARGET_OUTPUT};
[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/d3d12/graphics.rs:23:13
[INFO] [stderr]    |
[INFO] [stderr] 23 | use winapi::um::handleapi::CloseHandle;
[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/d3d12/graphics.rs:24:13
[INFO] [stderr]    |
[INFO] [stderr] 24 | use winapi::um::synchapi::{CreateEventExA, WaitForSingleObject};
[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/d3d12/graphics.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::shared::windef::{HWND, RECT};
[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/d3d12/graphics.rs:25:13
[INFO] [stderr]    |
[INFO] [stderr] 25 | use winapi::um::unknwnbase::IUnknown;
[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/d3d12/graphics.rs:26:13
[INFO] [stderr]    |
[INFO] [stderr] 26 | use winapi::um::winbase::INFINITE;
[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/d3d12/graphics.rs:27:13
[INFO] [stderr]    |
[INFO] [stderr] 27 | use winapi::um::winnt::{EVENT_ALL_ACCESS, HANDLE};
[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/d3d12/graphics.rs:28:13
[INFO] [stderr]    |
[INFO] [stderr] 28 | use winapi::um::winuser::GetClientRect;
[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/d3d12/graphics.rs:19:13
[INFO] [stderr]    |
[INFO] [stderr] 19 | use winapi::um::d3d12::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stderr]   --> src/d3d12/graphics.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::ctypes::c_void;
[INFO] [stderr]    |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/d3d12/wrappers.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::um::d3d12::*;
[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/d3d12/graphics.rs:21:13
[INFO] [stderr]    |
[INFO] [stderr] 21 | use winapi::um::d3d12sdklayers::{ID3D12Debug, ID3D12Debug1};
[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/d3d12/wrappers.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::um::unknwnbase::IUnknown;
[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/d3d12/graphics.rs:22:13
[INFO] [stderr]    |
[INFO] [stderr] 22 | use winapi::um::d3dcommon::D3D_FEATURE_LEVEL_11_1;
[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/d3d12/wrappers.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::um::winnt::HRESULT;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::Interface`
[INFO] [stderr]   --> src/d3d12/graphics.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | use winapi::Interface;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^ no `Interface` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::Interface`
[INFO] [stderr]  --> src/d3d12/wrappers.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::Interface;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^ no `Interface` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/d3d12/graphics.rs:23:13
[INFO] [stderr]    |
[INFO] [stderr] 23 | use winapi::um::handleapi::CloseHandle;
[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/d3d12/graphics.rs:24:13
[INFO] [stderr]    |
[INFO] [stderr] 24 | use winapi::um::synchapi::{CreateEventExA, WaitForSingleObject};
[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/d3d12/graphics.rs:25:13
[INFO] [stderr]    |
[INFO] [stderr] 25 | use winapi::um::unknwnbase::IUnknown;
[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/d3d12/graphics.rs:26:13
[INFO] [stderr]    |
[INFO] [stderr] 26 | use winapi::um::winbase::INFINITE;
[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/d3d12/graphics.rs:27:13
[INFO] [stderr]    |
[INFO] [stderr] 27 | use winapi::um::winnt::{EVENT_ALL_ACCESS, HANDLE};
[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/d3d12/graphics.rs:28:13
[INFO] [stderr]    |
[INFO] [stderr] 28 | use winapi::um::winuser::GetClientRect;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stderr]   --> src/d3d12/graphics.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::ctypes::c_void;
[INFO] [stderr]    |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/d3d12/wrappers.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::um::d3d12::*;
[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/d3d12/wrappers.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::um::unknwnbase::IUnknown;
[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/d3d12/wrappers.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::um::winnt::HRESULT;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::Interface`
[INFO] [stderr]   --> src/d3d12/graphics.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | use winapi::Interface;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^ no `Interface` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::Interface`
[INFO] [stderr]  --> src/d3d12/wrappers.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::Interface;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^ no `Interface` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IDXGIFactory4`
[INFO] [stderr]    --> src/d3d12/graphics.rs:374:18
[INFO] [stderr]     |
[INFO] [stderr] 374 |                 &IDXGIFactory4::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^ use of undeclared type or module `IDXGIFactory4`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Debug`
[INFO] [stderr]    --> src/d3d12/graphics.rs:385:18
[INFO] [stderr]     |
[INFO] [stderr] 385 |                 &ID3D12Debug::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^ use of undeclared type or module `ID3D12Debug`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Debug1`
[INFO] [stderr]    --> src/d3d12/graphics.rs:394:22
[INFO] [stderr]     |
[INFO] [stderr] 394 |                     &ID3D12Debug1::uuidof(),
[INFO] [stderr]     |                      ^^^^^^^^^^^^ use of undeclared type or module `ID3D12Debug1`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Device2`
[INFO] [stderr]    --> src/d3d12/graphics.rs:412:18
[INFO] [stderr]     |
[INFO] [stderr] 412 |                 &ID3D12Device2::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^ use of undeclared type or module `ID3D12Device2`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12CommandQueue`
[INFO] [stderr]    --> src/d3d12/graphics.rs:428:18
[INFO] [stderr]     |
[INFO] [stderr] 428 |                 &ID3D12CommandQueue::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12CommandQueue`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IDXGISwapChain3`
[INFO] [stderr]    --> src/d3d12/graphics.rs:458:18
[INFO] [stderr]     |
[INFO] [stderr] 458 |                 &IDXGISwapChain3::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^ use of undeclared type or module `IDXGISwapChain3`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IDXGIFactory4`
[INFO] [stderr]    --> src/d3d12/graphics.rs:374:18
[INFO] [stderr]     |
[INFO] [stderr] 374 |                 &IDXGIFactory4::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^ use of undeclared type or module `IDXGIFactory4`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12CommandAllocator`
[INFO] [stderr]    --> src/d3d12/graphics.rs:473:22
[INFO] [stderr]     |
[INFO] [stderr] 473 |                     &ID3D12CommandAllocator::uuidof(),
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12CommandAllocator`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Debug`
[INFO] [stderr]    --> src/d3d12/graphics.rs:385:18
[INFO] [stderr]     |
[INFO] [stderr] 385 |                 &ID3D12Debug::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^ use of undeclared type or module `ID3D12Debug`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Debug1`
[INFO] [stderr]    --> src/d3d12/graphics.rs:394:22
[INFO] [stderr]     |
[INFO] [stderr] 394 |                     &ID3D12Debug1::uuidof(),
[INFO] [stderr]     |                      ^^^^^^^^^^^^ use of undeclared type or module `ID3D12Debug1`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Device2`
[INFO] [stderr]    --> src/d3d12/graphics.rs:412:18
[INFO] [stderr]     |
[INFO] [stderr] 412 |                 &ID3D12Device2::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^ use of undeclared type or module `ID3D12Device2`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Resource`
[INFO] [stderr]    --> src/d3d12/graphics.rs:533:22
[INFO] [stderr]     |
[INFO] [stderr] 533 |                     &ID3D12Resource::uuidof(),
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12Resource`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12CommandQueue`
[INFO] [stderr]    --> src/d3d12/graphics.rs:428:18
[INFO] [stderr]     |
[INFO] [stderr] 428 |                 &ID3D12CommandQueue::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12CommandQueue`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12GraphicsCommandList1`
[INFO] [stderr]    --> src/d3d12/graphics.rs:570:18
[INFO] [stderr]     |
[INFO] [stderr] 570 |                 &ID3D12GraphicsCommandList1::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12GraphicsCommandList1`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IDXGISwapChain3`
[INFO] [stderr]    --> src/d3d12/graphics.rs:458:18
[INFO] [stderr]     |
[INFO] [stderr] 458 |                 &IDXGISwapChain3::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^ use of undeclared type or module `IDXGISwapChain3`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Fence`
[INFO] [stderr]    --> src/d3d12/graphics.rs:582:18
[INFO] [stderr]     |
[INFO] [stderr] 582 |                 &ID3D12Fence::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^ use of undeclared type or module `ID3D12Fence`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12CommandAllocator`
[INFO] [stderr]    --> src/d3d12/graphics.rs:473:22
[INFO] [stderr]     |
[INFO] [stderr] 473 |                     &ID3D12CommandAllocator::uuidof(),
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12CommandAllocator`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Resource`
[INFO] [stderr]    --> src/d3d12/graphics.rs:533:22
[INFO] [stderr]     |
[INFO] [stderr] 533 |                     &ID3D12Resource::uuidof(),
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12Resource`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Resource`
[INFO] [stderr]    --> src/d3d12/graphics.rs:698:18
[INFO] [stderr]     |
[INFO] [stderr] 698 |                 &ID3D12Resource::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12Resource`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12GraphicsCommandList1`
[INFO] [stderr]    --> src/d3d12/graphics.rs:570:18
[INFO] [stderr]     |
[INFO] [stderr] 570 |                 &ID3D12GraphicsCommandList1::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12GraphicsCommandList1`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12RootSignature`
[INFO] [stderr]    --> src/d3d12/graphics.rs:777:18
[INFO] [stderr]     |
[INFO] [stderr] 777 |                 &ID3D12RootSignature::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12RootSignature`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Fence`
[INFO] [stderr]    --> src/d3d12/graphics.rs:582:18
[INFO] [stderr]     |
[INFO] [stderr] 582 |                 &ID3D12Fence::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^ use of undeclared type or module `ID3D12Fence`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12PipelineState`
[INFO] [stderr]    --> src/d3d12/graphics.rs:789:18
[INFO] [stderr]     |
[INFO] [stderr] 789 |                 &ID3D12PipelineState::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12PipelineState`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12RootSignature`
[INFO] [stderr]    --> src/d3d12/graphics.rs:825:18
[INFO] [stderr]     |
[INFO] [stderr] 825 |                 &ID3D12RootSignature::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12RootSignature`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12PipelineState`
[INFO] [stderr]    --> src/d3d12/graphics.rs:837:18
[INFO] [stderr]     |
[INFO] [stderr] 837 |                 &ID3D12PipelineState::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12PipelineState`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Resource`
[INFO] [stderr]    --> src/d3d12/graphics.rs:698:18
[INFO] [stderr]     |
[INFO] [stderr] 698 |                 &ID3D12Resource::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12Resource`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12RootSignature`
[INFO] [stderr]    --> src/d3d12/graphics.rs:777:18
[INFO] [stderr]     |
[INFO] [stderr] 777 |                 &ID3D12RootSignature::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12RootSignature`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12PipelineState`
[INFO] [stderr]    --> src/d3d12/graphics.rs:789:18
[INFO] [stderr]     |
[INFO] [stderr] 789 |                 &ID3D12PipelineState::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12PipelineState`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12RootSignature`
[INFO] [stderr]    --> src/d3d12/graphics.rs:825:18
[INFO] [stderr]     |
[INFO] [stderr] 825 |                 &ID3D12RootSignature::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12RootSignature`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12PipelineState`
[INFO] [stderr]    --> src/d3d12/graphics.rs:837:18
[INFO] [stderr]     |
[INFO] [stderr] 837 |                 &ID3D12PipelineState::uuidof(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12PipelineState`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12DescriptorHeap`
[INFO] [stderr]     --> src/d3d12/graphics.rs:1034:18
[INFO] [stderr]      |
[INFO] [stderr] 1034 |                 &ID3D12DescriptorHeap::uuidof(),
[INFO] [stderr]      |                  ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12DescriptorHeap`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Resource`
[INFO] [stderr]     --> src/d3d12/graphics.rs:1196:18
[INFO] [stderr]      |
[INFO] [stderr] 1196 |                 &ID3D12Resource::uuidof(),
[INFO] [stderr]      |                  ^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12Resource`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12DescriptorHeap`
[INFO] [stderr]     --> src/d3d12/graphics.rs:1034:18
[INFO] [stderr]      |
[INFO] [stderr] 1034 |                 &ID3D12DescriptorHeap::uuidof(),
[INFO] [stderr]      |                  ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12DescriptorHeap`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Resource`
[INFO] [stderr]     --> src/d3d12/graphics.rs:1196:18
[INFO] [stderr]      |
[INFO] [stderr] 1196 |                 &ID3D12Resource::uuidof(),
[INFO] [stderr]      |                  ^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12Resource`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]   --> src/util.rs:32:20
[INFO] [stderr]    |
[INFO] [stderr] 32 |     start_counter: 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/util.rs:33:16
[INFO] [stderr]    |
[INFO] [stderr] 33 |     frequency: LARGE_INTEGER,
[INFO] [stderr]    |                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/util.rs:37:13
[INFO] [stderr]    |
[INFO] [stderr] 37 |     window: HWND,
[INFO] [stderr]    |             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/util.rs:38:14
[INFO] [stderr]    |
[INFO] [stderr] 38 |     message: UINT,
[INFO] [stderr]    |              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]   --> src/util.rs:39:13
[INFO] [stderr]    |
[INFO] [stderr] 39 |     wparam: WPARAM,
[INFO] [stderr]    |             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/util.rs:40:13
[INFO] [stderr]    |
[INFO] [stderr] 40 |     lparam: LPARAM,
[INFO] [stderr]    |             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/util.rs:41:6
[INFO] [stderr]    |
[INFO] [stderr] 41 | ) -> LRESULT {
[INFO] [stderr]    |      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stderr]   --> src/util.rs:44:13
[INFO] [stderr]    |
[INFO] [stderr] 44 |             PostQuitMessage(0);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `VK_ESCAPE` in this scope
[INFO] [stderr]   --> src/util.rs:48:26
[INFO] [stderr]    |
[INFO] [stderr] 48 |             if wparam == VK_ESCAPE as usize {
[INFO] [stderr]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stderr]   --> src/util.rs:49:17
[INFO] [stderr]    |
[INFO] [stderr] 49 |                 PostQuitMessage(0);
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope
[INFO] [stderr]   --> src/util.rs:61:9
[INFO] [stderr]    |
[INFO] [stderr] 61 |         DefWindowProcA(window, message, wparam, lparam)
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/util.rs:65:66
[INFO] [stderr]    |
[INFO] [stderr] 65 | pub fn create_window(name: &CString, width: u32, height: u32) -> HWND {
[INFO] [stderr]    |                                                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDPIAware` in this scope
[INFO] [stderr]   --> src/util.rs:67:9
[INFO] [stderr]    |
[INFO] [stderr] 67 |         SetProcessDPIAware();
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSA` in this scope
[INFO] [stderr]   --> src/util.rs:69:27
[INFO] [stderr]    |
[INFO] [stderr] 69 |         let mut winclass: WNDCLASSA = mem::zeroed();
[INFO] [stderr]    |                           ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope
[INFO] [stderr]   --> src/util.rs:71:30
[INFO] [stderr]    |
[INFO] [stderr] 71 |         winclass.hInstance = GetModuleHandleA(ptr::null());
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorA` in this scope
[INFO] [stderr]   --> src/util.rs:72:28
[INFO] [stderr]    |
[INFO] [stderr] 72 |         winclass.hCursor = LoadCursorA(ptr::null_mut(), IDC_ARROW as LPCSTR);
[INFO] [stderr]    |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stderr]   --> src/util.rs:72:57
[INFO] [stderr]    |
[INFO] [stderr] 72 |         winclass.hCursor = LoadCursorA(ptr::null_mut(), IDC_ARROW as LPCSTR);
[INFO] [stderr]    |                                                         ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCSTR` in this scope
[INFO] [stderr]   --> src/util.rs:72:70
[INFO] [stderr]    |
[INFO] [stderr] 72 |         winclass.hCursor = LoadCursorA(ptr::null_mut(), IDC_ARROW as LPCSTR);
[INFO] [stderr]    |                                                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassA` in this scope
[INFO] [stderr]   --> src/util.rs:74:9
[INFO] [stderr]    |
[INFO] [stderr] 74 |         RegisterClassA(&winclass);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPED` in this scope
[INFO] [stderr]   --> src/util.rs:77:17
[INFO] [stderr]    |
[INFO] [stderr] 77 |     let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX;
[INFO] [stderr]    |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_SYSMENU` in this scope
[INFO] [stderr]   --> src/util.rs:77:33
[INFO] [stderr]    |
[INFO] [stderr] 77 |     let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX;
[INFO] [stderr]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_CAPTION` in this scope
[INFO] [stderr]   --> src/util.rs:77:46
[INFO] [stderr]    |
[INFO] [stderr] 77 |     let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX;
[INFO] [stderr]    |                                              ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope
[INFO] [stderr]   --> src/util.rs:77:59
[INFO] [stderr]    |
[INFO] [stderr] 77 |     let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX;
[INFO] [stderr]    |                                                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stderr]   --> src/util.rs:78:20
[INFO] [stderr]    |
[INFO] [stderr] 78 |     let mut rect = RECT {
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustWindowRect` in this scope
[INFO] [stderr]   --> src/util.rs:85:9
[INFO] [stderr]    |
[INFO] [stderr] 85 |         AdjustWindowRect(&mut rect, style, 0);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope
[INFO] [stderr]   --> src/util.rs:86:9
[INFO] [stderr]    |
[INFO] [stderr] 86 |         CreateWindowExA(
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]   --> src/util.rs:90:21
[INFO] [stderr]    |
[INFO] [stderr] 90 |             style | WS_VISIBLE,
[INFO] [stderr]    |                     ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/util.rs:91:13
[INFO] [stderr]    |
[INFO] [stderr] 91 |             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/util.rs:92:13
[INFO] [stderr]    |
[INFO] [stderr] 92 |             CW_USEDEFAULT,
[INFO] [stderr]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/util.rs:105:26
[INFO] [stderr]     |
[INFO] [stderr] 105 |         let mut message: MSG = mem::zeroed();
[INFO] [stderr]     |                          ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageA` in this scope
[INFO] [stderr]    --> src/util.rs:106:15
[INFO] [stderr]     |
[INFO] [stderr] 106 |         while PeekMessageA(&mut message, 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/util.rs:106:65
[INFO] [stderr]     |
[INFO] [stderr] 106 |         while PeekMessageA(&mut message, ptr::null_mut(), 0, 0, PM_REMOVE) != 0 {
[INFO] [stderr]     |                                                                 ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in this scope
[INFO] [stderr]    --> src/util.rs:107:13
[INFO] [stderr]     |
[INFO] [stderr] 107 |             DispatchMessageA(&message);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_QUIT` in this scope
[INFO] [stderr]    --> src/util.rs:108:35
[INFO] [stderr]     |
[INFO] [stderr] 108 |             if message.message == WM_QUIT {
[INFO] [stderr]     |                                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/util.rs:118:32
[INFO] [stderr]     |
[INFO] [stderr] 118 |         let mut start_counter: LARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stderr]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/util.rs:119:28
[INFO] [stderr]     |
[INFO] [stderr] 119 |         let mut frequency: LARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stderr]     |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in this scope
[INFO] [stderr]    --> src/util.rs:121:13
[INFO] [stderr]     |
[INFO] [stderr] 121 |             QueryPerformanceCounter(&mut start_counter as *mut _ as *mut 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/util.rs:121:74
[INFO] [stderr]     |
[INFO] [stderr] 121 |             QueryPerformanceCounter(&mut start_counter as *mut _ as *mut LARGE_INTEGER);
[INFO] [stderr]     |                                                                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceFrequency` in this scope
[INFO] [stderr]    --> src/util.rs:122:13
[INFO] [stderr]     |
[INFO] [stderr] 122 |             QueryPerformanceFrequency(&mut frequency as *mut _ as *mut 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/util.rs:122:72
[INFO] [stderr]     |
[INFO] [stderr] 122 |             QueryPerformanceFrequency(&mut frequency as *mut _ as *mut LARGE_INTEGER);
[INFO] [stderr]     |                                                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/util.rs:135:38
[INFO] [stderr]     |
[INFO] [stderr] 135 |     pub fn update(&mut self, window: HWND, name: &CString) {
[INFO] [stderr]     |                                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextA` in this scope
[INFO] [stderr]    --> src/util.rs:156:17
[INFO] [stderr]     |
[INFO] [stderr] 156 |                 SetWindowTextA(window, header.as_ptr());
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/util.rs:165:26
[INFO] [stderr]     |
[INFO] [stderr] 165 |         let mut counter: LARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stderr]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in this scope
[INFO] [stderr]    --> src/util.rs:166:18
[INFO] [stderr]     |
[INFO] [stderr] 166 |         unsafe { QueryPerformanceCounter(&mut counter as *mut _ as *mut 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/util.rs:166:73
[INFO] [stderr]     |
[INFO] [stderr] 166 |         unsafe { QueryPerformanceCounter(&mut counter as *mut _ as *mut LARGE_INTEGER) };
[INFO] [stderr]     |                                                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:43:17
[INFO] [stderr]    |
[INFO] [stderr] 43 |     pub window: HWND,
[INFO] [stderr]    |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:45:25
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub struct Context {
[INFO] [stderr]    |                   - help: you might be missing a type parameter: `<ID3D12CommandAllocator>`
[INFO] [stderr] ...
[INFO] [stderr] 45 |     cmdallocs: [WeakPtr<ID3D12CommandAllocator>; 2],
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain3` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:46:24
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub struct Context {
[INFO] [stderr]    |                   - help: you might be missing a type parameter: `<IDXGISwapChain3>`
[INFO] [stderr] ...
[INFO] [stderr] 46 |     swapchain: WeakPtr<IDXGISwapChain3>,
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Fence` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:53:26
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub struct Context {
[INFO] [stderr]    |                   - help: you might be missing a type parameter: `<ID3D12Fence>`
[INFO] [stderr] ...
[INFO] [stderr] 53 |     frame_fence: WeakPtr<ID3D12Fence>,
[INFO] [stderr]    |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:54:24
[INFO] [stderr]    |
[INFO] [stderr] 54 |     frame_fence_event: HANDLE,
[INFO] [stderr]    |                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:76:18
[INFO] [stderr]    |
[INFO] [stderr] 75 | struct ResourceState {
[INFO] [stderr]    |                     - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] 76 |     ptr: WeakPtr<ID3D12Resource>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:77:12
[INFO] [stderr]    |
[INFO] [stderr] 77 |     state: D3D12_RESOURCE_STATES,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DXGI_FORMAT` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:78:13
[INFO] [stderr]    |
[INFO] [stderr] 78 |     format: DXGI_FORMAT,
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:76:18
[INFO] [stderr]    |
[INFO] [stderr] 76 |     ptr: WeakPtr<ID3D12Resource>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:83:18
[INFO] [stderr]    |
[INFO] [stderr] 82 | struct PipelineState {
[INFO] [stderr]    | -------------------- similarly named struct `PipelineState` defined here
[INFO] [stderr] 83 |     pso: WeakPtr<ID3D12PipelineState>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: a struct with a similar name exists
[INFO] [stderr]    |
[INFO] [stderr] 83 |     pso: WeakPtr<PipelineState>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 82 | struct PipelineState<ID3D12PipelineState> {
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:84:25
[INFO] [stderr]    |
[INFO] [stderr] 82 | struct PipelineState {
[INFO] [stderr]    |                     - help: you might be missing a type parameter: `<ID3D12RootSignature>`
[INFO] [stderr] 83 |     pso: WeakPtr<ID3D12PipelineState>,
[INFO] [stderr] 84 |     rsignature: WeakPtr<ID3D12RootSignature>,
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:83:18
[INFO] [stderr]    |
[INFO] [stderr] 82 | struct PipelineState {
[INFO] [stderr]    | -------------------- similarly named struct `PipelineState` defined here
[INFO] [stderr] 83 |     pso: WeakPtr<ID3D12PipelineState>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `PipelineState`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:84:25
[INFO] [stderr]    |
[INFO] [stderr] 84 |     rsignature: WeakPtr<ID3D12RootSignature>,
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:99:19
[INFO] [stderr]    |
[INFO] [stderr] 98 | struct DescriptorHeap {
[INFO] [stderr]    | --------------------- similarly named struct `DescriptorHeap` defined here
[INFO] [stderr] 99 |     heap: WeakPtr<ID3D12DescriptorHeap>,
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: a struct with a similar name exists
[INFO] [stderr]    |
[INFO] [stderr] 99 |     heap: WeakPtr<DescriptorHeap>,
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 98 | struct DescriptorHeap<ID3D12DescriptorHeap> {
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:100:15
[INFO] [stderr]     |
[INFO] [stderr] 100 |     cpu_base: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:101:15
[INFO] [stderr]     |
[INFO] [stderr] 101 |     gpu_base: D3D12_GPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:108:19
[INFO] [stderr]     |
[INFO] [stderr] 107 | struct GpuMemoryHeap {
[INFO] [stderr]     |                     - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] 108 |     heap: WeakPtr<ID3D12Resource>,
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:110:15
[INFO] [stderr]     |
[INFO] [stderr] 110 |     gpu_base: D3D12_GPU_VIRTUAL_ADDRESS,
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:126:23
[INFO] [stderr]     |
[INFO] [stderr] 126 |         state_before: D3D12_RESOURCE_STATES,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:127:22
[INFO] [stderr]     |
[INFO] [stderr] 127 |         state_after: D3D12_RESOURCE_STATES,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:128:10
[INFO] [stderr]     |
[INFO] [stderr] 128 |     ) -> D3D12_RESOURCE_BARRIER {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:129:26
[INFO] [stderr]     |
[INFO] [stderr] 129 |         let mut barrier: D3D12_RESOURCE_BARRIER = unsafe { mem::zeroed() };
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_TYPE_TRANSITION` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:130:24
[INFO] [stderr]     |
[INFO] [stderr] 130 |         barrier.Type = D3D12_RESOURCE_BARRIER_TYPE_TRANSITION;
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:131:25
[INFO] [stderr]     |
[INFO] [stderr] 131 |         barrier.Flags = D3D12_RESOURCE_FLAG_NONE;
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:136:34
[INFO] [stderr]     |
[INFO] [stderr] 136 |         transition.Subresource = D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES;
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RASTERIZER_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:142:25
[INFO] [stderr]     |
[INFO] [stderr] 142 |     pub fn default() -> D3D12_RASTERIZER_DESC {
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RASTERIZER_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:143:9
[INFO] [stderr]     |
[INFO] [stderr] 143 |         D3D12_RASTERIZER_DESC {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_FILL_MODE_SOLID` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:144:23
[INFO] [stderr]     |
[INFO] [stderr] 144 |             FillMode: D3D12_FILL_MODE_SOLID,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_CULL_MODE_BACK` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:145:23
[INFO] [stderr]     |
[INFO] [stderr] 145 |             CullMode: D3D12_CULL_MODE_BACK,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_DEPTH_BIAS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:147:24
[INFO] [stderr]     |
[INFO] [stderr] 147 |             DepthBias: D3D12_DEFAULT_DEPTH_BIAS as i32,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_DEPTH_BIAS_CLAMP` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:148:29
[INFO] [stderr]     |
[INFO] [stderr] 148 |             DepthBiasClamp: D3D12_DEFAULT_DEPTH_BIAS_CLAMP,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:149:35
[INFO] [stderr]     |
[INFO] [stderr] 149 |             SlopeScaledDepthBias: D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS,
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:154:33
[INFO] [stderr]     |
[INFO] [stderr] 154 |             ConservativeRaster: D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF,
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_BLEND_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:160:25
[INFO] [stderr]     |
[INFO] [stderr] 160 |     pub fn default() -> D3D12_BLEND_DESC {
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RENDER_TARGET_BLEND_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:161:29
[INFO] [stderr]     |
[INFO] [stderr] 161 |         let rt_blend_desc = D3D12_RENDER_TARGET_BLEND_DESC {
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_ONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:164:23
[INFO] [stderr]     |
[INFO] [stderr] 164 |             SrcBlend: D3D12_BLEND_ONE,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_ZERO` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:165:24
[INFO] [stderr]     |
[INFO] [stderr] 165 |             DestBlend: D3D12_BLEND_ZERO,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_OP_ADD` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:166:22
[INFO] [stderr]     |
[INFO] [stderr] 166 |             BlendOp: D3D12_BLEND_OP_ADD,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_ONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:167:28
[INFO] [stderr]     |
[INFO] [stderr] 167 |             SrcBlendAlpha: D3D12_BLEND_ONE,
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_ZERO` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:168:29
[INFO] [stderr]     |
[INFO] [stderr] 168 |             DestBlendAlpha: D3D12_BLEND_ZERO,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_OP_ADD` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:169:27
[INFO] [stderr]     |
[INFO] [stderr] 169 |             BlendOpAlpha: D3D12_BLEND_OP_ADD,
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_LOGIC_OP_NOOP` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:170:22
[INFO] [stderr]     |
[INFO] [stderr] 170 |             LogicOp: D3D12_LOGIC_OP_NOOP,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_BLEND_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:173:9
[INFO] [stderr]     |
[INFO] [stderr] 173 |         D3D12_BLEND_DESC {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:191:33
[INFO] [stderr]     |
[INFO] [stderr] 191 |     pub fn buffer(size: u64) -> D3D12_RESOURCE_DESC {
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:192:9
[INFO] [stderr]     |
[INFO] [stderr] 192 |         D3D12_RESOURCE_DESC {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_DIMENSION_BUFFER` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:193:24
[INFO] [stderr]     |
[INFO] [stderr] 193 |             Dimension: D3D12_RESOURCE_DIMENSION_BUFFER,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:199:21
[INFO] [stderr]     |
[INFO] [stderr] 199 |             Format: DXGI_FORMAT_UNKNOWN,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:200:25
[INFO] [stderr]     |
[INFO] [stderr] 200 |             SampleDesc: DXGI_SAMPLE_DESC {
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_TEXTURE_LAYOUT_ROW_MAJOR` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:204:21
[INFO] [stderr]     |
[INFO] [stderr] 204 |             Layout: D3D12_TEXTURE_LAYOUT_ROW_MAJOR,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:205:20
[INFO] [stderr]     |
[INFO] [stderr] 205 |             Flags: D3D12_RESOURCE_FLAG_NONE,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_DEPTH_STENCIL_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:211:25
[INFO] [stderr]     |
[INFO] [stderr] 211 |     pub fn default() -> D3D12_DEPTH_STENCIL_DESC {
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_DEPTH_STENCILOP_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:212:26
[INFO] [stderr]     |
[INFO] [stderr] 212 |         let ds_op_desc = D3D12_DEPTH_STENCILOP_DESC {
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_STENCIL_OP_KEEP` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:213:28
[INFO] [stderr]     |
[INFO] [stderr] 213 |             StencilFailOp: D3D12_STENCIL_OP_KEEP,
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_STENCIL_OP_KEEP` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:214:33
[INFO] [stderr]     |
[INFO] [stderr] 214 |             StencilDepthFailOp: D3D12_STENCIL_OP_KEEP,
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_STENCIL_OP_KEEP` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:215:28
[INFO] [stderr]     |
[INFO] [stderr] 215 |             StencilPassOp: D3D12_STENCIL_OP_KEEP,
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COMPARISON_FUNC_ALWAYS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:216:26
[INFO] [stderr]     |
[INFO] [stderr] 216 |             StencilFunc: D3D12_COMPARISON_FUNC_ALWAYS,
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_DEPTH_STENCIL_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:218:9
[INFO] [stderr]     |
[INFO] [stderr] 218 |         D3D12_DEPTH_STENCIL_DESC {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DEPTH_WRITE_MASK_ALL` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:220:29
[INFO] [stderr]     |
[INFO] [stderr] 220 |             DepthWriteMask: D3D12_DEPTH_WRITE_MASK_ALL,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COMPARISON_FUNC_LESS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:221:24
[INFO] [stderr]     |
[INFO] [stderr] 221 |             DepthFunc: D3D12_COMPARISON_FUNC_LESS,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_STENCIL_READ_MASK` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:223:30
[INFO] [stderr]     |
[INFO] [stderr] 223 |             StencilReadMask: D3D12_DEFAULT_STENCIL_READ_MASK as u8,
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_STENCIL_WRITE_MASK` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:224:31
[INFO] [stderr]     |
[INFO] [stderr] 224 |             StencilWriteMask: D3D12_DEFAULT_STENCIL_WRITE_MASK as u8,
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:232:27
[INFO] [stderr]     |
[INFO] [stderr] 232 |     pub fn new(heap_type: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES {
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_PROPERTIES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:232:47
[INFO] [stderr]     |
[INFO] [stderr] 232 |     pub fn new(heap_type: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES {
[INFO] [stderr]     |                                               ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_HEAP_PROPERTIES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:233:9
[INFO] [stderr]     |
[INFO] [stderr] 233 |         D3D12_HEAP_PROPERTIES {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_CPU_PAGE_PROPERTY_UNKNOWN` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:235:30
[INFO] [stderr]     |
[INFO] [stderr] 235 |             CPUPageProperty: D3D12_CPU_PAGE_PROPERTY_UNKNOWN,
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_MEMORY_POOL_UNKNOWN` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:236:35
[INFO] [stderr]     |
[INFO] [stderr] 236 |             MemoryPoolPreference: D3D12_MEMORY_POOL_UNKNOWN,
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DXGI_FORMAT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:244:40
[INFO] [stderr]     |
[INFO] [stderr] 244 |     pub fn new(name: &CString, format: DXGI_FORMAT, offset: u32) -> D3D12_INPUT_ELEMENT_DESC {
[INFO] [stderr]     |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_INPUT_ELEMENT_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:244:69
[INFO] [stderr]     |
[INFO] [stderr] 244 |     pub fn new(name: &CString, format: DXGI_FORMAT, offset: u32) -> D3D12_INPUT_ELEMENT_DESC {
[INFO] [stderr]     |                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_INPUT_ELEMENT_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:245:9
[INFO] [stderr]     |
[INFO] [stderr] 245 |         D3D12_INPUT_ELEMENT_DESC {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:251:29
[INFO] [stderr]     |
[INFO] [stderr] 251 |             InputSlotClass: D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_COMMON` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:262:20
[INFO] [stderr]     |
[INFO] [stderr] 262 |             state: D3D12_RESOURCE_STATE_COMMON,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:263:21
[INFO] [stderr]     |
[INFO] [stderr] 263 |             format: DXGI_FORMAT_UNKNOWN,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:295:27
[INFO] [stderr]     |
[INFO] [stderr] 278 | impl ResourcePool {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] ...
[INFO] [stderr] 295 |         resource: WeakPtr<ID3D12Resource>,
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:296:24
[INFO] [stderr]     |
[INFO] [stderr] 296 |         initial_state: D3D12_RESOURCE_STATES,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DXGI_FORMAT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:297:17
[INFO] [stderr]     |
[INFO] [stderr] 297 |         format: DXGI_FORMAT,
[INFO] [stderr]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:342:22
[INFO] [stderr]     |
[INFO] [stderr] 82  | struct PipelineState {
[INFO] [stderr]     | -------------------- similarly named struct `PipelineState` defined here
[INFO] [stderr] ...
[INFO] [stderr] 342 |         pso: WeakPtr<ID3D12PipelineState>,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: a struct with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 342 |         pso: WeakPtr<PipelineState>,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]     |
[INFO] [stderr] 322 | impl<ID3D12PipelineState> PipelinePool {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:343:29
[INFO] [stderr]     |
[INFO] [stderr] 322 | impl PipelinePool {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<ID3D12RootSignature>`
[INFO] [stderr] ...
[INFO] [stderr] 343 |         rsignature: WeakPtr<ID3D12RootSignature>,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:368:24
[INFO] [stderr]     |
[INFO] [stderr] 368 |     pub fn new(window: HWND) -> Self {
[INFO] [stderr]     |                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory4` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:371:36
[INFO] [stderr]     |
[INFO] [stderr] 371 |             let mut rfactory: *mut IDXGIFactory4 = ptr::null_mut();
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDXGIFactory2` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:372:18
[INFO] [stderr]     |
[INFO] [stderr] 372 |             vhr!(CreateDXGIFactory2(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_CREATE_FACTORY_DEBUG` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:373:17
[INFO] [stderr]     |
[INFO] [stderr] 373 |                 DXGI_CREATE_FACTORY_DEBUG,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Debug` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:383:32
[INFO] [stderr]     |
[INFO] [stderr] 383 |             let mut rdbg: *mut ID3D12Debug = ptr::null_mut();
[INFO] [stderr]     |                                ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12GetDebugInterface` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:384:13
[INFO] [stderr]     |
[INFO] [stderr] 384 |             D3D12GetDebugInterface(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Debug1` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:392:37
[INFO] [stderr]     |
[INFO] [stderr] 392 |                 let mut rdbg1: *mut ID3D12Debug1 = ptr::null_mut();
[INFO] [stderr]     |                                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:408:35
[INFO] [stderr]     |
[INFO] [stderr] 408 |             let mut rdevice: *mut ID3D12Device2 = ptr::null_mut();
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12CreateDevice` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:409:18
[INFO] [stderr]     |
[INFO] [stderr] 409 |             vhr!(D3D12CreateDevice(
[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/d3d12/graphics.rs:411:17
[INFO] [stderr]     |
[INFO] [stderr] 411 |                 D3D_FEATURE_LEVEL_11_1,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:420:37
[INFO] [stderr]     |
[INFO] [stderr] 420 |             let mut rcmdqueue: *mut ID3D12CommandQueue = ptr::null_mut();
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `CommandQueue`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/d3d12/wrappers.rs:66:1
[INFO] [stderr]     |
[INFO] [stderr] 66  | pub type CommandQueue = WeakPtr<ID3D12CommandQueue>;
[INFO] [stderr]     | ---------------------------------------------------- similarly named type alias `CommandQueue` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_COMMAND_QUEUE_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:422:18
[INFO] [stderr]     |
[INFO] [stderr] 422 |                 &D3D12_COMMAND_QUEUE_DESC {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COMMAND_QUEUE_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:423:28
[INFO] [stderr]     |
[INFO] [stderr] 423 |                     Flags: D3D12_COMMAND_QUEUE_FLAG_NONE,
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COMMAND_QUEUE_PRIORITY_NORMAL` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:424:31
[INFO] [stderr]     |
[INFO] [stderr] 424 |                     Priority: D3D12_COMMAND_QUEUE_PRIORITY_NORMAL as i32,
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:425:27
[INFO] [stderr]     |
[INFO] [stderr] 425 |                     Type: D3D12_COMMAND_LIST_TYPE_DIRECT,
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DXGI_SWAP_CHAIN_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:437:31
[INFO] [stderr]     |
[INFO] [stderr] 437 |                 let mut desc: DXGI_SWAP_CHAIN_DESC = unsafe { mem::zeroed() };
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]   --> src/util.rs:32:20
[INFO] [stderr]    |
[INFO] [stderr] 32 |     start_counter: LARGE_INTEGER,
[INFO] [stderr]    |                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:439:42
[INFO] [stderr]     |
[INFO] [stderr] 439 |                 desc.BufferDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]   --> src/util.rs:33:16
[INFO] [stderr]    |
[INFO] [stderr] 33 |     frequency: LARGE_INTEGER,
[INFO] [stderr]    |                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_USAGE_RENDER_TARGET_OUTPUT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:440:36
[INFO] [stderr]     |
[INFO] [stderr] 440 |                 desc.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT;
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/util.rs:37:13
[INFO] [stderr]    |
[INFO] [stderr] 37 |     window: HWND,
[INFO] [stderr]    |             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_FLIP_DISCARD` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:443:35
[INFO] [stderr]     |
[INFO] [stderr] 443 |                 desc.SwapEffect = DXGI_SWAP_EFFECT_FLIP_DISCARD;
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/util.rs:38:14
[INFO] [stderr]    |
[INFO] [stderr] 38 |     message: UINT,
[INFO] [stderr]    |              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:446:43
[INFO] [stderr]     |
[INFO] [stderr] 446 |                 let mut rswapchain1: *mut IDXGISwapChain = ptr::null_mut();
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:448:57
[INFO] [stderr]     |
[INFO] [stderr] 448 |                     cmdqueue.as_raw() as *mut _ as *mut IUnknown,
[INFO] [stderr]     |                                                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain3` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:456:39
[INFO] [stderr]     |
[INFO] [stderr] 456 |             let mut rswapchain3: *mut IDXGISwapChain3 = ptr::null_mut();
[INFO] [stderr]     |                                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:467:39
[INFO] [stderr]     |
[INFO] [stderr] 467 |             let mut rcmdallocs: [*mut ID3D12CommandAllocator; 2] =
[INFO] [stderr]     |                                       ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:472:21
[INFO] [stderr]     |
[INFO] [stderr] 472 |                     D3D12_COMMAND_LIST_TYPE_DIRECT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_RTV` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:487:13
[INFO] [stderr]     |
[INFO] [stderr] 487 |             D3D12_DESCRIPTOR_HEAP_TYPE_RTV,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:488:13
[INFO] [stderr]     |
[INFO] [stderr] 488 |             D3D12_DESCRIPTOR_HEAP_FLAG_NONE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_DSV` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:493:13
[INFO] [stderr]     |
[INFO] [stderr] 493 |             D3D12_DESCRIPTOR_HEAP_TYPE_DSV,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]   --> src/util.rs:39:13
[INFO] [stderr]    |
[INFO] [stderr] 39 |     wparam: WPARAM,
[INFO] [stderr]    |             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:494:13
[INFO] [stderr]     |
[INFO] [stderr] 494 |             D3D12_DESCRIPTOR_HEAP_FLAG_NONE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:499:13
[INFO] [stderr]     |
[INFO] [stderr] 499 |             D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/util.rs:40:13
[INFO] [stderr]    |
[INFO] [stderr] 40 |     lparam: LPARAM,
[INFO] [stderr]    |             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:500:13
[INFO] [stderr]     |
[INFO] [stderr] 500 |             D3D12_DESCRIPTOR_HEAP_FLAG_NONE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/util.rs:41:6
[INFO] [stderr]    |
[INFO] [stderr] 41 | ) -> LRESULT {
[INFO] [stderr]    |      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:506:17
[INFO] [stderr]     |
[INFO] [stderr] 506 |                 D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:507:17
[INFO] [stderr]     |
[INFO] [stderr] 507 |                 D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:512:17
[INFO] [stderr]     |
[INFO] [stderr] 512 |                 D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:513:17
[INFO] [stderr]     |
[INFO] [stderr] 513 |                 D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_HEAP_TYPE_UPLOAD` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:519:51
[INFO] [stderr]     |
[INFO] [stderr] 519 |             GpuMemoryHeap::new(device, 32 * 1024, D3D12_HEAP_TYPE_UPLOAD),
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_HEAP_TYPE_UPLOAD` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:520:51
[INFO] [stderr]     |
[INFO] [stderr] 520 |             GpuMemoryHeap::new(device, 32 * 1024, D3D12_HEAP_TYPE_UPLOAD),
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:527:37
[INFO] [stderr]     |
[INFO] [stderr] 527 |             let mut rbuffers: [*mut ID3D12Resource; 4] = [ptr::null_mut(); 4];
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:542:21
[INFO] [stderr]     |
[INFO] [stderr] 542 |                     D3D12_RESOURCE_STATE_PRESENT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:543:21
[INFO] [stderr]     |
[INFO] [stderr] 543 |                     DXGI_FORMAT_R8G8B8A8_UNORM,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:547:21
[INFO] [stderr]     |
[INFO] [stderr] 547 |                     D3D12_RESOURCE_STATE_PRESENT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:548:21
[INFO] [stderr]     |
[INFO] [stderr] 548 |                     DXGI_FORMAT_R8G8B8A8_UNORM,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:552:21
[INFO] [stderr]     |
[INFO] [stderr] 552 |                     D3D12_RESOURCE_STATE_PRESENT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stderr]   --> src/util.rs:44:13
[INFO] [stderr]    |
[INFO] [stderr] 44 |             PostQuitMessage(0);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:553:21
[INFO] [stderr]     |
[INFO] [stderr] 553 |                     DXGI_FORMAT_R8G8B8A8_UNORM,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:557:21
[INFO] [stderr]     |
[INFO] [stderr] 557 |                     D3D12_RESOURCE_STATE_PRESENT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `VK_ESCAPE` in this scope
[INFO] [stderr]   --> src/util.rs:48:26
[INFO] [stderr]    |
[INFO] [stderr] 48 |             if wparam == VK_ESCAPE as usize {
[INFO] [stderr]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:558:21
[INFO] [stderr]     |
[INFO] [stderr] 558 |                     DXGI_FORMAT_R8G8B8A8_UNORM,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stderr]   --> src/util.rs:49:17
[INFO] [stderr]    |
[INFO] [stderr] 49 |                 PostQuitMessage(0);
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope
[INFO] [stderr]   --> src/util.rs:61:9
[INFO] [stderr]    |
[INFO] [stderr] 61 |         DefWindowProcA(window, message, wparam, lparam)
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12GraphicsCommandList1` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:564:36
[INFO] [stderr]     |
[INFO] [stderr] 564 |             let mut rcmdlist: *mut ID3D12GraphicsCommandList1 = ptr::null_mut();
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `GraphicsCommandList`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/d3d12/wrappers.rs:67:1
[INFO] [stderr]     |
[INFO] [stderr] 67  | pub type GraphicsCommandList = WeakPtr<ID3D12GraphicsCommandList1>;
[INFO] [stderr]     | ------------------------------------------------------------------- similarly named type alias `GraphicsCommandList` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/util.rs:65:66
[INFO] [stderr]    |
[INFO] [stderr] 65 | pub fn create_window(name: &CString, width: u32, height: u32) -> HWND {
[INFO] [stderr]    |                                                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDPIAware` in this scope
[INFO] [stderr]   --> src/util.rs:67:9
[INFO] [stderr]    |
[INFO] [stderr] 67 |         SetProcessDPIAware();
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:567:17
[INFO] [stderr]     |
[INFO] [stderr] 567 |                 D3D12_COMMAND_LIST_TYPE_DIRECT,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSA` in this scope
[INFO] [stderr]   --> src/util.rs:69:27
[INFO] [stderr]    |
[INFO] [stderr] 69 |         let mut winclass: WNDCLASSA = mem::zeroed();
[INFO] [stderr]    |                           ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Fence` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:578:34
[INFO] [stderr]     |
[INFO] [stderr] 578 |             let mut rfence: *mut ID3D12Fence = ptr::null_mut();
[INFO] [stderr]     |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope
[INFO] [stderr]   --> src/util.rs:71:30
[INFO] [stderr]    |
[INFO] [stderr] 71 |         winclass.hInstance = GetModuleHandleA(ptr::null());
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_FENCE_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:581:17
[INFO] [stderr]     |
[INFO] [stderr] 581 |                 D3D12_FENCE_FLAG_NONE,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorA` in this scope
[INFO] [stderr]   --> src/util.rs:72:28
[INFO] [stderr]    |
[INFO] [stderr] 72 |         winclass.hCursor = LoadCursorA(ptr::null_mut(), IDC_ARROW as LPCSTR);
[INFO] [stderr]    |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventExA` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:589:22
[INFO] [stderr]     |
[INFO] [stderr] 589 |             unsafe { CreateEventExA(ptr::null_mut(), ptr::null(), 0, EVENT_ALL_ACCESS) };
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stderr]   --> src/util.rs:72:57
[INFO] [stderr]    |
[INFO] [stderr] 72 |         winclass.hCursor = LoadCursorA(ptr::null_mut(), IDC_ARROW as LPCSTR);
[INFO] [stderr]    |                                                         ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `EVENT_ALL_ACCESS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:589:70
[INFO] [stderr]     |
[INFO] [stderr] 589 |             unsafe { CreateEventExA(ptr::null_mut(), ptr::null(), 0, EVENT_ALL_ACCESS) };
[INFO] [stderr]     |                                                                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCSTR` in this scope
[INFO] [stderr]   --> src/util.rs:72:70
[INFO] [stderr]    |
[INFO] [stderr] 72 |         winclass.hCursor = LoadCursorA(ptr::null_mut(), IDC_ARROW as LPCSTR);
[INFO] [stderr]    |                                                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:611:31
[INFO] [stderr]     |
[INFO] [stderr] 611 |                 let mut rect: RECT = mem::zeroed();
[INFO] [stderr]     |                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassA` in this scope
[INFO] [stderr]   --> src/util.rs:74:9
[INFO] [stderr]    |
[INFO] [stderr] 74 |         RegisterClassA(&winclass);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:612:17
[INFO] [stderr]     |
[INFO] [stderr] 612 |                 GetClientRect(window, &mut rect as *mut RECT);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPED` in this scope
[INFO] [stderr]   --> src/util.rs:77:17
[INFO] [stderr]    |
[INFO] [stderr] 77 |     let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX;
[INFO] [stderr]    |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:612:57
[INFO] [stderr]     |
[INFO] [stderr] 612 |                 GetClientRect(window, &mut rect as *mut RECT);
[INFO] [stderr]     |                                                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_SYSMENU` in this scope
[INFO] [stderr]   --> src/util.rs:77:33
[INFO] [stderr]    |
[INFO] [stderr] 77 |     let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX;
[INFO] [stderr]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:639:18
[INFO] [stderr]     |
[INFO] [stderr] 639 |         unsafe { CloseHandle(self.frame_fence_event) };
[INFO] [stderr]     |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_CAPTION` in this scope
[INFO] [stderr]   --> src/util.rs:77:46
[INFO] [stderr]    |
[INFO] [stderr] 77 |     let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX;
[INFO] [stderr]    |                                              ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:661:63
[INFO] [stderr]     |
[INFO] [stderr] 367 | impl Context {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] ...
[INFO] [stderr] 661 |     pub fn resource(&self, handle: ResourceHandle) -> WeakPtr<ID3D12Resource> {
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:680:20
[INFO] [stderr]     |
[INFO] [stderr] 680 |         heap_type: D3D12_HEAP_TYPE,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_FLAGS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:681:21
[INFO] [stderr]     |
[INFO] [stderr] 681 |         heap_flags: D3D12_HEAP_FLAGS,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:682:16
[INFO] [stderr]     |
[INFO] [stderr] 682 |         desc: &D3D12_RESOURCE_DESC,
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:683:24
[INFO] [stderr]     |
[INFO] [stderr] 683 |         initial_state: D3D12_RESOURCE_STATES,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CLEAR_VALUE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:684:30
[INFO] [stderr]     |
[INFO] [stderr] 367 | impl Context {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<D3D12_CLEAR_VALUE>`
[INFO] [stderr] ...
[INFO] [stderr] 684 |         clear_value: Option<&D3D12_CLEAR_VALUE>,
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope
[INFO] [stderr]   --> src/util.rs:77:59
[INFO] [stderr]    |
[INFO] [stderr] 77 |     let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX;
[INFO] [stderr]    |                                                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:687:40
[INFO] [stderr]     |
[INFO] [stderr] 687 |             let mut resource_raw: *mut ID3D12Resource = ptr::null_mut();
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stderr]   --> src/util.rs:78:20
[INFO] [stderr]    |
[INFO] [stderr] 78 |     let mut rect = RECT {
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_COMMON` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:712:26
[INFO] [stderr]     |
[INFO] [stderr] 712 |         resource.state = D3D12_RESOURCE_STATE_COMMON;
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustWindowRect` in this scope
[INFO] [stderr]   --> src/util.rs:85:9
[INFO] [stderr]    |
[INFO] [stderr] 85 |         AdjustWindowRect(&mut rect, style, 0);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:713:27
[INFO] [stderr]     |
[INFO] [stderr] 713 |         resource.format = DXGI_FORMAT_UNKNOWN;
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope
[INFO] [stderr]   --> src/util.rs:86:9
[INFO] [stderr]    |
[INFO] [stderr] 86 |         CreateWindowExA(
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:719:22
[INFO] [stderr]     |
[INFO] [stderr] 719 |         state_after: D3D12_RESOURCE_STATES,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]   --> src/util.rs:90:21
[INFO] [stderr]    |
[INFO] [stderr] 90 |             style | WS_VISIBLE,
[INFO] [stderr]    |                     ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:748:24
[INFO] [stderr]     |
[INFO] [stderr] 748 |         pso_desc: &mut D3D12_GRAPHICS_PIPELINE_STATE_DESC,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/util.rs:91:13
[INFO] [stderr]    |
[INFO] [stderr] 91 |             CW_USEDEFAULT,
[INFO] [stderr]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:755:23
[INFO] [stderr]     |
[INFO] [stderr] 755 |         pso_desc.VS = D3D12_SHADER_BYTECODE {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/util.rs:92:13
[INFO] [stderr]    |
[INFO] [stderr] 92 |             CW_USEDEFAULT,
[INFO] [stderr]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:759:23
[INFO] [stderr]     |
[INFO] [stderr] 759 |         pso_desc.PS = D3D12_SHADER_BYTECODE {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]    --> src/util.rs:105:26
[INFO] [stderr]     |
[INFO] [stderr] 105 |         let mut message: MSG = mem::zeroed();
[INFO] [stderr]     |                          ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:772:42
[INFO] [stderr]     |
[INFO] [stderr] 772 |             let mut rsignature_raw: *mut ID3D12RootSignature = ptr::null_mut();
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageA` in this scope
[INFO] [stderr]    --> src/util.rs:106:15
[INFO] [stderr]     |
[INFO] [stderr] 106 |         while PeekMessageA(&mut message, ptr::null_mut(), 0, 0, PM_REMOVE) != 0 {
[INFO] [stderr]     |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:786:35
[INFO] [stderr]     |
[INFO] [stderr] 82  | struct PipelineState {
[INFO] [stderr]     | -------------------- similarly named struct `PipelineState` defined here
[INFO] [stderr] ...
[INFO] [stderr] 786 |             let mut pso_raw: *mut ID3D12PipelineState = ptr::null_mut();
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `PipelineState`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PM_REMOVE` in this scope
[INFO] [stderr]    --> src/util.rs:106:65
[INFO] [stderr]     |
[INFO] [stderr] 106 |         while PeekMessageA(&mut message, ptr::null_mut(), 0, 0, PM_REMOVE) != 0 {
[INFO] [stderr]     |                                                                 ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in this scope
[INFO] [stderr]    --> src/util.rs:107:13
[INFO] [stderr]     |
[INFO] [stderr] 107 |             DispatchMessageA(&message);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_COMPUTE_PIPELINE_STATE_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:802:24
[INFO] [stderr]     |
[INFO] [stderr] 802 |         pso_desc: &mut D3D12_COMPUTE_PIPELINE_STATE_DESC,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_QUIT` in this scope
[INFO] [stderr]    --> src/util.rs:108:35
[INFO] [stderr]     |
[INFO] [stderr] 108 |             if message.message == WM_QUIT {
[INFO] [stderr]     |                                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:807:23
[INFO] [stderr]     |
[INFO] [stderr] 807 |         pso_desc.CS = D3D12_SHADER_BYTECODE {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/util.rs:118:32
[INFO] [stderr]     |
[INFO] [stderr] 118 |         let mut start_counter: LARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stderr]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:820:42
[INFO] [stderr]     |
[INFO] [stderr] 820 |             let mut rsignature_raw: *mut ID3D12RootSignature = ptr::null_mut();
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/util.rs:119:28
[INFO] [stderr]     |
[INFO] [stderr] 119 |         let mut frequency: LARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stderr]     |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:834:35
[INFO] [stderr]     |
[INFO] [stderr] 82  | struct PipelineState {
[INFO] [stderr]     | -------------------- similarly named struct `PipelineState` defined here
[INFO] [stderr] ...
[INFO] [stderr] 834 |             let mut pso_raw: *mut ID3D12PipelineState = ptr::null_mut();
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `PipelineState`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_TYPE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:870:20
[INFO] [stderr]     |
[INFO] [stderr] 870 |         heap_type: D3D12_DESCRIPTOR_HEAP_TYPE,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:872:10
[INFO] [stderr]     |
[INFO] [stderr] 872 |     ) -> D3D12_CPU_DESCRIPTOR_HANDLE {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:881:17
[INFO] [stderr]     |
[INFO] [stderr] 881 |                 D3D12_CPU_DESCRIPTOR_HANDLE { ptr: 0 }
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:889:11
[INFO] [stderr]     |
[INFO] [stderr] 889 |     ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:889:40
[INFO] [stderr]     |
[INFO] [stderr] 889 |     ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:896:24
[INFO] [stderr]     |
[INFO] [stderr] 896 |     ) -> (*mut c_void, D3D12_GPU_VIRTUAL_ADDRESS) {
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:916:32
[INFO] [stderr]     |
[INFO] [stderr] 367 | impl Context {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] ...
[INFO] [stderr] 916 |     ) -> (*mut c_void, WeakPtr<ID3D12Resource>, u64) {
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:932:23
[INFO] [stderr]     |
[INFO] [stderr] 932 |         src_cpu_base: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:933:10
[INFO] [stderr]     |
[INFO] [stderr] 933 |     ) -> D3D12_GPU_DESCRIPTOR_HANDLE {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:940:17
[INFO] [stderr]     |
[INFO] [stderr] 940 |                 D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:966:17
[INFO] [stderr]     |
[INFO] [stderr] 966 |                 WaitForSingleObject(self.frame_fence_event, INFINITE);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `INFINITE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:966:61
[INFO] [stderr]     |
[INFO] [stderr] 966 |                 WaitForSingleObject(self.frame_fence_event, INFINITE);
[INFO] [stderr]     |                                                             ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:985:34
[INFO] [stderr]     |
[INFO] [stderr] 98  | struct DescriptorHeap {
[INFO] [stderr]     | --------------------- similarly named struct `DescriptorHeap` defined here
[INFO] [stderr] ...
[INFO] [stderr] 985 |                     as *mut *mut ID3D12DescriptorHeap,
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1002:13
[INFO] [stderr]      |
[INFO] [stderr] 1002 |             WaitForSingleObject(self.frame_fence_event, INFINITE);
[INFO] [stderr]      |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `INFINITE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1002:57
[INFO] [stderr]      |
[INFO] [stderr] 1002 |             WaitForSingleObject(self.frame_fence_event, INFINITE);
[INFO] [stderr]      |                                                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1009:51
[INFO] [stderr]      |
[INFO] [stderr] 1009 |     pub fn back_buffer(&self) -> (ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]      |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1011:22
[INFO] [stderr]      |
[INFO] [stderr] 1011 |         let handle = D3D12_CPU_DESCRIPTOR_HANDLE {
[INFO] [stderr]      |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in this scope
[INFO] [stderr]    --> src/util.rs:121:13
[INFO] [stderr]     |
[INFO] [stderr] 121 |             QueryPerformanceCounter(&mut start_counter as *mut _ as *mut LARGE_INTEGER);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1020:25
[INFO] [stderr]      |
[INFO] [stderr] 1018 | impl DescriptorHeap {
[INFO] [stderr]      |     - help: you might be missing a type parameter: `<ID3D12Device2>`
[INFO] [stderr] 1019 |     fn new(
[INFO] [stderr] 1020 |         device: WeakPtr<ID3D12Device2>,
[INFO] [stderr]      |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_TYPE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1022:16
[INFO] [stderr]      |
[INFO] [stderr] 1022 |         htype: D3D12_DESCRIPTOR_HEAP_TYPE,
[INFO] [stderr]      |                ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_FLAGS` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1023:16
[INFO] [stderr]      |
[INFO] [stderr] 1023 |         flags: D3D12_DESCRIPTOR_HEAP_FLAGS,
[INFO] [stderr]      |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1026:33
[INFO] [stderr]      |
[INFO] [stderr] 98   | struct DescriptorHeap {
[INFO] [stderr]      | --------------------- similarly named struct `DescriptorHeap` defined here
[INFO] [stderr] ...
[INFO] [stderr] 1026 |             let mut rheap: *mut ID3D12DescriptorHeap = ptr::null_mut();
[INFO] [stderr]      |                                 ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_DESCRIPTOR_HEAP_DESC` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1028:18
[INFO] [stderr]      |
[INFO] [stderr] 1028 |                 &D3D12_DESCRIPTOR_HEAP_DESC {
[INFO] [stderr]      |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1042:29
[INFO] [stderr]      |
[INFO] [stderr] 1042 |                 if flags == D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE {
[INFO] [stderr]      |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1045:21
[INFO] [stderr]      |
[INFO] [stderr] 1045 |                     D3D12_GPU_DESCRIPTOR_HANDLE { ptr: 0 }
[INFO] [stderr]      |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1059:57
[INFO] [stderr]      |
[INFO] [stderr] 1059 |     fn allocate_cpu_descriptors(&mut self, num: u32) -> D3D12_CPU_DESCRIPTOR_HANDLE {
[INFO] [stderr]      |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1064:22
[INFO] [stderr]      |
[INFO] [stderr] 1064 |         let handle = D3D12_CPU_DESCRIPTOR_HANDLE {
[INFO] [stderr]      |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1075:11
[INFO] [stderr]      |
[INFO] [stderr] 1075 |     ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]      |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1075:40
[INFO] [stderr]      |
[INFO] [stderr] 1075 |     ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1080:26
[INFO] [stderr]      |
[INFO] [stderr] 1080 |         let cpu_handle = D3D12_CPU_DESCRIPTOR_HANDLE {
[INFO] [stderr]      |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1083:26
[INFO] [stderr]      |
[INFO] [stderr] 1083 |         let gpu_handle = D3D12_GPU_DESCRIPTOR_HANDLE {
[INFO] [stderr]      |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1092:39
[INFO] [stderr]      |
[INFO] [stderr] 1092 | fn calc_graphics_pipeline_hash(desc: &D3D12_GRAPHICS_PIPELINE_STATE_DESC) -> u64 {
[INFO] [stderr]      |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_COMPUTE_PIPELINE_STATE_DESC` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1175:38
[INFO] [stderr]      |
[INFO] [stderr] 1175 | fn calc_compute_pipeline_hash(desc: &D3D12_COMPUTE_PIPELINE_STATE_DESC) -> u64 {
[INFO] [stderr]      |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1184:28
[INFO] [stderr]      |
[INFO] [stderr] 1183 | impl GpuMemoryHeap {
[INFO] [stderr]      |     - help: you might be missing a type parameter: `<ID3D12Device2>`
[INFO] [stderr] 1184 |     fn new(device: WeakPtr<ID3D12Device2>, capacity: u32, heap_type: D3D12_HEAP_TYPE) -> Self {
[INFO] [stderr]      |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1184:70
[INFO] [stderr]      |
[INFO] [stderr] 1184 |     fn new(device: WeakPtr<ID3D12Device2>, capacity: u32, heap_type: D3D12_HEAP_TYPE) -> Self {
[INFO] [stderr]      |                                                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_HEAP_TYPE_UPLOAD` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1186:30
[INFO] [stderr]      |
[INFO] [stderr] 1186 |         assert!(heap_type == D3D12_HEAP_TYPE_UPLOAD);
[INFO] [stderr]      |                              ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/util.rs:121:74
[INFO] [stderr]     |
[INFO] [stderr] 121 |             QueryPerformanceCounter(&mut start_counter as *mut _ as *mut LARGE_INTEGER);
[INFO] [stderr]     |                                                                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1189:36
[INFO] [stderr]      |
[INFO] [stderr] 1189 |             let mut heap_raw: *mut ID3D12Resource = ptr::null_mut();
[INFO] [stderr]      |                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceFrequency` in this scope
[INFO] [stderr]    --> src/util.rs:122:13
[INFO] [stderr]     |
[INFO] [stderr] 122 |             QueryPerformanceFrequency(&mut frequency as *mut _ as *mut LARGE_INTEGER);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_HEAP_FLAG_NONE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1192:17
[INFO] [stderr]      |
[INFO] [stderr] 1192 |                 D3D12_HEAP_FLAG_NONE,
[INFO] [stderr]      |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/util.rs:122:72
[INFO] [stderr]     |
[INFO] [stderr] 122 |             QueryPerformanceFrequency(&mut frequency as *mut _ as *mut LARGE_INTEGER);
[INFO] [stderr]     |                                                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/util.rs:135:38
[INFO] [stderr]     |
[INFO] [stderr] 135 |     pub fn update(&mut self, window: HWND, name: &CString) {
[INFO] [stderr]     |                                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_GENERIC_READ` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1194:17
[INFO] [stderr]      |
[INFO] [stderr] 1194 |                 D3D12_RESOURCE_STATE_GENERIC_READ,
[INFO] [stderr]      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextA` in this scope
[INFO] [stderr]    --> src/util.rs:156:17
[INFO] [stderr]     |
[INFO] [stderr] 156 |                 SetWindowTextA(window, header.as_ptr());
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RANGE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1205:14
[INFO] [stderr]      |
[INFO] [stderr] 1205 |             &D3D12_RANGE { Begin: 0, End: 0 },
[INFO] [stderr]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1220:60
[INFO] [stderr]      |
[INFO] [stderr] 1220 |     fn allocate(&mut self, mut size: u32) -> (*mut c_void, D3D12_GPU_VIRTUAL_ADDRESS) {
[INFO] [stderr]      |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/util.rs:165:26
[INFO] [stderr]     |
[INFO] [stderr] 165 |         let mut counter: LARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stderr]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in this scope
[INFO] [stderr]    --> src/util.rs:166:18
[INFO] [stderr]     |
[INFO] [stderr] 166 |         unsafe { QueryPerformanceCounter(&mut counter as *mut _ as *mut LARGE_INTEGER) };
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:57:57
[INFO] [stderr]    |
[INFO] [stderr] 57 |                 refcount = (&*(self.0 as *mut _ as *mut IUnknown)).Release();
[INFO] [stderr]    |                                                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/util.rs:166:73
[INFO] [stderr]     |
[INFO] [stderr] 166 |         unsafe { QueryPerformanceCounter(&mut counter as *mut _ as *mut LARGE_INTEGER) };
[INFO] [stderr]     |                                                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:65:27
[INFO] [stderr]    |
[INFO] [stderr] 65 | pub type Device = WeakPtr<ID3D12Device2>;
[INFO] [stderr]    |                -          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |                |
[INFO] [stderr]    |                help: you might be missing a type parameter: `<ID3D12Device2>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:66:33
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub type CommandQueue = WeakPtr<ID3D12CommandQueue>;
[INFO] [stderr]    | --------------------------------^^^^^^^^^^^^^^^^^^-- similarly named type alias `CommandQueue` defined here
[INFO] [stderr]    |
[INFO] [stderr] help: a type alias with a similar name exists
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub type CommandQueue = WeakPtr<CommandQueue>;
[INFO] [stderr]    |                                 ^^^^^^^^^^^^
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub type CommandQueue<ID3D12CommandQueue> = WeakPtr<ID3D12CommandQueue>;
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:43:17
[INFO] [stderr]    |
[INFO] [stderr] 43 |     pub window: HWND,
[INFO] [stderr]    |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12GraphicsCommandList1` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:67:40
[INFO] [stderr]    |
[INFO] [stderr] 67 | pub type GraphicsCommandList = WeakPtr<ID3D12GraphicsCommandList1>;
[INFO] [stderr]    | ---------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^-- similarly named type alias `GraphicsCommandList` defined here
[INFO] [stderr]    |
[INFO] [stderr] help: a type alias with a similar name exists
[INFO] [stderr]    |
[INFO] [stderr] 67 | pub type GraphicsCommandList = WeakPtr<GraphicsCommandList>;
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 67 | pub type GraphicsCommandList<ID3D12GraphicsCommandList1> = WeakPtr<ID3D12GraphicsCommandList1>;
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:45:25
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub struct Context {
[INFO] [stderr]    |                   - help: you might be missing a type parameter: `<ID3D12CommandAllocator>`
[INFO] [stderr] ...
[INFO] [stderr] 45 |     cmdallocs: [WeakPtr<ID3D12CommandAllocator>; 2],
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:68:29
[INFO] [stderr]    |
[INFO] [stderr] 68 | pub type Resource = WeakPtr<ID3D12Resource>;
[INFO] [stderr]    |                  -          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |                  |
[INFO] [stderr]    |                  help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain3` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:46:24
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub struct Context {
[INFO] [stderr]    |                   - help: you might be missing a type parameter: `<IDXGISwapChain3>`
[INFO] [stderr] ...
[INFO] [stderr] 46 |     swapchain: WeakPtr<IDXGISwapChain3>,
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Fence` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:53:26
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub struct Context {
[INFO] [stderr]    |                   - help: you might be missing a type parameter: `<ID3D12Fence>`
[INFO] [stderr] ...
[INFO] [stderr] 53 |     frame_fence: WeakPtr<ID3D12Fence>,
[INFO] [stderr]    |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:75:23
[INFO] [stderr]    |
[INFO] [stderr] 70 | impl Device {
[INFO] [stderr]    |     - help: you might be missing a type parameter: `<D3D12_SHADER_RESOURCE_VIEW_DESC>`
[INFO] [stderr] ...
[INFO] [stderr] 75 |         desc: Option<&D3D12_SHADER_RESOURCE_VIEW_DESC>,
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:54:24
[INFO] [stderr]    |
[INFO] [stderr] 54 |     frame_fence_event: HANDLE,
[INFO] [stderr]    |                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:76:18
[INFO] [stderr]    |
[INFO] [stderr] 75 | struct ResourceState {
[INFO] [stderr]    |                     - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] 76 |     ptr: WeakPtr<ID3D12Resource>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:76:26
[INFO] [stderr]    |
[INFO] [stderr] 76 |         dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:77:12
[INFO] [stderr]    |
[INFO] [stderr] 77 |     state: D3D12_RESOURCE_STATES,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DXGI_FORMAT` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:78:13
[INFO] [stderr]    |
[INFO] [stderr] 78 |     format: DXGI_FORMAT,
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_VIEWPORT` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:92:49
[INFO] [stderr]    |
[INFO] [stderr] 92 |     pub fn rs_set_viewports(&self, viewports: &[D3D12_VIEWPORT]) {
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:76:18
[INFO] [stderr]    |
[INFO] [stderr] 76 |     ptr: WeakPtr<ID3D12Resource>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RECT` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:97:49
[INFO] [stderr]    |
[INFO] [stderr] 97 |     pub fn rs_set_scissor_rects(&self, rects: &[D3D12_RECT]) {
[INFO] [stderr]    |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:83:18
[INFO] [stderr]    |
[INFO] [stderr] 82 | struct PipelineState {
[INFO] [stderr]    | -------------------- similarly named struct `PipelineState` defined here
[INFO] [stderr] 83 |     pso: WeakPtr<ID3D12PipelineState>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: a struct with a similar name exists
[INFO] [stderr]    |
[INFO] [stderr] 83 |     pso: WeakPtr<PipelineState>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 82 | struct PipelineState<ID3D12PipelineState> {
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:104:35
[INFO] [stderr]     |
[INFO] [stderr] 104 |         render_target_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:84:25
[INFO] [stderr]    |
[INFO] [stderr] 82 | struct PipelineState {
[INFO] [stderr]    |                     - help: you might be missing a type parameter: `<ID3D12RootSignature>`
[INFO] [stderr] 83 |     pso: WeakPtr<ID3D12PipelineState>,
[INFO] [stderr] 84 |     rsignature: WeakPtr<ID3D12RootSignature>,
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:105:42
[INFO] [stderr]     |
[INFO] [stderr] 90  | impl GraphicsCommandList {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<D3D12_CPU_DESCRIPTOR_HANDLE>`
[INFO] [stderr] ...
[INFO] [stderr] 105 |         depth_stencil_descriptor: Option<D3D12_CPU_DESCRIPTOR_HANDLE>,
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:83:18
[INFO] [stderr]    |
[INFO] [stderr] 82 | struct PipelineState {
[INFO] [stderr]    | -------------------- similarly named struct `PipelineState` defined here
[INFO] [stderr] 83 |     pso: WeakPtr<ID3D12PipelineState>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `PipelineState`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:118:29
[INFO] [stderr]     |
[INFO] [stderr] 118 |         render_target_view: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:84:25
[INFO] [stderr]    |
[INFO] [stderr] 84 |     rsignature: WeakPtr<ID3D12RootSignature>,
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RECT` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:120:18
[INFO] [stderr]     |
[INFO] [stderr] 120 |         rects: &[D3D12_RECT],
[INFO] [stderr]     |                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope
[INFO] [stderr]   --> src/d3d12/graphics.rs:99:19
[INFO] [stderr]    |
[INFO] [stderr] 98 | struct DescriptorHeap {
[INFO] [stderr]    | --------------------- similarly named struct `DescriptorHeap` defined here
[INFO] [stderr] 99 |     heap: WeakPtr<ID3D12DescriptorHeap>,
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: a struct with a similar name exists
[INFO] [stderr]    |
[INFO] [stderr] 99 |     heap: WeakPtr<DescriptorHeap>,
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 98 | struct DescriptorHeap<ID3D12DescriptorHeap> {
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_VERTEX_BUFFER_VIEW` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:158:67
[INFO] [stderr]     |
[INFO] [stderr] 158 |     pub fn ia_set_vertex_buffers(&self, start_slot: u32, views: &[D3D12_VERTEX_BUFFER_VIEW]) {
[INFO] [stderr]     |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:100:15
[INFO] [stderr]     |
[INFO] [stderr] 100 |     cpu_base: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:101:15
[INFO] [stderr]     |
[INFO] [stderr] 101 |     gpu_base: D3D12_GPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_PRIMITIVE_TOPOLOGY` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:166:65
[INFO] [stderr]     |
[INFO] [stderr] 166 |     pub fn ia_set_primitive_topology(&self, primitive_topology: D3D12_PRIMITIVE_TOPOLOGY) {
[INFO] [stderr]     |                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:108:19
[INFO] [stderr]     |
[INFO] [stderr] 107 | struct GpuMemoryHeap {
[INFO] [stderr]     |                     - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] 108 |     heap: WeakPtr<ID3D12Resource>,
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:192:26
[INFO] [stderr]     |
[INFO] [stderr] 192 |         buffer_location: D3D12_GPU_VIRTUAL_ADDRESS,
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:201:26
[INFO] [stderr]     |
[INFO] [stderr] 201 |         base_descriptor: D3D12_GPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:242:28
[INFO] [stderr]     |
[INFO] [stderr] 242 |     pub fn close(&self) -> HRESULT {
[INFO] [stderr]     |                            ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:251:46
[INFO] [stderr]     |
[INFO] [stderr] 251 |     pub fn get_gpu_virtual_address(&self) -> D3D12_GPU_VIRTUAL_ADDRESS {
[INFO] [stderr]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandList` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:258:63
[INFO] [stderr]     |
[INFO] [stderr] 258 |     pub fn execute_command_lists(&self, command_lists: &[*mut ID3D12CommandList]) {
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]   --> src/main.rs:29:24
[INFO] [stderr]    |
[INFO] [stderr] 29 |     vertex_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]   --> src/main.rs:30:23
[INFO] [stderr]    |
[INFO] [stderr] 30 |     index_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]   --> src/main.rs:31:27
[INFO] [stderr]    |
[INFO] [stderr] 31 |     transform_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope
[INFO] [stderr]   --> src/main.rs:44:18
[INFO] [stderr]    |
[INFO] [stderr] 44 |             &mut D3D12_GRAPHICS_PIPELINE_STATE_DESC {
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope
[INFO] [stderr]   --> src/main.rs:47:30
[INFO] [stderr]    |
[INFO] [stderr] 47 |                 RTVFormats: [DXGI_FORMAT_R8G8B8A8_UNORM, 0, 0, 0, 0, 0, 0, 0],
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope
[INFO] [stderr]   --> src/main.rs:55:29
[INFO] [stderr]    |
[INFO] [stderr] 55 |                 SampleDesc: DXGI_SAMPLE_DESC {
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE` in this scope
[INFO] [stderr]   --> src/main.rs:59:40
[INFO] [stderr]    |
[INFO] [stderr] 59 |                 PrimitiveTopologyType: D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]   --> src/main.rs:94:34
[INFO] [stderr]    |
[INFO] [stderr] 94 |     ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope
[INFO] [stderr]    --> src/main.rs:136:55
[INFO] [stderr]     |
[INFO] [stderr] 136 |         let buffer_srv = d3d.allocate_cpu_descriptors(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, 1);
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope
[INFO] [stderr]    --> src/main.rs:140:19
[INFO] [stderr]     |
[INFO] [stderr] 140 |             Some(&D3D12_SHADER_RESOURCE_VIEW_DESC {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope
[INFO] [stderr]    --> src/main.rs:141:25
[INFO] [stderr]     |
[INFO] [stderr] 141 |                 Format: DXGI_FORMAT_UNKNOWN,
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_SRV_DIMENSION_BUFFER` in this scope
[INFO] [stderr]    --> src/main.rs:142:32
[INFO] [stderr]     |
[INFO] [stderr] 142 |                 ViewDimension: D3D12_SRV_DIMENSION_BUFFER,
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC_u` in this scope
[INFO] [stderr]    --> src/main.rs:145:32
[INFO] [stderr]     |
[INFO] [stderr] 145 |                     let mut u: D3D12_SHADER_RESOURCE_VIEW_DESC_u = mem::zeroed();
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/main.rs:159:34
[INFO] [stderr]     |
[INFO] [stderr] 159 |     ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:110:15
[INFO] [stderr]     |
[INFO] [stderr] 110 |     gpu_base: D3D12_GPU_VIRTUAL_ADDRESS,
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope
[INFO] [stderr]    --> src/main.rs:168:55
[INFO] [stderr]     |
[INFO] [stderr] 168 |         let buffer_srv = d3d.allocate_cpu_descriptors(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, 1);
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope
[INFO] [stderr]    --> src/main.rs:172:19
[INFO] [stderr]     |
[INFO] [stderr] 172 |             Some(&D3D12_SHADER_RESOURCE_VIEW_DESC {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:126:23
[INFO] [stderr]     |
[INFO] [stderr] 126 |         state_before: D3D12_RESOURCE_STATES,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R32_UINT` in this scope
[INFO] [stderr]    --> src/main.rs:173:25
[INFO] [stderr]     |
[INFO] [stderr] 173 |                 Format: DXGI_FORMAT_R32_UINT,
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_SRV_DIMENSION_BUFFER` in this scope
[INFO] [stderr]    --> src/main.rs:174:32
[INFO] [stderr]     |
[INFO] [stderr] 174 |                 ViewDimension: D3D12_SRV_DIMENSION_BUFFER,
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:127:22
[INFO] [stderr]     |
[INFO] [stderr] 127 |         state_after: D3D12_RESOURCE_STATES,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC_u` in this scope
[INFO] [stderr]    --> src/main.rs:177:32
[INFO] [stderr]     |
[INFO] [stderr] 177 |                     let mut u: D3D12_SHADER_RESOURCE_VIEW_DESC_u = mem::zeroed();
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:128:10
[INFO] [stderr]     |
[INFO] [stderr] 128 |     ) -> D3D12_RESOURCE_BARRIER {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/main.rs:190:34
[INFO] [stderr]     |
[INFO] [stderr] 190 |     ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope
[INFO] [stderr]    --> src/main.rs:202:55
[INFO] [stderr]     |
[INFO] [stderr] 202 |         let buffer_srv = d3d.allocate_cpu_descriptors(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, 1);
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:129:26
[INFO] [stderr]     |
[INFO] [stderr] 129 |         let mut barrier: D3D12_RESOURCE_BARRIER = unsafe { mem::zeroed() };
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope
[INFO] [stderr]    --> src/main.rs:206:19
[INFO] [stderr]     |
[INFO] [stderr] 206 |             Some(&D3D12_SHADER_RESOURCE_VIEW_DESC {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_TYPE_TRANSITION` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:130:24
[INFO] [stderr]     |
[INFO] [stderr] 130 |         barrier.Type = D3D12_RESOURCE_BARRIER_TYPE_TRANSITION;
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope
[INFO] [stderr]    --> src/main.rs:207:25
[INFO] [stderr]     |
[INFO] [stderr] 207 |                 Format: DXGI_FORMAT_UNKNOWN,
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_SRV_DIMENSION_BUFFER` in this scope
[INFO] [stderr]    --> src/main.rs:208:32
[INFO] [stderr]     |
[INFO] [stderr] 208 |                 ViewDimension: D3D12_SRV_DIMENSION_BUFFER,
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:131:25
[INFO] [stderr]     |
[INFO] [stderr] 131 |         barrier.Flags = D3D12_RESOURCE_FLAG_NONE;
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC_u` in this scope
[INFO] [stderr]    --> src/main.rs:211:32
[INFO] [stderr]     |
[INFO] [stderr] 211 |                     let mut u: D3D12_SHADER_RESOURCE_VIEW_DESC_u = mem::zeroed();
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:136:34
[INFO] [stderr]     |
[INFO] [stderr] 136 |         transition.Subresource = D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES;
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_HEAP_TYPE_DEFAULT` in this scope
[INFO] [stderr]    --> src/main.rs:229:13
[INFO] [stderr]     |
[INFO] [stderr] 229 |             D3D12_HEAP_TYPE_DEFAULT,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_HEAP_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/main.rs:230:13
[INFO] [stderr]     |
[INFO] [stderr] 230 |             D3D12_HEAP_FLAG_NONE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RASTERIZER_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:142:25
[INFO] [stderr]     |
[INFO] [stderr] 142 |     pub fn default() -> D3D12_RASTERIZER_DESC {
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_COPY_DEST` in this scope
[INFO] [stderr]    --> src/main.rs:232:13
[INFO] [stderr]     |
[INFO] [stderr] 232 |             D3D12_RESOURCE_STATE_COPY_DEST,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE` in this scope
[INFO] [stderr]    --> src/main.rs:247:13
[INFO] [stderr]     |
[INFO] [stderr] 247 |             D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RASTERIZER_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:143:9
[INFO] [stderr]     |
[INFO] [stderr] 143 |         D3D12_RASTERIZER_DESC {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_VIEWPORT` in this scope
[INFO] [stderr]    --> src/main.rs:258:36
[INFO] [stderr]     |
[INFO] [stderr] 258 |         cmdlist.rs_set_viewports(&[D3D12_VIEWPORT {
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_FILL_MODE_SOLID` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:144:23
[INFO] [stderr]     |
[INFO] [stderr] 144 |             FillMode: D3D12_FILL_MODE_SOLID,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RECT` in this scope
[INFO] [stderr]    --> src/main.rs:266:40
[INFO] [stderr]     |
[INFO] [stderr] 266 |         cmdlist.rs_set_scissor_rects(&[D3D12_RECT {
[INFO] [stderr]     |                                        ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_RENDER_TARGET` in this scope
[INFO] [stderr]    --> src/main.rs:272:49
[INFO] [stderr]     |
[INFO] [stderr] 272 |         d3d.cmd_transition_barrier(back_buffer, D3D12_RESOURCE_STATE_RENDER_TARGET);
[INFO] [stderr]     |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_CULL_MODE_BACK` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:145:23
[INFO] [stderr]     |
[INFO] [stderr] 145 |             CullMode: D3D12_CULL_MODE_BACK,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST` in this scope
[INFO] [stderr]    --> src/main.rs:275:43
[INFO] [stderr]     |
[INFO] [stderr] 275 |         cmdlist.ia_set_primitive_topology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope
[INFO] [stderr]    --> src/main.rs:291:49
[INFO] [stderr]     |
[INFO] [stderr] 291 |         d3d.cmd_transition_barrier(back_buffer, D3D12_RESOURCE_STATE_PRESENT);
[INFO] [stderr]     |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_DEPTH_BIAS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:147:24
[INFO] [stderr]     |
[INFO] [stderr] 147 |             DepthBias: D3D12_DEFAULT_DEPTH_BIAS as i32,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_DEPTH_BIAS_CLAMP` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:148:29
[INFO] [stderr]     |
[INFO] [stderr] 148 |             DepthBiasClamp: D3D12_DEFAULT_DEPTH_BIAS_CLAMP,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:149:35
[INFO] [stderr]     |
[INFO] [stderr] 149 |             SlopeScaledDepthBias: D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS,
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:154:33
[INFO] [stderr]     |
[INFO] [stderr] 154 |             ConservativeRaster: D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF,
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_BLEND_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:160:25
[INFO] [stderr]     |
[INFO] [stderr] 160 |     pub fn default() -> D3D12_BLEND_DESC {
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RENDER_TARGET_BLEND_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:161:29
[INFO] [stderr]     |
[INFO] [stderr] 161 |         let rt_blend_desc = D3D12_RENDER_TARGET_BLEND_DESC {
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_ONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:164:23
[INFO] [stderr]     |
[INFO] [stderr] 164 |             SrcBlend: D3D12_BLEND_ONE,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_ZERO` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:165:24
[INFO] [stderr]     |
[INFO] [stderr] 165 |             DestBlend: D3D12_BLEND_ZERO,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_OP_ADD` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:166:22
[INFO] [stderr]     |
[INFO] [stderr] 166 |             BlendOp: D3D12_BLEND_OP_ADD,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_ONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:167:28
[INFO] [stderr]     |
[INFO] [stderr] 167 |             SrcBlendAlpha: D3D12_BLEND_ONE,
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_ZERO` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:168:29
[INFO] [stderr]     |
[INFO] [stderr] 168 |             DestBlendAlpha: D3D12_BLEND_ZERO,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_OP_ADD` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:169:27
[INFO] [stderr]     |
[INFO] [stderr] 169 |             BlendOpAlpha: D3D12_BLEND_OP_ADD,
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_LOGIC_OP_NOOP` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:170:22
[INFO] [stderr]     |
[INFO] [stderr] 170 |             LogicOp: D3D12_LOGIC_OP_NOOP,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_BLEND_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:173:9
[INFO] [stderr]     |
[INFO] [stderr] 173 |         D3D12_BLEND_DESC {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:191:33
[INFO] [stderr]     |
[INFO] [stderr] 191 |     pub fn buffer(size: u64) -> D3D12_RESOURCE_DESC {
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:192:9
[INFO] [stderr]     |
[INFO] [stderr] 192 |         D3D12_RESOURCE_DESC {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_DIMENSION_BUFFER` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:193:24
[INFO] [stderr]     |
[INFO] [stderr] 193 |             Dimension: D3D12_RESOURCE_DIMENSION_BUFFER,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:199:21
[INFO] [stderr]     |
[INFO] [stderr] 199 |             Format: DXGI_FORMAT_UNKNOWN,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:200:25
[INFO] [stderr]     |
[INFO] [stderr] 200 |             SampleDesc: DXGI_SAMPLE_DESC {
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_TEXTURE_LAYOUT_ROW_MAJOR` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:204:21
[INFO] [stderr]     |
[INFO] [stderr] 204 |             Layout: D3D12_TEXTURE_LAYOUT_ROW_MAJOR,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:205:20
[INFO] [stderr]     |
[INFO] [stderr] 205 |             Flags: D3D12_RESOURCE_FLAG_NONE,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_DEPTH_STENCIL_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:211:25
[INFO] [stderr]     |
[INFO] [stderr] 211 |     pub fn default() -> D3D12_DEPTH_STENCIL_DESC {
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_DEPTH_STENCILOP_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:212:26
[INFO] [stderr]     |
[INFO] [stderr] 212 |         let ds_op_desc = D3D12_DEPTH_STENCILOP_DESC {
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_STENCIL_OP_KEEP` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:213:28
[INFO] [stderr]     |
[INFO] [stderr] 213 |             StencilFailOp: D3D12_STENCIL_OP_KEEP,
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_STENCIL_OP_KEEP` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:214:33
[INFO] [stderr]     |
[INFO] [stderr] 214 |             StencilDepthFailOp: D3D12_STENCIL_OP_KEEP,
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_STENCIL_OP_KEEP` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:215:28
[INFO] [stderr]     |
[INFO] [stderr] 215 |             StencilPassOp: D3D12_STENCIL_OP_KEEP,
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COMPARISON_FUNC_ALWAYS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:216:26
[INFO] [stderr]     |
[INFO] [stderr] 216 |             StencilFunc: D3D12_COMPARISON_FUNC_ALWAYS,
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_DEPTH_STENCIL_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:218:9
[INFO] [stderr]     |
[INFO] [stderr] 218 |         D3D12_DEPTH_STENCIL_DESC {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DEPTH_WRITE_MASK_ALL` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:220:29
[INFO] [stderr]     |
[INFO] [stderr] 220 |             DepthWriteMask: D3D12_DEPTH_WRITE_MASK_ALL,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COMPARISON_FUNC_LESS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:221:24
[INFO] [stderr]     |
[INFO] [stderr] 221 |             DepthFunc: D3D12_COMPARISON_FUNC_LESS,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_STENCIL_READ_MASK` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:223:30
[INFO] [stderr]     |
[INFO] [stderr] 223 |             StencilReadMask: D3D12_DEFAULT_STENCIL_READ_MASK as u8,
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_STENCIL_WRITE_MASK` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:224:31
[INFO] [stderr]     |
[INFO] [stderr] 224 |             StencilWriteMask: D3D12_DEFAULT_STENCIL_WRITE_MASK as u8,
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:232:27
[INFO] [stderr]     |
[INFO] [stderr] 232 |     pub fn new(heap_type: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES {
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_PROPERTIES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:232:47
[INFO] [stderr]     |
[INFO] [stderr] 232 |     pub fn new(heap_type: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES {
[INFO] [stderr]     |                                               ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_HEAP_PROPERTIES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:233:9
[INFO] [stderr]     |
[INFO] [stderr] 233 |         D3D12_HEAP_PROPERTIES {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_CPU_PAGE_PROPERTY_UNKNOWN` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:235:30
[INFO] [stderr]     |
[INFO] [stderr] 235 |             CPUPageProperty: D3D12_CPU_PAGE_PROPERTY_UNKNOWN,
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_MEMORY_POOL_UNKNOWN` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:236:35
[INFO] [stderr]     |
[INFO] [stderr] 236 |             MemoryPoolPreference: D3D12_MEMORY_POOL_UNKNOWN,
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DXGI_FORMAT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:244:40
[INFO] [stderr]     |
[INFO] [stderr] 244 |     pub fn new(name: &CString, format: DXGI_FORMAT, offset: u32) -> D3D12_INPUT_ELEMENT_DESC {
[INFO] [stderr]     |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_INPUT_ELEMENT_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:244:69
[INFO] [stderr]     |
[INFO] [stderr] 244 |     pub fn new(name: &CString, format: DXGI_FORMAT, offset: u32) -> D3D12_INPUT_ELEMENT_DESC {
[INFO] [stderr]     |                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_INPUT_ELEMENT_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:245:9
[INFO] [stderr]     |
[INFO] [stderr] 245 |         D3D12_INPUT_ELEMENT_DESC {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:251:29
[INFO] [stderr]     |
[INFO] [stderr] 251 |             InputSlotClass: D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_COMMON` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:262:20
[INFO] [stderr]     |
[INFO] [stderr] 262 |             state: D3D12_RESOURCE_STATE_COMMON,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:263:21
[INFO] [stderr]     |
[INFO] [stderr] 263 |             format: DXGI_FORMAT_UNKNOWN,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:295:27
[INFO] [stderr]     |
[INFO] [stderr] 278 | impl ResourcePool {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] ...
[INFO] [stderr] 295 |         resource: WeakPtr<ID3D12Resource>,
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:296:24
[INFO] [stderr]     |
[INFO] [stderr] 296 |         initial_state: D3D12_RESOURCE_STATES,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DXGI_FORMAT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:297:17
[INFO] [stderr]     |
[INFO] [stderr] 297 |         format: DXGI_FORMAT,
[INFO] [stderr]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:342:22
[INFO] [stderr]     |
[INFO] [stderr] 82  | struct PipelineState {
[INFO] [stderr]     | -------------------- similarly named struct `PipelineState` defined here
[INFO] [stderr] ...
[INFO] [stderr] 342 |         pso: WeakPtr<ID3D12PipelineState>,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: a struct with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 342 |         pso: WeakPtr<PipelineState>,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]     |
[INFO] [stderr] 322 | impl<ID3D12PipelineState> PipelinePool {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:343:29
[INFO] [stderr]     |
[INFO] [stderr] 322 | impl PipelinePool {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<ID3D12RootSignature>`
[INFO] [stderr] ...
[INFO] [stderr] 343 |         rsignature: WeakPtr<ID3D12RootSignature>,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:368:24
[INFO] [stderr]     |
[INFO] [stderr] 368 |     pub fn new(window: HWND) -> Self {
[INFO] [stderr]     |                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory4` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:371:36
[INFO] [stderr]     |
[INFO] [stderr] 371 |             let mut rfactory: *mut IDXGIFactory4 = ptr::null_mut();
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDXGIFactory2` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:372:18
[INFO] [stderr]     |
[INFO] [stderr] 372 |             vhr!(CreateDXGIFactory2(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_CREATE_FACTORY_DEBUG` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:373:17
[INFO] [stderr]     |
[INFO] [stderr] 373 |                 DXGI_CREATE_FACTORY_DEBUG,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Debug` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:383:32
[INFO] [stderr]     |
[INFO] [stderr] 383 |             let mut rdbg: *mut ID3D12Debug = ptr::null_mut();
[INFO] [stderr]     |                                ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12GetDebugInterface` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:384:13
[INFO] [stderr]     |
[INFO] [stderr] 384 |             D3D12GetDebugInterface(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Debug1` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:392:37
[INFO] [stderr]     |
[INFO] [stderr] 392 |                 let mut rdbg1: *mut ID3D12Debug1 = ptr::null_mut();
[INFO] [stderr]     |                                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:408:35
[INFO] [stderr]     |
[INFO] [stderr] 408 |             let mut rdevice: *mut ID3D12Device2 = ptr::null_mut();
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12CreateDevice` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:409:18
[INFO] [stderr]     |
[INFO] [stderr] 409 |             vhr!(D3D12CreateDevice(
[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/d3d12/graphics.rs:411:17
[INFO] [stderr]     |
[INFO] [stderr] 411 |                 D3D_FEATURE_LEVEL_11_1,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:420:37
[INFO] [stderr]     |
[INFO] [stderr] 420 |             let mut rcmdqueue: *mut ID3D12CommandQueue = ptr::null_mut();
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `CommandQueue`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/d3d12/wrappers.rs:66:1
[INFO] [stderr]     |
[INFO] [stderr] 66  | pub type CommandQueue = WeakPtr<ID3D12CommandQueue>;
[INFO] [stderr]     | ---------------------------------------------------- similarly named type alias `CommandQueue` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_COMMAND_QUEUE_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:422:18
[INFO] [stderr]     |
[INFO] [stderr] 422 |                 &D3D12_COMMAND_QUEUE_DESC {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COMMAND_QUEUE_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:423:28
[INFO] [stderr]     |
[INFO] [stderr] 423 |                     Flags: D3D12_COMMAND_QUEUE_FLAG_NONE,
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COMMAND_QUEUE_PRIORITY_NORMAL` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:424:31
[INFO] [stderr]     |
[INFO] [stderr] 424 |                     Priority: D3D12_COMMAND_QUEUE_PRIORITY_NORMAL as i32,
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:425:27
[INFO] [stderr]     |
[INFO] [stderr] 425 |                     Type: D3D12_COMMAND_LIST_TYPE_DIRECT,
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DXGI_SWAP_CHAIN_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:437:31
[INFO] [stderr]     |
[INFO] [stderr] 437 |                 let mut desc: DXGI_SWAP_CHAIN_DESC = unsafe { mem::zeroed() };
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:439:42
[INFO] [stderr]     |
[INFO] [stderr] 439 |                 desc.BufferDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_USAGE_RENDER_TARGET_OUTPUT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:440:36
[INFO] [stderr]     |
[INFO] [stderr] 440 |                 desc.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT;
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_FLIP_DISCARD` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:443:35
[INFO] [stderr]     |
[INFO] [stderr] 443 |                 desc.SwapEffect = DXGI_SWAP_EFFECT_FLIP_DISCARD;
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:446:43
[INFO] [stderr]     |
[INFO] [stderr] 446 |                 let mut rswapchain1: *mut IDXGISwapChain = ptr::null_mut();
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:448:57
[INFO] [stderr]     |
[INFO] [stderr] 448 |                     cmdqueue.as_raw() as *mut _ as *mut IUnknown,
[INFO] [stderr]     |                                                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain3` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:456:39
[INFO] [stderr]     |
[INFO] [stderr] 456 |             let mut rswapchain3: *mut IDXGISwapChain3 = ptr::null_mut();
[INFO] [stderr]     |                                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:467:39
[INFO] [stderr]     |
[INFO] [stderr] 467 |             let mut rcmdallocs: [*mut ID3D12CommandAllocator; 2] =
[INFO] [stderr]     |                                       ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:472:21
[INFO] [stderr]     |
[INFO] [stderr] 472 |                     D3D12_COMMAND_LIST_TYPE_DIRECT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_RTV` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:487:13
[INFO] [stderr]     |
[INFO] [stderr] 487 |             D3D12_DESCRIPTOR_HEAP_TYPE_RTV,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:488:13
[INFO] [stderr]     |
[INFO] [stderr] 488 |             D3D12_DESCRIPTOR_HEAP_FLAG_NONE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_DSV` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:493:13
[INFO] [stderr]     |
[INFO] [stderr] 493 |             D3D12_DESCRIPTOR_HEAP_TYPE_DSV,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:494:13
[INFO] [stderr]     |
[INFO] [stderr] 494 |             D3D12_DESCRIPTOR_HEAP_FLAG_NONE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:499:13
[INFO] [stderr]     |
[INFO] [stderr] 499 |             D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:500:13
[INFO] [stderr]     |
[INFO] [stderr] 500 |             D3D12_DESCRIPTOR_HEAP_FLAG_NONE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:506:17
[INFO] [stderr]     |
[INFO] [stderr] 506 |                 D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:507:17
[INFO] [stderr]     |
[INFO] [stderr] 507 |                 D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:512:17
[INFO] [stderr]     |
[INFO] [stderr] 512 |                 D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::Deref`
[INFO] [stderr]  --> src/d3d12/graphics.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::ops::Deref;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:513:17
[INFO] [stderr]     |
[INFO] [stderr] 513 |                 D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_HEAP_TYPE_UPLOAD` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:519:51
[INFO] [stderr]     |
[INFO] [stderr] 519 |             GpuMemoryHeap::new(device, 32 * 1024, D3D12_HEAP_TYPE_UPLOAD),
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_HEAP_TYPE_UPLOAD` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:520:51
[INFO] [stderr]     |
[INFO] [stderr] 520 |             GpuMemoryHeap::new(device, 32 * 1024, D3D12_HEAP_TYPE_UPLOAD),
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:527:37
[INFO] [stderr]     |
[INFO] [stderr] 527 |             let mut rbuffers: [*mut ID3D12Resource; 4] = [ptr::null_mut(); 4];
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:542:21
[INFO] [stderr]     |
[INFO] [stderr] 542 |                     D3D12_RESOURCE_STATE_PRESENT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:543:21
[INFO] [stderr]     |
[INFO] [stderr] 543 |                     DXGI_FORMAT_R8G8B8A8_UNORM,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:547:21
[INFO] [stderr]     |
[INFO] [stderr] 547 |                     D3D12_RESOURCE_STATE_PRESENT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:548:21
[INFO] [stderr]     |
[INFO] [stderr] 548 |                     DXGI_FORMAT_R8G8B8A8_UNORM,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:552:21
[INFO] [stderr]     |
[INFO] [stderr] 552 |                     D3D12_RESOURCE_STATE_PRESENT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:553:21
[INFO] [stderr]     |
[INFO] [stderr] 553 |                     DXGI_FORMAT_R8G8B8A8_UNORM,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:557:21
[INFO] [stderr]     |
[INFO] [stderr] 557 |                     D3D12_RESOURCE_STATE_PRESENT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:558:21
[INFO] [stderr]     |
[INFO] [stderr] 558 |                     DXGI_FORMAT_R8G8B8A8_UNORM,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12GraphicsCommandList1` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:564:36
[INFO] [stderr]     |
[INFO] [stderr] 564 |             let mut rcmdlist: *mut ID3D12GraphicsCommandList1 = ptr::null_mut();
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `GraphicsCommandList`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/d3d12/wrappers.rs:67:1
[INFO] [stderr]     |
[INFO] [stderr] 67  | pub type GraphicsCommandList = WeakPtr<ID3D12GraphicsCommandList1>;
[INFO] [stderr]     | ------------------------------------------------------------------- similarly named type alias `GraphicsCommandList` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:567:17
[INFO] [stderr]     |
[INFO] [stderr] 567 |                 D3D12_COMMAND_LIST_TYPE_DIRECT,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Fence` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:578:34
[INFO] [stderr]     |
[INFO] [stderr] 578 |             let mut rfence: *mut ID3D12Fence = ptr::null_mut();
[INFO] [stderr]     |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_FENCE_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:581:17
[INFO] [stderr]     |
[INFO] [stderr] 581 |                 D3D12_FENCE_FLAG_NONE,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventExA` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:589:22
[INFO] [stderr]     |
[INFO] [stderr] 589 |             unsafe { CreateEventExA(ptr::null_mut(), ptr::null(), 0, EVENT_ALL_ACCESS) };
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `EVENT_ALL_ACCESS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:589:70
[INFO] [stderr]     |
[INFO] [stderr] 589 |             unsafe { CreateEventExA(ptr::null_mut(), ptr::null(), 0, EVENT_ALL_ACCESS) };
[INFO] [stderr]     |                                                                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:611:31
[INFO] [stderr]     |
[INFO] [stderr] 611 |                 let mut rect: RECT = mem::zeroed();
[INFO] [stderr]     |                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:612:17
[INFO] [stderr]     |
[INFO] [stderr] 612 |                 GetClientRect(window, &mut rect as *mut RECT);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:612:57
[INFO] [stderr]     |
[INFO] [stderr] 612 |                 GetClientRect(window, &mut rect as *mut RECT);
[INFO] [stderr]     |                                                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:639:18
[INFO] [stderr]     |
[INFO] [stderr] 639 |         unsafe { CloseHandle(self.frame_fence_event) };
[INFO] [stderr]     |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:661:63
[INFO] [stderr]     |
[INFO] [stderr] 367 | impl Context {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] ...
[INFO] [stderr] 661 |     pub fn resource(&self, handle: ResourceHandle) -> WeakPtr<ID3D12Resource> {
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:680:20
[INFO] [stderr]     |
[INFO] [stderr] 680 |         heap_type: D3D12_HEAP_TYPE,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_FLAGS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:681:21
[INFO] [stderr]     |
[INFO] [stderr] 681 |         heap_flags: D3D12_HEAP_FLAGS,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:682:16
[INFO] [stderr]     |
[INFO] [stderr] 682 |         desc: &D3D12_RESOURCE_DESC,
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:683:24
[INFO] [stderr]     |
[INFO] [stderr] 683 |         initial_state: D3D12_RESOURCE_STATES,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CLEAR_VALUE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:684:30
[INFO] [stderr]     |
[INFO] [stderr] 367 | impl Context {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<D3D12_CLEAR_VALUE>`
[INFO] [stderr] ...
[INFO] [stderr] 684 |         clear_value: Option<&D3D12_CLEAR_VALUE>,
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:687:40
[INFO] [stderr]     |
[INFO] [stderr] 687 |             let mut resource_raw: *mut ID3D12Resource = ptr::null_mut();
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_COMMON` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:712:26
[INFO] [stderr]     |
[INFO] [stderr] 712 |         resource.state = D3D12_RESOURCE_STATE_COMMON;
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:713:27
[INFO] [stderr]     |
[INFO] [stderr] 713 |         resource.format = DXGI_FORMAT_UNKNOWN;
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:719:22
[INFO] [stderr]     |
[INFO] [stderr] 719 |         state_after: D3D12_RESOURCE_STATES,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:748:24
[INFO] [stderr]     |
[INFO] [stderr] 748 |         pso_desc: &mut D3D12_GRAPHICS_PIPELINE_STATE_DESC,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:755:23
[INFO] [stderr]     |
[INFO] [stderr] 755 |         pso_desc.VS = D3D12_SHADER_BYTECODE {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:759:23
[INFO] [stderr]     |
[INFO] [stderr] 759 |         pso_desc.PS = D3D12_SHADER_BYTECODE {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:772:42
[INFO] [stderr]     |
[INFO] [stderr] 772 |             let mut rsignature_raw: *mut ID3D12RootSignature = ptr::null_mut();
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:786:35
[INFO] [stderr]     |
[INFO] [stderr] 82  | struct PipelineState {
[INFO] [stderr]     | -------------------- similarly named struct `PipelineState` defined here
[INFO] [stderr] ...
[INFO] [stderr] 786 |             let mut pso_raw: *mut ID3D12PipelineState = ptr::null_mut();
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `PipelineState`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_COMPUTE_PIPELINE_STATE_DESC` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:802:24
[INFO] [stderr]     |
[INFO] [stderr] 802 |         pso_desc: &mut D3D12_COMPUTE_PIPELINE_STATE_DESC,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:807:23
[INFO] [stderr]     |
[INFO] [stderr] 807 |         pso_desc.CS = D3D12_SHADER_BYTECODE {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:820:42
[INFO] [stderr]     |
[INFO] [stderr] 820 |             let mut rsignature_raw: *mut ID3D12RootSignature = ptr::null_mut();
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:834:35
[INFO] [stderr]     |
[INFO] [stderr] 82  | struct PipelineState {
[INFO] [stderr]     | -------------------- similarly named struct `PipelineState` defined here
[INFO] [stderr] ...
[INFO] [stderr] 834 |             let mut pso_raw: *mut ID3D12PipelineState = ptr::null_mut();
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `PipelineState`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_TYPE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:870:20
[INFO] [stderr]     |
[INFO] [stderr] 870 |         heap_type: D3D12_DESCRIPTOR_HEAP_TYPE,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:872:10
[INFO] [stderr]     |
[INFO] [stderr] 872 |     ) -> D3D12_CPU_DESCRIPTOR_HANDLE {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:881:17
[INFO] [stderr]     |
[INFO] [stderr] 881 |                 D3D12_CPU_DESCRIPTOR_HANDLE { ptr: 0 }
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:889:11
[INFO] [stderr]     |
[INFO] [stderr] 889 |     ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:889:40
[INFO] [stderr]     |
[INFO] [stderr] 889 |     ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:896:24
[INFO] [stderr]     |
[INFO] [stderr] 896 |     ) -> (*mut c_void, D3D12_GPU_VIRTUAL_ADDRESS) {
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:916:32
[INFO] [stderr]     |
[INFO] [stderr] 367 | impl Context {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] ...
[INFO] [stderr] 916 |     ) -> (*mut c_void, WeakPtr<ID3D12Resource>, u64) {
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:932:23
[INFO] [stderr]     |
[INFO] [stderr] 932 |         src_cpu_base: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:933:10
[INFO] [stderr]     |
[INFO] [stderr] 933 |     ) -> D3D12_GPU_DESCRIPTOR_HANDLE {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:940:17
[INFO] [stderr]     |
[INFO] [stderr] 940 |                 D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:966:17
[INFO] [stderr]     |
[INFO] [stderr] 966 |                 WaitForSingleObject(self.frame_fence_event, INFINITE);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `INFINITE` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:966:61
[INFO] [stderr]     |
[INFO] [stderr] 966 |                 WaitForSingleObject(self.frame_fence_event, INFINITE);
[INFO] [stderr]     |                                                             ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope
[INFO] [stderr]    --> src/d3d12/graphics.rs:985:34
[INFO] [stderr]     |
[INFO] [stderr] 98  | struct DescriptorHeap {
[INFO] [stderr]     | --------------------- similarly named struct `DescriptorHeap` defined here
[INFO] [stderr] ...
[INFO] [stderr] 985 |                     as *mut *mut ID3D12DescriptorHeap,
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1002:13
[INFO] [stderr]      |
[INFO] [stderr] 1002 |             WaitForSingleObject(self.frame_fence_event, INFINITE);
[INFO] [stderr]      |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `INFINITE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1002:57
[INFO] [stderr]      |
[INFO] [stderr] 1002 |             WaitForSingleObject(self.frame_fence_event, INFINITE);
[INFO] [stderr]      |                                                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1009:51
[INFO] [stderr]      |
[INFO] [stderr] 1009 |     pub fn back_buffer(&self) -> (ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]      |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1011:22
[INFO] [stderr]      |
[INFO] [stderr] 1011 |         let handle = D3D12_CPU_DESCRIPTOR_HANDLE {
[INFO] [stderr]      |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1020:25
[INFO] [stderr]      |
[INFO] [stderr] 1018 | impl DescriptorHeap {
[INFO] [stderr]      |     - help: you might be missing a type parameter: `<ID3D12Device2>`
[INFO] [stderr] 1019 |     fn new(
[INFO] [stderr] 1020 |         device: WeakPtr<ID3D12Device2>,
[INFO] [stderr]      |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_TYPE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1022:16
[INFO] [stderr]      |
[INFO] [stderr] 1022 |         htype: D3D12_DESCRIPTOR_HEAP_TYPE,
[INFO] [stderr]      |                ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_FLAGS` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1023:16
[INFO] [stderr]      |
[INFO] [stderr] 1023 |         flags: D3D12_DESCRIPTOR_HEAP_FLAGS,
[INFO] [stderr]      |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1026:33
[INFO] [stderr]      |
[INFO] [stderr] 98   | struct DescriptorHeap {
[INFO] [stderr]      | --------------------- similarly named struct `DescriptorHeap` defined here
[INFO] [stderr] ...
[INFO] [stderr] 1026 |             let mut rheap: *mut ID3D12DescriptorHeap = ptr::null_mut();
[INFO] [stderr]      |                                 ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_DESCRIPTOR_HEAP_DESC` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1028:18
[INFO] [stderr]      |
[INFO] [stderr] 1028 |                 &D3D12_DESCRIPTOR_HEAP_DESC {
[INFO] [stderr]      |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1042:29
[INFO] [stderr]      |
[INFO] [stderr] 1042 |                 if flags == D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE {
[INFO] [stderr]      |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1045:21
[INFO] [stderr]      |
[INFO] [stderr] 1045 |                     D3D12_GPU_DESCRIPTOR_HANDLE { ptr: 0 }
[INFO] [stderr]      |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1059:57
[INFO] [stderr]      |
[INFO] [stderr] 1059 |     fn allocate_cpu_descriptors(&mut self, num: u32) -> D3D12_CPU_DESCRIPTOR_HANDLE {
[INFO] [stderr]      |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1064:22
[INFO] [stderr]      |
[INFO] [stderr] 1064 |         let handle = D3D12_CPU_DESCRIPTOR_HANDLE {
[INFO] [stderr]      |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1075:11
[INFO] [stderr]      |
[INFO] [stderr] 1075 |     ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]      |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1075:40
[INFO] [stderr]      |
[INFO] [stderr] 1075 |     ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]      |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1080:26
[INFO] [stderr]      |
[INFO] [stderr] 1080 |         let cpu_handle = D3D12_CPU_DESCRIPTOR_HANDLE {
[INFO] [stderr]      |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1083:26
[INFO] [stderr]      |
[INFO] [stderr] 1083 |         let gpu_handle = D3D12_GPU_DESCRIPTOR_HANDLE {
[INFO] [stderr]      |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1092:39
[INFO] [stderr]      |
[INFO] [stderr] 1092 | fn calc_graphics_pipeline_hash(desc: &D3D12_GRAPHICS_PIPELINE_STATE_DESC) -> u64 {
[INFO] [stderr]      |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_COMPUTE_PIPELINE_STATE_DESC` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1175:38
[INFO] [stderr]      |
[INFO] [stderr] 1175 | fn calc_compute_pipeline_hash(desc: &D3D12_COMPUTE_PIPELINE_STATE_DESC) -> u64 {
[INFO] [stderr]      |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1184:28
[INFO] [stderr]      |
[INFO] [stderr] 1183 | impl GpuMemoryHeap {
[INFO] [stderr]      |     - help: you might be missing a type parameter: `<ID3D12Device2>`
[INFO] [stderr] 1184 |     fn new(device: WeakPtr<ID3D12Device2>, capacity: u32, heap_type: D3D12_HEAP_TYPE) -> Self {
[INFO] [stderr]      |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1184:70
[INFO] [stderr]      |
[INFO] [stderr] 1184 |     fn new(device: WeakPtr<ID3D12Device2>, capacity: u32, heap_type: D3D12_HEAP_TYPE) -> Self {
[INFO] [stderr]      |                                                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_HEAP_TYPE_UPLOAD` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1186:30
[INFO] [stderr]      |
[INFO] [stderr] 1186 |         assert!(heap_type == D3D12_HEAP_TYPE_UPLOAD);
[INFO] [stderr]      |                              ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1189:36
[INFO] [stderr]      |
[INFO] [stderr] 1189 |             let mut heap_raw: *mut ID3D12Resource = ptr::null_mut();
[INFO] [stderr]      |                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_HEAP_FLAG_NONE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1192:17
[INFO] [stderr]      |
[INFO] [stderr] 1192 |                 D3D12_HEAP_FLAG_NONE,
[INFO] [stderr]      |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_GENERIC_READ` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1194:17
[INFO] [stderr]      |
[INFO] [stderr] 1194 |                 D3D12_RESOURCE_STATE_GENERIC_READ,
[INFO] [stderr]      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RANGE` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1205:14
[INFO] [stderr]      |
[INFO] [stderr] 1205 |             &D3D12_RANGE { Begin: 0, End: 0 },
[INFO] [stderr]      |              ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope
[INFO] [stderr]     --> src/d3d12/graphics.rs:1220:60
[INFO] [stderr]      |
[INFO] [stderr] 1220 |     fn allocate(&mut self, mut size: u32) -> (*mut c_void, D3D12_GPU_VIRTUAL_ADDRESS) {
[INFO] [stderr]      |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:57:57
[INFO] [stderr]    |
[INFO] [stderr] 57 |                 refcount = (&*(self.0 as *mut _ as *mut IUnknown)).Release();
[INFO] [stderr]    |                                                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:65:27
[INFO] [stderr]    |
[INFO] [stderr] 65 | pub type Device = WeakPtr<ID3D12Device2>;
[INFO] [stderr]    |                -          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |                |
[INFO] [stderr]    |                help: you might be missing a type parameter: `<ID3D12Device2>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:66:33
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub type CommandQueue = WeakPtr<ID3D12CommandQueue>;
[INFO] [stderr]    | --------------------------------^^^^^^^^^^^^^^^^^^-- similarly named type alias `CommandQueue` defined here
[INFO] [stderr]    |
[INFO] [stderr] help: a type alias with a similar name exists
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub type CommandQueue = WeakPtr<CommandQueue>;
[INFO] [stderr]    |                                 ^^^^^^^^^^^^
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub type CommandQueue<ID3D12CommandQueue> = WeakPtr<ID3D12CommandQueue>;
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12GraphicsCommandList1` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:67:40
[INFO] [stderr]    |
[INFO] [stderr] 67 | pub type GraphicsCommandList = WeakPtr<ID3D12GraphicsCommandList1>;
[INFO] [stderr]    | ---------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^-- similarly named type alias `GraphicsCommandList` defined here
[INFO] [stderr]    |
[INFO] [stderr] help: a type alias with a similar name exists
[INFO] [stderr]    |
[INFO] [stderr] 67 | pub type GraphicsCommandList = WeakPtr<GraphicsCommandList>;
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 67 | pub type GraphicsCommandList<ID3D12GraphicsCommandList1> = WeakPtr<ID3D12GraphicsCommandList1>;
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:68:29
[INFO] [stderr]    |
[INFO] [stderr] 68 | pub type Resource = WeakPtr<ID3D12Resource>;
[INFO] [stderr]    |                  -          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |                  |
[INFO] [stderr]    |                  help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:75:23
[INFO] [stderr]    |
[INFO] [stderr] 70 | impl Device {
[INFO] [stderr]    |     - help: you might be missing a type parameter: `<D3D12_SHADER_RESOURCE_VIEW_DESC>`
[INFO] [stderr] ...
[INFO] [stderr] 75 |         desc: Option<&D3D12_SHADER_RESOURCE_VIEW_DESC>,
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:76:26
[INFO] [stderr]    |
[INFO] [stderr] 76 |         dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_VIEWPORT` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:92:49
[INFO] [stderr]    |
[INFO] [stderr] 92 |     pub fn rs_set_viewports(&self, viewports: &[D3D12_VIEWPORT]) {
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RECT` in this scope
[INFO] [stderr]   --> src/d3d12/wrappers.rs:97:49
[INFO] [stderr]    |
[INFO] [stderr] 97 |     pub fn rs_set_scissor_rects(&self, rects: &[D3D12_RECT]) {
[INFO] [stderr]    |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:104:35
[INFO] [stderr]     |
[INFO] [stderr] 104 |         render_target_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:105:42
[INFO] [stderr]     |
[INFO] [stderr] 90  | impl GraphicsCommandList {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<D3D12_CPU_DESCRIPTOR_HANDLE>`
[INFO] [stderr] ...
[INFO] [stderr] 105 |         depth_stencil_descriptor: Option<D3D12_CPU_DESCRIPTOR_HANDLE>,
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:118:29
[INFO] [stderr]     |
[INFO] [stderr] 118 |         render_target_view: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RECT` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:120:18
[INFO] [stderr]     |
[INFO] [stderr] 120 |         rects: &[D3D12_RECT],
[INFO] [stderr]     |                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_VERTEX_BUFFER_VIEW` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:158:67
[INFO] [stderr]     |
[INFO] [stderr] 158 |     pub fn ia_set_vertex_buffers(&self, start_slot: u32, views: &[D3D12_VERTEX_BUFFER_VIEW]) {
[INFO] [stderr]     |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_PRIMITIVE_TOPOLOGY` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:166:65
[INFO] [stderr]     |
[INFO] [stderr] 166 |     pub fn ia_set_primitive_topology(&self, primitive_topology: D3D12_PRIMITIVE_TOPOLOGY) {
[INFO] [stderr]     |                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:192:26
[INFO] [stderr]     |
[INFO] [stderr] 192 |         buffer_location: D3D12_GPU_VIRTUAL_ADDRESS,
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:201:26
[INFO] [stderr]     |
[INFO] [stderr] 201 |         base_descriptor: D3D12_GPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:242:28
[INFO] [stderr]     |
[INFO] [stderr] 242 |     pub fn close(&self) -> HRESULT {
[INFO] [stderr]     |                            ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:251:46
[INFO] [stderr]     |
[INFO] [stderr] 251 |     pub fn get_gpu_virtual_address(&self) -> D3D12_GPU_VIRTUAL_ADDRESS {
[INFO] [stderr]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandList` in this scope
[INFO] [stderr]    --> src/d3d12/wrappers.rs:258:63
[INFO] [stderr]     |
[INFO] [stderr] 258 |     pub fn execute_command_lists(&self, command_lists: &[*mut ID3D12CommandList]) {
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]   --> src/main.rs:29:24
[INFO] [stderr]    |
[INFO] [stderr] 29 |     vertex_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]   --> src/main.rs:30:23
[INFO] [stderr]    |
[INFO] [stderr] 30 |     index_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]   --> src/main.rs:31:27
[INFO] [stderr]    |
[INFO] [stderr] 31 |     transform_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope
[INFO] [stderr]   --> src/main.rs:44:18
[INFO] [stderr]    |
[INFO] [stderr] 44 |             &mut D3D12_GRAPHICS_PIPELINE_STATE_DESC {
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope
[INFO] [stderr]   --> src/main.rs:47:30
[INFO] [stderr]    |
[INFO] [stderr] 47 |                 RTVFormats: [DXGI_FORMAT_R8G8B8A8_UNORM, 0, 0, 0, 0, 0, 0, 0],
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope
[INFO] [stderr]   --> src/main.rs:55:29
[INFO] [stderr]    |
[INFO] [stderr] 55 |                 SampleDesc: DXGI_SAMPLE_DESC {
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE` in this scope
[INFO] [stderr]   --> src/main.rs:59:40
[INFO] [stderr]    |
[INFO] [stderr] 59 |                 PrimitiveTopologyType: D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]   --> src/main.rs:94:34
[INFO] [stderr]    |
[INFO] [stderr] 94 |     ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope
[INFO] [stderr]    --> src/main.rs:136:55
[INFO] [stderr]     |
[INFO] [stderr] 136 |         let buffer_srv = d3d.allocate_cpu_descriptors(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, 1);
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope
[INFO] [stderr]    --> src/main.rs:140:19
[INFO] [stderr]     |
[INFO] [stderr] 140 |             Some(&D3D12_SHADER_RESOURCE_VIEW_DESC {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope
[INFO] [stderr]    --> src/main.rs:141:25
[INFO] [stderr]     |
[INFO] [stderr] 141 |                 Format: DXGI_FORMAT_UNKNOWN,
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_SRV_DIMENSION_BUFFER` in this scope
[INFO] [stderr]    --> src/main.rs:142:32
[INFO] [stderr]     |
[INFO] [stderr] 142 |                 ViewDimension: D3D12_SRV_DIMENSION_BUFFER,
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC_u` in this scope
[INFO] [stderr]    --> src/main.rs:145:32
[INFO] [stderr]     |
[INFO] [stderr] 145 |                     let mut u: D3D12_SHADER_RESOURCE_VIEW_DESC_u = mem::zeroed();
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/main.rs:159:34
[INFO] [stderr]     |
[INFO] [stderr] 159 |     ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope
[INFO] [stderr]    --> src/main.rs:168:55
[INFO] [stderr]     |
[INFO] [stderr] 168 |         let buffer_srv = d3d.allocate_cpu_descriptors(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, 1);
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope
[INFO] [stderr]    --> src/main.rs:172:19
[INFO] [stderr]     |
[INFO] [stderr] 172 |             Some(&D3D12_SHADER_RESOURCE_VIEW_DESC {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R32_UINT` in this scope
[INFO] [stderr]    --> src/main.rs:173:25
[INFO] [stderr]     |
[INFO] [stderr] 173 |                 Format: DXGI_FORMAT_R32_UINT,
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_SRV_DIMENSION_BUFFER` in this scope
[INFO] [stderr]    --> src/main.rs:174:32
[INFO] [stderr]     |
[INFO] [stderr] 174 |                 ViewDimension: D3D12_SRV_DIMENSION_BUFFER,
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC_u` in this scope
[INFO] [stderr]    --> src/main.rs:177:32
[INFO] [stderr]     |
[INFO] [stderr] 177 |                     let mut u: D3D12_SHADER_RESOURCE_VIEW_DESC_u = mem::zeroed();
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope
[INFO] [stderr]    --> src/main.rs:190:34
[INFO] [stderr]     |
[INFO] [stderr] 190 |     ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) {
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope
[INFO] [stderr]    --> src/main.rs:202:55
[INFO] [stderr]     |
[INFO] [stderr] 202 |         let buffer_srv = d3d.allocate_cpu_descriptors(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, 1);
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope
[INFO] [stderr]    --> src/main.rs:206:19
[INFO] [stderr]     |
[INFO] [stderr] 206 |             Some(&D3D12_SHADER_RESOURCE_VIEW_DESC {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope
[INFO] [stderr]    --> src/main.rs:207:25
[INFO] [stderr]     |
[INFO] [stderr] 207 |                 Format: DXGI_FORMAT_UNKNOWN,
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_SRV_DIMENSION_BUFFER` in this scope
[INFO] [stderr]    --> src/main.rs:208:32
[INFO] [stderr]     |
[INFO] [stderr] 208 |                 ViewDimension: D3D12_SRV_DIMENSION_BUFFER,
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC_u` in this scope
[INFO] [stderr]    --> src/main.rs:211:32
[INFO] [stderr]     |
[INFO] [stderr] 211 |                     let mut u: D3D12_SHADER_RESOURCE_VIEW_DESC_u = mem::zeroed();
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_HEAP_TYPE_DEFAULT` in this scope
[INFO] [stderr]    --> src/main.rs:229:13
[INFO] [stderr]     |
[INFO] [stderr] 229 |             D3D12_HEAP_TYPE_DEFAULT,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_HEAP_FLAG_NONE` in this scope
[INFO] [stderr]    --> src/main.rs:230:13
[INFO] [stderr]     |
[INFO] [stderr] 230 |             D3D12_HEAP_FLAG_NONE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_COPY_DEST` in this scope
[INFO] [stderr]    --> src/main.rs:232:13
[INFO] [stderr]     |
[INFO] [stderr] 232 |             D3D12_RESOURCE_STATE_COPY_DEST,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE` in this scope
[INFO] [stderr]    --> src/main.rs:247:13
[INFO] [stderr]     |
[INFO] [stderr] 247 |             D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_VIEWPORT` in this scope
[INFO] [stderr]    --> src/main.rs:258:36
[INFO] [stderr]     |
[INFO] [stderr] 258 |         cmdlist.rs_set_viewports(&[D3D12_VIEWPORT {
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RECT` in this scope
[INFO] [stderr]    --> src/main.rs:266:40
[INFO] [stderr]     |
[INFO] [stderr] 266 |         cmdlist.rs_set_scissor_rects(&[D3D12_RECT {
[INFO] [stderr]     |                                        ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_RENDER_TARGET` in this scope
[INFO] [stderr]    --> src/main.rs:272:49
[INFO] [stderr]     |
[INFO] [stderr] 272 |         d3d.cmd_transition_barrier(back_buffer, D3D12_RESOURCE_STATE_RENDER_TARGET);
[INFO] [stderr]     |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST` in this scope
[INFO] [stderr]    --> src/main.rs:275:43
[INFO] [stderr]     |
[INFO] [stderr] 275 |         cmdlist.ia_set_primitive_topology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope
[INFO] [stderr]    --> src/main.rs:291:49
[INFO] [stderr]     |
[INFO] [stderr] 291 |         d3d.cmd_transition_barrier(back_buffer, D3D12_RESOURCE_STATE_PRESENT);
[INFO] [stderr]     |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 339 previous errors
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::Deref`
[INFO] [stderr]  --> src/d3d12/graphics.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::ops::Deref;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: aborting due to 339 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `rust_d3d12_test1`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust_d3d12_test1`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "f917e4c644258035bd7103dbe327ed6677614b050eda7499a3236cdd4f9619e1"`
[INFO] running `"docker" "rm" "-f" "f917e4c644258035bd7103dbe327ed6677614b050eda7499a3236cdd4f9619e1"`
[INFO] [stdout] f917e4c644258035bd7103dbe327ed6677614b050eda7499a3236cdd4f9619e1
