[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] testing J-F-Liu/camera_winrt against beta-2026-01-20 for beta-1.94-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJ-F-Liu%2Fcamera_winrt" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/J-F-Liu/camera_winrt on toolchain beta-2026-01-20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-01-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-01-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winrt_macros v0.7.2 [INFO] [stderr] Downloaded winrt_gen_macros v0.7.2 [INFO] [stderr] Downloaded xkb v0.2.1 [INFO] [stderr] Downloaded winrt v0.7.2 [INFO] [stderr] Downloaded winrt_gen v0.7.2 [INFO] [stderr] Downloaded async-global-executor v1.3.0 [INFO] [stderr] Downloaded async-attributes v1.1.1 [INFO] [stderr] Downloaded xkbcommon-sys v0.7.4 [INFO] [stderr] Downloaded nb-connect v1.0.2 [INFO] [stderr] Downloaded wayland-cursor v0.27.0 [INFO] [stderr] Downloaded futures-core v0.3.6 [INFO] [stderr] Downloaded async-executor v1.3.0 [INFO] [stderr] Downloaded wepoll-sys v3.0.0 [INFO] [stderr] Downloaded once_cell v1.4.1 [INFO] [stderr] Downloaded wayland-scanner v0.27.0 [INFO] [stderr] Downloaded minifb v0.19.1 [INFO] [stderr] Downloaded futures-lite v1.11.1 [INFO] [stderr] Downloaded cc v1.0.61 [INFO] [stderr] Downloaded wayland-protocols v0.27.0 [INFO] [stderr] Downloaded syn v1.0.44 [INFO] [stderr] Downloaded wayland-client v0.27.0 [INFO] [stderr] Downloaded async-io v1.1.10 [INFO] [stderr] Downloaded pin-project-lite v0.1.10 [INFO] [stderr] Downloaded weezl v0.1.1 [INFO] [stderr] Downloaded async-std v1.6.5 [INFO] [stderr] Downloaded sdl2 v0.32.2 [INFO] [stderr] Downloaded wayland-commons v0.27.0 [INFO] [stderr] Downloaded image v0.23.10 [INFO] [stderr] Downloaded polling v2.0.1 [INFO] [stderr] Downloaded async-task v4.0.2 [INFO] [stderr] Downloaded futures-io v0.3.6 [INFO] [stderr] Downloaded futures-channel v0.3.6 [INFO] [stderr] Downloaded gif v0.11.1 [INFO] [stderr] Downloaded sdl2-sys v0.32.6 [INFO] [stderr] Downloaded xcursor v0.3.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.18 [INFO] [stderr] Downloaded wayland-sys v0.27.0 [INFO] [stderr] Downloaded orbclient v0.3.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e4b1ed705795fedad198a48b631e16e6cf931de6843064b0bb997f5f084c354 [INFO] running `Command { std: "docker" "start" "-a" "9e4b1ed705795fedad198a48b631e16e6cf931de6843064b0bb997f5f084c354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e4b1ed705795fedad198a48b631e16e6cf931de6843064b0bb997f5f084c354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e4b1ed705795fedad198a48b631e16e6cf931de6843064b0bb997f5f084c354", kill_on_drop: false }` [INFO] [stdout] 9e4b1ed705795fedad198a48b631e16e6cf931de6843064b0bb997f5f084c354 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8ed7561c9af19a806223c129e11a5c33009e5d88454e0e95de892edc0e4fa12 [INFO] running `Command { std: "docker" "start" "-a" "d8ed7561c9af19a806223c129e11a5c33009e5d88454e0e95de892edc0e4fa12", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling futures-core v0.3.6 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.10 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.6 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling futures-lite v1.11.1 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling async-task v4.0.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling async-executor v1.3.0 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling weezl v0.1.1 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling polling v2.0.1 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling async-io v1.1.10 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling minifb v0.19.1 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling async-global-executor v1.3.0 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling xcursor v0.3.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling wayland-commons v0.27.0 [INFO] [stderr] Compiling winrt_gen_macros v0.7.2 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling winrt_gen v0.7.2 [INFO] [stderr] Compiling async-std v1.6.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.10 [INFO] [stderr] Compiling winrt_macros v0.7.2 [INFO] [stderr] Compiling wayland-cursor v0.27.0 [INFO] [stderr] Compiling winrt v0.7.2 [INFO] [stderr] Compiling 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::media::capture::{LowLagPhotoCapture, MediaCapture}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::media::media_properties::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/main.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use windows::devices::enumeration::{DeviceClass, DeviceInformation}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/main.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | use windows::media::capture::{MediaCaptureInitializationSettings, MediaStreamType}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/main.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | use windows::storage::streams::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/main.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | use windows::storage::streams::{Buffer, DataReader, InputStreamOptions}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/main.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | windows::media::capture::MediaStreamType::VideoRecord, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | cameras.insert(device.name()?.into(), device.id()?); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | let video_prop = prop.query::(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let buffer = stream [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | let mut data = vec![0u8; buffer.length()? as usize]; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `buffer` an explicit type [INFO] [stdout] | [INFO] [stdout] 221 | let buffer: /* Type */ = stream [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let photo = capture.capture_async()?.await?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 236 | let frame = photo.frame()?; [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `photo` an explicit type [INFO] [stdout] | [INFO] [stdout] 235 | let photo: /* Type */ = capture.capture_async()?.await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let buffer = frame [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | let mut data = vec![0u8; buffer.length()? as usize]; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `buffer` an explicit type [INFO] [stdout] | [INFO] [stdout] 239 | let buffer: /* Type */ = frame [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `camera` (bin "camera") due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "d8ed7561c9af19a806223c129e11a5c33009e5d88454e0e95de892edc0e4fa12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8ed7561c9af19a806223c129e11a5c33009e5d88454e0e95de892edc0e4fa12", kill_on_drop: false }` [INFO] [stdout] d8ed7561c9af19a806223c129e11a5c33009e5d88454e0e95de892edc0e4fa12