[INFO] fetching crate d3d12 0.3.0... [INFO] documenting d3d12-0.3.0 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate d3d12 0.3.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate d3d12 0.3.0 on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate d3d12 0.3.0 [INFO] finished tweaking crates.io crate d3d12 0.3.0 [INFO] tweaked toml for crates.io crate d3d12 0.3.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "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] b5732846518d96a14febe7a787ea23129de67ebad62de8d4ae10726fe21103bc [INFO] running `Command { std: "docker" "start" "-a" "b5732846518d96a14febe7a787ea23129de67ebad62de8d4ae10726fe21103bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5732846518d96a14febe7a787ea23129de67ebad62de8d4ae10726fe21103bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5732846518d96a14febe7a787ea23129de67ebad62de8d4ae10726fe21103bc", kill_on_drop: false }` [INFO] [stdout] b5732846518d96a14febe7a787ea23129de67ebad62de8d4ae10726fe21103bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17dde25aa739c6535b8d4eef7b4f872ee33e9aa27b2db02abf7dee4af8750820 [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" "17dde25aa739c6535b8d4eef7b4f872ee33e9aa27b2db02abf7dee4af8750820", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Documenting d3d12 v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::dxgiformat; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::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: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[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/com.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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/com.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::d3d12sdklayers; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/descriptor.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::dxgiformat; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/descriptor.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[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/device.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 `shared` in `winapi` [INFO] [stdout] --> src/dxgi.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/device.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/dxgi.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::{dxgi, dxgi1_2, dxgi1_3, dxgi1_4, dxgiformat, dxgitype}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/dxgi.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::{dxgidebug, d3d12}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/dxgi.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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: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/resource.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/sync.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | 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:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::{synchapi, winnt}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `HRESULT` [INFO] [stdout] --> src/command_list.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | WorkGroupCount, HRESULT, [INFO] [stdout] | ^^^^^^^ no `HRESULT` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `HRESULT` [INFO] [stdout] --> src/dxgi.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | use {CommandQueue, D3DResult, Resource, SampleDesc, HRESULT}; [INFO] [stdout] | ^^^^^^^ no `HRESULT` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `HRESULT` [INFO] [stdout] --> src/queue.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use HRESULT; [INFO] [stdout] | ^^^^^^^ no `HRESULT` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `HRESULT` [INFO] [stdout] --> src/sync.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use 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:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | 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:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | 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 32 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 --crate-type lib --crate-name d3d12 src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-49772556016eda4a.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-585422e5a79a6950.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "17dde25aa739c6535b8d4eef7b4f872ee33e9aa27b2db02abf7dee4af8750820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17dde25aa739c6535b8d4eef7b4f872ee33e9aa27b2db02abf7dee4af8750820", kill_on_drop: false }` [INFO] [stdout] 17dde25aa739c6535b8d4eef7b4f872ee33e9aa27b2db02abf7dee4af8750820