[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/71727cd5e03b560c35a61836d62b2cbadc4e6604 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakitsu-sanae%2Fdx12-in-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akitsu-sanae/dx12-in-rust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22c21509066533ead0c5cdc86a02077d45a3ef908af58d0980d40da4eb2544c0 [INFO] running `Command { std: "docker" "start" "-a" "22c21509066533ead0c5cdc86a02077d45a3ef908af58d0980d40da4eb2544c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22c21509066533ead0c5cdc86a02077d45a3ef908af58d0980d40da4eb2544c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c21509066533ead0c5cdc86a02077d45a3ef908af58d0980d40da4eb2544c0", kill_on_drop: false }` [INFO] [stdout] 22c21509066533ead0c5cdc86a02077d45a3ef908af58d0980d40da4eb2544c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a8054f2f3f6775ca3190ade53a07f52546862462750f69ab741af09db8b3bac [INFO] running `Command { std: "docker" "start" "-a" "1a8054f2f3f6775ca3190ade53a07f52546862462750f69ab741af09db8b3bac", 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 `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: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: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: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: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[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[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 `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: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: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 `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 `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: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 `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: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: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 `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: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 `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: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: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: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: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[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 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[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: 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: 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 `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 `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] 25 | back_buffers: Vec<*mut ID3D12Resource>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Direct3D { [INFO] [stdout] | ++++++++++++++++ [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 `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] 66 | fn create_device() -> Result<*mut ID3D12Device, String> { [INFO] [stdout] | ++++++++++++++ [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[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] 137 | fn create_rtv_heaps(dev: *mut ID3D12Device) -> Result<*mut ID3D12DescriptorHeap, String> { [INFO] [stdout] | ++++++++++++++++++++++ [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 `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] 163 | ) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 159 | fn create_back_buffers( [INFO] [stdout] | ++++++++++++++++ [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] 169 | let mut back_buffers: Vec<*mut ID3D12Resource> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 159 | fn create_back_buffers( [INFO] [stdout] | ++++++++++++++++ [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 `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[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[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[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[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 `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[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 `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_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 `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[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 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 `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 `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 `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 `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[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 `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[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 `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[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[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/direct3d.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | back_buffers: Vec<*mut ID3D12Resource>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Direct3D { [INFO] [stdout] | ++++++++++++++++ [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 `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[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 `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[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[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[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[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_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 `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 `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 `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] 66 | fn create_device() -> Result<*mut ID3D12Device, String> { [INFO] [stdout] | ++++++++++++++ [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[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] 137 | fn create_rtv_heaps(dev: *mut ID3D12Device) -> Result<*mut ID3D12DescriptorHeap, String> { [INFO] [stdout] | ++++++++++++++++++++++ [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 `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] 163 | ) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 159 | fn create_back_buffers( [INFO] [stdout] | ++++++++++++++++ [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] 169 | let mut back_buffers: Vec<*mut ID3D12Resource> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 159 | fn create_back_buffers( [INFO] [stdout] | ++++++++++++++++ [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 `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[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] 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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 173 - for i in { 0..swapchain_desc.BufferCount } { [INFO] [stdout] 173 + for i in 0..swapchain_desc.BufferCount { [INFO] [stdout] | [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[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[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 `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_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_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 `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[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 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 `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 `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 `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 `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 `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 `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[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 `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 `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[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[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_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 `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] 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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 173 - for i in { 0..swapchain_desc.BufferCount } { [INFO] [stdout] 173 + for i in 0..swapchain_desc.BufferCount { [INFO] [stdout] | [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[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[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 `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[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[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 `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 `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[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[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 `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[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[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[E0599]: the method `unwrap` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:36:60 [INFO] [stdout] | [INFO] [stdout] 36 | let mut direct3d = direct3d::Direct3D::create(&window).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/direct3d.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Direct3D { [INFO] [stdout] | ------------------- doesn't satisfy `Direct3D: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Direct3D: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 112 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:36:60 [INFO] [stdout] | [INFO] [stdout] 36 | let mut direct3d = direct3d::Direct3D::create(&window).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/direct3d.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Direct3D { [INFO] [stdout] | ------------------- doesn't satisfy `Direct3D: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Direct3D: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 112 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [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` (bin "dx12-in-rust" test) due to 113 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dx12-in-rust` (bin "dx12-in-rust") due to 113 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1a8054f2f3f6775ca3190ade53a07f52546862462750f69ab741af09db8b3bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a8054f2f3f6775ca3190ade53a07f52546862462750f69ab741af09db8b3bac", kill_on_drop: false }` [INFO] [stdout] 1a8054f2f3f6775ca3190ade53a07f52546862462750f69ab741af09db8b3bac