[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] checking robmikh/wgc-rust-demo against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobmikh%2Fwgc-rust-demo" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robmikh/wgc-rust-demo on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-12/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/microsoft/winrt-rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a46e9af2531f12abdafaef8a9ca5789ad72283498eb2e38bf82590b55ac9500b [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" "a46e9af2531f12abdafaef8a9ca5789ad72283498eb2e38bf82590b55ac9500b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a46e9af2531f12abdafaef8a9ca5789ad72283498eb2e38bf82590b55ac9500b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a46e9af2531f12abdafaef8a9ca5789ad72283498eb2e38bf82590b55ac9500b", kill_on_drop: false }` [INFO] [stdout] a46e9af2531f12abdafaef8a9ca5789ad72283498eb2e38bf82590b55ac9500b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9269a44e1f5ae6eb23f1fba634cb53569d52dc33274b30de20d9cd7c5f99937d [INFO] running `Command { std: "docker" "start" "-a" "9269a44e1f5ae6eb23f1fba634cb53569d52dc33274b30de20d9cd7c5f99937d", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking vec_map v0.8.2 [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 textwrap v0.11.0 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Checking crc32fast v1.2.0 [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 crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [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] 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: 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/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/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/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/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/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: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 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: 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/d3d.rs:383:16 [INFO] [stdout] | [INFO] [stdout] 383 | use crate::windows::graphics::capture::Direct3D11CaptureFramePool; [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:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | use crate::windows::graphics::directx::DirectXPixelFormat; [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/d3d.rs:385:16 [INFO] [stdout] | [INFO] [stdout] 385 | use crate::windows::graphics::SizeInt32; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `windows`? [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: 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 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: use of undeclared type `GraphicsCaptureItem` [INFO] [stdout] --> src/capture.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | &GraphicsCaptureItem::IID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GraphicsCaptureItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GraphicsCaptureItem` [INFO] [stdout] --> src/capture.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | &GraphicsCaptureItem::IID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GraphicsCaptureItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GraphicsCaptureItem` [INFO] [stdout] --> src/capture.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | &GraphicsCaptureItem::IID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GraphicsCaptureItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GraphicsCaptureItem` [INFO] [stdout] --> src/capture.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | &GraphicsCaptureItem::IID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GraphicsCaptureItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `D3D11_TEXTURE2D_DESC` [INFO] [stdout] --> src/d3d.rs:374:30 [INFO] [stdout] | [INFO] [stdout] 374 | let mut result = D3D11_TEXTURE2D_DESC::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `D3D11_TEXTURE2D_DESC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direct3D11CaptureFramePool` [INFO] [stdout] --> src/d3d.rs:391:23 [INFO] [stdout] | [INFO] [stdout] 391 | let _frame_pool = Direct3D11CaptureFramePool::create_free_threaded( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `Direct3D11CaptureFramePool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectXPixelFormat` [INFO] [stdout] --> src/d3d.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | DirectXPixelFormat::B8G8R8A8UIntNormalized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `DirectXPixelFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `D3D11_MAPPED_SUBRESOURCE` [INFO] [stdout] --> src/d3d.rs:451:22 [INFO] [stdout] | [INFO] [stdout] 451 | let mut mapped = D3D11_MAPPED_SUBRESOURCE::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `D3D11_MAPPED_SUBRESOURCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `D3D11_TEXTURE2D_DESC` [INFO] [stdout] --> src/d3d.rs:374:30 [INFO] [stdout] | [INFO] [stdout] 374 | let mut result = D3D11_TEXTURE2D_DESC::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `D3D11_TEXTURE2D_DESC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MONITORINFOEXW` [INFO] [stdout] --> src/displays.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | let mut monitor_info = MONITORINFOEXW::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `MONITORINFOEXW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MONITORINFOEXW` [INFO] [stdout] --> src/displays.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | let mut monitor_info = MONITORINFOEXW::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `MONITORINFOEXW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `D3D11_MAPPED_SUBRESOURCE` [INFO] [stdout] --> src/encoder.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let mut mapped = D3D11_MAPPED_SUBRESOURCE::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `D3D11_MAPPED_SUBRESOURCE` [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[E0433]: failed to resolve: use of undeclared type `Direct3D11CaptureFramePool` [INFO] [stdout] --> src/snapshot.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let frame_pool = Direct3D11CaptureFramePool::create_free_threaded( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `Direct3D11CaptureFramePool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectXPixelFormat` [INFO] [stdout] --> src/snapshot.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | DirectXPixelFormat::B8G8R8A8UIntNormalized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `DirectXPixelFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `D3D11_MAPPED_SUBRESOURCE` [INFO] [stdout] --> src/encoder.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let mut mapped = D3D11_MAPPED_SUBRESOURCE::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `D3D11_MAPPED_SUBRESOURCE` [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[E0433]: failed to resolve: use of undeclared type `Direct3D11CaptureFramePool` [INFO] [stdout] --> src/snapshot.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let frame_pool = Direct3D11CaptureFramePool::create_free_threaded( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `Direct3D11CaptureFramePool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectXPixelFormat` [INFO] [stdout] --> src/snapshot.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | DirectXPixelFormat::B8G8R8A8UIntNormalized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `DirectXPixelFormat` [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 `GraphicsCaptureItem` in this scope [INFO] [stdout] --> src/capture.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | let mut result: GraphicsCaptureItem = std::mem::zeroed(); [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 `GraphicsCaptureItem` in this scope [INFO] [stdout] --> src/capture.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | let mut result: GraphicsCaptureItem = std::mem::zeroed(); [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 `GraphicsCaptureItem` in this scope [INFO] [stdout] --> src/capture.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn create_capture_item_for_monitor(monitor: HMONITOR) -> winrt::Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 75 | let factory = winrt::activation::factory::()?; [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: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 `GraphicsCaptureItem` in this scope [INFO] [stdout] --> src/capture.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn create_capture_item_for_window(window: HWND) -> winrt::Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 82 | let factory = winrt::activation::factory::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Texture2DVtbl` in this scope [INFO] [stdout] --> src/d3d.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct D3D11Texture2D { [INFO] [stdout] | ------------------------- similarly named struct `D3D11Texture2D` defined here [INFO] [stdout] ... [INFO] [stdout] 63 | type VTable = ID3D11Texture2DVtbl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Texture2D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceVtbl` in this scope [INFO] [stdout] --> src/d3d.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct D3D11Device { [INFO] [stdout] | ---------------------- similarly named struct `D3D11Device` defined here [INFO] [stdout] ... [INFO] [stdout] 79 | type VTable = ID3D11DeviceVtbl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContextVtbl` in this scope [INFO] [stdout] --> src/d3d.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct D3D11DeviceContext { [INFO] [stdout] | ----------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stdout] ... [INFO] [stdout] 95 | type VTable = ID3D11DeviceContextVtbl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISurfaceVtbl` in this scope [INFO] [stdout] --> src/d3d.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct DXGISurface { [INFO] [stdout] | ---------------------- similarly named struct `DXGISurface` defined here [INFO] [stdout] ... [INFO] [stdout] 111 | type VTable = IDXGISurfaceVtbl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DXGISurface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIDeviceVtbl` in this scope [INFO] [stdout] --> src/d3d.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct DXGIDevice { [INFO] [stdout] | --------------------- similarly named struct `DXGIDevice` defined here [INFO] [stdout] ... [INFO] [stdout] 127 | type VTable = IDXGIDeviceVtbl; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DXGIDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/d3d.rs:137:40 [INFO] [stdout] | [INFO] [stdout] 137 | fn get_d3d_resource(&self) -> *mut ID3D11Resource; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/d3d.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 136 | pub trait D3D11Resource { [INFO] [stdout] | ----------------------- similarly named trait `D3D11Resource` defined here [INFO] [stdout] ... [INFO] [stdout] 141 | fn get_d3d_resource(&self) -> *mut ID3D11Resource { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `D3D11Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice` in this scope [INFO] [stdout] --> src/d3d.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | graphics_device: *mut ::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[E0425]: cannot find value `D3D11_CREATE_DEVICE_BGRA_SUPPORT` in this scope [INFO] [stdout] --> src/d3d.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let flags = D3D11_CREATE_DEVICE_BGRA_SUPPORT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D11CreateDevice` in this scope [INFO] [stdout] --> src/d3d.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | winrt::ErrorCode(D3D11CreateDevice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope [INFO] [stdout] --> src/d3d.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | D3D11_SDK_VERSION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ERROR_UNSUPPORTED` in this scope [INFO] [stdout] --> src/d3d.rs:207:38 [INFO] [stdout] | [INFO] [stdout] 207 | if error.code().0 == DXGI_ERROR_UNSUPPORTED { [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 `IDirect3DDevice` in this scope [INFO] [stdout] --> src/d3d.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | let mut result: IDirect3DDevice = std::mem::zeroed(); [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 `IDirect3DSurface` in this scope [INFO] [stdout] --> src/d3d.rs:360:29 [INFO] [stdout] | [INFO] [stdout] 360 | let mut result: IDirect3DSurface = std::mem::zeroed(); [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[E0422]: cannot find struct, variant or union type `SizeInt32` in this scope [INFO] [stdout] --> src/d3d.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | SizeInt32 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_TEXTURE2D_DESC` in this scope [INFO] [stdout] --> src/d3d.rs:420:16 [INFO] [stdout] | [INFO] [stdout] 420 | let desc = D3D11_TEXTURE2D_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/d3d.rs:425:17 [INFO] [stdout] | [INFO] [stdout] 425 | Format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/d3d.rs:426:21 [INFO] [stdout] | [INFO] [stdout] 426 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_STAGING` in this scope [INFO] [stdout] --> src/d3d.rs:430:16 [INFO] [stdout] | [INFO] [stdout] 430 | Usage: D3D11_USAGE_STAGING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CPU_ACCESS_READ` in this scope [INFO] [stdout] --> src/d3d.rs:432:25 [INFO] [stdout] | [INFO] [stdout] 432 | CPUAccessFlags: D3D11_CPU_ACCESS_READ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_SUBRESOURCE_DATA` in this scope [INFO] [stdout] --> src/d3d.rs:443:28 [INFO] [stdout] | [INFO] [stdout] 443 | let subresource_data = D3D11_SUBRESOURCE_DATA { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_MAP_READ` in this scope [INFO] [stdout] --> src/d3d.rs:452:34 [INFO] [stdout] | [INFO] [stdout] 452 | d3d_context.map(&texture, 0, D3D11_MAP_READ, 0, &mut mapped)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/displays.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub handle: HMONITOR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/displays.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/displays.rs:15:54 [INFO] [stdout] | [INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> src/displays.rs:15:62 [INFO] [stdout] | [INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/displays.rs:15:78 [INFO] [stdout] | [INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/displays.rs:15:89 [INFO] [stdout] | [INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/displays.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 16 | let mut monitor_info = MONITORINFOEXW::default(); [INFO] [stdout] 17 | monitor_info.cbSize = std::mem::size_of::() as u32; [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: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 `GraphicsCaptureItem` in this scope [INFO] [stdout] --> src/capture.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | let mut result: GraphicsCaptureItem = std::mem::zeroed(); [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[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stdout] --> src/displays.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | let result = unsafe { GetMonitorInfoW(handle, &mut monitor_info as *mut _ as *mut _) }; [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:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | let mut result: GraphicsCaptureItem = std::mem::zeroed(); [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 `GraphicsCaptureItem` in this scope [INFO] [stdout] --> src/capture.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn create_capture_item_for_monitor(monitor: HMONITOR) -> winrt::Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 75 | let factory = winrt::activation::factory::()?; [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: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 `LPARAM` in this scope [INFO] [stdout] --> src/displays.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 36 | let list = std::mem::transmute::>(lparam); [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[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope [INFO] [stdout] --> src/displays.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | EnumDisplayMonitors( [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:82:48 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn create_capture_item_for_window(window: HWND) -> winrt::Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 82 | let factory = winrt::activation::factory::()?; [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 `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 `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 `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[E0425]: cannot find value `D3D11_USAGE_STAGING` in this scope [INFO] [stdout] --> src/encoder.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | let d3d_texture = if desc.Usage == D3D11_USAGE_STAGING { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CPU_ACCESS_READ` in this scope [INFO] [stdout] --> src/encoder.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | if (desc.CPUAccessFlags & D3D11_CPU_ACCESS_READ) == D3D11_CPU_ACCESS_READ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0425]: cannot find value `D3D11_CPU_ACCESS_READ` in this scope [INFO] [stdout] --> src/encoder.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 35 | if (desc.CPUAccessFlags & D3D11_CPU_ACCESS_READ) == D3D11_CPU_ACCESS_READ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0425]: cannot find value `D3D11_MAP_READ` in this scope [INFO] [stdout] --> src/encoder.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | d3d_context.map(&d3d_texture, 0, D3D11_MAP_READ, 0, &mut mapped)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [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 `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 `ID3D11Resource` in this scope [INFO] [stdout] --> src/d3d.rs:137:40 [INFO] [stdout] | [INFO] [stdout] 137 | fn get_d3d_resource(&self) -> *mut ID3D11Resource; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `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 `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 `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 `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/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 `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[E0425]: cannot find value `D3D11_USAGE_STAGING` in this scope [INFO] [stdout] --> src/snapshot.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | desc.Usage = D3D11_USAGE_STAGING; [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[E0425]: cannot find value `D3D11_CREATE_DEVICE_BGRA_SUPPORT` in this scope [INFO] [stdout] --> src/d3d.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let flags = D3D11_CREATE_DEVICE_BGRA_SUPPORT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D11CreateDevice` in this scope [INFO] [stdout] --> src/d3d.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | winrt::ErrorCode(D3D11CreateDevice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CPU_ACCESS_READ` in this scope [INFO] [stdout] --> src/snapshot.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | desc.CPUAccessFlags = D3D11_CPU_ACCESS_READ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope [INFO] [stdout] --> src/d3d.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | D3D11_SDK_VERSION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ERROR_UNSUPPORTED` in this scope [INFO] [stdout] --> src/d3d.rs:207:38 [INFO] [stdout] | [INFO] [stdout] 207 | if error.code().0 == DXGI_ERROR_UNSUPPORTED { [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 `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 `IDirect3DDevice` in this scope [INFO] [stdout] --> src/d3d.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | let mut result: IDirect3DDevice = std::mem::zeroed(); [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 `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 `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[E0425]: cannot find function, tuple struct or tuple variant `GetShellWindow` in this scope [INFO] [stdout] --> src/window_finder.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { GetShellWindow() } [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 `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 `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 `IDirect3DSurface` in this scope [INFO] [stdout] --> src/d3d.rs:360:29 [INFO] [stdout] | [INFO] [stdout] 360 | let mut result: IDirect3DSurface = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope [INFO] [stdout] --> src/window_finder.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { IsWindowVisible(window) == 1 } [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 `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 `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[E0425]: cannot find function, tuple struct or tuple variant `GetAncestor` in this scope [INFO] [stdout] --> src/window_finder.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe { GetAncestor(window, GA_ROOT) == window } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/displays.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GA_ROOT` in this scope [INFO] [stdout] --> src/window_finder.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe { GetAncestor(window, GA_ROOT) == window } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/displays.rs:15:54 [INFO] [stdout] | [INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> src/displays.rs:15:62 [INFO] [stdout] | [INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/displays.rs:15:78 [INFO] [stdout] | [INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope [INFO] [stdout] --> src/window_finder.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | let style = unsafe { GetWindowLongW(window.handle, GWL_STYLE) as u32 }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/displays.rs:15:89 [INFO] [stdout] | [INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/window_finder.rs:59:56 [INFO] [stdout] | [INFO] [stdout] 59 | let style = unsafe { GetWindowLongW(window.handle, GWL_STYLE) as u32 }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_DISABLED` in this scope [INFO] [stdout] --> src/window_finder.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | if style & WS_DISABLED > 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope [INFO] [stdout] --> src/displays.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 16 | let mut monitor_info = MONITORINFOEXW::default(); [INFO] [stdout] 17 | monitor_info.cbSize = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope [INFO] [stdout] --> src/window_finder.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | let ex_style = unsafe { GetWindowLongW(window.handle, GWL_EXSTYLE) as u32 }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope [INFO] [stdout] --> src/displays.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | let result = unsafe { GetMonitorInfoW(handle, &mut monitor_info as *mut _ as *mut _) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope [INFO] [stdout] --> src/window_finder.rs:64:59 [INFO] [stdout] | [INFO] [stdout] 64 | let ex_style = unsafe { GetWindowLongW(window.handle, GWL_EXSTYLE) as u32 }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/displays.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 36 | let list = std::mem::transmute::>(lparam); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope [INFO] [stdout] --> src/window_finder.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | if ex_style & WS_EX_TOOLWINDOW > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope [INFO] [stdout] --> src/displays.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | EnumDisplayMonitors( [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[E0425]: cannot find function, tuple struct or tuple variant `DwmGetWindowAttribute` in this scope [INFO] [stdout] --> src/window_finder.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | winrt::ErrorCode(DwmGetWindowAttribute( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_STAGING` in this scope [INFO] [stdout] --> src/encoder.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | let d3d_texture = if desc.Usage == D3D11_USAGE_STAGING { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CPU_ACCESS_READ` in this scope [INFO] [stdout] --> src/encoder.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | if (desc.CPUAccessFlags & D3D11_CPU_ACCESS_READ) == D3D11_CPU_ACCESS_READ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CPU_ACCESS_READ` in this scope [INFO] [stdout] --> src/encoder.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 35 | if (desc.CPUAccessFlags & D3D11_CPU_ACCESS_READ) == D3D11_CPU_ACCESS_READ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWMWA_CLOAKED` in this scope [INFO] [stdout] --> src/window_finder.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | DWMWA_CLOAKED, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_MAP_READ` in this scope [INFO] [stdout] --> src/encoder.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | d3d_context.map(&d3d_texture, 0, D3D11_MAP_READ, 0, &mut mapped)?; [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 `DWORD` in this scope [INFO] [stdout] --> src/window_finder.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 50 | fn is_capturable_window(window: &WindowInfo) -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 78 | std::mem::size_of::() as u32, [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[E0425]: cannot find value `DWM_CLOAKED_SHELL` in this scope [INFO] [stdout] --> src/window_finder.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | if cloaked == DWM_CLOAKED_SHELL { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_STAGING` in this scope [INFO] [stdout] --> src/snapshot.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | desc.Usage = D3D11_USAGE_STAGING; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CPU_ACCESS_READ` in this scope [INFO] [stdout] --> src/snapshot.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | desc.CPUAccessFlags = D3D11_CPU_ACCESS_READ; [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 `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[E0425]: cannot find function, tuple struct or tuple variant `GetShellWindow` in this scope [INFO] [stdout] --> src/window_finder.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { GetShellWindow() } [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 `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[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope [INFO] [stdout] --> src/window_finder.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { IsWindowVisible(window) == 1 } [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 `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[E0425]: cannot find function, tuple struct or tuple variant `GetAncestor` in this scope [INFO] [stdout] --> src/window_finder.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe { GetAncestor(window, GA_ROOT) == window } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GA_ROOT` in this scope [INFO] [stdout] --> src/window_finder.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe { GetAncestor(window, GA_ROOT) == window } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in this scope [INFO] [stdout] --> src/window_finder.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | let window_text_length = unsafe { GetWindowTextLengthW(handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope [INFO] [stdout] --> src/window_finder.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | let style = unsafe { GetWindowLongW(window.handle, GWL_STYLE) as u32 }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/window_finder.rs:59:56 [INFO] [stdout] | [INFO] [stdout] 59 | let style = unsafe { GetWindowLongW(window.handle, GWL_STYLE) as u32 }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stdout] --> src/window_finder.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | GetWindowTextW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_DISABLED` in this scope [INFO] [stdout] --> src/window_finder.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | if style & WS_DISABLED > 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope [INFO] [stdout] --> src/window_finder.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | let ex_style = unsafe { GetWindowLongW(window.handle, GWL_EXSTYLE) as u32 }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope [INFO] [stdout] --> src/window_finder.rs:64:59 [INFO] [stdout] | [INFO] [stdout] 64 | let ex_style = unsafe { GetWindowLongW(window.handle, GWL_EXSTYLE) as u32 }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClassNameW` in this scope [INFO] [stdout] --> src/window_finder.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | GetClassNameW(handle, text_array.as_mut_ptr() as *mut _, class_text_length); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope [INFO] [stdout] --> src/window_finder.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | if ex_style & WS_EX_TOOLWINDOW > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DwmGetWindowAttribute` in this scope [INFO] [stdout] --> src/window_finder.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | winrt::ErrorCode(DwmGetWindowAttribute( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWMWA_CLOAKED` in this scope [INFO] [stdout] --> src/window_finder.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | DWMWA_CLOAKED, [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:130:46 [INFO] [stdout] | [INFO] [stdout] 96 | extern "system" fn enum_window(handle: HWND, lparam: LPARAM) -> BOOL { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 130 | let list = std::mem::transmute::>(lparam); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/window_finder.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 50 | fn is_capturable_window(window: &WindowInfo) -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 78 | std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWM_CLOAKED_SHELL` in this scope [INFO] [stdout] --> src/window_finder.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | if cloaked == DWM_CLOAKED_SHELL { [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[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleTitleW` in this scope [INFO] [stdout] --> src/window_finder.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | GetConsoleTitleW(text_array.as_mut_ptr() as *mut _, console_title_length); [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[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in this scope [INFO] [stdout] --> src/window_finder.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | let window_text_length = unsafe { GetWindowTextLengthW(handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleTitleW` in this scope [INFO] [stdout] --> src/window_finder.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | SetConsoleTitleW(new_console_title.as_mut_ptr() as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stdout] --> src/window_finder.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | GetWindowTextW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClassNameW` in this scope [INFO] [stdout] --> src/window_finder.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | GetClassNameW(handle, text_array.as_mut_ptr() as *mut _, class_text_length); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/window_finder.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | let result = unsafe { EnumWindows(Some(enum_window), &mut window_list as *mut _ as _) }; [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:130:46 [INFO] [stdout] | [INFO] [stdout] 96 | extern "system" fn enum_window(handle: HWND, lparam: LPARAM) -> BOOL { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 130 | let list = std::mem::transmute::>(lparam); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleTitleW` in this scope [INFO] [stdout] --> src/window_finder.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | SetConsoleTitleW(new_console_title.as_mut_ptr() as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleTitleW` in this scope [INFO] [stdout] --> src/window_finder.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | GetConsoleTitleW(text_array.as_mut_ptr() as *mut _, console_title_length); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleTitleW` in this scope [INFO] [stdout] --> src/window_finder.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | SetConsoleTitleW(new_console_title.as_mut_ptr() as *mut _); [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[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/window_finder.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | let result = unsafe { EnumWindows(Some(enum_window), &mut window_list as *mut _ as _) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleTitleW` in this scope [INFO] [stdout] --> src/window_finder.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | SetConsoleTitleW(new_console_title.as_mut_ptr() as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/main.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { GetWindowThreadProcessId(window.handle, &mut pid) }; [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[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/main.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { GetWindowThreadProcessId(window.handle, &mut pid) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromWindow` in this scope [INFO] [stdout] --> src/main.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | let monitor = unsafe { MonitorFromWindow(GetDesktopWindow(), MONITOR_DEFAULTTOPRIMARY) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDesktopWindow` in this scope [INFO] [stdout] --> src/main.rs:148:50 [INFO] [stdout] | [INFO] [stdout] 148 | let monitor = unsafe { MonitorFromWindow(GetDesktopWindow(), MONITOR_DEFAULTTOPRIMARY) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTOPRIMARY` in this scope [INFO] [stdout] --> src/main.rs:148:70 [INFO] [stdout] | [INFO] [stdout] 148 | let monitor = unsafe { MonitorFromWindow(GetDesktopWindow(), MONITOR_DEFAULTTOPRIMARY) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromWindow` in this scope [INFO] [stdout] --> src/main.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | let monitor = unsafe { MonitorFromWindow(GetDesktopWindow(), MONITOR_DEFAULTTOPRIMARY) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDesktopWindow` in this scope [INFO] [stdout] --> src/main.rs:148:50 [INFO] [stdout] | [INFO] [stdout] 148 | let monitor = unsafe { MonitorFromWindow(GetDesktopWindow(), MONITOR_DEFAULTTOPRIMARY) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTOPRIMARY` in this scope [INFO] [stdout] --> src/main.rs:148:70 [INFO] [stdout] | [INFO] [stdout] 148 | let monitor = unsafe { MonitorFromWindow(GetDesktopWindow(), MONITOR_DEFAULTTOPRIMARY) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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 137 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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 121 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wgc-rust-demo` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9269a44e1f5ae6eb23f1fba634cb53569d52dc33274b30de20d9cd7c5f99937d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9269a44e1f5ae6eb23f1fba634cb53569d52dc33274b30de20d9cd7c5f99937d", kill_on_drop: false }` [INFO] [stdout] 9269a44e1f5ae6eb23f1fba634cb53569d52dc33274b30de20d9cd7c5f99937d