[INFO] fetching crate screencap 0.1.1... [INFO] testing screencap-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate screencap 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate screencap 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate screencap 0.1.1 [INFO] tweaked toml for crates.io crate screencap 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate screencap 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate screencap 0.1.1 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19422e8869b4585826f82dd89176a512e638d49bd37951b5c0b8157c3b05e34e [INFO] running `Command { std: "docker" "start" "-a" "19422e8869b4585826f82dd89176a512e638d49bd37951b5c0b8157c3b05e34e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19422e8869b4585826f82dd89176a512e638d49bd37951b5c0b8157c3b05e34e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19422e8869b4585826f82dd89176a512e638d49bd37951b5c0b8157c3b05e34e", kill_on_drop: false }` [INFO] [stdout] 19422e8869b4585826f82dd89176a512e638d49bd37951b5c0b8157c3b05e34e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67c96597aa2d478d01ec51bf1ee4d31f9e59a6f186e330900dc44ecfe76ec0fd [INFO] running `Command { std: "docker" "start" "-a" "67c96597aa2d478d01ec51bf1ee4d31f9e59a6f186e330900dc44ecfe76ec0fd", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling xcb v1.5.0 [INFO] [stderr] Compiling screencap v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `convert_bgra_to_bgr` is never used [INFO] [stdout] --> src/common.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) fn convert_bgra_to_bgr(bgra: &mut [u8], width: u32, height: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_bgra_to_rgba` is never used [INFO] [stdout] --> src/common.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn convert_bgra_to_rgba(buf: &mut [u8], width: u32, height: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_bgra_to_rgb` is never used [INFO] [stdout] --> src/common.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) fn convert_bgra_to_rgb(buf: &mut [u8], width: u32, height: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.04s [INFO] running `Command { std: "docker" "inspect" "67c96597aa2d478d01ec51bf1ee4d31f9e59a6f186e330900dc44ecfe76ec0fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67c96597aa2d478d01ec51bf1ee4d31f9e59a6f186e330900dc44ecfe76ec0fd", kill_on_drop: false }` [INFO] [stdout] 67c96597aa2d478d01ec51bf1ee4d31f9e59a6f186e330900dc44ecfe76ec0fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6f5de9d8222c468aa492d1eac079ebe5a376c61dc9544418a0644a729ab0703 [INFO] running `Command { std: "docker" "start" "-a" "b6f5de9d8222c468aa492d1eac079ebe5a376c61dc9544418a0644a729ab0703", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stdout] warning: function `convert_bgra_to_bgr` is never used [INFO] [stdout] --> src/common.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) fn convert_bgra_to_bgr(bgra: &mut [u8], width: u32, height: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_bgra_to_rgba` is never used [INFO] [stdout] --> src/common.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn convert_bgra_to_rgba(buf: &mut [u8], width: u32, height: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_bgra_to_rgb` is never used [INFO] [stdout] --> src/common.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) fn convert_bgra_to_rgb(buf: &mut [u8], width: u32, height: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling screencap v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `screencap::CaptureType`, `screencap::Monitor` [INFO] [stdout] --> examples/capture_region_image.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use screencap::{CaptureType, Monitor, PixelFormat, Region}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ no `Monitor` in the root [INFO] [stdout] | | [INFO] [stdout] | no `CaptureType` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ScreenGrabber` in `screencap` [INFO] [stdout] --> examples/capture_region_image.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | let mut grabber = screencap::ScreenGrabber::new(&monitor, CaptureType::default())?; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `ScreenGrabber` in `screencap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_bgra_to_bgr` is never used [INFO] [stdout] --> src/common.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) fn convert_bgra_to_bgr(bgra: &mut [u8], width: u32, height: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_bgra_to_rgba` is never used [INFO] [stdout] --> src/common.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn convert_bgra_to_rgba(buf: &mut [u8], width: u32, height: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_bgra_to_rgb` is never used [INFO] [stdout] --> src/common.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) fn convert_bgra_to_rgb(buf: &mut [u8], width: u32, height: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `screencap::CaptureType`, `screencap::Monitor` [INFO] [stdout] --> examples/capture_image.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use screencap::{CaptureType, Monitor}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ no `Monitor` in the root [INFO] [stdout] | | [INFO] [stdout] | no `CaptureType` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ScreenGrabber` in `screencap` [INFO] [stdout] --> examples/capture_image.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | let mut grabber = screencap::ScreenGrabber::new(&monitor, CaptureType::default())?; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `ScreenGrabber` in `screencap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `screencap` (example "capture_image") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `screencap` (example "capture_region_image") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b6f5de9d8222c468aa492d1eac079ebe5a376c61dc9544418a0644a729ab0703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6f5de9d8222c468aa492d1eac079ebe5a376c61dc9544418a0644a729ab0703", kill_on_drop: false }` [INFO] [stdout] b6f5de9d8222c468aa492d1eac079ebe5a376c61dc9544418a0644a729ab0703