[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 beta-2021-08-01 for beta-1.55-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobmikh%2Fwgc-rust-demo" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/robmikh/wgc-rust-demo on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "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-10/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" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/microsoft/winrt-rs`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tiff v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c43e04f8e418efb3b34df8dcb16e03f9224ea9af69fea852b4c1488ffe1eee1c
[INFO] running `Command { std: "docker" "start" "-a" "c43e04f8e418efb3b34df8dcb16e03f9224ea9af69fea852b4c1488ffe1eee1c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c43e04f8e418efb3b34df8dcb16e03f9224ea9af69fea852b4c1488ffe1eee1c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c43e04f8e418efb3b34df8dcb16e03f9224ea9af69fea852b4c1488ffe1eee1c", kill_on_drop: false }`
[INFO] [stdout] c43e04f8e418efb3b34df8dcb16e03f9224ea9af69fea852b4c1488ffe1eee1c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c6d7e11b3fa97887842c2c82941c6938ca6dd9936279ee4cab71cd7b87551b7
[INFO] running `Command { std: "docker" "start" "-a" "8c6d7e11b3fa97887842c2c82941c6938ca6dd9936279ee4cab71cd7b87551b7", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.19
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking getrandom v0.1.14
[INFO] [stderr]     Checking tiff v0.4.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking jpeg-decoder v0.1.19
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking image v0.23.4
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking uuid v0.8.1
[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[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/capture.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         HWND,
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]   --> src/capture.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         HMONITOR,
[INFO] [stdout]    |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]   --> src/capture.rs:35:47
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn create_for_monitor(&self, monitor: HMONITOR) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/capture.rs:35:74
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl GraphicsCaptureItemInterop {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<GraphicsCaptureItem>`
[INFO] [stdout] 35 |     pub fn create_for_monitor(&self, monitor: HMONITOR) -> winrt::Result<GraphicsCaptureItem> {
[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/capture.rs:54:45
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn create_for_window(&self, window: HWND) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/capture.rs:54:68
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl GraphicsCaptureItemInterop {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<GraphicsCaptureItem>`
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn create_for_window(&self, window: HWND) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                                                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]   --> src/capture.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn create_capture_item_for_monitor(monitor: HMONITOR) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/capture.rs:74:76
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn create_capture_item_for_monitor(monitor: HMONITOR) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                       -                                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       help: you might be missing a type parameter: `<GraphicsCaptureItem>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/capture.rs:81:47
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub fn create_capture_item_for_window(window: HWND) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/capture.rs:81:70
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub fn create_capture_item_for_window(window: HWND) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                      -                               ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      help: you might be missing a type parameter: `<GraphicsCaptureItem>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Texture2DVtbl` in this scope
[INFO] [stdout]   --> src/d3d.rs:63:19
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct D3D11Texture2D {
[INFO] [stdout]    | ------------------------- similarly named struct `D3D11Texture2D` defined here
[INFO] [stdout] ...
[INFO] [stdout] 63 |     type VTable = ID3D11Texture2DVtbl;
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Texture2D`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceVtbl` in this scope
[INFO] [stdout]   --> src/d3d.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct D3D11Device {
[INFO] [stdout]    | ---------------------- similarly named struct `D3D11Device` defined here
[INFO] [stdout] ...
[INFO] [stdout] 79 |     type VTable = ID3D11DeviceVtbl;
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContextVtbl` in this scope
[INFO] [stdout]   --> src/d3d.rs:95:19
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub struct D3D11DeviceContext {
[INFO] [stdout]    | ----------------------------- similarly named struct `D3D11DeviceContext` defined here
[INFO] [stdout] ...
[INFO] [stdout] 95 |     type VTable = ID3D11DeviceContextVtbl;
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGISurfaceVtbl` in this scope
[INFO] [stdout]    --> src/d3d.rs:111:19
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct DXGISurface {
[INFO] [stdout]     | ---------------------- similarly named struct `DXGISurface` defined here
[INFO] [stdout] ...
[INFO] [stdout] 111 |     type VTable = IDXGISurfaceVtbl;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DXGISurface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGIDeviceVtbl` in this scope
[INFO] [stdout]    --> src/d3d.rs:127:19
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct DXGIDevice {
[INFO] [stdout]     | --------------------- similarly named struct `DXGIDevice` defined here
[INFO] [stdout] ...
[INFO] [stdout] 127 |     type VTable = IDXGIDeviceVtbl;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DXGIDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope
[INFO] [stdout]    --> src/d3d.rs:137:40
[INFO] [stdout]     |
[INFO] [stdout] 137 |     fn get_d3d_resource(&self) -> *mut ID3D11Resource;
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope
[INFO] [stdout]    --> src/d3d.rs:141:40
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub trait D3D11Resource {
[INFO] [stdout]     | ----------------------- similarly named trait `D3D11Resource` defined here
[INFO] [stdout] ...
[INFO] [stdout] 141 |     fn get_d3d_resource(&self) -> *mut ID3D11Resource {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `D3D11Resource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice` in this scope
[INFO] [stdout]    --> src/d3d.rs:151:32
[INFO] [stdout]     |
[INFO] [stdout] 151 |         graphics_device: *mut <IDirect3DDevice as RuntimeType>::Abi,
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DSurface` in this scope
[INFO] [stdout]    --> src/d3d.rs:159:33
[INFO] [stdout]     |
[INFO] [stdout] 159 |         graphics_surface: *mut <IDirect3DSurface as RuntimeType>::Abi,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice` in this scope
[INFO] [stdout]    --> src/d3d.rs:175:42
[INFO] [stdout]     |
[INFO] [stdout] 175 |     pub fn from_direct3d_device(device: &IDirect3DDevice) -> winrt::Result<Self> {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice` in this scope
[INFO] [stdout]    --> src/d3d.rs:216:55
[INFO] [stdout]     |
[INFO] [stdout] 174 | impl D3D11Device {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<IDirect3DDevice>`
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn to_direct3d_device(&self) -> winrt::Result<IDirect3DDevice> {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D11_TEXTURE2D_DESC` in this scope
[INFO] [stdout]    --> src/d3d.rs:232:16
[INFO] [stdout]     |
[INFO] [stdout] 232 |         desc: &D3D11_TEXTURE2D_DESC,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D11_SUBRESOURCE_DATA` in this scope
[INFO] [stdout]    --> src/d3d.rs:233:31
[INFO] [stdout]     |
[INFO] [stdout] 174 | impl D3D11Device {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<D3D11_SUBRESOURCE_DATA>`
[INFO] [stdout] ...
[INFO] [stdout] 233 |         initial_data: Option<&D3D11_SUBRESOURCE_DATA>,
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D11_MAP` in this scope
[INFO] [stdout]    --> src/d3d.rs:279:19
[INFO] [stdout]     |
[INFO] [stdout] 279 |         map_type: D3D11_MAP,
[INFO] [stdout]     |                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D11_MAPPED_SUBRESOURCE` in this scope
[INFO] [stdout]    --> src/d3d.rs:281:31
[INFO] [stdout]     |
[INFO] [stdout] 281 |         mapped_resource: &mut D3D11_MAPPED_SUBRESOURCE,
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DSurface` in this scope
[INFO] [stdout]    --> src/d3d.rs:347:44
[INFO] [stdout]     |
[INFO] [stdout] 347 |     pub fn from_direct3d_surface(surface: &IDirect3DSurface) -> winrt::Result<Self> {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DSurface` in this scope
[INFO] [stdout]    --> src/d3d.rs:352:56
[INFO] [stdout]     |
[INFO] [stdout] 346 | impl D3D11Texture2D {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<IDirect3DSurface>`
[INFO] [stdout] ...
[INFO] [stdout] 352 |     pub fn to_direct3d_surface(&self) -> winrt::Result<IDirect3DSurface> {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D11_TEXTURE2D_DESC` in this scope
[INFO] [stdout]    --> src/d3d.rs:367:31
[INFO] [stdout]     |
[INFO] [stdout] 367 |     pub fn get_desc(&self) -> D3D11_TEXTURE2D_DESC {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]   --> src/displays.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub handle: HMONITOR,
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]   --> src/displays.rs:15:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stdout]   --> src/displays.rs:15:54
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope
[INFO] [stdout]   --> src/displays.rs:15:62
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL {
[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/displays.rs:15:78
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/displays.rs:15:89
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice` in this scope
[INFO] [stdout]   --> src/encoder.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     device: &IDirect3DDevice,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DSurface` in this scope
[INFO] [stdout]   --> src/encoder.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |     surface: &IDirect3DSurface,
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Direct3D11CaptureFramePool` in this scope
[INFO] [stdout]  --> src/snapshot.rs:9:51
[INFO] [stdout]   |
[INFO] [stdout] 8 | type FrameArrivedHandler =
[INFO] [stdout]   |                         - help: you might be missing a type parameter: `<Direct3D11CaptureFramePool>`
[INFO] [stdout] 9 |     crate::windows::foundation::TypedEventHandler<Direct3D11CaptureFramePool, winrt::Object>;
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice` in this scope
[INFO] [stdout]   --> src/snapshot.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |         device: &IDirect3DDevice,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/snapshot.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |         item: &GraphicsCaptureItem,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DSurface` in this scope
[INFO] [stdout]   --> src/snapshot.rs:20:24
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl CaptureSnapshot {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<IDirect3DSurface>`
[INFO] [stdout] ...
[INFO] [stdout] 20 |     ) -> winrt::Result<IDirect3DSurface> {
[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_finder.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub handle: 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/window_finder.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn get_shell_window() -> 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/window_finder.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn is_window_visible(window: HWND) -> bool {
[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_finder.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn is_root_window(window: HWND) -> bool {
[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_finder.rs:96:40
[INFO] [stdout]    |
[INFO] [stdout] 96 | extern "system" fn enum_window(handle: HWND, lparam: LPARAM) -> BOOL {
[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_finder.rs:96:54
[INFO] [stdout]    |
[INFO] [stdout] 96 | extern "system" fn enum_window(handle: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/window_finder.rs:96:65
[INFO] [stdout]    |
[INFO] [stdout] 96 | extern "system" fn enum_window(handle: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/main.rs:79:73
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn get_capture_item_from_matches(matches: &ArgMatches) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                 -                                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 help: you might be missing a type parameter: `<GraphicsCaptureItem>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 69 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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 --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-673a3ae510cfc8ff.rmeta --extern image=/opt/rustwide/target/debug/deps/libimage-da35558e584ce4db.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-b89e8cac718eb45a.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-a71ca47479030dff.rmeta --extern winrt=/opt/rustwide/target/debug/deps/libwinrt-62fa132a169d8a92.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "8c6d7e11b3fa97887842c2c82941c6938ca6dd9936279ee4cab71cd7b87551b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c6d7e11b3fa97887842c2c82941c6938ca6dd9936279ee4cab71cd7b87551b7", kill_on_drop: false }`
[INFO] [stdout] 8c6d7e11b3fa97887842c2c82941c6938ca6dd9936279ee4cab71cd7b87551b7
