[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-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobmikh%2Fwgc-rust-demo" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robmikh/wgc-rust-demo on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-11/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-2022-05-20" "fetch" "--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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddd1a40f8b6f1650a7d8c5bd522eec1b51f9553b46727535002fa0c96f75499e [INFO] running `Command { std: "docker" "start" "-a" "ddd1a40f8b6f1650a7d8c5bd522eec1b51f9553b46727535002fa0c96f75499e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddd1a40f8b6f1650a7d8c5bd522eec1b51f9553b46727535002fa0c96f75499e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddd1a40f8b6f1650a7d8c5bd522eec1b51f9553b46727535002fa0c96f75499e", kill_on_drop: false }` [INFO] [stdout] ddd1a40f8b6f1650a7d8c5bd522eec1b51f9553b46727535002fa0c96f75499e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0948409d68b9f2f786bca54f728dd37ba9559bb888f302614babfa9564c5e10 [INFO] running `Command { std: "docker" "start" "-a" "e0948409d68b9f2f786bca54f728dd37ba9559bb888f302614babfa9564c5e10", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.2.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 miniz_oxide v0.3.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking maybe-uninit v2.0.0 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [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: 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; [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=ff38b95bb350b986 -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-25be785e19a9f35f.rmeta --extern image=/opt/rustwide/target/debug/deps/libimage-78114248ab486036.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-5cc5dfca4502e140.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-34638833f2162808.rmeta --extern winrt=/opt/rustwide/target/debug/deps/libwinrt-62b04aba26ee4b8f.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "e0948409d68b9f2f786bca54f728dd37ba9559bb888f302614babfa9564c5e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0948409d68b9f2f786bca54f728dd37ba9559bb888f302614babfa9564c5e10", kill_on_drop: false }` [INFO] [stdout] e0948409d68b9f2f786bca54f728dd37ba9559bb888f302614babfa9564c5e10