[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] checking robmikh/wgc-rust-demo against master#65cd843ae06ad00123c131a431ed5304e4cd577a for pr-122077 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobmikh%2Fwgc-rust-demo" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robmikh/wgc-rust-demo on toolchain 65cd843ae06ad00123c131a431ed5304e4cd577a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65cd843ae06ad00123c131a431ed5304e4cd577a" "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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65cd843ae06ad00123c131a431ed5304e4cd577a" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking robmikh/wgc-rust-demo against try#e34498b580c936a8f8a419616d9571f03b6c038e for pr-122077 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobmikh%2Fwgc-rust-demo" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robmikh/wgc-rust-demo on toolchain e34498b580c936a8f8a419616d9571f03b6c038e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e34498b580c936a8f8a419616d9571f03b6c038e" "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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e34498b580c936a8f8a419616d9571f03b6c038e" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e34498b580c936a8f8a419616d9571f03b6c038e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b9ead8b15764bcd1b8f452df19e1c3628b645013917f7b4ed9c89d14d3652d7 [INFO] running `Command { std: "docker" "start" "-a" "4b9ead8b15764bcd1b8f452df19e1c3628b645013917f7b4ed9c89d14d3652d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b9ead8b15764bcd1b8f452df19e1c3628b645013917f7b4ed9c89d14d3652d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b9ead8b15764bcd1b8f452df19e1c3628b645013917f7b4ed9c89d14d3652d7", kill_on_drop: false }` [INFO] [stdout] 4b9ead8b15764bcd1b8f452df19e1c3628b645013917f7b4ed9c89d14d3652d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e34498b580c936a8f8a419616d9571f03b6c038e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb14c123e14cb9084c2e9c072f7136e0e6e15c89e4493880389403f7c8c62cfa [INFO] running `Command { std: "docker" "start" "-a" "eb14c123e14cb9084c2e9c072f7136e0e6e15c89e4493880389403f7c8c62cfa", kill_on_drop: false }` [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 maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling rayon-core v1.7.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 bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Compiling winmd_macros v0.1.0 (https://github.com/microsoft/winrt-rs#a036b8e6) [INFO] [stderr] Checking image v0.23.4 [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] Checking 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: 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/d3d.rs:383:16 [INFO] [stdout] | [INFO] [stdout] 383 | use crate::windows::graphics::capture::Direct3D11CaptureFramePool; [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:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | 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: could not find `windows` in the crate root [INFO] [stdout] --> src/d3d.rs:385:16 [INFO] [stdout] | [INFO] [stdout] 385 | use crate::windows::graphics::SizeInt32; [INFO] [stdout] | ^^^^^^^ could not find `windows` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/d3d.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | shared::{dxgiformat::DXGI_FORMAT_B8G8R8A8_UNORM, dxgitype::DXGI_SAMPLE_DESC}, [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:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | um::d3d11::{ [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/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[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] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/d3d.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / extern "stdcall" { [INFO] [stdout] 149 | | fn CreateDirect3D11DeviceFromDXGIDevice( [INFO] [stdout] 150 | | device: winrt::RawComPtr, [INFO] [stdout] 151 | | graphics_device: *mut ::Abi, [INFO] [stdout] 152 | | ) -> winrt::ErrorCode; [INFO] [stdout] 153 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/d3d.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | / extern "stdcall" { [INFO] [stdout] 157 | | fn CreateDirect3D11SurfaceFromDXGISurface( [INFO] [stdout] 158 | | surface: winrt::RawComPtr, [INFO] [stdout] 159 | | graphics_surface: *mut ::Abi, [INFO] [stdout] 160 | | ) -> winrt::ErrorCode; [INFO] [stdout] 161 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [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] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/roapi.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall" { [INFO] [stdout] 3 | | fn RoInitialize(init_type: RoInitType) -> winrt::ErrorCode; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [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] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/d3d.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / extern "stdcall" { [INFO] [stdout] 149 | | fn CreateDirect3D11DeviceFromDXGIDevice( [INFO] [stdout] 150 | | device: winrt::RawComPtr, [INFO] [stdout] 151 | | graphics_device: *mut ::Abi, [INFO] [stdout] 152 | | ) -> winrt::ErrorCode; [INFO] [stdout] 153 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/d3d.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | / extern "stdcall" { [INFO] [stdout] 157 | | fn CreateDirect3D11SurfaceFromDXGISurface( [INFO] [stdout] 158 | | surface: winrt::RawComPtr, [INFO] [stdout] 159 | | graphics_surface: *mut ::Abi, [INFO] [stdout] 160 | | ) -> winrt::ErrorCode; [INFO] [stdout] 161 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/roapi.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall" { [INFO] [stdout] 3 | | fn RoInitialize(init_type: RoInitType) -> winrt::ErrorCode; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ComInterface` [INFO] [stdout] --> src/capture.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winrt::{ComInterface, Guid, TryInto}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wgc-rust-demo` (bin "wgc-rust-demo" test) due to 26 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `ComInterface` [INFO] [stdout] --> src/capture.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winrt::{ComInterface, Guid, TryInto}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wgc-rust-demo` (bin "wgc-rust-demo") due to 21 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eb14c123e14cb9084c2e9c072f7136e0e6e15c89e4493880389403f7c8c62cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb14c123e14cb9084c2e9c072f7136e0e6e15c89e4493880389403f7c8c62cfa", kill_on_drop: false }` [INFO] [stdout] eb14c123e14cb9084c2e9c072f7136e0e6e15c89e4493880389403f7c8c62cfa