[INFO] fetching crate d3d12 0.4.1... [INFO] documenting d3d12-0.4.1 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate d3d12 0.4.1 into /workspace/builds/worker-91/source [INFO] validating manifest of crates.io crate d3d12 0.4.1 on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate d3d12 0.4.1 [INFO] finished tweaking crates.io crate d3d12 0.4.1 [INFO] tweaked toml for crates.io crate d3d12 0.4.1 written to /workspace/builds/worker-91/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f53ed04c29c2b27685b9c6c385c07edc5b29227538880a1104a59b92a941549a [INFO] running `Command { std: "docker" "start" "-a" "f53ed04c29c2b27685b9c6c385c07edc5b29227538880a1104a59b92a941549a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f53ed04c29c2b27685b9c6c385c07edc5b29227538880a1104a59b92a941549a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f53ed04c29c2b27685b9c6c385c07edc5b29227538880a1104a59b92a941549a", kill_on_drop: false }` [INFO] [stdout] f53ed04c29c2b27685b9c6c385c07edc5b29227538880a1104a59b92a941549a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47fe55e53f7540be7c683031a4f5e0135cf7eb37cef506394b22738220784d71 [INFO] running `Command { std: "docker" "start" "-a" "47fe55e53f7540be7c683031a4f5e0135cf7eb37cef506394b22738220784d71", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Documenting d3d12 v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `winapi::um` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::dxgiformat, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] 7 | um::{d3d12, d3dcommon}, [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/com.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::{ctypes::c_void, um::unknwnbase::IUnknown, Interface}; [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/com.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::{ctypes::c_void, um::unknwnbase::IUnknown, Interface}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ no `Interface` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/command_allocator.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::d3d12; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/command_list.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::d3d12; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/debug.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::d3d12sdklayers; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `winapi::um` [INFO] [stdout] --> src/descriptor.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::{shared::dxgiformat, um::d3d12}; [INFO] [stdout] | ^^^^^^ ^^ could not find `um` in `winapi` [INFO] [stdout] | | [INFO] [stdout] | could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::um`, `winapi::Interface` [INFO] [stdout] --> src/device.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::{um::d3d12, Interface}; [INFO] [stdout] | ^^ ^^^^^^^^^ no `Interface` in the root [INFO] [stdout] | | [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/dxgi.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::{dxgi, dxgi1_2, dxgi1_3, dxgi1_4, dxgiformat, dxgitype, windef::HWND}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `winapi::um`, `winapi::Interface` [INFO] [stdout] --> src/dxgi.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::{dxgi, dxgi1_2, dxgi1_3, dxgi1_4, dxgiformat, dxgitype, windef::HWND}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] 5 | um::{d3d12, dxgidebug}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] 6 | Interface, [INFO] [stdout] | ^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/heap.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::d3d12; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/pso.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::{d3d12, d3dcompiler}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/query.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::d3d12; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/queue.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::d3d12; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/resource.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 `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | pub use winapi::shared::winerror::HRESULT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/sync.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::{d3d12, synchapi, winnt}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::HRESULT` [INFO] [stdout] --> src/command_list.rs:6:76 [INFO] [stdout] | [INFO] [stdout] 6 | RootSignature, Subresource, VertexCount, VertexOffset, WorkGroupCount, HRESULT, [INFO] [stdout] | ^^^^^^^ no `HRESULT` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::HRESULT` [INFO] [stdout] --> src/dxgi.rs:1:74 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{com::WeakPtr, CommandQueue, D3DResult, Resource, SampleDesc, HRESULT}; [INFO] [stdout] | ^^^^^^^ no `HRESULT` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::HRESULT` [INFO] [stdout] --> src/queue.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{com::WeakPtr, sync::Fence, CommandList, HRESULT}; [INFO] [stdout] | ^^^^^^^ no `HRESULT` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::HRESULT` [INFO] [stdout] --> src/sync.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{com::WeakPtr, HRESULT}; [INFO] [stdout] | ^^^^^^^ no `HRESULT` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe fn as_unknown(&self) -> &IUnknown { [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/dxgi.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | hwnd: HWND, [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/lib.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub type D3DResult = (T, HRESULT); [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 25 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 `d3d12` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name d3d12 src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=52a770ab9c3d7581 -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-22d7f70832a3b85e.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-e31cbe54ce96af09.rmeta --cap-lints=warn --crate-version 0.4.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "47fe55e53f7540be7c683031a4f5e0135cf7eb37cef506394b22738220784d71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47fe55e53f7540be7c683031a4f5e0135cf7eb37cef506394b22738220784d71", kill_on_drop: false }` [INFO] [stdout] 47fe55e53f7540be7c683031a4f5e0135cf7eb37cef506394b22738220784d71