[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] d0e89b0e2bdd7d00db469325012c660eddfb8309 [INFO] documenting robmikh/wgc-rust-demo 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%2Frobmikh%2Fwgc-rust-demo" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robmikh/wgc-rust-demo 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/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-7/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.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] d4f45f867cfcd54e4bfb26fba7ee84bca016086a708e5cd7f43119f4c89b712a [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" "d4f45f867cfcd54e4bfb26fba7ee84bca016086a708e5cd7f43119f4c89b712a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4f45f867cfcd54e4bfb26fba7ee84bca016086a708e5cd7f43119f4c89b712a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f45f867cfcd54e4bfb26fba7ee84bca016086a708e5cd7f43119f4c89b712a", kill_on_drop: false }` [INFO] [stdout] d4f45f867cfcd54e4bfb26fba7ee84bca016086a708e5cd7f43119f4c89b712a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] b97417be5e95eda63a8be11eeb6668f399fc97b304b7d072b109bf44bceab918 [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" "b97417be5e95eda63a8be11eeb6668f399fc97b304b7d072b109bf44bceab918", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking num-integer v0.1.42 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking num-iter v0.1.40 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking rand 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: maybe a missing crate `windows`? [INFO] [stdout] --> src/capture.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::windows::graphics::capture::GraphicsCaptureItem; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `windows`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `windows`? [INFO] [stdout] --> src/d3d.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::windows::graphics::directx::direct3d11::{IDirect3DDevice, IDirect3DSurface}; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `windows`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `windows`? [INFO] [stdout] --> src/encoder.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::windows::graphics::directx::direct3d11::{IDirect3DDevice, IDirect3DSurface}; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `windows`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `windows`? [INFO] [stdout] --> src/snapshot.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::windows::graphics::capture::{Direct3D11CaptureFramePool, GraphicsCaptureItem}; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `windows`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `windows`? [INFO] [stdout] --> src/snapshot.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::windows::graphics::directx::direct3d11::{IDirect3DDevice, IDirect3DSurface}; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `windows`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `windows`? [INFO] [stdout] --> src/snapshot.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::windows::graphics::directx::DirectXPixelFormat; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `windows`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `windows`? [INFO] [stdout] --> src/snapshot.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | crate::windows::foundation::TypedEventHandler; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `windows`? [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 { [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: `` [INFO] [stdout] 35 | pub fn create_for_monitor(&self, monitor: HMONITOR) -> winrt::Result { [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 { [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: `` [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn create_for_window(&self, window: HWND) -> winrt::Result { [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 { [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 { [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 `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 { [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 { [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 `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] 136 | pub trait D3D11Resource { [INFO] [stdout] | ----------------------- similarly named trait `D3D11Resource` defined here [INFO] [stdout] 137 | 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 `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 ::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 ::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 { [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: `` [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn to_direct3d_device(&self) -> winrt::Result { [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: `` [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 { [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: `` [INFO] [stdout] ... [INFO] [stdout] 352 | pub fn to_direct3d_surface(&self) -> winrt::Result { [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] [stderr] error: Could not document `wgc-rust-demo`. [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] [stderr] [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] [stderr] Caused by: [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] [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-c63bfa5f8c1790b3.rmeta --extern image=/opt/rustwide/target/debug/deps/libimage-3490bdd4752c152b.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-e03adf1099787876.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-c67f001dbf45c66e.rmeta --extern winrt=/opt/rustwide/target/debug/deps/libwinrt-d7e95df638aeee82.rmeta --cap-lints=warn` (exit code: 1) [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: `` [INFO] [stdout] 9 | crate::windows::foundation::TypedEventHandler; [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: `` [INFO] [stdout] ... [INFO] [stdout] 20 | ) -> winrt::Result { [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 { [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: 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] running `Command { std: "docker" "inspect" "b97417be5e95eda63a8be11eeb6668f399fc97b304b7d072b109bf44bceab918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b97417be5e95eda63a8be11eeb6668f399fc97b304b7d072b109bf44bceab918", kill_on_drop: false }` [INFO] [stdout] b97417be5e95eda63a8be11eeb6668f399fc97b304b7d072b109bf44bceab918