[INFO] cloning repository https://github.com/michal-z/rust_d3d12_test1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michal-z/rust_d3d12_test1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichal-z%2Frust_d3d12_test1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichal-z%2Frust_d3d12_test1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb559fd420da13f1b730f749d8e605326a98cc0d [INFO] documenting michal-z/rust_d3d12_test1 against beta-2020-08-29 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichal-z%2Frust_d3d12_test1" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michal-z/rust_d3d12_test1 on toolchain beta-2020-08-29 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/michal-z/rust_d3d12_test1 [INFO] finished tweaking git repo https://github.com/michal-z/rust_d3d12_test1 [INFO] tweaked toml for git repo https://github.com/michal-z/rust_d3d12_test1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/michal-z/rust_d3d12_test1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 87b488739cef9c4c4d36e68eb62d97db933e56919eb182a369fb7ef7ba967688 [INFO] running `Command { std: "docker" "start" "-a" "87b488739cef9c4c4d36e68eb62d97db933e56919eb182a369fb7ef7ba967688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87b488739cef9c4c4d36e68eb62d97db933e56919eb182a369fb7ef7ba967688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b488739cef9c4c4d36e68eb62d97db933e56919eb182a369fb7ef7ba967688", kill_on_drop: false }` [INFO] [stdout] 87b488739cef9c4c4d36e68eb62d97db933e56919eb182a369fb7ef7ba967688 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6bcb241c8b7f8a38540e82b355a19fa3009e797bbf48e57888e2c63fca962218 [INFO] running `Command { std: "docker" "start" "-a" "6bcb241c8b7f8a38540e82b355a19fa3009e797bbf48e57888e2c63fca962218", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking glam v0.8.6 [INFO] [stderr] Documenting rust_d3d12_test1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::dxgiformat::*; [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/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::dxgitype::DXGI_SAMPLE_DESC; [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/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef::HWND; [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/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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 `shared` in `winapi` [INFO] [stdout] --> src/util.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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/util.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/util.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::libloaderapi::GetModuleHandleA; [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/util.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::profileapi::{QueryPerformanceCounter, QueryPerformanceFrequency}; [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/util.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::{LARGE_INTEGER, LPCSTR}; [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/util.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::{ [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/d3d12/graphics.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::dxgi::{IDXGISwapChain, DXGI_SWAP_CHAIN_DESC, DXGI_SWAP_EFFECT_FLIP_DISCARD}; [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/d3d12/graphics.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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/d3d12/graphics.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::dxgi1_4::{IDXGIFactory4, IDXGISwapChain3}; [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/d3d12/graphics.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::shared::dxgiformat::*; [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/d3d12/graphics.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::dxgitype::{DXGI_SAMPLE_DESC, DXGI_USAGE_RENDER_TARGET_OUTPUT}; [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/d3d12/graphics.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | 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/d3d12/graphics.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | 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/d3d12/graphics.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::d3d12sdklayers::{ID3D12Debug, ID3D12Debug1}; [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/d3d12/graphics.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::d3dcommon::D3D_FEATURE_LEVEL_11_1; [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/d3d12/graphics.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::handleapi::CloseHandle; [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/d3d12/graphics.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::synchapi::{CreateEventExA, WaitForSingleObject}; [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/d3d12/graphics.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::unknwnbase::IUnknown; [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/d3d12/graphics.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::winbase::INFINITE; [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/d3d12/graphics.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::winnt::{EVENT_ALL_ACCESS, HANDLE}; [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/d3d12/graphics.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::winuser::GetClientRect; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/d3d12/graphics.rs:12:13 [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[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/wrappers.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/d3d12/wrappers.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::unknwnbase::IUnknown; [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/d3d12/wrappers.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::HRESULT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/d3d12/graphics.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/d3d12/wrappers.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | start_counter: LARGE_INTEGER, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | frequency: LARGE_INTEGER, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/util.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | window: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/util.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | message: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/util.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | wparam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/util.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/util.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/util.rs:65:66 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn create_window(name: &CString, width: u32, height: u32) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/util.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn update(&mut self, window: HWND, name: &CString) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | pub window: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | cmdallocs: [WeakPtr; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain3` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 46 | swapchain: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Fence` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 53 | frame_fence: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | frame_fence_event: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 75 | struct ResourceState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 76 | ptr: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | state: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | format: DXGI_FORMAT, [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/d3d12/graphics.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 82 | struct PipelineState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 83 | pso: WeakPtr, [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/d3d12/graphics.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 82 | struct PipelineState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 83 | pso: WeakPtr, [INFO] [stdout] 84 | rsignature: WeakPtr, [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/d3d12/graphics.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 98 | struct DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 99 | heap: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | cpu_base: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | gpu_base: D3D12_GPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 107 | struct GpuMemoryHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 108 | heap: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | gpu_base: D3D12_GPU_VIRTUAL_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | state_before: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | state_after: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | ) -> D3D12_RESOURCE_BARRIER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RASTERIZER_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn default() -> D3D12_RASTERIZER_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_BLEND_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn default() -> D3D12_BLEND_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn buffer(size: u64) -> D3D12_RESOURCE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_DEPTH_STENCIL_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn default() -> D3D12_DEPTH_STENCIL_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn new(heap_type: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_PROPERTIES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:232:47 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn new(heap_type: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn new(name: &CString, format: DXGI_FORMAT, offset: u32) -> D3D12_INPUT_ELEMENT_DESC { [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/d3d12/graphics.rs:244:69 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn new(name: &CString, format: DXGI_FORMAT, offset: u32) -> D3D12_INPUT_ELEMENT_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:295:27 [INFO] [stdout] | [INFO] [stdout] 278 | impl ResourcePool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 295 | resource: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:296:24 [INFO] [stdout] | [INFO] [stdout] 296 | initial_state: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | format: DXGI_FORMAT, [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/d3d12/graphics.rs:342:22 [INFO] [stdout] | [INFO] [stdout] 82 | struct PipelineState { [INFO] [stdout] | -------------------- similarly named struct `PipelineState` defined here [INFO] [stdout] ... [INFO] [stdout] 342 | pso: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 342 | pso: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 322 | impl PipelinePool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:343:29 [INFO] [stdout] | [INFO] [stdout] 322 | impl PipelinePool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 343 | rsignature: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:368:24 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn new(window: HWND) -> Self { [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/d3d12/graphics.rs:661:63 [INFO] [stdout] | [INFO] [stdout] 367 | impl Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 661 | pub fn resource(&self, handle: ResourceHandle) -> WeakPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:680:20 [INFO] [stdout] | [INFO] [stdout] 680 | heap_type: D3D12_HEAP_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_FLAGS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:681:21 [INFO] [stdout] | [INFO] [stdout] 681 | heap_flags: D3D12_HEAP_FLAGS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:682:16 [INFO] [stdout] | [INFO] [stdout] 682 | desc: &D3D12_RESOURCE_DESC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:683:24 [INFO] [stdout] | [INFO] [stdout] 683 | initial_state: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CLEAR_VALUE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:684:30 [INFO] [stdout] | [INFO] [stdout] 367 | impl Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 684 | clear_value: Option<&D3D12_CLEAR_VALUE>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:719:22 [INFO] [stdout] | [INFO] [stdout] 719 | state_after: D3D12_RESOURCE_STATES, [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/d3d12/graphics.rs:748:24 [INFO] [stdout] | [INFO] [stdout] 748 | pso_desc: &mut D3D12_GRAPHICS_PIPELINE_STATE_DESC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_COMPUTE_PIPELINE_STATE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:802:24 [INFO] [stdout] | [INFO] [stdout] 802 | pso_desc: &mut D3D12_COMPUTE_PIPELINE_STATE_DESC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:870:20 [INFO] [stdout] | [INFO] [stdout] 870 | heap_type: D3D12_DESCRIPTOR_HEAP_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:872:10 [INFO] [stdout] | [INFO] [stdout] 872 | ) -> D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:889:11 [INFO] [stdout] | [INFO] [stdout] 889 | ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:889:40 [INFO] [stdout] | [INFO] [stdout] 889 | ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:896:24 [INFO] [stdout] | [INFO] [stdout] 896 | ) -> (*mut c_void, D3D12_GPU_VIRTUAL_ADDRESS) { [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/d3d12/graphics.rs:916:32 [INFO] [stdout] | [INFO] [stdout] 367 | impl Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 916 | ) -> (*mut c_void, WeakPtr, u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:932:23 [INFO] [stdout] | [INFO] [stdout] 932 | src_cpu_base: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:933:10 [INFO] [stdout] | [INFO] [stdout] 933 | ) -> D3D12_GPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1009:51 [INFO] [stdout] | [INFO] [stdout] 1009 | pub fn back_buffer(&self) -> (ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1020:25 [INFO] [stdout] | [INFO] [stdout] 1018 | impl DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 1019 | fn new( [INFO] [stdout] 1020 | device: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1022:16 [INFO] [stdout] | [INFO] [stdout] 1022 | htype: D3D12_DESCRIPTOR_HEAP_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_FLAGS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1023:16 [INFO] [stdout] | [INFO] [stdout] 1023 | flags: D3D12_DESCRIPTOR_HEAP_FLAGS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1059:57 [INFO] [stdout] | [INFO] [stdout] 1059 | fn allocate_cpu_descriptors(&mut self, num: u32) -> D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1075:11 [INFO] [stdout] | [INFO] [stdout] 1075 | ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1075:40 [INFO] [stdout] | [INFO] [stdout] 1075 | ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) { [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/d3d12/graphics.rs:1092:39 [INFO] [stdout] | [INFO] [stdout] 1092 | fn calc_graphics_pipeline_hash(desc: &D3D12_GRAPHICS_PIPELINE_STATE_DESC) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_COMPUTE_PIPELINE_STATE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1175:38 [INFO] [stdout] | [INFO] [stdout] 1175 | fn calc_compute_pipeline_hash(desc: &D3D12_COMPUTE_PIPELINE_STATE_DESC) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1184:28 [INFO] [stdout] | [INFO] [stdout] 1183 | impl GpuMemoryHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 1184 | fn new(device: WeakPtr, capacity: u32, heap_type: D3D12_HEAP_TYPE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1184:70 [INFO] [stdout] | [INFO] [stdout] 1184 | fn new(device: WeakPtr, capacity: u32, heap_type: D3D12_HEAP_TYPE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1220:60 [INFO] [stdout] | [INFO] [stdout] 1220 | fn allocate(&mut self, mut size: u32) -> (*mut c_void, D3D12_GPU_VIRTUAL_ADDRESS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | pub type Device = WeakPtr; [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | pub type CommandQueue = WeakPtr; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList1` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | pub type GraphicsCommandList = WeakPtr; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub type Resource = WeakPtr; [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 70 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 75 | desc: Option<&D3D12_SHADER_RESOURCE_VIEW_DESC>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE, [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/d3d12/wrappers.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn rs_set_viewports(&self, viewports: &[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/d3d12/wrappers.rs:97:49 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn rs_set_scissor_rects(&self, rects: &[D3D12_RECT]) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | render_target_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 90 | impl GraphicsCommandList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 105 | depth_stencil_descriptor: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | render_target_view: D3D12_CPU_DESCRIPTOR_HANDLE, [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/d3d12/wrappers.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | rects: &[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/d3d12/wrappers.rs:158:67 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn ia_set_vertex_buffers(&self, start_slot: u32, views: &[D3D12_VERTEX_BUFFER_VIEW]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_PRIMITIVE_TOPOLOGY` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:166:65 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn ia_set_primitive_topology(&self, primitive_topology: D3D12_PRIMITIVE_TOPOLOGY) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | buffer_location: D3D12_GPU_VIRTUAL_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:201:26 [INFO] [stdout] | [INFO] [stdout] 201 | base_descriptor: D3D12_GPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:242:28 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn close(&self) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:251:46 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn get_gpu_virtual_address(&self) -> D3D12_GPU_VIRTUAL_ADDRESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandList` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:258:63 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn execute_command_lists(&self, command_lists: &[*mut ID3D12CommandList]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | vertex_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | index_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | transform_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 159 | ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:190:34 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 128 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `rust_d3d12_test1`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name rust_d3d12_test1 src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern glam=/opt/rustwide/target/debug/deps/libglam-6a8e3d138da6e431.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-6380948a6266f272.rmeta --cap-lints=warn --crate-version 0.1.0` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "6bcb241c8b7f8a38540e82b355a19fa3009e797bbf48e57888e2c63fca962218", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bcb241c8b7f8a38540e82b355a19fa3009e797bbf48e57888e2c63fca962218", kill_on_drop: false }` [INFO] [stdout] 6bcb241c8b7f8a38540e82b355a19fa3009e797bbf48e57888e2c63fca962218