[INFO] cloning repository https://github.com/J-F-Liu/camera_winrt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/J-F-Liu/camera_winrt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJ-F-Liu%2Fcamera_winrt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJ-F-Liu%2Fcamera_winrt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa8bff4b1f793030ea276a06062abf8e0b1518d8 [INFO] checking J-F-Liu/camera_winrt against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJ-F-Liu%2Fcamera_winrt" "/workspace/builds/worker-50/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-50/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/J-F-Liu/camera_winrt on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/J-F-Liu/camera_winrt [INFO] finished tweaking git repo https://github.com/J-F-Liu/camera_winrt [INFO] tweaked toml for git repo https://github.com/J-F-Liu/camera_winrt written to /workspace/builds/worker-50/source/Cargo.toml [INFO] crate git repo https://github.com/J-F-Liu/camera_winrt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4040980aa5c201d9b2107d3f264b6c864ab32f0b5e3598d573e7f6b0f3973de [INFO] running `Command { std: "docker" "start" "-a" "b4040980aa5c201d9b2107d3f264b6c864ab32f0b5e3598d573e7f6b0f3973de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4040980aa5c201d9b2107d3f264b6c864ab32f0b5e3598d573e7f6b0f3973de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4040980aa5c201d9b2107d3f264b6c864ab32f0b5e3598d573e7f6b0f3973de", kill_on_drop: false }` [INFO] [stdout] b4040980aa5c201d9b2107d3f264b6c864ab32f0b5e3598d573e7f6b0f3973de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e84fe270ee7b2787d5db21f47a304df59137e08ffdc865c7d7185f0b83edb78f [INFO] running `Command { std: "docker" "start" "-a" "e84fe270ee7b2787d5db21f47a304df59137e08ffdc865c7d7185f0b83edb78f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking pin-project-lite v0.1.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking futures-io v0.3.6 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking async-task v4.0.2 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking weezl v0.1.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking futures-lite v1.11.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling minifb v0.19.1 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking polling v2.0.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking async-io v1.1.10 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking xcursor v0.3.2 [INFO] [stderr] Checking async-global-executor v1.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.10 [INFO] [stderr] Checking wayland-commons v0.27.0 [INFO] [stderr] Compiling winrt_gen_macros v0.7.2 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Checking async-std v1.6.5 [INFO] [stderr] Checking wayland-cursor v0.27.0 [INFO] [stderr] Compiling winrt_gen v0.7.2 [INFO] [stderr] Compiling winrt_macros v0.7.2 [INFO] [stderr] Checking winrt v0.7.2 [INFO] [stderr] Checking camera v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 'windir' environment variable is not set. Perhaps you're trying to use operating system dependencies on a non-Windows OS? [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | os [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::media::capture::{LowLagPhotoCapture, MediaCapture}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::media::media_properties::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use windows::devices::enumeration::{DeviceClass, DeviceInformation}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | use windows::media::capture::{MediaCaptureInitializationSettings, MediaStreamType}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | use windows::storage::streams::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | use windows::storage::streams::{Buffer, DataReader, InputStreamOptions}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::media::capture::{LowLagPhotoCapture, MediaCapture}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::media::media_properties::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use windows::devices::enumeration::{DeviceClass, DeviceInformation}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | use windows::media::capture::{MediaCaptureInitializationSettings, MediaStreamType}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | use windows::storage::streams::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | use windows::storage::streams::{Buffer, DataReader, InputStreamOptions}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaCapture` [INFO] [stdout] --> src/main.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let camera = MediaCapture::new()?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MediaCapture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaCapture` [INFO] [stdout] --> src/main.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let camera = MediaCapture::new()?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MediaCapture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | windows::media::capture::MediaStreamType::VideoRecord, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | windows::media::capture::MediaStreamType::VideoRecord, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImageEncodingProperties` [INFO] [stdout] --> src/main.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | let bmp = ImageEncodingProperties::create_bmp()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ImageEncodingProperties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImageEncodingProperties` [INFO] [stdout] --> src/main.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | let bmp = ImageEncodingProperties::create_bmp()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ImageEncodingProperties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceInformation` [INFO] [stdout] --> src/main.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | DeviceInformation::find_all_async_device_class(DeviceClass::VideoCapture)?.await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DeviceInformation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceInformation` [INFO] [stdout] --> src/main.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | DeviceInformation::find_all_async_device_class(DeviceClass::VideoCapture)?.await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DeviceInformation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceClass` [INFO] [stdout] --> src/main.rs:157:56 [INFO] [stdout] | [INFO] [stdout] 157 | DeviceInformation::find_all_async_device_class(DeviceClass::VideoCapture)?.await?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DeviceClass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaCaptureInitializationSettings` [INFO] [stdout] --> src/main.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | let settings = MediaCaptureInitializationSettings::new()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MediaCaptureInitializationSettings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceClass` [INFO] [stdout] --> src/main.rs:157:56 [INFO] [stdout] | [INFO] [stdout] 157 | DeviceInformation::find_all_async_device_class(DeviceClass::VideoCapture)?.await?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DeviceClass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaStreamType` [INFO] [stdout] --> src/main.rs:188:66 [INFO] [stdout] | [INFO] [stdout] 188 | for prop in controller.get_available_media_stream_properties(MediaStreamType::VideoRecord)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MediaStreamType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaCaptureInitializationSettings` [INFO] [stdout] --> src/main.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | let settings = MediaCaptureInitializationSettings::new()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MediaCaptureInitializationSettings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InMemoryRandomAccessStream` [INFO] [stdout] --> src/main.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | let stream = InMemoryRandomAccessStream::new()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InMemoryRandomAccessStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaStreamType` [INFO] [stdout] --> src/main.rs:188:66 [INFO] [stdout] | [INFO] [stdout] 188 | for prop in controller.get_available_media_stream_properties(MediaStreamType::VideoRecord)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MediaStreamType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Buffer` [INFO] [stdout] --> src/main.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | let buffer = Buffer::create(stream.size()? as u32)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InMemoryRandomAccessStream` [INFO] [stdout] --> src/main.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | let stream = InMemoryRandomAccessStream::new()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InMemoryRandomAccessStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InputStreamOptions` [INFO] [stdout] --> src/main.rs:222:52 [INFO] [stdout] | [INFO] [stdout] 222 | .read_async(buffer, stream.size()? as u32, InputStreamOptions::None)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `InputStreamOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Buffer` [INFO] [stdout] --> src/main.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | let buffer = Buffer::create(stream.size()? as u32)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataReader` [INFO] [stdout] --> src/main.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 226 | let reader = DataReader::from_buffer(buffer)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DataReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InputStreamOptions` [INFO] [stdout] --> src/main.rs:222:52 [INFO] [stdout] | [INFO] [stdout] 222 | .read_async(buffer, stream.size()? as u32, InputStreamOptions::None)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `InputStreamOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Buffer` [INFO] [stdout] --> src/main.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | let buffer = Buffer::create(frame.size()? as u32)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataReader` [INFO] [stdout] --> src/main.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 226 | let reader = DataReader::from_buffer(buffer)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DataReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InputStreamOptions` [INFO] [stdout] --> src/main.rs:240:51 [INFO] [stdout] | [INFO] [stdout] 240 | .read_async(buffer, frame.size()? as u32, InputStreamOptions::None)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `InputStreamOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Buffer` [INFO] [stdout] --> src/main.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | let buffer = Buffer::create(frame.size()? as u32)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataReader` [INFO] [stdout] --> src/main.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | let reader = DataReader::from_buffer(buffer)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DataReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InputStreamOptions` [INFO] [stdout] --> src/main.rs:240:51 [INFO] [stdout] | [INFO] [stdout] 240 | .read_async(buffer, frame.size()? as u32, InputStreamOptions::None)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `InputStreamOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VideoEncodingProperties` in this scope [INFO] [stdout] --> src/main.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 106 | fn create_menu( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 110 | formats: &HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataReader` [INFO] [stdout] --> src/main.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | let reader = DataReader::from_buffer(buffer)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DataReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImageEncodingProperties` in this scope [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 139 | fn create_image_encoding_properties( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 142 | ) -> winrt::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VideoEncodingProperties` in this scope [INFO] [stdout] --> src/main.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 106 | fn create_menu( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 110 | formats: &HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MediaRatio` in this scope [INFO] [stdout] --> src/main.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | fn compute_ratio(ratio: MediaRatio) -> winrt::Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MediaCapture` in this scope [INFO] [stdout] --> src/main.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | camera: &MediaCapture, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImageEncodingProperties` in this scope [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 139 | fn create_image_encoding_properties( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 142 | ) -> winrt::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MediaRatio` in this scope [INFO] [stdout] --> src/main.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | fn compute_ratio(ratio: MediaRatio) -> winrt::Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VideoEncodingProperties` in this scope [INFO] [stdout] --> src/main.rs:172:36 [INFO] [stdout] | [INFO] [stdout] 168 | async fn start_camera( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 172 | ) -> winrt::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MediaCapture` in this scope [INFO] [stdout] --> src/main.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | camera: &MediaCapture, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VideoEncodingProperties` in this scope [INFO] [stdout] --> src/main.rs:172:36 [INFO] [stdout] | [INFO] [stdout] 168 | async fn start_camera( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 172 | ) -> winrt::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VideoEncodingProperties` in this scope [INFO] [stdout] --> src/main.rs:189:39 [INFO] [stdout] | [INFO] [stdout] 168 | async fn start_camera( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 189 | let video_prop = prop.query::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MediaCapture` in this scope [INFO] [stdout] --> src/main.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | camera: &MediaCapture, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VideoEncodingProperties` in this scope [INFO] [stdout] --> src/main.rs:189:39 [INFO] [stdout] | [INFO] [stdout] 168 | async fn start_camera( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 189 | let video_prop = prop.query::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImageEncodingProperties` in this scope [INFO] [stdout] --> src/main.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 208 | encoding: &ImageEncodingProperties, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MediaCapture` in this scope [INFO] [stdout] --> src/main.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | camera: &MediaCapture, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LowLagPhotoCapture` in this scope [INFO] [stdout] --> src/main.rs:232:41 [INFO] [stdout] | [INFO] [stdout] 232 | async fn capture_lowlag_frame(capture: &LowLagPhotoCapture) -> winrt::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImageEncodingProperties` in this scope [INFO] [stdout] --> src/main.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 208 | encoding: &ImageEncodingProperties, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LowLagPhotoCapture` in this scope [INFO] [stdout] --> src/main.rs:232:41 [INFO] [stdout] | [INFO] [stdout] 232 | async fn capture_lowlag_frame(capture: &LowLagPhotoCapture) -> winrt::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ComInterface` [INFO] [stdout] --> src/main.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use winrt::{import, ComInterface, HString}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `camera` due to 31 previous errors; 1 warning emitted [INFO] [stdout] warning: unused import: `ComInterface` [INFO] [stdout] --> src/main.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use winrt::{import, ComInterface, HString}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 30 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e84fe270ee7b2787d5db21f47a304df59137e08ffdc865c7d7185f0b83edb78f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e84fe270ee7b2787d5db21f47a304df59137e08ffdc865c7d7185f0b83edb78f", kill_on_drop: false }` [INFO] [stdout] e84fe270ee7b2787d5db21f47a304df59137e08ffdc865c7d7185f0b83edb78f