[INFO] cloning repository https://github.com/ShinduHub/d3d12rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShinduHub/d3d12rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShinduHub%2Fd3d12rs"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShinduHub%2Fd3d12rs'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4dd4eaefe850f8ecc7f854113a81a0d8bc491ddb [INFO] testing ShinduHub/d3d12rs against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShinduHub%2Fd3d12rs" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ShinduHub/d3d12rs on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ShinduHub/d3d12rs [INFO] finished tweaking git repo https://github.com/ShinduHub/d3d12rs [INFO] tweaked toml for git repo https://github.com/ShinduHub/d3d12rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/ShinduHub/d3d12rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] ff78d880a48f40902b880fddbb793f0c33451e4dfb8d1df0674dd573dbbd676b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "ff78d880a48f40902b880fddbb793f0c33451e4dfb8d1df0674dd573dbbd676b"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling directx_math v0.1.0 [INFO] [stderr] Compiling instant v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling d3d12rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | shared::{ [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | um::{d3d12::*, d3d12sdklayers::*, d3dcommon::*, d3dcompiler::*, unknwnbase::*}, [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:28:46 [INFO] [stderr] | [INFO] [stderr] 28 | let hwnd = window_handle.hwnd as winapi::shared::windef::HWND; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:156:26 [INFO] [stderr] | [INFO] [stderr] 156 | unsafe { winapi::um::synchapi::CreateEventW(std::ptr::null_mut(), 0, 0, std::ptr::null()) }; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:224:34 [INFO] [stderr] | [INFO] [stderr] 224 | unsafe { winapi::um::handleapi::CloseHandle(fence_event) }; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:236:26 [INFO] [stderr] | [INFO] [stderr] 236 | fence_event: winapi::um::winnt::HANDLE, [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:250:21 [INFO] [stderr] | [INFO] [stderr] 250 | winapi::um::synchapi::WaitForSingleObject(fence_event, winapi::um::winbase::INFINITE) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:250:76 [INFO] [stderr] | [INFO] [stderr] 250 | winapi::um::synchapi::WaitForSingleObject(fence_event, winapi::um::winbase::INFINITE) [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:449:20 [INFO] [stderr] | [INFO] [stderr] 449 | hwnd: &winapi::shared::windef::HWND, [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_HEAP_PROPERTIES` in this scope [INFO] [stderr] --> src/main.rs:92:14 [INFO] [stderr] | [INFO] [stderr] 92 | &D3D12_HEAP_PROPERTIES { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_HEAP_TYPE_UPLOAD` in this scope [INFO] [stderr] --> src/main.rs:93:23 [INFO] [stderr] | [INFO] [stderr] 93 | Type: D3D12_HEAP_TYPE_UPLOAD, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_CPU_PAGE_PROPERTY_UNKNOWN` in this scope [INFO] [stderr] --> src/main.rs:94:34 [INFO] [stderr] | [INFO] [stderr] 94 | CPUPageProperty: D3D12_CPU_PAGE_PROPERTY_UNKNOWN, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_MEMORY_POOL_UNKNOWN` in this scope [INFO] [stderr] --> src/main.rs:95:39 [INFO] [stderr] | [INFO] [stderr] 95 | MemoryPoolPreference: D3D12_MEMORY_POOL_UNKNOWN, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_HEAP_FLAG_NONE` in this scope [INFO] [stderr] --> src/main.rs:99:13 [INFO] [stderr] | [INFO] [stderr] 99 | D3D12_HEAP_FLAG_NONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_DESC` in this scope [INFO] [stderr] --> src/main.rs:100:14 [INFO] [stderr] | [INFO] [stderr] 100 | &D3D12_RESOURCE_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_DIMENSION_BUFFER` in this scope [INFO] [stderr] --> src/main.rs:101:28 [INFO] [stderr] | [INFO] [stderr] 101 | Dimension: D3D12_RESOURCE_DIMENSION_BUFFER, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stderr] --> src/main.rs:107:25 [INFO] [stderr] | [INFO] [stderr] 107 | Format: DXGI_FORMAT_UNKNOWN, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stderr] --> src/main.rs:108:29 [INFO] [stderr] | [INFO] [stderr] 108 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_TEXTURE_LAYOUT_ROW_MAJOR` in this scope [INFO] [stderr] --> src/main.rs:112:25 [INFO] [stderr] | [INFO] [stderr] 112 | Layout: D3D12_TEXTURE_LAYOUT_ROW_MAJOR, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_FLAG_NONE` in this scope [INFO] [stderr] --> src/main.rs:113:24 [INFO] [stderr] | [INFO] [stderr] 113 | Flags: D3D12_RESOURCE_FLAG_NONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_GENERIC_READ` in this scope [INFO] [stderr] --> src/main.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | D3D12_RESOURCE_STATE_GENERIC_READ, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12Resource` in this scope [INFO] [stderr] --> src/main.rs:117:14 [INFO] [stderr] | [INFO] [stderr] 117 | &IID_ID3D12Resource, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stderr] --> src/main.rs:124:47 [INFO] [stderr] | [INFO] [stderr] 124 | let vertex_buffer = vertex_buffer as *mut ID3D12Resource; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RANGE` in this scope [INFO] [stderr] --> src/main.rs:127:22 [INFO] [stderr] | [INFO] [stderr] 127 | let read_range = D3D12_RANGE { Begin: 0, End: 0 }; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:129:9 [INFO] [stderr] | [INFO] [stderr] 129 | if !SUCCEEDED(unsafe { (&*vertex_buffer).Map(0, &read_range, &mut vertex_data_begin) }) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_VERTEX_BUFFER_VIEW` in this scope [INFO] [stderr] --> src/main.rs:137:30 [INFO] [stderr] | [INFO] [stderr] 137 | let vertex_buffer_view = D3D12_VERTEX_BUFFER_VIEW { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:145:9 [INFO] [stderr] | [INFO] [stderr] 145 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_FENCE_FLAG_NONE` in this scope [INFO] [stderr] --> src/main.rs:146:35 [INFO] [stderr] | [INFO] [stderr] 146 | (&*device).CreateFence(0, D3D12_FENCE_FLAG_NONE, &IID_ID3D12Fence, &mut fence) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12Fence` in this scope [INFO] [stderr] --> src/main.rs:146:59 [INFO] [stderr] | [INFO] [stderr] 146 | (&*device).CreateFence(0, D3D12_FENCE_FLAG_NONE, &IID_ID3D12Fence, &mut fence) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Fence` in this scope [INFO] [stderr] --> src/main.rs:151:31 [INFO] [stderr] | [INFO] [stderr] 151 | let fence = fence as *mut ID3D12Fence; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandList` in this scope [INFO] [stderr] --> src/main.rs:198:59 [INFO] [stderr] | [INFO] [stderr] 198 | let command_lists = [command_list as *mut ID3D12CommandList]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:203:21 [INFO] [stderr] | [INFO] [stderr] 203 | if !SUCCEEDED(unsafe { (&*swap_chain).Present(1, 0) }) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stderr] --> src/main.rs:232:21 [INFO] [stderr] | [INFO] [stderr] 232 | swapchain: *mut IDXGISwapChain4, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stderr] --> src/main.rs:233:25 [INFO] [stderr] | [INFO] [stderr] 233 | command_queue: *mut ID3D12CommandQueue, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Fence` in this scope [INFO] [stderr] --> src/main.rs:235:17 [INFO] [stderr] | [INFO] [stderr] 235 | fence: *mut ID3D12Fence, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:240:9 [INFO] [stderr] | [INFO] [stderr] 240 | if !SUCCEEDED(unsafe { (&*command_queue).Signal(fence, prev_fence_value) }) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:246:13 [INFO] [stderr] | [INFO] [stderr] 246 | if !SUCCEEDED(unsafe { (&*fence).SetEventOnCompletion(prev_fence_value, fence_event) }) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope [INFO] [stderr] --> src/main.rs:259:29 [INFO] [stderr] | [INFO] [stderr] 259 | command_allocator: *mut ID3D12CommandAllocator, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stderr] --> src/main.rs:260:24 [INFO] [stderr] | [INFO] [stderr] 260 | command_list: *mut ID3D12GraphicsCommandList, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stderr] --> src/main.rs:261:26 [INFO] [stderr] | [INFO] [stderr] 261 | pipeline_state: *mut ID3D12PipelineState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stderr] --> src/main.rs:262:26 [INFO] [stderr] | [INFO] [stderr] 262 | root_signature: *mut ID3D12RootSignature, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stderr] --> src/main.rs:263:28 [INFO] [stderr] | [INFO] [stderr] 263 | render_targets: &[*mut ID3D12Resource; FRAME_COUNT as _], [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stderr] --> src/main.rs:265:27 [INFO] [stderr] | [INFO] [stderr] 265 | descriptor_heap: *mut ID3D12DescriptorHeap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_VERTEX_BUFFER_VIEW` in this scope [INFO] [stderr] --> src/main.rs:267:26 [INFO] [stderr] | [INFO] [stderr] 267 | vertex_buffer_view: &D3D12_VERTEX_BUFFER_VIEW, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:269:9 [INFO] [stderr] | [INFO] [stderr] 269 | if !SUCCEEDED(unsafe { (&*command_allocator).Reset() }) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:272:9 [INFO] [stderr] | [INFO] [stderr] 272 | if !SUCCEEDED(unsafe { (&*command_list).Reset(command_allocator, pipeline_state) }) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_VIEWPORT` in this scope [INFO] [stderr] --> src/main.rs:279:14 [INFO] [stderr] | [INFO] [stderr] 279 | &D3D12_VIEWPORT { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_MIN_DEPTH` in this scope [INFO] [stderr] --> src/main.rs:284:27 [INFO] [stderr] | [INFO] [stderr] 284 | MaxDepth: D3D12_MIN_DEPTH, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_MAX_DEPTH` in this scope [INFO] [stderr] --> src/main.rs:285:27 [INFO] [stderr] | [INFO] [stderr] 285 | MinDepth: D3D12_MAX_DEPTH, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RECT` in this scope [INFO] [stderr] --> src/main.rs:292:14 [INFO] [stderr] | [INFO] [stderr] 292 | &D3D12_RECT { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_BARRIER` in this scope [INFO] [stderr] --> src/main.rs:303:14 [INFO] [stderr] | [INFO] [stderr] 303 | &D3D12_RESOURCE_BARRIER { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_TYPE_TRANSITION` in this scope [INFO] [stderr] --> src/main.rs:304:23 [INFO] [stderr] | [INFO] [stderr] 304 | Type: D3D12_RESOURCE_BARRIER_TYPE_TRANSITION, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_FLAG_NONE` in this scope [INFO] [stderr] --> src/main.rs:305:24 [INFO] [stderr] | [INFO] [stderr] 305 | Flags: D3D12_RESOURCE_BARRIER_FLAG_NONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER_u` in this scope [INFO] [stderr] --> src/main.rs:308:44 [INFO] [stderr] | [INFO] [stderr] 257 | fn populate_command_list( [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 308 | std::mem::zeroed::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_TRANSITION_BARRIER` in this scope [INFO] [stderr] --> src/main.rs:310:25 [INFO] [stderr] | [INFO] [stderr] 310 | D3D12_RESOURCE_TRANSITION_BARRIER { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stderr] --> src/main.rs:312:42 [INFO] [stderr] | [INFO] [stderr] 312 | ... StateBefore: D3D12_RESOURCE_STATE_PRESENT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_RENDER_TARGET` in this scope [INFO] [stderr] --> src/main.rs:313:41 [INFO] [stderr] | [INFO] [stderr] 313 | ... StateAfter: D3D12_RESOURCE_STATE_RENDER_TARGET, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES` in this scope [INFO] [stderr] --> src/main.rs:314:42 [INFO] [stderr] | [INFO] [stderr] 314 | ... Subresource: D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/main.rs:321:29 [INFO] [stderr] | [INFO] [stderr] 321 | let descriptor_handle = D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST` in this scope [INFO] [stderr] --> src/main.rs:331:54 [INFO] [stderr] | [INFO] [stderr] 331 | unsafe { (&*command_list).IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_BARRIER` in this scope [INFO] [stderr] --> src/main.rs:337:14 [INFO] [stderr] | [INFO] [stderr] 337 | &D3D12_RESOURCE_BARRIER { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_TYPE_TRANSITION` in this scope [INFO] [stderr] --> src/main.rs:338:23 [INFO] [stderr] | [INFO] [stderr] 338 | Type: D3D12_RESOURCE_BARRIER_TYPE_TRANSITION, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_FLAG_NONE` in this scope [INFO] [stderr] --> src/main.rs:339:24 [INFO] [stderr] | [INFO] [stderr] 339 | Flags: D3D12_RESOURCE_BARRIER_FLAG_NONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER_u` in this scope [INFO] [stderr] --> src/main.rs:342:44 [INFO] [stderr] | [INFO] [stderr] 257 | fn populate_command_list( [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 342 | std::mem::zeroed::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_TRANSITION_BARRIER` in this scope [INFO] [stderr] --> src/main.rs:344:25 [INFO] [stderr] | [INFO] [stderr] 344 | D3D12_RESOURCE_TRANSITION_BARRIER { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_RENDER_TARGET` in this scope [INFO] [stderr] --> src/main.rs:346:42 [INFO] [stderr] | [INFO] [stderr] 346 | ... StateBefore: D3D12_RESOURCE_STATE_RENDER_TARGET, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stderr] --> src/main.rs:347:41 [INFO] [stderr] | [INFO] [stderr] 347 | ... StateAfter: D3D12_RESOURCE_STATE_PRESENT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES` in this scope [INFO] [stderr] --> src/main.rs:348:42 [INFO] [stderr] | [INFO] [stderr] 348 | ... Subresource: D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:355:9 [INFO] [stderr] | [INFO] [stderr] 355 | if !SUCCEEDED(unsafe { (&*command_list).Close() }) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory6` in this scope [INFO] [stderr] --> src/main.rs:360:29 [INFO] [stderr] | [INFO] [stderr] 360 | fn create_factory() -> *mut IDXGIFactory6 { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:365:12 [INFO] [stderr] | [INFO] [stderr] 365 | if SUCCEEDED(unsafe { D3D12GetDebugInterface(&IID_ID3D12Debug, &mut debug_interface) }) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12GetDebugInterface` in this scope [INFO] [stderr] --> src/main.rs:365:31 [INFO] [stderr] | [INFO] [stderr] 365 | if SUCCEEDED(unsafe { D3D12GetDebugInterface(&IID_ID3D12Debug, &mut debug_interface) }) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12Debug` in this scope [INFO] [stderr] --> src/main.rs:365:55 [INFO] [stderr] | [INFO] [stderr] 365 | if SUCCEEDED(unsafe { D3D12GetDebugInterface(&IID_ID3D12Debug, &mut debug_interface) }) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Debug` in this scope [INFO] [stderr] --> src/main.rs:366:59 [INFO] [stderr] | [INFO] [stderr] 366 | let debug_interface = debug_interface as *mut ID3D12Debug; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_CREATE_FACTORY_DEBUG` in this scope [INFO] [stderr] --> src/main.rs:368:30 [INFO] [stderr] | [INFO] [stderr] 368 | factory_flags |= DXGI_CREATE_FACTORY_DEBUG; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:374:9 [INFO] [stderr] | [INFO] [stderr] 374 | if !SUCCEEDED(unsafe { CreateDXGIFactory2(factory_flags, &IID_IDXGIFactory6, &mut factory) }) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDXGIFactory2` in this scope [INFO] [stderr] --> src/main.rs:374:28 [INFO] [stderr] | [INFO] [stderr] 374 | if !SUCCEEDED(unsafe { CreateDXGIFactory2(factory_flags, &IID_IDXGIFactory6, &mut factory) }) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDXGIFactory6` in this scope [INFO] [stderr] --> src/main.rs:374:63 [INFO] [stderr] | [INFO] [stderr] 374 | if !SUCCEEDED(unsafe { CreateDXGIFactory2(factory_flags, &IID_IDXGIFactory6, &mut factory) }) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory6` in this scope [INFO] [stderr] --> src/main.rs:381:34 [INFO] [stderr] | [INFO] [stderr] 381 | fn get_adapter<'t>(factory: *mut IDXGIFactory6) -> *mut IDXGIAdapter4 { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIAdapter4` in this scope [INFO] [stderr] --> src/main.rs:381:57 [INFO] [stderr] | [INFO] [stderr] 381 | fn get_adapter<'t>(factory: *mut IDXGIFactory6) -> *mut IDXGIAdapter4 { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:384:9 [INFO] [stderr] | [INFO] [stderr] 384 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE` in this scope [INFO] [stderr] --> src/main.rs:387:13 [INFO] [stderr] | [INFO] [stderr] 387 | DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDXGIAdapter4` in this scope [INFO] [stderr] --> src/main.rs:388:14 [INFO] [stderr] | [INFO] [stderr] 388 | &IID_IDXGIAdapter4, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIAdapter4` in this scope [INFO] [stderr] --> src/main.rs:395:35 [INFO] [stderr] | [INFO] [stderr] 395 | let adapter = adapter as *mut IDXGIAdapter4; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DXGI_ADAPTER_DESC3` in this scope [INFO] [stderr] --> src/main.rs:399:60 [INFO] [stderr] | [INFO] [stderr] 381 | fn get_adapter<'t>(factory: *mut IDXGIFactory6) -> *mut IDXGIAdapter4 { [INFO] [stderr] | - help: you might be missing a type parameter: `, DXGI_ADAPTER_DESC3` [INFO] [stderr] ... [INFO] [stderr] 399 | let mut adapter_desc = unsafe { std::mem::zeroed::() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:400:13 [INFO] [stderr] | [INFO] [stderr] 400 | if !SUCCEEDED(unsafe { (&*adapter).GetDesc3(&mut adapter_desc) }) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIAdapter4` in this scope [INFO] [stderr] --> src/main.rs:408:32 [INFO] [stderr] | [INFO] [stderr] 408 | fn create_device(adapter: *mut IDXGIAdapter4) -> *mut ID3D12Device2 { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stderr] --> src/main.rs:408:55 [INFO] [stderr] | [INFO] [stderr] 408 | fn create_device(adapter: *mut IDXGIAdapter4) -> *mut ID3D12Device2 { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:411:9 [INFO] [stderr] | [INFO] [stderr] 411 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12CreateDevice` in this scope [INFO] [stderr] --> src/main.rs:412:9 [INFO] [stderr] | [INFO] [stderr] 412 | D3D12CreateDevice( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/main.rs:413:29 [INFO] [stderr] | [INFO] [stderr] 413 | adapter as *mut IUnknown, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_12_1` in this scope [INFO] [stderr] --> src/main.rs:414:13 [INFO] [stderr] | [INFO] [stderr] 414 | D3D_FEATURE_LEVEL_12_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12Device2` in this scope [INFO] [stderr] --> src/main.rs:415:14 [INFO] [stderr] | [INFO] [stderr] 415 | &IID_ID3D12Device2, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stderr] --> src/main.rs:425:38 [INFO] [stderr] | [INFO] [stderr] 425 | fn create_command_queue(device: *mut ID3D12Device2) -> *mut ID3D12CommandQueue { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stderr] --> src/main.rs:425:61 [INFO] [stderr] | [INFO] [stderr] 425 | fn create_command_queue(device: *mut ID3D12Device2) -> *mut ID3D12CommandQueue { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_COMMAND_QUEUE_DESC` in this scope [INFO] [stderr] --> src/main.rs:428:30 [INFO] [stderr] | [INFO] [stderr] 428 | let command_queue_desc = D3D12_COMMAND_QUEUE_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_COMMAND_QUEUE_FLAG_NONE` in this scope [INFO] [stderr] --> src/main.rs:429:16 [INFO] [stderr] | [INFO] [stderr] 429 | Flags: D3D12_COMMAND_QUEUE_FLAG_NONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope [INFO] [stderr] --> src/main.rs:430:15 [INFO] [stderr] | [INFO] [stderr] 430 | Type: D3D12_COMMAND_LIST_TYPE_DIRECT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:434:9 [INFO] [stderr] | [INFO] [stderr] 434 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12CommandQueue` in this scope [INFO] [stderr] --> src/main.rs:437:14 [INFO] [stderr] | [INFO] [stderr] 437 | &IID_ID3D12CommandQueue, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGIFactory6` in this scope [INFO] [stderr] --> src/main.rs:450:19 [INFO] [stderr] | [INFO] [stderr] 450 | factory: *mut IDXGIFactory6, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stderr] --> src/main.rs:451:25 [INFO] [stderr] | [INFO] [stderr] 451 | command_queue: *mut ID3D12CommandQueue, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stderr] --> src/main.rs:452:12 [INFO] [stderr] | [INFO] [stderr] 452 | ) -> (*mut IDXGISwapChain4, u32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_DESC1` in this scope [INFO] [stderr] --> src/main.rs:455:27 [INFO] [stderr] | [INFO] [stderr] 455 | let swap_chain_desc = DXGI_SWAP_CHAIN_DESC1 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stderr] --> src/main.rs:458:17 [INFO] [stderr] | [INFO] [stderr] 458 | Format: DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stderr] --> src/main.rs:459:21 [INFO] [stderr] | [INFO] [stderr] 459 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_USAGE_RENDER_TARGET_OUTPUT` in this scope [INFO] [stderr] --> src/main.rs:463:22 [INFO] [stderr] | [INFO] [stderr] 463 | BufferUsage: DXGI_USAGE_RENDER_TARGET_OUTPUT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_FLIP_DISCARD` in this scope [INFO] [stderr] --> src/main.rs:465:21 [INFO] [stderr] | [INFO] [stderr] 465 | SwapEffect: DXGI_SWAP_EFFECT_FLIP_DISCARD, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:469:9 [INFO] [stderr] | [INFO] [stderr] 469 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/main.rs:471:35 [INFO] [stderr] | [INFO] [stderr] 471 | command_queue as *mut IUnknown, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:482:9 [INFO] [stderr] | [INFO] [stderr] 482 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:490:9 [INFO] [stderr] | [INFO] [stderr] 490 | if !SUCCEEDED(unsafe { swap_chain.QueryInterface(&IID_IDXGISwapChain4, &mut swap_chain_4) }) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDXGISwapChain4` in this scope [INFO] [stderr] --> src/main.rs:490:55 [INFO] [stderr] | [INFO] [stderr] 490 | if !SUCCEEDED(unsafe { swap_chain.QueryInterface(&IID_IDXGISwapChain4, &mut swap_chain_4) }) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stderr] --> src/main.rs:493:45 [INFO] [stderr] | [INFO] [stderr] 493 | let swap_chain_4 = swap_chain_4 as *mut IDXGISwapChain4; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stderr] --> src/main.rs:500:40 [INFO] [stderr] | [INFO] [stderr] 500 | fn create_discriptor_heap(device: *mut ID3D12Device2) -> (*mut ID3D12DescriptorHeap, u32) { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stderr] --> src/main.rs:500:64 [INFO] [stderr] | [INFO] [stderr] 500 | fn create_discriptor_heap(device: *mut ID3D12Device2) -> (*mut ID3D12DescriptorHeap, u32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_DESCRIPTOR_HEAP_DESC` in this scope [INFO] [stderr] --> src/main.rs:501:32 [INFO] [stderr] | [INFO] [stderr] 501 | let descriptor_heap_desc = D3D12_DESCRIPTOR_HEAP_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_RTV` in this scope [INFO] [stderr] --> src/main.rs:503:15 [INFO] [stderr] | [INFO] [stderr] 503 | Type: D3D12_DESCRIPTOR_HEAP_TYPE_RTV, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_NONE` in this scope [INFO] [stderr] --> src/main.rs:504:16 [INFO] [stderr] | [INFO] [stderr] 504 | Flags: D3D12_DESCRIPTOR_HEAP_FLAG_NONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:510:9 [INFO] [stderr] | [INFO] [stderr] 510 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12DescriptorHeap` in this scope [INFO] [stderr] --> src/main.rs:513:14 [INFO] [stderr] | [INFO] [stderr] 513 | &IID_ID3D12DescriptorHeap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stderr] --> src/main.rs:520:51 [INFO] [stderr] | [INFO] [stderr] 520 | let descriptor_heap = descriptor_heap as *mut ID3D12DescriptorHeap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_RTV` in this scope [INFO] [stderr] --> src/main.rs:523:62 [INFO] [stderr] | [INFO] [stderr] 523 | unsafe { (&*device).GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_RTV) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stderr] --> src/main.rs:529:18 [INFO] [stderr] | [INFO] [stderr] 529 | device: *mut ID3D12Device2, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stderr] --> src/main.rs:530:22 [INFO] [stderr] | [INFO] [stderr] 530 | swap_chain: *mut IDXGISwapChain4, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stderr] --> src/main.rs:531:27 [INFO] [stderr] | [INFO] [stderr] 531 | descriptor_heap: *mut ID3D12DescriptorHeap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stderr] --> src/main.rs:533:12 [INFO] [stderr] | [INFO] [stderr] 533 | ) -> [*mut ID3D12Resource; FRAME_COUNT as usize] { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stderr] --> src/main.rs:534:35 [INFO] [stderr] | [INFO] [stderr] 534 | let mut render_targets: [*mut ID3D12Resource; FRAME_COUNT as usize] = [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:539:13 [INFO] [stderr] | [INFO] [stderr] 539 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12Resource` in this scope [INFO] [stderr] --> src/main.rs:540:42 [INFO] [stderr] | [INFO] [stderr] 540 | (&*swap_chain).GetBuffer(i, &IID_ID3D12Resource, &mut render_target) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stderr] --> src/main.rs:557:42 [INFO] [stderr] | [INFO] [stderr] 557 | fn create_command_allocator(device: *mut ID3D12Device2) -> *mut ID3D12CommandAllocator { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope [INFO] [stderr] --> src/main.rs:557:65 [INFO] [stderr] | [INFO] [stderr] 557 | fn create_command_allocator(device: *mut ID3D12Device2) -> *mut ID3D12CommandAllocator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope [INFO] [stderr] --> src/main.rs:562:13 [INFO] [stderr] | [INFO] [stderr] 562 | D3D12_COMMAND_LIST_TYPE_DIRECT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12CommandAllocator` in this scope [INFO] [stderr] --> src/main.rs:563:14 [INFO] [stderr] | [INFO] [stderr] 563 | &IID_ID3D12CommandAllocator, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:568:9 [INFO] [stderr] | [INFO] [stderr] 568 | if !SUCCEEDED(result) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stderr] --> src/main.rs:574:39 [INFO] [stderr] | [INFO] [stderr] 574 | fn create_root_signature(device: *mut ID3D12Device2) -> *mut ID3D12RootSignature { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stderr] --> src/main.rs:574:62 [INFO] [stderr] | [INFO] [stderr] 574 | fn create_root_signature(device: *mut ID3D12Device2) -> *mut ID3D12RootSignature { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_ROOT_SIGNATURE_DESC` in this scope [INFO] [stderr] --> src/main.rs:575:31 [INFO] [stderr] | [INFO] [stderr] 575 | let root_signature_desc = D3D12_ROOT_SIGNATURE_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT` in this scope [INFO] [stderr] --> src/main.rs:580:16 [INFO] [stderr] | [INFO] [stderr] 580 | Flags: D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:586:9 [INFO] [stderr] | [INFO] [stderr] 586 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12SerializeRootSignature` in this scope [INFO] [stderr] --> src/main.rs:587:9 [INFO] [stderr] | [INFO] [stderr] 587 | D3D12SerializeRootSignature( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_ROOT_SIGNATURE_VERSION_1` in this scope [INFO] [stderr] --> src/main.rs:589:13 [INFO] [stderr] | [INFO] [stderr] 589 | D3D_ROOT_SIGNATURE_VERSION_1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:599:9 [INFO] [stderr] | [INFO] [stderr] 599 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12RootSignature` in this scope [INFO] [stderr] --> src/main.rs:604:14 [INFO] [stderr] | [INFO] [stderr] 604 | &IID_ID3D12RootSignature, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stderr] --> src/main.rs:615:18 [INFO] [stderr] | [INFO] [stderr] 615 | device: *mut ID3D12Device2, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stderr] --> src/main.rs:616:26 [INFO] [stderr] | [INFO] [stderr] 616 | root_signature: *mut ID3D12RootSignature, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stderr] --> src/main.rs:617:11 [INFO] [stderr] | [INFO] [stderr] 617 | ) -> *mut ID3D12PipelineState { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3DCOMPILE_DEBUG` in this scope [INFO] [stderr] --> src/main.rs:619:26 [INFO] [stderr] | [INFO] [stderr] 619 | let compiler_flags = D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3DCOMPILE_SKIP_OPTIMIZATION` in this scope [INFO] [stderr] --> src/main.rs:619:45 [INFO] [stderr] | [INFO] [stderr] 619 | let compiler_flags = D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:634:9 [INFO] [stderr] | [INFO] [stderr] 634 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompileFromFile` in this scope [INFO] [stderr] --> src/main.rs:635:9 [INFO] [stderr] | [INFO] [stderr] 635 | D3DCompileFromFile( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:665:9 [INFO] [stderr] | [INFO] [stderr] 665 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompileFromFile` in this scope [INFO] [stderr] --> src/main.rs:666:9 [INFO] [stderr] | [INFO] [stderr] 666 | D3DCompileFromFile( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_INPUT_ELEMENT_DESC` in this scope [INFO] [stderr] --> src/main.rs:695:9 [INFO] [stderr] | [INFO] [stderr] 695 | D3D12_INPUT_ELEMENT_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R32G32B32_FLOAT` in this scope [INFO] [stderr] --> src/main.rs:698:21 [INFO] [stderr] | [INFO] [stderr] 698 | Format: DXGI_FORMAT_R32G32B32_FLOAT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA` in this scope [INFO] [stderr] --> src/main.rs:701:29 [INFO] [stderr] | [INFO] [stderr] 701 | InputSlotClass: D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_INPUT_ELEMENT_DESC` in this scope [INFO] [stderr] --> src/main.rs:704:9 [INFO] [stderr] | [INFO] [stderr] 704 | D3D12_INPUT_ELEMENT_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R32G32B32A32_FLOAT` in this scope [INFO] [stderr] --> src/main.rs:707:21 [INFO] [stderr] | [INFO] [stderr] 707 | Format: DXGI_FORMAT_R32G32B32A32_FLOAT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA` in this scope [INFO] [stderr] --> src/main.rs:710:29 [INFO] [stderr] | [INFO] [stderr] 710 | InputSlotClass: D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope [INFO] [stderr] --> src/main.rs:715:40 [INFO] [stderr] | [INFO] [stderr] 715 | let graphics_pipeline_state_desc = D3D12_GRAPHICS_PIPELINE_STATE_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope [INFO] [stderr] --> src/main.rs:717:13 [INFO] [stderr] | [INFO] [stderr] 717 | VS: D3D12_SHADER_BYTECODE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope [INFO] [stderr] --> src/main.rs:721:13 [INFO] [stderr] | [INFO] [stderr] 721 | PS: D3D12_SHADER_BYTECODE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_BLEND_DESC` in this scope [INFO] [stderr] --> src/main.rs:725:21 [INFO] [stderr] | [INFO] [stderr] 725 | BlendState: D3D12_BLEND_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RENDER_TARGET_BLEND_DESC` in this scope [INFO] [stderr] --> src/main.rs:728:28 [INFO] [stderr] | [INFO] [stderr] 728 | RenderTarget: [D3D12_RENDER_TARGET_BLEND_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_ONE` in this scope [INFO] [stderr] --> src/main.rs:731:27 [INFO] [stderr] | [INFO] [stderr] 731 | SrcBlend: D3D12_BLEND_ONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_ZERO` in this scope [INFO] [stderr] --> src/main.rs:732:28 [INFO] [stderr] | [INFO] [stderr] 732 | DestBlend: D3D12_BLEND_ZERO, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_OP_ADD` in this scope [INFO] [stderr] --> src/main.rs:733:26 [INFO] [stderr] | [INFO] [stderr] 733 | BlendOp: D3D12_BLEND_OP_ADD, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_ONE` in this scope [INFO] [stderr] --> src/main.rs:734:32 [INFO] [stderr] | [INFO] [stderr] 734 | SrcBlendAlpha: D3D12_BLEND_ONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_ZERO` in this scope [INFO] [stderr] --> src/main.rs:735:33 [INFO] [stderr] | [INFO] [stderr] 735 | DestBlendAlpha: D3D12_BLEND_ZERO, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_BLEND_OP_ADD` in this scope [INFO] [stderr] --> src/main.rs:736:31 [INFO] [stderr] | [INFO] [stderr] 736 | BlendOpAlpha: D3D12_BLEND_OP_ADD, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_LOGIC_OP_NOOP` in this scope [INFO] [stderr] --> src/main.rs:737:26 [INFO] [stderr] | [INFO] [stderr] 737 | LogicOp: D3D12_LOGIC_OP_NOOP, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_COLOR_WRITE_ENABLE_ALL` in this scope [INFO] [stderr] --> src/main.rs:738:40 [INFO] [stderr] | [INFO] [stderr] 738 | RenderTargetWriteMask: D3D12_COLOR_WRITE_ENABLE_ALL as _, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_RASTERIZER_DESC` in this scope [INFO] [stderr] --> src/main.rs:742:26 [INFO] [stderr] | [INFO] [stderr] 742 | RasterizerState: D3D12_RASTERIZER_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_FILL_MODE_SOLID` in this scope [INFO] [stderr] --> src/main.rs:743:23 [INFO] [stderr] | [INFO] [stderr] 743 | FillMode: D3D12_FILL_MODE_SOLID, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_CULL_MODE_BACK` in this scope [INFO] [stderr] --> src/main.rs:744:23 [INFO] [stderr] | [INFO] [stderr] 744 | CullMode: D3D12_CULL_MODE_BACK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_DEPTH_BIAS` in this scope [INFO] [stderr] --> src/main.rs:746:24 [INFO] [stderr] | [INFO] [stderr] 746 | DepthBias: D3D12_DEFAULT_DEPTH_BIAS as _, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_DEPTH_BIAS_CLAMP` in this scope [INFO] [stderr] --> src/main.rs:747:29 [INFO] [stderr] | [INFO] [stderr] 747 | DepthBiasClamp: D3D12_DEFAULT_DEPTH_BIAS_CLAMP, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS` in this scope [INFO] [stderr] --> src/main.rs:748:35 [INFO] [stderr] | [INFO] [stderr] 748 | SlopeScaledDepthBias: D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF` in this scope [INFO] [stderr] --> src/main.rs:753:33 [INFO] [stderr] | [INFO] [stderr] 753 | ConservativeRaster: D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_DEPTH_STENCIL_DESC` in this scope [INFO] [stderr] --> src/main.rs:755:28 [INFO] [stderr] | [INFO] [stderr] 755 | DepthStencilState: D3D12_DEPTH_STENCIL_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_INPUT_LAYOUT_DESC` in this scope [INFO] [stderr] --> src/main.rs:760:22 [INFO] [stderr] | [INFO] [stderr] 760 | InputLayout: D3D12_INPUT_LAYOUT_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE` in this scope [INFO] [stderr] --> src/main.rs:764:32 [INFO] [stderr] | [INFO] [stderr] 764 | PrimitiveTopologyType: D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stderr] --> src/main.rs:768:30 [INFO] [stderr] | [INFO] [stderr] 768 | rtv_formats[0] = DXGI_FORMAT_R8G8B8A8_UNORM; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stderr] --> src/main.rs:771:21 [INFO] [stderr] | [INFO] [stderr] 771 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:780:9 [INFO] [stderr] | [INFO] [stderr] 780 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12PipelineState` in this scope [INFO] [stderr] --> src/main.rs:783:14 [INFO] [stderr] | [INFO] [stderr] 783 | &IID_ID3D12PipelineState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stderr] --> src/main.rs:794:18 [INFO] [stderr] | [INFO] [stderr] 794 | device: *mut ID3D12Device2, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope [INFO] [stderr] --> src/main.rs:795:29 [INFO] [stderr] | [INFO] [stderr] 795 | command_allocator: *mut ID3D12CommandAllocator, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stderr] --> src/main.rs:796:26 [INFO] [stderr] | [INFO] [stderr] 796 | pipeline_state: *mut ID3D12PipelineState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stderr] --> src/main.rs:797:11 [INFO] [stderr] | [INFO] [stderr] 797 | ) -> *mut ID3D12GraphicsCommandList { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:799:9 [INFO] [stderr] | [INFO] [stderr] 799 | if !SUCCEEDED(unsafe { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope [INFO] [stderr] --> src/main.rs:802:13 [INFO] [stderr] | [INFO] [stderr] 802 | D3D12_COMMAND_LIST_TYPE_DIRECT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12GraphicsCommandList` in this scope [INFO] [stderr] --> src/main.rs:805:14 [INFO] [stderr] | [INFO] [stderr] 805 | &IID_ID3D12GraphicsCommandList, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Windows` found for enum `raw_window_handle::RawWindowHandle` in the current scope [INFO] [stderr] --> src/main.rs:25:45 [INFO] [stderr] | [INFO] [stderr] 25 | raw_window_handle::RawWindowHandle::Windows(windows_handle) => windows_handle, [INFO] [stderr] | ^^^^^^^ variant or associated item not found in `raw_window_handle::RawWindowHandle` [INFO] [stderr] [INFO] [stderr] error[E0699]: the type of this value must be known to call a method on a raw pointer on it [INFO] [stderr] --> src/main.rs:647:33 [INFO] [stderr] | [INFO] [stderr] 647 | if !vertex_shader_error.eq(&std::ptr::null_mut()) { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0699]: the type of this value must be known to call a method on a raw pointer on it [INFO] [stderr] --> src/main.rs:678:32 [INFO] [stderr] | [INFO] [stderr] 678 | if !pixel_shader_error.eq(&std::ptr::null_mut()) { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 197 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599, E0699. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `d3d12rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ff78d880a48f40902b880fddbb793f0c33451e4dfb8d1df0674dd573dbbd676b"` [INFO] running `"docker" "rm" "-f" "ff78d880a48f40902b880fddbb793f0c33451e4dfb8d1df0674dd573dbbd676b"` [INFO] [stdout] ff78d880a48f40902b880fddbb793f0c33451e4dfb8d1df0674dd573dbbd676b