[INFO] fetching crate screencap 0.1.1... [INFO] testing screencap-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate screencap 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate screencap 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 103ec8584413d9c386fb15488ed43f5ce328333abe9fe32724613e77578cfd1e [INFO] running `Command { std: "docker" "start" "-a" "103ec8584413d9c386fb15488ed43f5ce328333abe9fe32724613e77578cfd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "103ec8584413d9c386fb15488ed43f5ce328333abe9fe32724613e77578cfd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "103ec8584413d9c386fb15488ed43f5ce328333abe9fe32724613e77578cfd1e", kill_on_drop: false }` [INFO] [stdout] 103ec8584413d9c386fb15488ed43f5ce328333abe9fe32724613e77578cfd1e [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 438cab94e0728d01cd14143c626c45e548200bebb4450e48d021fe255ae41cd0 [INFO] running `Command { std: "docker" "start" "-a" "438cab94e0728d01cd14143c626c45e548200bebb4450e48d021fe255ae41cd0", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bitflags v1.3.2 [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 10.59s [INFO] running `Command { std: "docker" "inspect" "438cab94e0728d01cd14143c626c45e548200bebb4450e48d021fe255ae41cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "438cab94e0728d01cd14143c626c45e548200bebb4450e48d021fe255ae41cd0", kill_on_drop: false }` [INFO] [stdout] 438cab94e0728d01cd14143c626c45e548200bebb4450e48d021fe255ae41cd0 [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 822c02beda07d7572aca53fbcd88b3dd76e22dc886823adb712108c0a71d047c [INFO] running `Command { std: "docker" "start" "-a" "822c02beda07d7572aca53fbcd88b3dd76e22dc886823adb712108c0a71d047c", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling avif-serialize v0.8.3 [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 rav1e v0.7.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [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 jpeg-decoder v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling qoi v0.4.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 image-webp v0.2.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [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_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[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[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] 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" "822c02beda07d7572aca53fbcd88b3dd76e22dc886823adb712108c0a71d047c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "822c02beda07d7572aca53fbcd88b3dd76e22dc886823adb712108c0a71d047c", kill_on_drop: false }` [INFO] [stdout] 822c02beda07d7572aca53fbcd88b3dd76e22dc886823adb712108c0a71d047c