[INFO] updating cached repository https://github.com/akitsu-sanae/dx12-in-rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 71727cd5e03b560c35a61836d62b2cbadc4e6604
[INFO] checking akitsu-sanae/dx12-in-rust against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakitsu-sanae%2Fdx12-in-rust" "/workspace/builds/worker-5/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/akitsu-sanae/dx12-in-rust on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/akitsu-sanae/dx12-in-rust
[INFO] finished tweaking git repo https://github.com/akitsu-sanae/dx12-in-rust
[INFO] tweaked toml for git repo https://github.com/akitsu-sanae/dx12-in-rust written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/akitsu-sanae/dx12-in-rust already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0abb02303bff7e565e85af5b857ed1098d5b2f197b316ea6bb618a414971258e
[INFO] running `"docker" "start" "-a" "0abb02303bff7e565e85af5b857ed1098d5b2f197b316ea6bb618a414971258e"`
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]     Checking dx12-in-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/direct3d/command.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 |     shared::{basetsd::UINT64, winerror::S_OK},
[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/direct3d/command.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 |     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/direct3d/command.rs:51:21
[INFO] [stderr]    |
[INFO] [stderr] 51 |         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/direct3d/command.rs:103:17
[INFO] [stderr]     |
[INFO] [stderr] 103 |     use winapi::um::d3d12::D3D12_COMMAND_LIST_TYPE_DIRECT;
[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/direct3d/command.rs:123:17
[INFO] [stderr]     |
[INFO] [stderr] 123 |     use winapi::um::d3d12::D3D12_COMMAND_LIST_TYPE_DIRECT;
[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/direct3d/command.rs:143:17
[INFO] [stderr]     |
[INFO] [stderr] 143 |     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/direct3d/command.rs:169:17
[INFO] [stderr]     |
[INFO] [stderr] 169 |     use winapi::um::d3d12::D3D12_FENCE_FLAG_NONE;
[INFO] [stderr]     |                 ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `winapi::ctypes`, `winapi::Interface`
[INFO] [stderr]   --> src/direct3d/command.rs:3:5
[INFO] [stderr]    |
[INFO] [stderr] 3  |     ctypes::c_void,
[INFO] [stderr]    |     ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] ...
[INFO] [stderr] 10 |     Interface,
[INFO] [stderr]    |     ^^^^^^^^^ no `Interface` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/direct3d.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 |     shared::{
[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/direct3d.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     um::{d3d12::*, unknwnbase::IUnknown},
[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/direct3d.rs:39:17
[INFO] [stderr]    |
[INFO] [stderr] 39 |     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/direct3d.rs:68:17
[INFO] [stderr]    |
[INFO] [stderr] 68 |     use winapi::um::d3dcommon::*;
[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/direct3d.rs:96:17
[INFO] [stderr]    |
[INFO] [stderr] 96 |     use winapi::shared::{
[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/direct3d.rs:201:21
[INFO] [stderr]     |
[INFO] [stderr] 201 |         use winapi::shared::{
[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/direct3d.rs:208:21
[INFO] [stderr]     |
[INFO] [stderr] 208 |         use winapi::um::d3dcommon::ID3DBlob;
[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/direct3d.rs:313:21
[INFO] [stderr]     |
[INFO] [stderr] 313 |         use winapi::um::d3dcompiler::{
[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/direct3d.rs:500:21
[INFO] [stderr]     |
[INFO] [stderr] 500 |         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/msg.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::um::winuser::{DispatchMessageW, PeekMessageW, TranslateMessage, MSG, PM_REMOVE};
[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/window.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | 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/window.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | 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/window.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::um::winuser::WNDCLASSEXW;
[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/window.rs:18:21
[INFO] [stderr]    |
[INFO] [stderr] 18 |         use winapi::um::{
[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/window.rs:80:21
[INFO] [stderr]    |
[INFO] [stderr] 80 |         use winapi::um::winuser::{ShowWindow, SW_SHOW};
[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/window.rs:87:21
[INFO] [stderr]    |
[INFO] [stderr] 87 |         use winapi::um::winuser::UnregisterClassW;
[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/window.rs:93:17
[INFO] [stderr]    |
[INFO] [stderr] 93 |     use winapi::um::winuser::{DefWindowProcW, PostQuitMessage, WM_DESTROY};
[INFO] [stderr]    |                 ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `winapi::ctypes`, `winapi::Interface`
[INFO] [stderr]   --> src/direct3d.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr] 7  |     ctypes::c_void,
[INFO] [stderr]    |     ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] ...
[INFO] [stderr] 16 |     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/main.rs:13:17
[INFO] [stderr]    |
[INFO] [stderr] 13 |     use winapi::um::d3d12::D3D12GetDebugInterface;
[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:14:17
[INFO] [stderr]    |
[INFO] [stderr] 14 |     use winapi::um::d3d12sdklayers::ID3D12Debug;
[INFO] [stderr]    |                 ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stderr]   --> src/main.rs:12:17
[INFO] [stderr]    |
[INFO] [stderr] 12 |     use winapi::ctypes::c_void;
[INFO] [stderr]    |                 ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::Interface`
[INFO] [stderr]   --> src/main.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 15 |     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 `ID3D12CommandAllocator`
[INFO] [stderr]    --> src/direct3d/command.rs:108:14
[INFO] [stderr]     |
[INFO] [stderr] 108 |             &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 `ID3D12GraphicsCommandList`
[INFO] [stderr]    --> src/direct3d/command.rs:131:14
[INFO] [stderr]     |
[INFO] [stderr] 131 |             &ID3D12GraphicsCommandList::uuidof(),
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12GraphicsCommandList`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/direct3d/command.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 |     shared::{basetsd::UINT64, winerror::S_OK},
[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/direct3d/command.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 |     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/direct3d/command.rs:51:21
[INFO] [stderr]    |
[INFO] [stderr] 51 |         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/direct3d/command.rs:103:17
[INFO] [stderr]     |
[INFO] [stderr] 103 |     use winapi::um::d3d12::D3D12_COMMAND_LIST_TYPE_DIRECT;
[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/direct3d/command.rs:123:17
[INFO] [stderr]     |
[INFO] [stderr] 123 |     use winapi::um::d3d12::D3D12_COMMAND_LIST_TYPE_DIRECT;
[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/direct3d/command.rs:143:17
[INFO] [stderr]     |
[INFO] [stderr] 143 |     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/direct3d/command.rs:169:17
[INFO] [stderr]     |
[INFO] [stderr] 169 |     use winapi::um::d3d12::D3D12_FENCE_FLAG_NONE;
[INFO] [stderr]     |                 ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `winapi::ctypes`, `winapi::Interface`
[INFO] [stderr]   --> src/direct3d/command.rs:3:5
[INFO] [stderr]    |
[INFO] [stderr] 3  |     ctypes::c_void,
[INFO] [stderr]    |     ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] ...
[INFO] [stderr] 10 |     Interface,
[INFO] [stderr]    |     ^^^^^^^^^ no `Interface` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/direct3d.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 |     shared::{
[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/direct3d.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     um::{d3d12::*, unknwnbase::IUnknown},
[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/direct3d.rs:39:17
[INFO] [stderr]    |
[INFO] [stderr] 39 |     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/direct3d.rs:68:17
[INFO] [stderr]    |
[INFO] [stderr] 68 |     use winapi::um::d3dcommon::*;
[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/direct3d.rs:96:17
[INFO] [stderr]    |
[INFO] [stderr] 96 |     use winapi::shared::{
[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/direct3d.rs:201:21
[INFO] [stderr]     |
[INFO] [stderr] 201 |         use winapi::shared::{
[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/direct3d.rs:208:21
[INFO] [stderr]     |
[INFO] [stderr] 208 |         use winapi::um::d3dcommon::ID3DBlob;
[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/direct3d.rs:313:21
[INFO] [stderr]     |
[INFO] [stderr] 313 |         use winapi::um::d3dcompiler::{
[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/direct3d.rs:500:21
[INFO] [stderr]     |
[INFO] [stderr] 500 |         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/msg.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::um::winuser::{DispatchMessageW, PeekMessageW, TranslateMessage, MSG, PM_REMOVE};
[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/window.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | 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/window.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | 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/window.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::um::winuser::WNDCLASSEXW;
[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/window.rs:18:21
[INFO] [stderr]    |
[INFO] [stderr] 18 |         use winapi::um::{
[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/window.rs:80:21
[INFO] [stderr]    |
[INFO] [stderr] 80 |         use winapi::um::winuser::{ShowWindow, SW_SHOW};
[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/window.rs:87:21
[INFO] [stderr]    |
[INFO] [stderr] 87 |         use winapi::um::winuser::UnregisterClassW;
[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/window.rs:93:17
[INFO] [stderr]    |
[INFO] [stderr] 93 |     use winapi::um::winuser::{DefWindowProcW, PostQuitMessage, WM_DESTROY};
[INFO] [stderr]    |                 ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `winapi::ctypes`, `winapi::Interface`
[INFO] [stderr]   --> src/direct3d.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr] 7  |     ctypes::c_void,
[INFO] [stderr]    |     ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] ...
[INFO] [stderr] 16 |     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/main.rs:13:17
[INFO] [stderr]    |
[INFO] [stderr] 13 |     use winapi::um::d3d12::D3D12GetDebugInterface;
[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:14:17
[INFO] [stderr]    |
[INFO] [stderr] 14 |     use winapi::um::d3d12sdklayers::ID3D12Debug;
[INFO] [stderr]    |                 ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stderr]   --> src/main.rs:12:17
[INFO] [stderr]    |
[INFO] [stderr] 12 |     use winapi::ctypes::c_void;
[INFO] [stderr]    |                 ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::Interface`
[INFO] [stderr]   --> src/main.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 15 |     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 `ID3D12CommandQueue`
[INFO] [stderr]    --> src/direct3d/command.rs:157:14
[INFO] [stderr]     |
[INFO] [stderr] 157 |             &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 `ID3D12Fence`
[INFO] [stderr]    --> src/direct3d/command.rs:175:14
[INFO] [stderr]     |
[INFO] [stderr] 175 |             &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/direct3d/command.rs:108:14
[INFO] [stderr]     |
[INFO] [stderr] 108 |             &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 `ID3D12GraphicsCommandList`
[INFO] [stderr]    --> src/direct3d/command.rs:131:14
[INFO] [stderr]     |
[INFO] [stderr] 131 |             &ID3D12GraphicsCommandList::uuidof(),
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ID3D12GraphicsCommandList`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IDXGIFactory6`
[INFO] [stderr]   --> src/direct3d.rs:44:14
[INFO] [stderr]    |
[INFO] [stderr] 44 |             &IDXGIFactory6::uuidof(),
[INFO] [stderr]    |              ^^^^^^^^^^^^^ use of undeclared type or module `IDXGIFactory6`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12CommandQueue`
[INFO] [stderr]    --> src/direct3d/command.rs:157:14
[INFO] [stderr]     |
[INFO] [stderr] 157 |             &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 `IDXGIFactory6`
[INFO] [stderr]   --> src/direct3d.rs:54:18
[INFO] [stderr]    |
[INFO] [stderr] 54 |                 &IDXGIFactory6::uuidof(),
[INFO] [stderr]    |                  ^^^^^^^^^^^^^ use of undeclared type or module `IDXGIFactory6`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Device`
[INFO] [stderr]   --> src/direct3d.rs:80:18
[INFO] [stderr]    |
[INFO] [stderr] 80 |                 &ID3D12Device::uuidof(),
[INFO] [stderr]    |                  ^^^^^^^^^^^^ use of undeclared type or module `ID3D12Device`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Fence`
[INFO] [stderr]    --> src/direct3d/command.rs:175:14
[INFO] [stderr]     |
[INFO] [stderr] 175 |             &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 `IDXGIFactory6`
[INFO] [stderr]   --> src/direct3d.rs:44:14
[INFO] [stderr]    |
[INFO] [stderr] 44 |             &IDXGIFactory6::uuidof(),
[INFO] [stderr]    |              ^^^^^^^^^^^^^ use of undeclared type or module `IDXGIFactory6`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IDXGIFactory6`
[INFO] [stderr]   --> src/direct3d.rs:54:18
[INFO] [stderr]    |
[INFO] [stderr] 54 |                 &IDXGIFactory6::uuidof(),
[INFO] [stderr]    |                  ^^^^^^^^^^^^^ use of undeclared type or module `IDXGIFactory6`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Device`
[INFO] [stderr]   --> src/direct3d.rs:80:18
[INFO] [stderr]    |
[INFO] [stderr] 80 |                 &ID3D12Device::uuidof(),
[INFO] [stderr]    |                  ^^^^^^^^^^^^ use of undeclared type or module `ID3D12Device`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12DescriptorHeap`
[INFO] [stderr]    --> src/direct3d.rs:148:14
[INFO] [stderr]     |
[INFO] [stderr] 148 |             &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 `ID3D12DescriptorHeap`
[INFO] [stderr]    --> src/direct3d.rs:148:14
[INFO] [stderr]     |
[INFO] [stderr] 148 |             &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/direct3d.rs:177:18
[INFO] [stderr]     |
[INFO] [stderr] 177 |                 &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/direct3d.rs:177:18
[INFO] [stderr]     |
[INFO] [stderr] 177 |                 &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/direct3d.rs:246:18
[INFO] [stderr]     |
[INFO] [stderr] 246 |                 &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/direct3d.rs:246:18
[INFO] [stderr]     |
[INFO] [stderr] 246 |                 &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/direct3d.rs:288:18
[INFO] [stderr]     |
[INFO] [stderr] 288 |                 &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/direct3d.rs:288:18
[INFO] [stderr]     |
[INFO] [stderr] 288 |                 &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/direct3d.rs:443:18
[INFO] [stderr]     |
[INFO] [stderr] 443 |                 &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 `ID3D12RootSignature`
[INFO] [stderr]    --> src/direct3d.rs:443:18
[INFO] [stderr]     |
[INFO] [stderr] 443 |                 &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/direct3d.rs:458:18
[INFO] [stderr]     |
[INFO] [stderr] 458 |                 &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 `ID3D12PipelineState`
[INFO] [stderr]    --> src/direct3d.rs:458:18
[INFO] [stderr]     |
[INFO] [stderr] 458 |                 &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 `ID3D12Debug`
[INFO] [stderr]   --> src/main.rs:19:14
[INFO] [stderr]    |
[INFO] [stderr] 19 |             &ID3D12Debug::uuidof(),
[INFO] [stderr]    |              ^^^^^^^^^^^ use of undeclared type or module `ID3D12Debug`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:42:41
[INFO] [stderr]    |
[INFO] [stderr] 42 |             if msg.0.message == winapi::um::winuser::WM_QUIT {
[INFO] [stderr]    |                                         ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:14:21
[INFO] [stderr]    |
[INFO] [stderr] 14 |     allocator: *mut ID3D12CommandAllocator,
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:15:16
[INFO] [stderr]    |
[INFO] [stderr] 15 |     list: *mut ID3D12GraphicsCommandList,
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:16:17
[INFO] [stderr]    |
[INFO] [stderr] 16 |     queue: *mut ID3D12CommandQueue,
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Fence` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:17:17
[INFO] [stderr]    |
[INFO] [stderr] 17 |     fence: *mut ID3D12Fence,
[INFO] [stderr]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT64` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:18:16
[INFO] [stderr]    |
[INFO] [stderr] 18 |     fence_val: UINT64,
[INFO] [stderr]    |                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:22:32
[INFO] [stderr]    |
[INFO] [stderr] 22 |     pub fn create(device: *mut ID3D12Device) -> Result<CommandManager, String> {
[INFO] [stderr]    |                                ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT64` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:26:24
[INFO] [stderr]    |
[INFO] [stderr] 26 |         let fence_val: UINT64 = 0;
[INFO] [stderr]    |                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:38:37
[INFO] [stderr]    |
[INFO] [stderr] 38 |     pub fn get_queue(&self) -> *mut ID3D12CommandQueue {
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:41:32
[INFO] [stderr]    |
[INFO] [stderr] 41 |     pub fn get_list(&self) -> &ID3D12GraphicsCommandList {
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:47:26
[INFO] [stderr]    |
[INFO] [stderr] 47 |         backbuffer: *mut 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/direct3d/command.rs:48:17
[INFO] [stderr]    |
[INFO] [stderr] 48 |         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/direct3d/command.rs:49:16
[INFO] [stderr]    |
[INFO] [stderr] 49 |         after: D3D12_RESOURCE_STATES,
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_BARRIER` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:57:36
[INFO] [stderr]    |
[INFO] [stderr] 57 |             let mut barrier_desc = D3D12_RESOURCE_BARRIER {
[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/direct3d/command.rs:58:23
[INFO] [stderr]    |
[INFO] [stderr] 58 |                 Type: D3D12_RESOURCE_BARRIER_TYPE_TRANSITION,
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_FLAG_NONE` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:59:24
[INFO] [stderr]    |
[INFO] [stderr] 59 |                 Flags: D3D12_RESOURCE_BARRIER_FLAG_NONE,
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_TRANSITION_BARRIER` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:63:48
[INFO] [stderr]    |
[INFO] [stderr] 63 |             *barrier_desc.u.Transition_mut() = D3D12_RESOURCE_TRANSITION_BARRIER {
[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/direct3d/command.rs:65:30
[INFO] [stderr]    |
[INFO] [stderr] 65 |                 Subresource: D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES,
[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/direct3d/command.rs:73:46
[INFO] [stderr]    |
[INFO] [stderr] 73 |     pub fn set_rtv(&self, rtv_handle: *const 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/direct3d/command.rs:79:21
[INFO] [stderr]    |
[INFO] [stderr] 79 |         rtv_handle: D3D12_CPU_DESCRIPTOR_HANDLE,
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:102:34
[INFO] [stderr]     |
[INFO] [stderr] 102 | fn create_allocator(device: *mut ID3D12Device) -> Result<*mut ID3D12CommandAllocator, String> {
[INFO] [stderr]     |                                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:102:63
[INFO] [stderr]     |
[INFO] [stderr] 102 | fn create_allocator(device: *mut ID3D12Device) -> Result<*mut ID3D12CommandAllocator, String> {
[INFO] [stderr]     |                    -                                          ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    help: you might be missing a type parameter: `<ID3D12CommandAllocator>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:104:29
[INFO] [stderr]     |
[INFO] [stderr] 104 |     let mut allocator: *mut ID3D12CommandAllocator = null_mut();
[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/direct3d/command.rs:107:13
[INFO] [stderr]     |
[INFO] [stderr] 107 |             D3D12_COMMAND_LIST_TYPE_DIRECT,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:112:18
[INFO] [stderr]     |
[INFO] [stderr] 112 |     if result == S_OK {
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:120:18
[INFO] [stderr]     |
[INFO] [stderr] 120 |     device: *mut ID3D12Device,
[INFO] [stderr]     |                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:121:21
[INFO] [stderr]     |
[INFO] [stderr] 121 |     allocator: *mut ID3D12CommandAllocator,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:122:18
[INFO] [stderr]     |
[INFO] [stderr] 119 | fn create_list(
[INFO] [stderr]     |               - help: you might be missing a type parameter: `<ID3D12GraphicsCommandList>`
[INFO] [stderr] ...
[INFO] [stderr] 122 | ) -> Result<*mut ID3D12GraphicsCommandList, String> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:124:24
[INFO] [stderr]     |
[INFO] [stderr] 124 |     let mut list: *mut ID3D12GraphicsCommandList = null_mut();
[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/direct3d/command.rs:128:13
[INFO] [stderr]     |
[INFO] [stderr] 128 |             D3D12_COMMAND_LIST_TYPE_DIRECT,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:135:18
[INFO] [stderr]     |
[INFO] [stderr] 135 |     if result == S_OK {
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:142:30
[INFO] [stderr]     |
[INFO] [stderr] 142 | fn create_queue(device: *mut ID3D12Device) -> Result<*mut ID3D12CommandQueue, String> {
[INFO] [stderr]     |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:142:59
[INFO] [stderr]     |
[INFO] [stderr] 142 | fn create_queue(device: *mut ID3D12Device) -> Result<*mut ID3D12CommandQueue, String> {
[INFO] [stderr]     |                -                                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |                |
[INFO] [stderr]     |                help: you might be missing a type parameter: `<ID3D12CommandQueue>`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_COMMAND_QUEUE_DESC` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:147:22
[INFO] [stderr]     |
[INFO] [stderr] 147 |     let queue_desc = 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/direct3d/command.rs:148:16
[INFO] [stderr]     |
[INFO] [stderr] 148 |         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/direct3d/command.rs:150:19
[INFO] [stderr]     |
[INFO] [stderr] 150 |         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/direct3d/command.rs:151:15
[INFO] [stderr]     |
[INFO] [stderr] 151 |         Type: D3D12_COMMAND_LIST_TYPE_DIRECT,
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:153:25
[INFO] [stderr]     |
[INFO] [stderr] 153 |     let mut queue: *mut ID3D12CommandQueue = null_mut();
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:161:18
[INFO] [stderr]     |
[INFO] [stderr] 161 |     if result == S_OK {
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:168:30
[INFO] [stderr]     |
[INFO] [stderr] 168 | fn create_fence(device: *mut ID3D12Device, fence_val: UINT64) -> Result<*mut ID3D12Fence, String> {
[INFO] [stderr]     |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT64` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:168:55
[INFO] [stderr]     |
[INFO] [stderr] 168 | fn create_fence(device: *mut ID3D12Device, fence_val: UINT64) -> Result<*mut ID3D12Fence, String> {
[INFO] [stderr]     |                                                       ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Fence` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:168:78
[INFO] [stderr]     |
[INFO] [stderr] 168 | fn create_fence(device: *mut ID3D12Device, fence_val: UINT64) -> Result<*mut ID3D12Fence, String> {
[INFO] [stderr]     |                -                                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |                |
[INFO] [stderr]     |                help: you might be missing a type parameter: `<ID3D12Fence>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Fence` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:170:25
[INFO] [stderr]     |
[INFO] [stderr] 170 |     let mut fence: *mut ID3D12Fence = 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/direct3d/command.rs:174:13
[INFO] [stderr]     |
[INFO] [stderr] 174 |             D3D12_FENCE_FLAG_NONE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:179:18
[INFO] [stderr]     |
[INFO] [stderr] 179 |     if result == S_OK {
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]   --> src/direct3d.rs:22:18
[INFO] [stderr]    |
[INFO] [stderr] 22 |     device: *mut ID3D12Device,
[INFO] [stderr]    |                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain4` in this scope
[INFO] [stderr]   --> src/direct3d.rs:23:21
[INFO] [stderr]    |
[INFO] [stderr] 23 |     swapchain: *mut IDXGISwapChain4,
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope
[INFO] [stderr]   --> src/direct3d.rs:24:21
[INFO] [stderr]    |
[INFO] [stderr] 24 |     rtv_heaps: *mut ID3D12DescriptorHeap,
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]   --> src/direct3d.rs:25:28
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub struct Direct3D {
[INFO] [stderr]    |                    - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] ...
[INFO] [stderr] 25 |     back_buffers: Vec<*mut ID3D12Resource>,
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope
[INFO] [stderr]   --> src/direct3d.rs:28:26
[INFO] [stderr]    |
[INFO] [stderr] 28 |     pipeline_state: *mut ID3D12PipelineState,
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope
[INFO] [stderr]   --> src/direct3d.rs:29:26
[INFO] [stderr]    |
[INFO] [stderr] 29 |     root_signature: *mut ID3D12RootSignature,
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_VIEWPORT` in this scope
[INFO] [stderr]   --> src/direct3d.rs:31:15
[INFO] [stderr]    |
[INFO] [stderr] 31 |     viewport: 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/direct3d.rs:32:18
[INFO] [stderr]    |
[INFO] [stderr] 32 |     scissorrect: 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/direct3d.rs:34:14
[INFO] [stderr]    |
[INFO] [stderr] 34 |     vb_view: D3D12_VERTEX_BUFFER_VIEW,
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_INDEX_BUFFER_VIEW` in this scope
[INFO] [stderr]   --> src/direct3d.rs:35:14
[INFO] [stderr]    |
[INFO] [stderr] 35 |     ib_view: D3D12_INDEX_BUFFER_VIEW,
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory6` in this scope
[INFO] [stderr]   --> src/direct3d.rs:38:36
[INFO] [stderr]    |
[INFO] [stderr] 38 | fn create_factory() -> Result<*mut IDXGIFactory6, String> {
[INFO] [stderr]    |                  -                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |                  |
[INFO] [stderr]    |                  help: you might be missing a type parameter: `<IDXGIFactory6>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory6` in this scope
[INFO] [stderr]   --> src/direct3d.rs:40:27
[INFO] [stderr]    |
[INFO] [stderr] 40 |     let mut factory: *mut IDXGIFactory6 = 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/direct3d.rs:42:9
[INFO] [stderr]    |
[INFO] [stderr] 42 |         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/direct3d.rs:43:13
[INFO] [stderr]    |
[INFO] [stderr] 43 |             DXGI_CREATE_FACTORY_DEBUG,
[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/direct3d.rs:52:13
[INFO] [stderr]    |
[INFO] [stderr] 52 |             CreateDXGIFactory2(
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]   --> src/direct3d.rs:66:35
[INFO] [stderr]    |
[INFO] [stderr] 66 | fn create_device() -> Result<*mut ID3D12Device, String> {
[INFO] [stderr]    |                 -                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: you might be missing a type parameter: `<ID3D12Device>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]   --> src/direct3d.rs:67:26
[INFO] [stderr]    |
[INFO] [stderr] 67 |     let mut device: *mut ID3D12Device = null_mut();
[INFO] [stderr]    |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_12_1` in this scope
[INFO] [stderr]   --> src/direct3d.rs:70:9
[INFO] [stderr]    |
[INFO] [stderr] 70 |         D3D_FEATURE_LEVEL_12_1,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_12_0` in this scope
[INFO] [stderr]   --> src/direct3d.rs:71:9
[INFO] [stderr]    |
[INFO] [stderr] 71 |         D3D_FEATURE_LEVEL_12_0,
[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/direct3d.rs:72:9
[INFO] [stderr]    |
[INFO] [stderr] 72 |         D3D_FEATURE_LEVEL_11_1,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_0` in this scope
[INFO] [stderr]   --> src/direct3d.rs:73:9
[INFO] [stderr]    |
[INFO] [stderr] 73 |         D3D_FEATURE_LEVEL_11_0,
[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/direct3d.rs:77:13
[INFO] [stderr]    |
[INFO] [stderr] 77 |             D3D12CreateDevice(
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory6` in this scope
[INFO] [stderr]   --> src/direct3d.rs:92:19
[INFO] [stderr]    |
[INFO] [stderr] 92 |     factory: *mut IDXGIFactory6,
[INFO] [stderr]    |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain4` in this scope
[INFO] [stderr]   --> src/direct3d.rs:95:18
[INFO] [stderr]    |
[INFO] [stderr] 91 | fn create_swapchain(
[INFO] [stderr]    |                    - help: you might be missing a type parameter: `<IDXGISwapChain4>`
[INFO] [stderr] ...
[INFO] [stderr] 95 | ) -> Result<*mut IDXGISwapChain4, String> {
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_DESC1` in this scope
[INFO] [stderr]    --> src/direct3d.rs:102:16
[INFO] [stderr]     |
[INFO] [stderr] 102 |     let desc = DXGI_SWAP_CHAIN_DESC1 {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:103:32
[INFO] [stderr]     |
[INFO] [stderr] 103 |         Width: window.width as UINT,
[INFO] [stderr]     |                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:104:34
[INFO] [stderr]     |
[INFO] [stderr] 104 |         Height: window.height as UINT,
[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/direct3d.rs:105:17
[INFO] [stderr]     |
[INFO] [stderr] 105 |         Format: DXGI_FORMAT_R8G8B8A8_UNORM,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:106:17
[INFO] [stderr]     |
[INFO] [stderr] 106 |         Stereo: FALSE,
[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/direct3d.rs:107:21
[INFO] [stderr]     |
[INFO] [stderr] 107 |         SampleDesc: DXGI_SAMPLE_DESC {
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:108:25
[INFO] [stderr]     |
[INFO] [stderr] 108 |             Count: 1 as UINT,
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:109:27
[INFO] [stderr]     |
[INFO] [stderr] 109 |             Quality: 0 as UINT,
[INFO] [stderr]     |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_USAGE_BACK_BUFFER` in this scope
[INFO] [stderr]    --> src/direct3d.rs:111:22
[INFO] [stderr]     |
[INFO] [stderr] 111 |         BufferUsage: DXGI_USAGE_BACK_BUFFER,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:112:27
[INFO] [stderr]     |
[INFO] [stderr] 112 |         BufferCount: 2 as UINT,
[INFO] [stderr]     |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_SCALING_STRETCH` in this scope
[INFO] [stderr]    --> src/direct3d.rs:113:18
[INFO] [stderr]     |
[INFO] [stderr] 113 |         Scaling: DXGI_SCALING_STRETCH,
[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/direct3d.rs:114:21
[INFO] [stderr]     |
[INFO] [stderr] 114 |         SwapEffect: DXGI_SWAP_EFFECT_FLIP_DISCARD,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_ALPHA_MODE_UNSPECIFIED` in this scope
[INFO] [stderr]    --> src/direct3d.rs:115:20
[INFO] [stderr]     |
[INFO] [stderr] 115 |         AlphaMode: DXGI_ALPHA_MODE_UNSPECIFIED,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH` in this scope
[INFO] [stderr]    --> src/direct3d.rs:116:16
[INFO] [stderr]     |
[INFO] [stderr] 116 |         Flags: DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH,
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain4` in this scope
[INFO] [stderr]    --> src/direct3d.rs:119:29
[INFO] [stderr]     |
[INFO] [stderr] 119 |     let mut swapchain: *mut IDXGISwapChain4 = 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/direct3d.rs:122:59
[INFO] [stderr]     |
[INFO] [stderr] 122 |             command_manager.get_queue() as *mut _ as *mut IUnknown,
[INFO] [stderr]     |                                                           ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain1` in this scope
[INFO] [stderr]    --> src/direct3d.rs:127:56
[INFO] [stderr]     |
[INFO] [stderr] 127 |             &mut swapchain as *mut *mut _ as *mut *mut IDXGISwapChain1,
[INFO] [stderr]     |                                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]    --> src/direct3d.rs:137:31
[INFO] [stderr]     |
[INFO] [stderr] 137 | fn create_rtv_heaps(dev: *mut ID3D12Device) -> Result<*mut ID3D12DescriptorHeap, String> {
[INFO] [stderr]     |                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope
[INFO] [stderr]    --> src/direct3d.rs:137:60
[INFO] [stderr]     |
[INFO] [stderr] 137 | fn create_rtv_heaps(dev: *mut ID3D12Device) -> Result<*mut ID3D12DescriptorHeap, String> {
[INFO] [stderr]     |                    -                                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    help: you might be missing a type parameter: `<ID3D12DescriptorHeap>`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_DESCRIPTOR_HEAP_DESC` in this scope
[INFO] [stderr]    --> src/direct3d.rs:138:16
[INFO] [stderr]     |
[INFO] [stderr] 138 |     let desc = D3D12_DESCRIPTOR_HEAP_DESC {
[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/direct3d.rs:139:15
[INFO] [stderr]     |
[INFO] [stderr] 139 |         Type: D3D12_DESCRIPTOR_HEAP_TYPE_RTV, // render target view
[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/direct3d.rs:141:16
[INFO] [stderr]     |
[INFO] [stderr] 141 |         Flags: D3D12_DESCRIPTOR_HEAP_FLAG_NONE,
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope
[INFO] [stderr]    --> src/direct3d.rs:144:29
[INFO] [stderr]     |
[INFO] [stderr] 144 |     let mut rtv_heaps: *mut ID3D12DescriptorHeap = null_mut();
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]    --> src/direct3d.rs:160:18
[INFO] [stderr]     |
[INFO] [stderr] 160 |     device: *mut ID3D12Device,
[INFO] [stderr]     |                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ID3D12Debug`
[INFO] [stderr]   --> src/main.rs:19:14
[INFO] [stderr]    |
[INFO] [stderr] 19 |             &ID3D12Debug::uuidof(),
[INFO] [stderr]    |              ^^^^^^^^^^^ use of undeclared type or module `ID3D12Debug`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain4` in this scope
[INFO] [stderr]    --> src/direct3d.rs:161:21
[INFO] [stderr]     |
[INFO] [stderr] 161 |     swapchain: *mut IDXGISwapChain4,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope
[INFO] [stderr]    --> src/direct3d.rs:162:21
[INFO] [stderr]     |
[INFO] [stderr] 162 |     rtv_heaps: *mut ID3D12DescriptorHeap,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/direct3d.rs:163:22
[INFO] [stderr]     |
[INFO] [stderr] 159 | fn create_back_buffers(
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] ...
[INFO] [stderr] 163 | ) -> Result<Vec<*mut ID3D12Resource>, String> {
[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/direct3d.rs:164:29
[INFO] [stderr]     |
[INFO] [stderr] 164 |     let mut swapchain_desc: DXGI_SWAP_CHAIN_DESC = unsafe { zeroed() };
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:42:41
[INFO] [stderr]    |
[INFO] [stderr] 42 |             if msg.0.message == winapi::um::winuser::WM_QUIT {
[INFO] [stderr]    |                                         ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/direct3d.rs:169:36
[INFO] [stderr]     |
[INFO] [stderr] 159 | fn create_back_buffers(
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] ...
[INFO] [stderr] 169 |     let mut back_buffers: Vec<*mut ID3D12Resource> = vec![];
[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/direct3d.rs:171:21
[INFO] [stderr]     |
[INFO] [stderr] 171 |     let mut handle: D3D12_CPU_DESCRIPTOR_HANDLE =
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:14:21
[INFO] [stderr]    |
[INFO] [stderr] 14 |     allocator: *mut ID3D12CommandAllocator,
[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/direct3d.rs:186:65
[INFO] [stderr]     |
[INFO] [stderr] 186 |             unsafe { (*device).GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_RTV) }
[INFO] [stderr]     |                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:15:16
[INFO] [stderr]    |
[INFO] [stderr] 15 |     list: *mut ID3D12GraphicsCommandList,
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:16:17
[INFO] [stderr]    |
[INFO] [stderr] 16 |     queue: *mut ID3D12CommandQueue,
[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/direct3d.rs:214:24
[INFO] [stderr]     |
[INFO] [stderr] 214 |         let heapprop = D3D12_HEAP_PROPERTIES {
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Fence` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:17:17
[INFO] [stderr]    |
[INFO] [stderr] 17 |     fence: *mut ID3D12Fence,
[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/direct3d.rs:215:19
[INFO] [stderr]     |
[INFO] [stderr] 215 |             Type: D3D12_HEAP_TYPE_UPLOAD,
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT64` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:18:16
[INFO] [stderr]    |
[INFO] [stderr] 18 |     fence_val: UINT64,
[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/direct3d.rs:216:30
[INFO] [stderr]     |
[INFO] [stderr] 216 |             CPUPageProperty: D3D12_CPU_PAGE_PROPERTY_UNKNOWN,
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:22:32
[INFO] [stderr]    |
[INFO] [stderr] 22 |     pub fn create(device: *mut ID3D12Device) -> Result<CommandManager, String> {
[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/direct3d.rs:217:35
[INFO] [stderr]     |
[INFO] [stderr] 217 |             MemoryPoolPreference: D3D12_MEMORY_POOL_UNKNOWN,
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT64` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:26:24
[INFO] [stderr]    |
[INFO] [stderr] 26 |         let fence_val: UINT64 = 0;
[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/direct3d.rs:222:29
[INFO] [stderr]     |
[INFO] [stderr] 222 |         let resource_desc = D3D12_RESOURCE_DESC {
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:38:37
[INFO] [stderr]    |
[INFO] [stderr] 38 |     pub fn get_queue(&self) -> *mut ID3D12CommandQueue {
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:41:32
[INFO] [stderr]    |
[INFO] [stderr] 41 |     pub fn get_list(&self) -> &ID3D12GraphicsCommandList {
[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/direct3d.rs:223:24
[INFO] [stderr]     |
[INFO] [stderr] 223 |             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/direct3d.rs:229:21
[INFO] [stderr]     |
[INFO] [stderr] 229 |             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/direct3d/command.rs:47:26
[INFO] [stderr]    |
[INFO] [stderr] 47 |         backbuffer: *mut ID3D12Resource,
[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/direct3d.rs:230:25
[INFO] [stderr]     |
[INFO] [stderr] 230 |             SampleDesc: DXGI_SAMPLE_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/direct3d/command.rs:48:17
[INFO] [stderr]    |
[INFO] [stderr] 48 |         before: D3D12_RESOURCE_STATES,
[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/direct3d.rs:234:20
[INFO] [stderr]     |
[INFO] [stderr] 234 |             Flags: D3D12_RESOURCE_FLAG_NONE,
[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/direct3d/command.rs:49:16
[INFO] [stderr]    |
[INFO] [stderr] 49 |         after: D3D12_RESOURCE_STATES,
[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/direct3d.rs:235:21
[INFO] [stderr]     |
[INFO] [stderr] 235 |             Layout: D3D12_TEXTURE_LAYOUT_ROW_MAJOR,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/direct3d.rs:238:37
[INFO] [stderr]     |
[INFO] [stderr] 238 |         let mut vertex_buffer: *mut ID3D12Resource = null_mut();
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_BARRIER` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:57:36
[INFO] [stderr]    |
[INFO] [stderr] 57 |             let mut barrier_desc = D3D12_RESOURCE_BARRIER {
[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/direct3d.rs:242:17
[INFO] [stderr]     |
[INFO] [stderr] 242 |                 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/direct3d.rs:244:17
[INFO] [stderr]     |
[INFO] [stderr] 244 |                 D3D12_RESOURCE_STATE_GENERIC_READ,
[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/direct3d/command.rs:58:23
[INFO] [stderr]    |
[INFO] [stderr] 58 |                 Type: D3D12_RESOURCE_BARRIER_TYPE_TRANSITION,
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_VERTEX_BUFFER_VIEW` in this scope
[INFO] [stderr]    --> src/direct3d.rs:270:23
[INFO] [stderr]     |
[INFO] [stderr] 270 |         let vb_view = D3D12_VERTEX_BUFFER_VIEW {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_FLAG_NONE` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:59:24
[INFO] [stderr]    |
[INFO] [stderr] 59 |                 Flags: D3D12_RESOURCE_BARRIER_FLAG_NONE,
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/direct3d.rs:278:34
[INFO] [stderr]     |
[INFO] [stderr] 278 |         let mut idx_buffer: *mut ID3D12Resource = 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/direct3d.rs:284:17
[INFO] [stderr]     |
[INFO] [stderr] 284 |                 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/direct3d.rs:286:17
[INFO] [stderr]     |
[INFO] [stderr] 286 |                 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_INDEX_BUFFER_VIEW` in this scope
[INFO] [stderr]    --> src/direct3d.rs:307:23
[INFO] [stderr]     |
[INFO] [stderr] 307 |         let ib_view = D3D12_INDEX_BUFFER_VIEW {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R16_UINT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:309:21
[INFO] [stderr]     |
[INFO] [stderr] 309 |             Format: DXGI_FORMAT_R16_UINT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3DBlob` in this scope
[INFO] [stderr]    --> src/direct3d.rs:317:31
[INFO] [stderr]     |
[INFO] [stderr] 317 |         let mut vs_blob: *mut ID3DBlob = null_mut();
[INFO] [stderr]     |                               ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3DBlob` in this scope
[INFO] [stderr]    --> src/direct3d.rs:318:31
[INFO] [stderr]     |
[INFO] [stderr] 318 |         let mut ps_blob: *mut ID3DBlob = null_mut();
[INFO] [stderr]     |                               ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3DBlob` in this scope
[INFO] [stderr]    --> src/direct3d.rs:319:34
[INFO] [stderr]     |
[INFO] [stderr] 319 |         let mut error_blob: *mut ID3DBlob = null_mut();
[INFO] [stderr]     |                                  ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompileFromFile` in this scope
[INFO] [stderr]    --> src/direct3d.rs:322:13
[INFO] [stderr]     |
[INFO] [stderr] 322 |             D3DCompileFromFile(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D_COMPILE_STANDARD_FILE_INCLUDE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:327:17
[INFO] [stderr]     |
[INFO] [stderr] 327 |                 D3D_COMPILE_STANDARD_FILE_INCLUDE,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3DCOMPILE_DEBUG` in this scope
[INFO] [stderr]    --> src/direct3d.rs:330:17
[INFO] [stderr]     |
[INFO] [stderr] 330 |                 D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3DCOMPILE_SKIP_OPTIMIZATION` in this scope
[INFO] [stderr]    --> src/direct3d.rs:330:36
[INFO] [stderr]     |
[INFO] [stderr] 330 |                 D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompileFromFile` in this scope
[INFO] [stderr]    --> src/direct3d.rs:341:13
[INFO] [stderr]     |
[INFO] [stderr] 341 |             D3DCompileFromFile(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D_COMPILE_STANDARD_FILE_INCLUDE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:346:17
[INFO] [stderr]     |
[INFO] [stderr] 346 |                 D3D_COMPILE_STANDARD_FILE_INCLUDE,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3DCOMPILE_DEBUG` in this scope
[INFO] [stderr]    --> src/direct3d.rs:349:17
[INFO] [stderr]     |
[INFO] [stderr] 349 |                 D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3DCOMPILE_SKIP_OPTIMIZATION` in this scope
[INFO] [stderr]    --> src/direct3d.rs:349:36
[INFO] [stderr]     |
[INFO] [stderr] 349 |                 D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[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/direct3d.rs:361:28
[INFO] [stderr]     |
[INFO] [stderr] 361 |         let input_layout: [D3D12_INPUT_ELEMENT_DESC; 1] = [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/direct3d.rs:361:60
[INFO] [stderr]     |
[INFO] [stderr] 361 |         let input_layout: [D3D12_INPUT_ELEMENT_DESC; 1] = [D3D12_INPUT_ELEMENT_DESC {
[INFO] [stderr]     |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R32G32B32_FLOAT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:364:21
[INFO] [stderr]     |
[INFO] [stderr] 364 |             Format: DXGI_FORMAT_R32G32B32_FLOAT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_APPEND_ALIGNED_ELEMENT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:366:32
[INFO] [stderr]     |
[INFO] [stderr] 366 |             AlignedByteOffset: D3D12_APPEND_ALIGNED_ELEMENT,
[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/direct3d.rs:367:29
[INFO] [stderr]     |
[INFO] [stderr] 367 |             InputSlotClass: D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA,
[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/direct3d.rs:371:36
[INFO] [stderr]     |
[INFO] [stderr] 371 |         let mut graphics_pipeline: D3D12_GRAPHICS_PIPELINE_STATE_DESC = unsafe { zeroed() };
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_SAMPLE_MASK` in this scope
[INFO] [stderr]    --> src/direct3d.rs:379:40
[INFO] [stderr]     |
[INFO] [stderr] 379 |         graphics_pipeline.SampleMask = D3D12_DEFAULT_SAMPLE_MASK;
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:380:62
[INFO] [stderr]     |
[INFO] [stderr] 380 |         graphics_pipeline.BlendState.AlphaToCoverageEnable = FALSE;
[INFO] [stderr]     |                                                              ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:381:63
[INFO] [stderr]     |
[INFO] [stderr] 381 |         graphics_pipeline.BlendState.IndependentBlendEnable = FALSE;
[INFO] [stderr]     |                                                               ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RENDER_TARGET_BLEND_DESC` in this scope
[INFO] [stderr]    --> src/direct3d.rs:383:43
[INFO] [stderr]     |
[INFO] [stderr] 383 |         let mut render_target_blend_desc: D3D12_RENDER_TARGET_BLEND_DESC = unsafe { zeroed() };
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:384:48
[INFO] [stderr]     |
[INFO] [stderr] 384 |         render_target_blend_desc.BlendEnable = FALSE;
[INFO] [stderr]     |                                                ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COLOR_WRITE_ENABLE_ALL` in this scope
[INFO] [stderr]    --> src/direct3d.rs:385:58
[INFO] [stderr]     |
[INFO] [stderr] 385 |         render_target_blend_desc.RenderTargetWriteMask = D3D12_COLOR_WRITE_ENABLE_ALL as u8;
[INFO] [stderr]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:387:50
[INFO] [stderr]     |
[INFO] [stderr] 387 |         render_target_blend_desc.LogicOpEnable = FALSE;
[INFO] [stderr]     |                                                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:391:63
[INFO] [stderr]     |
[INFO] [stderr] 391 |         graphics_pipeline.RasterizerState.MultisampleEnable = FALSE;
[INFO] [stderr]     |                                                               ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_CULL_MODE_NONE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:392:54
[INFO] [stderr]     |
[INFO] [stderr] 392 |         graphics_pipeline.RasterizerState.CullMode = D3D12_CULL_MODE_NONE;
[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/direct3d.rs:393:54
[INFO] [stderr]     |
[INFO] [stderr] 393 |         graphics_pipeline.RasterizerState.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_RESOURCE_TRANSITION_BARRIER` in this scope
[INFO] [stderr]   --> src/direct3d/command.rs:63:48
[INFO] [stderr]    |
[INFO] [stderr] 63 |             *barrier_desc.u.Transition_mut() = D3D12_RESOURCE_TRANSITION_BARRIER {
[INFO] [stderr]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:394:61
[INFO] [stderr]     |
[INFO] [stderr] 394 |         graphics_pipeline.RasterizerState.DepthClipEnable = TRUE;
[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/direct3d/command.rs:65:30
[INFO] [stderr]    |
[INFO] [stderr] 65 |                 Subresource: D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES,
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:396:67
[INFO] [stderr]     |
[INFO] [stderr] 396 |         graphics_pipeline.RasterizerState.FrontCounterClockwise = FALSE;
[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/direct3d/command.rs:73:46
[INFO] [stderr]    |
[INFO] [stderr] 73 |     pub fn set_rtv(&self, rtv_handle: *const D3D12_CPU_DESCRIPTOR_HANDLE) {
[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/direct3d.rs:397:55
[INFO] [stderr]     |
[INFO] [stderr] 397 |         graphics_pipeline.RasterizerState.DepthBias = D3D12_DEFAULT_DEPTH_BIAS as i32;
[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/direct3d/command.rs:79:21
[INFO] [stderr]    |
[INFO] [stderr] 79 |         rtv_handle: D3D12_CPU_DESCRIPTOR_HANDLE,
[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/direct3d.rs:398:60
[INFO] [stderr]     |
[INFO] [stderr] 398 |         graphics_pipeline.RasterizerState.DepthBiasClamp = D3D12_DEFAULT_DEPTH_BIAS_CLAMP;
[INFO] [stderr]     |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:102:34
[INFO] [stderr]     |
[INFO] [stderr] 102 | fn create_allocator(device: *mut ID3D12Device) -> Result<*mut ID3D12CommandAllocator, String> {
[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/direct3d.rs:400:13
[INFO] [stderr]     |
[INFO] [stderr] 400 |             D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:102:63
[INFO] [stderr]     |
[INFO] [stderr] 102 | fn create_allocator(device: *mut ID3D12Device) -> Result<*mut ID3D12CommandAllocator, String> {
[INFO] [stderr]     |                    -                                          ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    help: you might be missing a type parameter: `<ID3D12CommandAllocator>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:401:67
[INFO] [stderr]     |
[INFO] [stderr] 401 |         graphics_pipeline.RasterizerState.AntialiasedLineEnable = FALSE;
[INFO] [stderr]     |                                                                   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:104:29
[INFO] [stderr]     |
[INFO] [stderr] 104 |     let mut allocator: *mut ID3D12CommandAllocator = null_mut();
[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/direct3d.rs:404:13
[INFO] [stderr]     |
[INFO] [stderr] 404 |             D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF;
[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/direct3d/command.rs:107:13
[INFO] [stderr]     |
[INFO] [stderr] 107 |             D3D12_COMMAND_LIST_TYPE_DIRECT,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:406:59
[INFO] [stderr]     |
[INFO] [stderr] 406 |         graphics_pipeline.DepthStencilState.DepthEnable = FALSE;
[INFO] [stderr]     |                                                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:112:18
[INFO] [stderr]     |
[INFO] [stderr] 112 |     if result == S_OK {
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:407:61
[INFO] [stderr]     |
[INFO] [stderr] 407 |         graphics_pipeline.DepthStencilState.StencilEnable = FALSE;
[INFO] [stderr]     |                                                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:120:18
[INFO] [stderr]     |
[INFO] [stderr] 120 |     device: *mut ID3D12Device,
[INFO] [stderr]     |                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED` in this scope
[INFO] [stderr]    --> src/direct3d.rs:412:45
[INFO] [stderr]     |
[INFO] [stderr] 412 |         graphics_pipeline.IBStripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED;
[INFO] [stderr]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:121:21
[INFO] [stderr]     |
[INFO] [stderr] 121 |     allocator: *mut ID3D12CommandAllocator,
[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/direct3d.rs:413:51
[INFO] [stderr]     |
[INFO] [stderr] 413 |         graphics_pipeline.PrimitiveTopologyType = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE;
[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/direct3d.rs:416:43
[INFO] [stderr]     |
[INFO] [stderr] 416 |         graphics_pipeline.RTVFormats[0] = DXGI_FORMAT_R8G8B8A8_UNORM;
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:122:18
[INFO] [stderr]     |
[INFO] [stderr] 119 | fn create_list(
[INFO] [stderr]     |               - help: you might be missing a type parameter: `<ID3D12GraphicsCommandList>`
[INFO] [stderr] ...
[INFO] [stderr] 122 | ) -> Result<*mut ID3D12GraphicsCommandList, String> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope
[INFO] [stderr]    --> src/direct3d.rs:421:38
[INFO] [stderr]     |
[INFO] [stderr] 421 |         let mut root_signature: *mut ID3D12RootSignature = null_mut();
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:124:24
[INFO] [stderr]     |
[INFO] [stderr] 124 |     let mut list: *mut ID3D12GraphicsCommandList = null_mut();
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_ROOT_SIGNATURE_DESC` in this scope
[INFO] [stderr]    --> src/direct3d.rs:423:38
[INFO] [stderr]     |
[INFO] [stderr] 423 |         let mut root_signature_desc: D3D12_ROOT_SIGNATURE_DESC = unsafe { zeroed() };
[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/direct3d/command.rs:128:13
[INFO] [stderr]     |
[INFO] [stderr] 128 |             D3D12_COMMAND_LIST_TYPE_DIRECT,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:424:37
[INFO] [stderr]     |
[INFO] [stderr] 424 |         root_signature_desc.Flags = D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT;
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:135:18
[INFO] [stderr]     |
[INFO] [stderr] 135 |     if result == S_OK {
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3DBlob` in this scope
[INFO] [stderr]    --> src/direct3d.rs:426:37
[INFO] [stderr]     |
[INFO] [stderr] 426 |         let mut root_sig_blob: *mut ID3DBlob = null_mut();
[INFO] [stderr]     |                                     ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:142:30
[INFO] [stderr]     |
[INFO] [stderr] 142 | fn create_queue(device: *mut ID3D12Device) -> Result<*mut ID3D12CommandQueue, String> {
[INFO] [stderr]     |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12SerializeRootSignature` in this scope
[INFO] [stderr]    --> src/direct3d.rs:428:13
[INFO] [stderr]     |
[INFO] [stderr] 428 |             D3D12SerializeRootSignature(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:142:59
[INFO] [stderr]     |
[INFO] [stderr] 142 | fn create_queue(device: *mut ID3D12Device) -> Result<*mut ID3D12CommandQueue, String> {
[INFO] [stderr]     |                -                                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |                |
[INFO] [stderr]     |                help: you might be missing a type parameter: `<ID3D12CommandQueue>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D_ROOT_SIGNATURE_VERSION_1_0` in this scope
[INFO] [stderr]    --> src/direct3d.rs:430:17
[INFO] [stderr]     |
[INFO] [stderr] 430 |                 D3D_ROOT_SIGNATURE_VERSION_1_0,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_COMMAND_QUEUE_DESC` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:147:22
[INFO] [stderr]     |
[INFO] [stderr] 147 |     let queue_desc = D3D12_COMMAND_QUEUE_DESC {
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope
[INFO] [stderr]    --> src/direct3d.rs:454:38
[INFO] [stderr]     |
[INFO] [stderr] 454 |         let mut pipeline_state: *mut ID3D12PipelineState = null_mut();
[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/direct3d.rs:466:24
[INFO] [stderr]     |
[INFO] [stderr] 466 |         let viewport = D3D12_VIEWPORT {
[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/direct3d/command.rs:148:16
[INFO] [stderr]     |
[INFO] [stderr] 148 |         Flags: D3D12_COMMAND_QUEUE_FLAG_NONE,
[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/direct3d.rs:475:27
[INFO] [stderr]     |
[INFO] [stderr] 475 |         let scissorrect = D3D12_RECT {
[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/direct3d/command.rs:150:19
[INFO] [stderr]     |
[INFO] [stderr] 150 |         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_RESOURCE_STATE_PRESENT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:504:13
[INFO] [stderr]     |
[INFO] [stderr] 504 |             D3D12_RESOURCE_STATE_PRESENT,
[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/direct3d/command.rs:151:15
[INFO] [stderr]     |
[INFO] [stderr] 151 |         Type: D3D12_COMMAND_LIST_TYPE_DIRECT,
[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/direct3d.rs:505:13
[INFO] [stderr]     |
[INFO] [stderr] 505 |             D3D12_RESOURCE_STATE_RENDER_TARGET,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:153:25
[INFO] [stderr]     |
[INFO] [stderr] 153 |     let mut queue: *mut ID3D12CommandQueue = null_mut();
[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/direct3d.rs:515:65
[INFO] [stderr]     |
[INFO] [stderr] 515 |                 (*self.device).GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_RTV)
[INFO] [stderr]     |                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:161:18
[INFO] [stderr]     |
[INFO] [stderr] 161 |     if result == S_OK {
[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/direct3d.rs:539:41
[INFO] [stderr]     |
[INFO] [stderr] 539 |                 .IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:168:30
[INFO] [stderr]     |
[INFO] [stderr] 168 | fn create_fence(device: *mut ID3D12Device, fence_val: UINT64) -> Result<*mut ID3D12Fence, String> {
[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/direct3d.rs:554:13
[INFO] [stderr]     |
[INFO] [stderr] 554 |             D3D12_RESOURCE_STATE_RENDER_TARGET,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT64` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:168:55
[INFO] [stderr]     |
[INFO] [stderr] 168 | fn create_fence(device: *mut ID3D12Device, fence_val: UINT64) -> Result<*mut ID3D12Fence, String> {
[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/direct3d.rs:555:13
[INFO] [stderr]     |
[INFO] [stderr] 555 |             D3D12_RESOURCE_STATE_PRESENT,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Fence` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:168:78
[INFO] [stderr]     |
[INFO] [stderr] 168 | fn create_fence(device: *mut ID3D12Device, fence_val: UINT64) -> Result<*mut ID3D12Fence, String> {
[INFO] [stderr]     |                -                                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |                |
[INFO] [stderr]     |                help: you might be missing a type parameter: `<ID3D12Fence>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]  --> src/msg.rs:4:20
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct Msg(pub MSG);
[INFO] [stderr]   |                    ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Fence` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:170:25
[INFO] [stderr]     |
[INFO] [stderr] 170 |     let mut fence: *mut ID3D12Fence = null_mut();
[INFO] [stderr]     |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]  --> src/msg.rs:7:18
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let mut msg: MSG = unsafe { std::mem::zeroed() };
[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/direct3d/command.rs:174:13
[INFO] [stderr]     |
[INFO] [stderr] 174 |             D3D12_FENCE_FLAG_NONE,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stderr]    --> src/direct3d/command.rs:179:18
[INFO] [stderr]     |
[INFO] [stderr] 179 |     if result == S_OK {
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope
[INFO] [stderr]  --> src/msg.rs:8:17
[INFO] [stderr]   |
[INFO] [stderr] 8 |     if unsafe { PeekMessageW(&mut msg, null_mut(), 0, 0, PM_REMOVE) } != 0 {
[INFO] [stderr]   |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]   --> src/direct3d.rs:22:18
[INFO] [stderr]    |
[INFO] [stderr] 22 |     device: *mut ID3D12Device,
[INFO] [stderr]    |                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain4` in this scope
[INFO] [stderr]   --> src/direct3d.rs:23:21
[INFO] [stderr]    |
[INFO] [stderr] 23 |     swapchain: *mut IDXGISwapChain4,
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PM_REMOVE` in this scope
[INFO] [stderr]  --> src/msg.rs:8:58
[INFO] [stderr]   |
[INFO] [stderr] 8 |     if unsafe { PeekMessageW(&mut msg, null_mut(), 0, 0, PM_REMOVE) } != 0 {
[INFO] [stderr]   |                                                          ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope
[INFO] [stderr]   --> src/direct3d.rs:24:21
[INFO] [stderr]    |
[INFO] [stderr] 24 |     rtv_heaps: *mut ID3D12DescriptorHeap,
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stderr]  --> src/msg.rs:9:18
[INFO] [stderr]   |
[INFO] [stderr] 9 |         unsafe { TranslateMessage(&mut msg) };
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]   --> src/direct3d.rs:25:28
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub struct Direct3D {
[INFO] [stderr]    |                    - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] ...
[INFO] [stderr] 25 |     back_buffers: Vec<*mut ID3D12Resource>,
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope
[INFO] [stderr]   --> src/direct3d.rs:28:26
[INFO] [stderr]    |
[INFO] [stderr] 28 |     pipeline_state: *mut ID3D12PipelineState,
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stderr]   --> src/msg.rs:10:18
[INFO] [stderr]    |
[INFO] [stderr] 10 |         unsafe { DispatchMessageW(&mut msg) };
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope
[INFO] [stderr]   --> src/direct3d.rs:29:26
[INFO] [stderr]    |
[INFO] [stderr] 29 |     root_signature: *mut ID3D12RootSignature,
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/window.rs:11:17
[INFO] [stderr]    |
[INFO] [stderr] 11 |     pub handle: HWND,
[INFO] [stderr]    |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_VIEWPORT` in this scope
[INFO] [stderr]   --> src/direct3d.rs:31:15
[INFO] [stderr]    |
[INFO] [stderr] 31 |     viewport: D3D12_VIEWPORT,
[INFO] [stderr]    |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]   --> src/window.rs:12:16
[INFO] [stderr]    |
[INFO] [stderr] 12 |     pub class: WNDCLASSEXW,
[INFO] [stderr]    |                ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RECT` in this scope
[INFO] [stderr]   --> src/direct3d.rs:32:18
[INFO] [stderr]    |
[INFO] [stderr] 32 |     scissorrect: 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/direct3d.rs:34:14
[INFO] [stderr]    |
[INFO] [stderr] 34 |     vb_view: D3D12_VERTEX_BUFFER_VIEW,
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stderr]   --> src/window.rs:27:21
[INFO] [stderr]    |
[INFO] [stderr] 27 |         let class = WNDCLASSEXW {
[INFO] [stderr]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_INDEX_BUFFER_VIEW` in this scope
[INFO] [stderr]   --> src/direct3d.rs:35:14
[INFO] [stderr]    |
[INFO] [stderr] 35 |     ib_view: D3D12_INDEX_BUFFER_VIEW,
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory6` in this scope
[INFO] [stderr]   --> src/direct3d.rs:38:36
[INFO] [stderr]    |
[INFO] [stderr] 38 | fn create_factory() -> Result<*mut IDXGIFactory6, String> {
[INFO] [stderr]    |                  -                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |                  |
[INFO] [stderr]    |                  help: you might be missing a type parameter: `<IDXGIFactory6>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]   --> src/window.rs:28:36
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl Window {
[INFO] [stderr]    |     - help: you might be missing a type parameter: `<WNDCLASSEXW>`
[INFO] [stderr] ...
[INFO] [stderr] 28 |             cbSize: mem::size_of::<WNDCLASSEXW>() as UINT,
[INFO] [stderr]    |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory6` in this scope
[INFO] [stderr]   --> src/direct3d.rs:40:27
[INFO] [stderr]    |
[INFO] [stderr] 40 |     let mut factory: *mut IDXGIFactory6 = 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/direct3d.rs:42:9
[INFO] [stderr]    |
[INFO] [stderr] 42 |         CreateDXGIFactory2(
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/window.rs:28:54
[INFO] [stderr]    |
[INFO] [stderr] 28 |             cbSize: mem::size_of::<WNDCLASSEXW>() as UINT,
[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/direct3d.rs:43:13
[INFO] [stderr]    |
[INFO] [stderr] 43 |             DXGI_CREATE_FACTORY_DEBUG,
[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/direct3d.rs:52:13
[INFO] [stderr]    |
[INFO] [stderr] 52 |             CreateDXGIFactory2(
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]   --> src/window.rs:31:33
[INFO] [stderr]    |
[INFO] [stderr] 31 |             hInstance: unsafe { GetModuleHandleW(null()) },
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]   --> src/direct3d.rs:66:35
[INFO] [stderr]    |
[INFO] [stderr] 66 | fn create_device() -> Result<*mut ID3D12Device, String> {
[INFO] [stderr]    |                 -                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: you might be missing a type parameter: `<ID3D12Device>`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stderr]   --> src/window.rs:42:18
[INFO] [stderr]    |
[INFO] [stderr] 42 |         unsafe { RegisterClassExW(&class) };
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]   --> src/direct3d.rs:67:26
[INFO] [stderr]    |
[INFO] [stderr] 67 |     let mut device: *mut ID3D12Device = null_mut();
[INFO] [stderr]    |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_12_1` in this scope
[INFO] [stderr]   --> src/direct3d.rs:70:9
[INFO] [stderr]    |
[INFO] [stderr] 70 |         D3D_FEATURE_LEVEL_12_1,
[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/window.rs:44:31
[INFO] [stderr]    |
[INFO] [stderr] 44 |         let mut window_rect = RECT {
[INFO] [stderr]    |                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_12_0` in this scope
[INFO] [stderr]   --> src/direct3d.rs:71:9
[INFO] [stderr]    |
[INFO] [stderr] 71 |         D3D_FEATURE_LEVEL_12_0,
[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/direct3d.rs:72:9
[INFO] [stderr]    |
[INFO] [stderr] 72 |         D3D_FEATURE_LEVEL_11_1,
[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/window.rs:52:13
[INFO] [stderr]    |
[INFO] [stderr] 52 |             AdjustWindowRect(&mut window_rect, WS_OVERLAPPEDWINDOW, 0);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_0` in this scope
[INFO] [stderr]   --> src/direct3d.rs:73:9
[INFO] [stderr]    |
[INFO] [stderr] 73 |         D3D_FEATURE_LEVEL_11_0,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]   --> src/window.rs:52:48
[INFO] [stderr]    |
[INFO] [stderr] 52 |             AdjustWindowRect(&mut window_rect, WS_OVERLAPPEDWINDOW, 0);
[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/direct3d.rs:77:13
[INFO] [stderr]    |
[INFO] [stderr] 77 |             D3D12CreateDevice(
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory6` in this scope
[INFO] [stderr]   --> src/direct3d.rs:92:19
[INFO] [stderr]    |
[INFO] [stderr] 92 |     factory: *mut IDXGIFactory6,
[INFO] [stderr]    |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stderr]   --> src/window.rs:56:13
[INFO] [stderr]    |
[INFO] [stderr] 56 |             CreateWindowExW(
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_EX_LEFT` in this scope
[INFO] [stderr]   --> src/window.rs:57:17
[INFO] [stderr]    |
[INFO] [stderr] 57 |                 WS_EX_LEFT,
[INFO] [stderr]    |                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain4` in this scope
[INFO] [stderr]   --> src/direct3d.rs:95:18
[INFO] [stderr]    |
[INFO] [stderr] 91 | fn create_swapchain(
[INFO] [stderr]    |                    - help: you might be missing a type parameter: `<IDXGISwapChain4>`
[INFO] [stderr] ...
[INFO] [stderr] 95 | ) -> Result<*mut IDXGISwapChain4, String> {
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_DESC1` in this scope
[INFO] [stderr]    --> src/direct3d.rs:102:16
[INFO] [stderr]     |
[INFO] [stderr] 102 |     let desc = DXGI_SWAP_CHAIN_DESC1 {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]   --> src/window.rs:60:17
[INFO] [stderr]    |
[INFO] [stderr] 60 |                 WS_OVERLAPPEDWINDOW,
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:103:32
[INFO] [stderr]     |
[INFO] [stderr] 103 |         Width: window.width as UINT,
[INFO] [stderr]     |                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:104:34
[INFO] [stderr]     |
[INFO] [stderr] 104 |         Height: window.height as UINT,
[INFO] [stderr]     |                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/window.rs:61:17
[INFO] [stderr]    |
[INFO] [stderr] 61 |                 CW_USEDEFAULT,
[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/direct3d.rs:105:17
[INFO] [stderr]     |
[INFO] [stderr] 105 |         Format: DXGI_FORMAT_R8G8B8A8_UNORM,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/window.rs:62:17
[INFO] [stderr]    |
[INFO] [stderr] 62 |                 CW_USEDEFAULT,
[INFO] [stderr]    |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:106:17
[INFO] [stderr]     |
[INFO] [stderr] 106 |         Stereo: FALSE,
[INFO] [stderr]     |                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stderr]   --> src/window.rs:81:18
[INFO] [stderr]    |
[INFO] [stderr] 81 |         unsafe { ShowWindow(self.handle, SW_SHOW) };
[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/direct3d.rs:107:21
[INFO] [stderr]     |
[INFO] [stderr] 107 |         SampleDesc: DXGI_SAMPLE_DESC {
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:108:25
[INFO] [stderr]     |
[INFO] [stderr] 108 |             Count: 1 as UINT,
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOW` in this scope
[INFO] [stderr]   --> src/window.rs:81:42
[INFO] [stderr]    |
[INFO] [stderr] 81 |         unsafe { ShowWindow(self.handle, SW_SHOW) };
[INFO] [stderr]    |                                          ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:109:27
[INFO] [stderr]     |
[INFO] [stderr] 109 |             Quality: 0 as UINT,
[INFO] [stderr]     |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassW` in this scope
[INFO] [stderr]   --> src/window.rs:88:18
[INFO] [stderr]    |
[INFO] [stderr] 88 |         unsafe { UnregisterClassW(self.class.lpszClassName, self.class.hInstance) };
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_USAGE_BACK_BUFFER` in this scope
[INFO] [stderr]    --> src/direct3d.rs:111:22
[INFO] [stderr]     |
[INFO] [stderr] 111 |         BufferUsage: DXGI_USAGE_BACK_BUFFER,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:112:27
[INFO] [stderr]     |
[INFO] [stderr] 112 |         BufferCount: 2 as UINT,
[INFO] [stderr]     |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/window.rs:92:36
[INFO] [stderr]    |
[INFO] [stderr] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_SCALING_STRETCH` in this scope
[INFO] [stderr]    --> src/direct3d.rs:113:18
[INFO] [stderr]     |
[INFO] [stderr] 113 |         Scaling: DXGI_SCALING_STRETCH,
[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/direct3d.rs:114:21
[INFO] [stderr]     |
[INFO] [stderr] 114 |         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/window.rs:92:47
[INFO] [stderr]    |
[INFO] [stderr] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_ALPHA_MODE_UNSPECIFIED` in this scope
[INFO] [stderr]    --> src/direct3d.rs:115:20
[INFO] [stderr]     |
[INFO] [stderr] 115 |         AlphaMode: DXGI_ALPHA_MODE_UNSPECIFIED,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]   --> src/window.rs:92:61
[INFO] [stderr]    |
[INFO] [stderr] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH` in this scope
[INFO] [stderr]    --> src/direct3d.rs:116:16
[INFO] [stderr]     |
[INFO] [stderr] 116 |         Flags: DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH,
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain4` in this scope
[INFO] [stderr]    --> src/direct3d.rs:119:29
[INFO] [stderr]     |
[INFO] [stderr] 119 |     let mut swapchain: *mut IDXGISwapChain4 = null_mut();
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/window.rs:92:77
[INFO] [stderr]    |
[INFO] [stderr] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope
[INFO] [stderr]    --> src/direct3d.rs:122:59
[INFO] [stderr]     |
[INFO] [stderr] 122 |             command_manager.get_queue() as *mut _ as *mut IUnknown,
[INFO] [stderr]     |                                                           ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/window.rs:92:88
[INFO] [stderr]    |
[INFO] [stderr] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                                        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain1` in this scope
[INFO] [stderr]    --> src/direct3d.rs:127:56
[INFO] [stderr]     |
[INFO] [stderr] 127 |             &mut swapchain as *mut *mut _ as *mut *mut IDXGISwapChain1,
[INFO] [stderr]     |                                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]    --> src/direct3d.rs:137:31
[INFO] [stderr]     |
[INFO] [stderr] 137 | fn create_rtv_heaps(dev: *mut ID3D12Device) -> Result<*mut ID3D12DescriptorHeap, String> {
[INFO] [stderr]     |                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_DESTROY` in this scope
[INFO] [stderr]   --> src/window.rs:94:15
[INFO] [stderr]    |
[INFO] [stderr] 94 |     if msg == WM_DESTROY {
[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/window.rs:95:18
[INFO] [stderr]    |
[INFO] [stderr] 95 |         unsafe { PostQuitMessage(0) };
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope
[INFO] [stderr]    --> src/direct3d.rs:137:60
[INFO] [stderr]     |
[INFO] [stderr] 137 | fn create_rtv_heaps(dev: *mut ID3D12Device) -> Result<*mut ID3D12DescriptorHeap, String> {
[INFO] [stderr]     |                    -                                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    help: you might be missing a type parameter: `<ID3D12DescriptorHeap>`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_DESCRIPTOR_HEAP_DESC` in this scope
[INFO] [stderr]    --> src/direct3d.rs:138:16
[INFO] [stderr]     |
[INFO] [stderr] 138 |     let desc = D3D12_DESCRIPTOR_HEAP_DESC {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stderr]   --> src/window.rs:98:21
[INFO] [stderr]    |
[INFO] [stderr] 98 |     return unsafe { DefWindowProcW(hwnd, msg, wparam, lparam) };
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Debug` in this scope
[INFO] [stderr]   --> src/main.rs:16:31
[INFO] [stderr]    |
[INFO] [stderr] 16 |     let mut debug_layer: *mut ID3D12Debug = null_mut();
[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/direct3d.rs:139:15
[INFO] [stderr]     |
[INFO] [stderr] 139 |         Type: D3D12_DESCRIPTOR_HEAP_TYPE_RTV, // render target view
[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/main.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 18 |         D3D12GetDebugInterface(
[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/direct3d.rs:141:16
[INFO] [stderr]     |
[INFO] [stderr] 141 |         Flags: D3D12_DESCRIPTOR_HEAP_FLAG_NONE,
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope
[INFO] [stderr]    --> src/direct3d.rs:144:29
[INFO] [stderr]     |
[INFO] [stderr] 144 |     let mut rtv_heaps: *mut ID3D12DescriptorHeap = null_mut();
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope
[INFO] [stderr]    --> src/direct3d.rs:160:18
[INFO] [stderr]     |
[INFO] [stderr] 160 |     device: *mut ID3D12Device,
[INFO] [stderr]     |                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain4` in this scope
[INFO] [stderr]    --> src/direct3d.rs:161:21
[INFO] [stderr]     |
[INFO] [stderr] 161 |     swapchain: *mut IDXGISwapChain4,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope
[INFO] [stderr]    --> src/direct3d.rs:162:21
[INFO] [stderr]     |
[INFO] [stderr] 162 |     rtv_heaps: *mut ID3D12DescriptorHeap,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around `for` iterator expression
[INFO] [stderr]    --> src/direct3d.rs:173:14
[INFO] [stderr]     |
[INFO] [stderr] 173 |     for i in { 0..swapchain_desc.BufferCount } {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_braces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/direct3d.rs:163:22
[INFO] [stderr]     |
[INFO] [stderr] 159 | fn create_back_buffers(
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] ...
[INFO] [stderr] 163 | ) -> Result<Vec<*mut ID3D12Resource>, String> {
[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/direct3d.rs:164:29
[INFO] [stderr]     |
[INFO] [stderr] 164 |     let mut swapchain_desc: DXGI_SWAP_CHAIN_DESC = unsafe { zeroed() };
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/direct3d.rs:169:36
[INFO] [stderr]     |
[INFO] [stderr] 159 | fn create_back_buffers(
[INFO] [stderr]     |                       - help: you might be missing a type parameter: `<ID3D12Resource>`
[INFO] [stderr] ...
[INFO] [stderr] 169 |     let mut back_buffers: Vec<*mut ID3D12Resource> = vec![];
[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/direct3d.rs:171:21
[INFO] [stderr]     |
[INFO] [stderr] 171 |     let mut handle: D3D12_CPU_DESCRIPTOR_HANDLE =
[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/direct3d.rs:186:65
[INFO] [stderr]     |
[INFO] [stderr] 186 |             unsafe { (*device).GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_RTV) }
[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/direct3d.rs:214:24
[INFO] [stderr]     |
[INFO] [stderr] 214 |         let heapprop = D3D12_HEAP_PROPERTIES {
[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/direct3d.rs:215:19
[INFO] [stderr]     |
[INFO] [stderr] 215 |             Type: D3D12_HEAP_TYPE_UPLOAD,
[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/direct3d.rs:216:30
[INFO] [stderr]     |
[INFO] [stderr] 216 |             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/direct3d.rs:217:35
[INFO] [stderr]     |
[INFO] [stderr] 217 |             MemoryPoolPreference: D3D12_MEMORY_POOL_UNKNOWN,
[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/direct3d.rs:222:29
[INFO] [stderr]     |
[INFO] [stderr] 222 |         let resource_desc = 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/direct3d.rs:223:24
[INFO] [stderr]     |
[INFO] [stderr] 223 |             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/direct3d.rs:229:21
[INFO] [stderr]     |
[INFO] [stderr] 229 |             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/direct3d.rs:230:25
[INFO] [stderr]     |
[INFO] [stderr] 230 |             SampleDesc: DXGI_SAMPLE_DESC {
[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/direct3d.rs:234:20
[INFO] [stderr]     |
[INFO] [stderr] 234 |             Flags: D3D12_RESOURCE_FLAG_NONE,
[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/direct3d.rs:235:21
[INFO] [stderr]     |
[INFO] [stderr] 235 |             Layout: D3D12_TEXTURE_LAYOUT_ROW_MAJOR,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/direct3d.rs:238:37
[INFO] [stderr]     |
[INFO] [stderr] 238 |         let mut vertex_buffer: *mut ID3D12Resource = 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/direct3d.rs:242:17
[INFO] [stderr]     |
[INFO] [stderr] 242 |                 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/direct3d.rs:244:17
[INFO] [stderr]     |
[INFO] [stderr] 244 |                 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_VERTEX_BUFFER_VIEW` in this scope
[INFO] [stderr]    --> src/direct3d.rs:270:23
[INFO] [stderr]     |
[INFO] [stderr] 270 |         let vb_view = D3D12_VERTEX_BUFFER_VIEW {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope
[INFO] [stderr]    --> src/direct3d.rs:278:34
[INFO] [stderr]     |
[INFO] [stderr] 278 |         let mut idx_buffer: *mut ID3D12Resource = 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/direct3d.rs:284:17
[INFO] [stderr]     |
[INFO] [stderr] 284 |                 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/direct3d.rs:286:17
[INFO] [stderr]     |
[INFO] [stderr] 286 |                 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_INDEX_BUFFER_VIEW` in this scope
[INFO] [stderr]    --> src/direct3d.rs:307:23
[INFO] [stderr]     |
[INFO] [stderr] 307 |         let ib_view = D3D12_INDEX_BUFFER_VIEW {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R16_UINT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:309:21
[INFO] [stderr]     |
[INFO] [stderr] 309 |             Format: DXGI_FORMAT_R16_UINT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3DBlob` in this scope
[INFO] [stderr]    --> src/direct3d.rs:317:31
[INFO] [stderr]     |
[INFO] [stderr] 317 |         let mut vs_blob: *mut ID3DBlob = null_mut();
[INFO] [stderr]     |                               ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3DBlob` in this scope
[INFO] [stderr]    --> src/direct3d.rs:318:31
[INFO] [stderr]     |
[INFO] [stderr] 318 |         let mut ps_blob: *mut ID3DBlob = null_mut();
[INFO] [stderr]     |                               ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3DBlob` in this scope
[INFO] [stderr]    --> src/direct3d.rs:319:34
[INFO] [stderr]     |
[INFO] [stderr] 319 |         let mut error_blob: *mut ID3DBlob = null_mut();
[INFO] [stderr]     |                                  ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompileFromFile` in this scope
[INFO] [stderr]    --> src/direct3d.rs:322:13
[INFO] [stderr]     |
[INFO] [stderr] 322 |             D3DCompileFromFile(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D_COMPILE_STANDARD_FILE_INCLUDE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:327:17
[INFO] [stderr]     |
[INFO] [stderr] 327 |                 D3D_COMPILE_STANDARD_FILE_INCLUDE,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3DCOMPILE_DEBUG` in this scope
[INFO] [stderr]    --> src/direct3d.rs:330:17
[INFO] [stderr]     |
[INFO] [stderr] 330 |                 D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3DCOMPILE_SKIP_OPTIMIZATION` in this scope
[INFO] [stderr]    --> src/direct3d.rs:330:36
[INFO] [stderr]     |
[INFO] [stderr] 330 |                 D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompileFromFile` in this scope
[INFO] [stderr]    --> src/direct3d.rs:341:13
[INFO] [stderr]     |
[INFO] [stderr] 341 |             D3DCompileFromFile(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D_COMPILE_STANDARD_FILE_INCLUDE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:346:17
[INFO] [stderr]     |
[INFO] [stderr] 346 |                 D3D_COMPILE_STANDARD_FILE_INCLUDE,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3DCOMPILE_DEBUG` in this scope
[INFO] [stderr]    --> src/direct3d.rs:349:17
[INFO] [stderr]     |
[INFO] [stderr] 349 |                 D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3DCOMPILE_SKIP_OPTIMIZATION` in this scope
[INFO] [stderr]    --> src/direct3d.rs:349:36
[INFO] [stderr]     |
[INFO] [stderr] 349 |                 D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
[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/direct3d.rs:361:28
[INFO] [stderr]     |
[INFO] [stderr] 361 |         let input_layout: [D3D12_INPUT_ELEMENT_DESC; 1] = [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/direct3d.rs:361:60
[INFO] [stderr]     |
[INFO] [stderr] 361 |         let input_layout: [D3D12_INPUT_ELEMENT_DESC; 1] = [D3D12_INPUT_ELEMENT_DESC {
[INFO] [stderr]     |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R32G32B32_FLOAT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:364:21
[INFO] [stderr]     |
[INFO] [stderr] 364 |             Format: DXGI_FORMAT_R32G32B32_FLOAT,
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_APPEND_ALIGNED_ELEMENT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:366:32
[INFO] [stderr]     |
[INFO] [stderr] 366 |             AlignedByteOffset: D3D12_APPEND_ALIGNED_ELEMENT,
[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/direct3d.rs:367:29
[INFO] [stderr]     |
[INFO] [stderr] 367 |             InputSlotClass: D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA,
[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/direct3d.rs:371:36
[INFO] [stderr]     |
[INFO] [stderr] 371 |         let mut graphics_pipeline: D3D12_GRAPHICS_PIPELINE_STATE_DESC = unsafe { zeroed() };
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_SAMPLE_MASK` in this scope
[INFO] [stderr]    --> src/direct3d.rs:379:40
[INFO] [stderr]     |
[INFO] [stderr] 379 |         graphics_pipeline.SampleMask = D3D12_DEFAULT_SAMPLE_MASK;
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:380:62
[INFO] [stderr]     |
[INFO] [stderr] 380 |         graphics_pipeline.BlendState.AlphaToCoverageEnable = FALSE;
[INFO] [stderr]     |                                                              ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:381:63
[INFO] [stderr]     |
[INFO] [stderr] 381 |         graphics_pipeline.BlendState.IndependentBlendEnable = FALSE;
[INFO] [stderr]     |                                                               ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_RENDER_TARGET_BLEND_DESC` in this scope
[INFO] [stderr]    --> src/direct3d.rs:383:43
[INFO] [stderr]     |
[INFO] [stderr] 383 |         let mut render_target_blend_desc: D3D12_RENDER_TARGET_BLEND_DESC = unsafe { zeroed() };
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:384:48
[INFO] [stderr]     |
[INFO] [stderr] 384 |         render_target_blend_desc.BlendEnable = FALSE;
[INFO] [stderr]     |                                                ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_COLOR_WRITE_ENABLE_ALL` in this scope
[INFO] [stderr]    --> src/direct3d.rs:385:58
[INFO] [stderr]     |
[INFO] [stderr] 385 |         render_target_blend_desc.RenderTargetWriteMask = D3D12_COLOR_WRITE_ENABLE_ALL as u8;
[INFO] [stderr]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:387:50
[INFO] [stderr]     |
[INFO] [stderr] 387 |         render_target_blend_desc.LogicOpEnable = FALSE;
[INFO] [stderr]     |                                                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:391:63
[INFO] [stderr]     |
[INFO] [stderr] 391 |         graphics_pipeline.RasterizerState.MultisampleEnable = FALSE;
[INFO] [stderr]     |                                                               ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_CULL_MODE_NONE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:392:54
[INFO] [stderr]     |
[INFO] [stderr] 392 |         graphics_pipeline.RasterizerState.CullMode = D3D12_CULL_MODE_NONE;
[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/direct3d.rs:393:54
[INFO] [stderr]     |
[INFO] [stderr] 393 |         graphics_pipeline.RasterizerState.FillMode = D3D12_FILL_MODE_SOLID;
[INFO] [stderr]     |                                                      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:394:61
[INFO] [stderr]     |
[INFO] [stderr] 394 |         graphics_pipeline.RasterizerState.DepthClipEnable = TRUE;
[INFO] [stderr]     |                                                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:396:67
[INFO] [stderr]     |
[INFO] [stderr] 396 |         graphics_pipeline.RasterizerState.FrontCounterClockwise = FALSE;
[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/direct3d.rs:397:55
[INFO] [stderr]     |
[INFO] [stderr] 397 |         graphics_pipeline.RasterizerState.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/direct3d.rs:398:60
[INFO] [stderr]     |
[INFO] [stderr] 398 |         graphics_pipeline.RasterizerState.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/direct3d.rs:400:13
[INFO] [stderr]     |
[INFO] [stderr] 400 |             D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:401:67
[INFO] [stderr]     |
[INFO] [stderr] 401 |         graphics_pipeline.RasterizerState.AntialiasedLineEnable = FALSE;
[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/direct3d.rs:404:13
[INFO] [stderr]     |
[INFO] [stderr] 404 |             D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:406:59
[INFO] [stderr]     |
[INFO] [stderr] 406 |         graphics_pipeline.DepthStencilState.DepthEnable = FALSE;
[INFO] [stderr]     |                                                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]    --> src/direct3d.rs:407:61
[INFO] [stderr]     |
[INFO] [stderr] 407 |         graphics_pipeline.DepthStencilState.StencilEnable = FALSE;
[INFO] [stderr]     |                                                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED` in this scope
[INFO] [stderr]    --> src/direct3d.rs:412:45
[INFO] [stderr]     |
[INFO] [stderr] 412 |         graphics_pipeline.IBStripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED;
[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/direct3d.rs:413:51
[INFO] [stderr]     |
[INFO] [stderr] 413 |         graphics_pipeline.PrimitiveTopologyType = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE;
[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/direct3d.rs:416:43
[INFO] [stderr]     |
[INFO] [stderr] 416 |         graphics_pipeline.RTVFormats[0] = DXGI_FORMAT_R8G8B8A8_UNORM;
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope
[INFO] [stderr]    --> src/direct3d.rs:421:38
[INFO] [stderr]     |
[INFO] [stderr] 421 |         let mut root_signature: *mut ID3D12RootSignature = null_mut();
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `D3D12_ROOT_SIGNATURE_DESC` in this scope
[INFO] [stderr]    --> src/direct3d.rs:423:38
[INFO] [stderr]     |
[INFO] [stderr] 423 |         let mut root_signature_desc: D3D12_ROOT_SIGNATURE_DESC = unsafe { zeroed() };
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT` in this scope
[INFO] [stderr]    --> src/direct3d.rs:424:37
[INFO] [stderr]     |
[INFO] [stderr] 424 |         root_signature_desc.Flags = D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT;
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3DBlob` in this scope
[INFO] [stderr]    --> src/direct3d.rs:426:37
[INFO] [stderr]     |
[INFO] [stderr] 426 |         let mut root_sig_blob: *mut ID3DBlob = null_mut();
[INFO] [stderr]     |                                     ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12SerializeRootSignature` in this scope
[INFO] [stderr]    --> src/direct3d.rs:428:13
[INFO] [stderr]     |
[INFO] [stderr] 428 |             D3D12SerializeRootSignature(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `D3D_ROOT_SIGNATURE_VERSION_1_0` in this scope
[INFO] [stderr]    --> src/direct3d.rs:430:17
[INFO] [stderr]     |
[INFO] [stderr] 430 |                 D3D_ROOT_SIGNATURE_VERSION_1_0,
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope
[INFO] [stderr]    --> src/direct3d.rs:454:38
[INFO] [stderr]     |
[INFO] [stderr] 454 |         let mut pipeline_state: *mut ID3D12PipelineState = null_mut();
[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/direct3d.rs:466:24
[INFO] [stderr]     |
[INFO] [stderr] 466 |         let viewport = 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/direct3d.rs:475:27
[INFO] [stderr]     |
[INFO] [stderr] 475 |         let scissorrect = D3D12_RECT {
[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/direct3d.rs:504:13
[INFO] [stderr]     |
[INFO] [stderr] 504 |             D3D12_RESOURCE_STATE_PRESENT,
[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/direct3d.rs:505:13
[INFO] [stderr]     |
[INFO] [stderr] 505 |             D3D12_RESOURCE_STATE_RENDER_TARGET,
[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/direct3d.rs:515:65
[INFO] [stderr]     |
[INFO] [stderr] 515 |                 (*self.device).GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_RTV)
[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/direct3d.rs:539:41
[INFO] [stderr]     |
[INFO] [stderr] 539 |                 .IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
[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/direct3d.rs:554:13
[INFO] [stderr]     |
[INFO] [stderr] 554 |             D3D12_RESOURCE_STATE_RENDER_TARGET,
[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/direct3d.rs:555:13
[INFO] [stderr]     |
[INFO] [stderr] 555 |             D3D12_RESOURCE_STATE_PRESENT,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]  --> src/msg.rs:4:20
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct Msg(pub MSG);
[INFO] [stderr]   |                    ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]  --> src/msg.rs:7:18
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let mut msg: MSG = unsafe { std::mem::zeroed() };
[INFO] [stderr]   |                  ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope
[INFO] [stderr]  --> src/msg.rs:8:17
[INFO] [stderr]   |
[INFO] [stderr] 8 |     if unsafe { PeekMessageW(&mut msg, 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/msg.rs:8:58
[INFO] [stderr]   |
[INFO] [stderr] 8 |     if unsafe { PeekMessageW(&mut msg, 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 `TranslateMessage` in this scope
[INFO] [stderr]  --> src/msg.rs:9:18
[INFO] [stderr]   |
[INFO] [stderr] 9 |         unsafe { TranslateMessage(&mut msg) };
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stderr]   --> src/msg.rs:10:18
[INFO] [stderr]    |
[INFO] [stderr] 10 |         unsafe { DispatchMessageW(&mut msg) };
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/window.rs:11:17
[INFO] [stderr]    |
[INFO] [stderr] 11 |     pub handle: HWND,
[INFO] [stderr]    |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]   --> src/window.rs:12:16
[INFO] [stderr]    |
[INFO] [stderr] 12 |     pub class: WNDCLASSEXW,
[INFO] [stderr]    |                ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stderr]   --> src/window.rs:27:21
[INFO] [stderr]    |
[INFO] [stderr] 27 |         let class = WNDCLASSEXW {
[INFO] [stderr]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]   --> src/window.rs:28:36
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl Window {
[INFO] [stderr]    |     - help: you might be missing a type parameter: `<WNDCLASSEXW>`
[INFO] [stderr] ...
[INFO] [stderr] 28 |             cbSize: mem::size_of::<WNDCLASSEXW>() as UINT,
[INFO] [stderr]    |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/window.rs:28:54
[INFO] [stderr]    |
[INFO] [stderr] 28 |             cbSize: mem::size_of::<WNDCLASSEXW>() as UINT,
[INFO] [stderr]    |                                                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stderr]   --> src/window.rs:31:33
[INFO] [stderr]    |
[INFO] [stderr] 31 |             hInstance: unsafe { GetModuleHandleW(null()) },
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stderr]   --> src/window.rs:42:18
[INFO] [stderr]    |
[INFO] [stderr] 42 |         unsafe { RegisterClassExW(&class) };
[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/window.rs:44:31
[INFO] [stderr]    |
[INFO] [stderr] 44 |         let mut window_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/window.rs:52:13
[INFO] [stderr]    |
[INFO] [stderr] 52 |             AdjustWindowRect(&mut window_rect, WS_OVERLAPPEDWINDOW, 0);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]   --> src/window.rs:52:48
[INFO] [stderr]    |
[INFO] [stderr] 52 |             AdjustWindowRect(&mut window_rect, WS_OVERLAPPEDWINDOW, 0);
[INFO] [stderr]    |                                                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stderr]   --> src/window.rs:56:13
[INFO] [stderr]    |
[INFO] [stderr] 56 |             CreateWindowExW(
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_EX_LEFT` in this scope
[INFO] [stderr]   --> src/window.rs:57:17
[INFO] [stderr]    |
[INFO] [stderr] 57 |                 WS_EX_LEFT,
[INFO] [stderr]    |                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]   --> src/window.rs:60:17
[INFO] [stderr]    |
[INFO] [stderr] 60 |                 WS_OVERLAPPEDWINDOW,
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/window.rs:61:17
[INFO] [stderr]    |
[INFO] [stderr] 61 |                 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/window.rs:62:17
[INFO] [stderr]    |
[INFO] [stderr] 62 |                 CW_USEDEFAULT,
[INFO] [stderr]    |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stderr]   --> src/window.rs:81:18
[INFO] [stderr]    |
[INFO] [stderr] 81 |         unsafe { ShowWindow(self.handle, SW_SHOW) };
[INFO] [stderr]    |                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOW` in this scope
[INFO] [stderr]   --> src/window.rs:81:42
[INFO] [stderr]    |
[INFO] [stderr] 81 |         unsafe { ShowWindow(self.handle, SW_SHOW) };
[INFO] [stderr]    |                                          ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassW` in this scope
[INFO] [stderr]   --> src/window.rs:88:18
[INFO] [stderr]    |
[INFO] [stderr] 88 |         unsafe { UnregisterClassW(self.class.lpszClassName, self.class.hInstance) };
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/window.rs:92:36
[INFO] [stderr]    |
[INFO] [stderr] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/window.rs:92:47
[INFO] [stderr]    |
[INFO] [stderr] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]   --> src/window.rs:92:61
[INFO] [stderr]    |
[INFO] [stderr] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/window.rs:92:77
[INFO] [stderr]    |
[INFO] [stderr] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/window.rs:92:88
[INFO] [stderr]    |
[INFO] [stderr] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                                        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WM_DESTROY` in this scope
[INFO] [stderr]   --> src/window.rs:94:15
[INFO] [stderr]    |
[INFO] [stderr] 94 |     if msg == WM_DESTROY {
[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/window.rs:95:18
[INFO] [stderr]    |
[INFO] [stderr] 95 |         unsafe { PostQuitMessage(0) };
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stderr]   --> src/window.rs:98:21
[INFO] [stderr]    |
[INFO] [stderr] 98 |     return unsafe { DefWindowProcW(hwnd, msg, wparam, lparam) };
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ID3D12Debug` in this scope
[INFO] [stderr]   --> src/main.rs:16:31
[INFO] [stderr]    |
[INFO] [stderr] 16 |     let mut debug_layer: *mut ID3D12Debug = 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/main.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 18 |         D3D12GetDebugInterface(
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around `for` iterator expression
[INFO] [stderr]    --> src/direct3d.rs:173:14
[INFO] [stderr]     |
[INFO] [stderr] 173 |     for i in { 0..swapchain_desc.BufferCount } {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_braces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 251 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 `dx12-in-rust`.
[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: aborting due to 251 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 `dx12-in-rust`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "0abb02303bff7e565e85af5b857ed1098d5b2f197b316ea6bb618a414971258e"`
[INFO] running `"docker" "rm" "-f" "0abb02303bff7e565e85af5b857ed1098d5b2f197b316ea6bb618a414971258e"`
[INFO] [stdout] 0abb02303bff7e565e85af5b857ed1098d5b2f197b316ea6bb618a414971258e
