[INFO] fetching crate screencap 0.1.1... [INFO] testing screencap-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate screencap 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate screencap 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core-graphics v0.25.0 [INFO] [stderr] Downloaded xcb v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bba49bc783c7c5167a4074712f3a22cc555a32cc3250d55d13a31edd9a76484 [INFO] running `Command { std: "docker" "start" "-a" "4bba49bc783c7c5167a4074712f3a22cc555a32cc3250d55d13a31edd9a76484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bba49bc783c7c5167a4074712f3a22cc555a32cc3250d55d13a31edd9a76484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bba49bc783c7c5167a4074712f3a22cc555a32cc3250d55d13a31edd9a76484", kill_on_drop: false }` [INFO] [stdout] 4bba49bc783c7c5167a4074712f3a22cc555a32cc3250d55d13a31edd9a76484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 567ddfeb494ffc460517942a5ed43e70b1949dc2d5da7d98eb85e6c05a5331cd [INFO] running `Command { std: "docker" "start" "-a" "567ddfeb494ffc460517942a5ed43e70b1949dc2d5da7d98eb85e6c05a5331cd", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.172 [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)]` (part of `#[warn(unused)]`) 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.11s [INFO] running `Command { std: "docker" "inspect" "567ddfeb494ffc460517942a5ed43e70b1949dc2d5da7d98eb85e6c05a5331cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "567ddfeb494ffc460517942a5ed43e70b1949dc2d5da7d98eb85e6c05a5331cd", kill_on_drop: false }` [INFO] [stdout] 567ddfeb494ffc460517942a5ed43e70b1949dc2d5da7d98eb85e6c05a5331cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d2047fdbd82b4ceb02cb1aa7d2b8f09a94272ece67019c3008f21cf54fa5a69 [INFO] running `Command { std: "docker" "start" "-a" "3d2047fdbd82b4ceb02cb1aa7d2b8f09a94272ece67019c3008f21cf54fa5a69", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling image-webp v0.2.1 [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)]` (part of `#[warn(unused)]`) 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 qoi v0.4.1 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [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] 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)]` (part of `#[warn(unused)]`) 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] 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] 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] 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] [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] [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_region_image") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3d2047fdbd82b4ceb02cb1aa7d2b8f09a94272ece67019c3008f21cf54fa5a69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d2047fdbd82b4ceb02cb1aa7d2b8f09a94272ece67019c3008f21cf54fa5a69", kill_on_drop: false }` [INFO] [stdout] 3d2047fdbd82b4ceb02cb1aa7d2b8f09a94272ece67019c3008f21cf54fa5a69