[INFO] cloning repository https://github.com/robmikh/wgc-rust-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robmikh/wgc-rust-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobmikh%2Fwgc-rust-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobmikh%2Fwgc-rust-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a67d2a91a8e378bb2c173d67952d3d2d771a08b1
[INFO] documenting robmikh/wgc-rust-demo against 1.62.0 for beta-1.63-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobmikh%2Fwgc-rust-demo" "/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/robmikh/wgc-rust-demo on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/robmikh/wgc-rust-demo
[INFO] finished tweaking git repo https://github.com/robmikh/wgc-rust-demo
[INFO] tweaked toml for git repo https://github.com/robmikh/wgc-rust-demo written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/robmikh/wgc-rust-demo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/microsoft/winrt-rs`
[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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f7446460e41d60f7afce62342451448834d817e5ec45f521045b9da8279a54b3
[INFO] running `Command { std: "docker" "start" "-a" "f7446460e41d60f7afce62342451448834d817e5ec45f521045b9da8279a54b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f7446460e41d60f7afce62342451448834d817e5ec45f521045b9da8279a54b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7446460e41d60f7afce62342451448834d817e5ec45f521045b9da8279a54b3", kill_on_drop: false }`
[INFO] [stdout] f7446460e41d60f7afce62342451448834d817e5ec45f521045b9da8279a54b3
[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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6bc79f8f8668f9ba4c72fd1e0a2d427ecc3b19f873a0afbfeb518ebc932f791e
[INFO] running `Command { std: "docker" "start" "-a" "6bc79f8f8668f9ba4c72fd1e0a2d427ecc3b19f873a0afbfeb518ebc932f791e", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling proc-macro2 v1.0.12
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]    Compiling syn v1.0.19
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking deflate v0.8.4
[INFO] [stderr]     Checking tiff v0.4.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling quote v1.0.4
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking png v0.16.3
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking uuid v0.8.1
[INFO] [stderr]     Checking jpeg-decoder v0.1.19
[INFO] [stderr]     Checking image v0.23.4
[INFO] [stderr]    Compiling winmd_macros v0.1.0 (https://github.com/microsoft/winrt-rs#a036b8e6)
[INFO] [stderr]    Compiling winmd v0.1.0 (https://github.com/microsoft/winrt-rs#a036b8e6)
[INFO] [stderr]    Compiling winrt_macros v0.1.0 (https://github.com/microsoft/winrt-rs#a036b8e6)
[INFO] [stderr]     Checking winrt v0.1.0 (https://github.com/microsoft/winrt-rs#a036b8e6)
[INFO] [stderr]  Documenting wgc-rust-demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: proc macro panicked
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / winrt::import!(
[INFO] [stdout] 2 | |     dependencies
[INFO] [stdout] 3 | |         "os"
[INFO] [stdout] 4 | |     modules
[INFO] [stdout] ... |
[INFO] [stdout] 8 | |         "windows.graphics.directx.direct3d11"
[INFO] [stdout] 9 | | );
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = help: message: No `windir` environment variable found
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/capture.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::windef::{HMONITOR, HWND};
[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/d3d.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     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/d3d.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     um::d3d11::{
[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/displays.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     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/displays.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     um::winuser::{EnumDisplayMonitors, GetMonitorInfoW, MONITORINFOEXW},
[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/encoder.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     shared::dxgiformat::DXGI_FORMAT_B8G8R8A8_UNORM,
[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/encoder.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     um::d3d11::{
[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/snapshot.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::d3d11::{D3D11_CPU_ACCESS_READ, D3D11_USAGE_STAGING};
[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_finder.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     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/window_finder.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     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/main.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 | 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 `windows` in the crate root
[INFO] [stdout]  --> src/capture.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::windows::graphics::capture::GraphicsCaptureItem;
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> src/d3d.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::windows::graphics::directx::direct3d11::{IDirect3DDevice, IDirect3DSurface};
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> src/encoder.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::windows::graphics::directx::direct3d11::{IDirect3DDevice, IDirect3DSurface};
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> src/snapshot.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::windows::graphics::capture::{Direct3D11CaptureFramePool, GraphicsCaptureItem};
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> src/snapshot.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::windows::graphics::directx::direct3d11::{IDirect3DDevice, IDirect3DSurface};
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> src/snapshot.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::windows::graphics::directx::DirectXPixelFormat;
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows`
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use windows::graphics::capture::GraphicsCaptureItem;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> src/snapshot.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     crate::windows::foundation::TypedEventHandler<Direct3D11CaptureFramePool, winrt::Object>;
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `wgc-rust-demo`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name wgc_rust_demo src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=6b8d0742e2775d77 -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-4051a2c836938845.rmeta --extern image=/opt/rustwide/target/debug/deps/libimage-12c7f0a6f9043aa8.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-7304fbe750955444.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-89248222c6244a6b.rmeta --extern winrt=/opt/rustwide/target/debug/deps/libwinrt-be641df98c24bce6.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "6bc79f8f8668f9ba4c72fd1e0a2d427ecc3b19f873a0afbfeb518ebc932f791e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6bc79f8f8668f9ba4c72fd1e0a2d427ecc3b19f873a0afbfeb518ebc932f791e", kill_on_drop: false }`
[INFO] [stdout] 6bc79f8f8668f9ba4c72fd1e0a2d427ecc3b19f873a0afbfeb518ebc932f791e
