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