[INFO] cloning repository https://github.com/akitsu-sanae/dx12-in-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akitsu-sanae/dx12-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakitsu-sanae%2Fdx12-in-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakitsu-sanae%2Fdx12-in-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71727cd5e03b560c35a61836d62b2cbadc4e6604 [INFO] documenting akitsu-sanae/dx12-in-rust against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakitsu-sanae%2Fdx12-in-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akitsu-sanae/dx12-in-rust on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/akitsu-sanae/dx12-in-rust [INFO] finished tweaking git repo https://github.com/akitsu-sanae/dx12-in-rust [INFO] tweaked toml for git repo https://github.com/akitsu-sanae/dx12-in-rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/akitsu-sanae/dx12-in-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5068532de24bff1cea8d5fb08210019e39495280a707532adec5333b7493803e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5068532de24bff1cea8d5fb08210019e39495280a707532adec5333b7493803e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5068532de24bff1cea8d5fb08210019e39495280a707532adec5333b7493803e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5068532de24bff1cea8d5fb08210019e39495280a707532adec5333b7493803e", kill_on_drop: false }` [INFO] [stdout] 5068532de24bff1cea8d5fb08210019e39495280a707532adec5333b7493803e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b451b71da29d9f64b8c121f9efc94425fb01b97ce00817a4e2b768000340f448 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b451b71da29d9f64b8c121f9efc94425fb01b97ce00817a4e2b768000340f448", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Documenting dx12-in-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/direct3d/command.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::{basetsd::UINT64, winerror::S_OK}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/direct3d/command.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | um::d3d12::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/direct3d/command.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | use winapi::um::d3d12::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/direct3d/command.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | use winapi::um::d3d12::D3D12_COMMAND_LIST_TYPE_DIRECT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/direct3d/command.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | use winapi::um::d3d12::D3D12_COMMAND_LIST_TYPE_DIRECT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/direct3d/command.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | use winapi::um::d3d12::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/direct3d/command.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | use winapi::um::d3d12::D3D12_FENCE_FLAG_NONE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes`, `winapi::Interface` [INFO] [stdout] --> src/direct3d/command.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] ... [INFO] [stdout] 10 | Interface, [INFO] [stdout] | ^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/direct3d.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/direct3d.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | um::{d3d12::*, unknwnbase::IUnknown}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/direct3d.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | use winapi::shared::dxgi1_3::{CreateDXGIFactory2, DXGI_CREATE_FACTORY_DEBUG}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/direct3d.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | use winapi::um::d3dcommon::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/direct3d.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | use winapi::shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/direct3d.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | use winapi::shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/direct3d.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | use winapi::um::d3dcommon::ID3DBlob; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/direct3d.rs:313:21 [INFO] [stdout] | [INFO] [stdout] 313 | use winapi::um::d3dcompiler::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/direct3d.rs:500:21 [INFO] [stdout] | [INFO] [stdout] 500 | use winapi::um::d3dcommon::D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/msg.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::{DispatchMessageW, PeekMessageW, TranslateMessage, MSG, PM_REMOVE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::{HWND, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::WNDCLASSEXW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | use winapi::um::winuser::{ShowWindow, SW_SHOW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | use winapi::um::winuser::UnregisterClassW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | use winapi::um::winuser::{DefWindowProcW, PostQuitMessage, WM_DESTROY}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes`, `winapi::Interface` [INFO] [stdout] --> src/direct3d.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] ... [INFO] [stdout] 16 | Interface, [INFO] [stdout] | ^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::d3d12::D3D12GetDebugInterface; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::d3d12sdklayers::ID3D12Debug; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope [INFO] [stdout] --> src/direct3d/command.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | allocator: *mut ID3D12CommandAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/direct3d/command.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | list: *mut ID3D12GraphicsCommandList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stdout] --> src/direct3d/command.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | queue: *mut ID3D12CommandQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Fence` in this scope [INFO] [stdout] --> src/direct3d/command.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | fence: *mut ID3D12Fence, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT64` in this scope [INFO] [stdout] --> src/direct3d/command.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | fence_val: UINT64, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stdout] --> src/direct3d/command.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn create(device: *mut ID3D12Device) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stdout] --> src/direct3d/command.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_queue(&self) -> *mut ID3D12CommandQueue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/direct3d/command.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_list(&self) -> &ID3D12GraphicsCommandList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/direct3d/command.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | backbuffer: *mut ID3D12Resource, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/direct3d/command.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | before: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/direct3d/command.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | after: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/direct3d/command.rs:73:46 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn set_rtv(&self, rtv_handle: *const D3D12_CPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/direct3d/command.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | rtv_handle: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stdout] --> src/direct3d/command.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | fn create_allocator(device: *mut ID3D12Device) -> Result<*mut ID3D12CommandAllocator, String> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope [INFO] [stdout] --> src/direct3d/command.rs:102:63 [INFO] [stdout] | [INFO] [stdout] 102 | fn create_allocator(device: *mut ID3D12Device) -> Result<*mut ID3D12CommandAllocator, String> { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stdout] --> src/direct3d/command.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | device: *mut ID3D12Device, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope [INFO] [stdout] --> src/direct3d/command.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | allocator: *mut ID3D12CommandAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/direct3d/command.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 119 | fn create_list( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 122 | ) -> Result<*mut ID3D12GraphicsCommandList, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stdout] --> src/direct3d/command.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | fn create_queue(device: *mut ID3D12Device) -> Result<*mut ID3D12CommandQueue, String> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stdout] --> src/direct3d/command.rs:142:59 [INFO] [stdout] | [INFO] [stdout] 142 | fn create_queue(device: *mut ID3D12Device) -> Result<*mut ID3D12CommandQueue, String> { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stdout] --> src/direct3d/command.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | fn create_fence(device: *mut ID3D12Device, fence_val: UINT64) -> Result<*mut ID3D12Fence, String> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT64` in this scope [INFO] [stdout] --> src/direct3d/command.rs:168:55 [INFO] [stdout] | [INFO] [stdout] 168 | fn create_fence(device: *mut ID3D12Device, fence_val: UINT64) -> Result<*mut ID3D12Fence, String> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Fence` in this scope [INFO] [stdout] --> src/direct3d/command.rs:168:78 [INFO] [stdout] | [INFO] [stdout] 168 | fn create_fence(device: *mut ID3D12Device, fence_val: UINT64) -> Result<*mut ID3D12Fence, String> { [INFO] [stdout] | - ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stdout] --> src/direct3d.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | device: *mut ID3D12Device, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stdout] --> src/direct3d.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | swapchain: *mut IDXGISwapChain4, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stdout] --> src/direct3d.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | rtv_heaps: *mut ID3D12DescriptorHeap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/direct3d.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Direct3D { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 25 | back_buffers: Vec<*mut ID3D12Resource>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/direct3d.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | pipeline_state: *mut ID3D12PipelineState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stdout] --> src/direct3d.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | root_signature: *mut ID3D12RootSignature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_VIEWPORT` in this scope [INFO] [stdout] --> src/direct3d.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | viewport: D3D12_VIEWPORT, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RECT` in this scope [INFO] [stdout] --> src/direct3d.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | scissorrect: D3D12_RECT, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_VERTEX_BUFFER_VIEW` in this scope [INFO] [stdout] --> src/direct3d.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | vb_view: D3D12_VERTEX_BUFFER_VIEW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_INDEX_BUFFER_VIEW` in this scope [INFO] [stdout] --> src/direct3d.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | ib_view: D3D12_INDEX_BUFFER_VIEW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory6` in this scope [INFO] [stdout] --> src/direct3d.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | fn create_factory() -> Result<*mut IDXGIFactory6, String> { [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stdout] --> src/direct3d.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | fn create_device() -> Result<*mut ID3D12Device, String> { [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory6` in this scope [INFO] [stdout] --> src/direct3d.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | factory: *mut IDXGIFactory6, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stdout] --> src/direct3d.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 91 | fn create_swapchain( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 95 | ) -> Result<*mut IDXGISwapChain4, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stdout] --> src/direct3d.rs:137:31 [INFO] [stdout] | [INFO] [stdout] 137 | fn create_rtv_heaps(dev: *mut ID3D12Device) -> Result<*mut ID3D12DescriptorHeap, String> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stdout] --> src/direct3d.rs:137:60 [INFO] [stdout] | [INFO] [stdout] 137 | fn create_rtv_heaps(dev: *mut ID3D12Device) -> Result<*mut ID3D12DescriptorHeap, String> { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stdout] --> src/direct3d.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | device: *mut ID3D12Device, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stdout] --> src/direct3d.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | swapchain: *mut IDXGISwapChain4, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stdout] --> src/direct3d.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | rtv_heaps: *mut ID3D12DescriptorHeap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/direct3d.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 159 | fn create_back_buffers( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 163 | ) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/msg.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Msg(pub MSG); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub handle: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub class: WNDCLASSEXW, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window.rs:92:47 [INFO] [stdout] | [INFO] [stdout] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:92:61 [INFO] [stdout] | [INFO] [stdout] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:92:77 [INFO] [stdout] | [INFO] [stdout] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window.rs:92:88 [INFO] [stdout] | [INFO] [stdout] 92 | extern "system" fn procedure(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 82 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 `dx12-in-rust`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name dx12_in_rust 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 widestring=/opt/rustwide/target/debug/deps/libwidestring-5a11bf00659b027b.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-65b5b5005688042a.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "b451b71da29d9f64b8c121f9efc94425fb01b97ce00817a4e2b768000340f448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b451b71da29d9f64b8c121f9efc94425fb01b97ce00817a4e2b768000340f448", kill_on_drop: false }` [INFO] [stdout] b451b71da29d9f64b8c121f9efc94425fb01b97ce00817a4e2b768000340f448