[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 try#a3dffdb3a32d0dedc198f9de7d43173f3eb6727b for pr-136303 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobmikh%2Fwgc-rust-demo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robmikh/wgc-rust-demo on toolchain a3dffdb3a32d0dedc198f9de7d43173f3eb6727b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "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-6-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" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tiff v0.4.0 [INFO] [stderr] Downloaded image v0.23.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcd7a42825d70f90faf3da285c7e361888d8ab38f2deb8137309d88ad7f2ad5b [INFO] running `Command { std: "docker" "start" "-a" "dcd7a42825d70f90faf3da285c7e361888d8ab38f2deb8137309d88ad7f2ad5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcd7a42825d70f90faf3da285c7e361888d8ab38f2deb8137309d88ad7f2ad5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcd7a42825d70f90faf3da285c7e361888d8ab38f2deb8137309d88ad7f2ad5b", kill_on_drop: false }` [INFO] [stdout] dcd7a42825d70f90faf3da285c7e361888d8ab38f2deb8137309d88ad7f2ad5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f3ecee96f6f1c6988647e3cd7200634238b5dfcf7aec1fd6477b76d5c22ec32 [INFO] running `Command { std: "docker" "start" "-a" "0f3ecee96f6f1c6988647e3cd7200634238b5dfcf7aec1fd6477b76d5c22ec32", 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] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling getrandom v0.1.14 [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 num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking clap v2.33.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] 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/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: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: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 unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use windows::graphics::capture::GraphicsCaptureItem; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use windows::graphics::capture::GraphicsCaptureItem; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [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/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/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[E0570]: `"stdcall"` is not a supported ABI for the current 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] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current 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] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current 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] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current 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] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current 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] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current 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] [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] Some errors have detailed explanations: E0433, E0570. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wgc-rust-demo` (bin "wgc-rust-demo") due to 23 previous errors; 1 warning 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] Some errors have detailed explanations: E0433, E0570. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wgc-rust-demo` (bin "wgc-rust-demo" test) due to 28 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0f3ecee96f6f1c6988647e3cd7200634238b5dfcf7aec1fd6477b76d5c22ec32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f3ecee96f6f1c6988647e3cd7200634238b5dfcf7aec1fd6477b76d5c22ec32", kill_on_drop: false }` [INFO] [stdout] 0f3ecee96f6f1c6988647e3cd7200634238b5dfcf7aec1fd6477b76d5c22ec32