[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJ-F-Liu%2Fcamera_winrt" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/J-F-Liu/camera_winrt on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7470bcd71ba838e2f3d212d9d7b131f6d5d1125e4cc6192680c07ab2743aaf45 [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" "7470bcd71ba838e2f3d212d9d7b131f6d5d1125e4cc6192680c07ab2743aaf45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7470bcd71ba838e2f3d212d9d7b131f6d5d1125e4cc6192680c07ab2743aaf45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7470bcd71ba838e2f3d212d9d7b131f6d5d1125e4cc6192680c07ab2743aaf45", kill_on_drop: false }` [INFO] [stdout] 7470bcd71ba838e2f3d212d9d7b131f6d5d1125e4cc6192680c07ab2743aaf45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 456e59cf11b93d41ef9bd6eef28b4483080d7e683ff14d8ea23fafc1ecbb0f03 [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" "456e59cf11b93d41ef9bd6eef28b4483080d7e683ff14d8ea23fafc1ecbb0f03", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling minifb v0.19.1 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking futures-lite v1.11.1 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking nom v5.1.2 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking polling v2.0.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-rational v0.3.0 [INFO] [stderr] Checking num-iter v0.1.41 [INFO] [stderr] Checking rayon-core v1.8.1 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking async-io v1.1.10 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-global-executor v1.3.0 [INFO] [stderr] Checking rayon v1.4.1 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking xcursor v0.3.2 [INFO] [stderr] Checking wayland-commons v0.27.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking image v0.23.10 [INFO] [stderr] Compiling winrt_gen_macros v0.7.2 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Checking wayland-cursor v0.27.0 [INFO] [stderr] Checking async-std v1.6.5 [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 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 `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 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 `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 `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 `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 `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 `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 `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 `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 `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 `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: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 `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 `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 `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: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: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[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 `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 `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 `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] 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 `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 `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 `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 `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 `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 `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 `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` [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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "456e59cf11b93d41ef9bd6eef28b4483080d7e683ff14d8ea23fafc1ecbb0f03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "456e59cf11b93d41ef9bd6eef28b4483080d7e683ff14d8ea23fafc1ecbb0f03", kill_on_drop: false }` [INFO] [stdout] 456e59cf11b93d41ef9bd6eef28b4483080d7e683ff14d8ea23fafc1ecbb0f03