[INFO] fetching crate img-optimize 0.1.0... [INFO] testing img-optimize-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate img-optimize 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate img-optimize 0.1.0 [INFO] finished tweaking crates.io crate img-optimize 0.1.0 [INFO] tweaked toml for crates.io crate img-optimize 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate img-optimize 0.1.0 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 img-optimize 0.1.0 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 980f1338603cc61f84590777192a73959d60d34006dd583589f41e467d90a6a5 [INFO] running `Command { std: "docker" "start" "-a" "980f1338603cc61f84590777192a73959d60d34006dd583589f41e467d90a6a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "980f1338603cc61f84590777192a73959d60d34006dd583589f41e467d90a6a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "980f1338603cc61f84590777192a73959d60d34006dd583589f41e467d90a6a5", kill_on_drop: false }` [INFO] [stdout] 980f1338603cc61f84590777192a73959d60d34006dd583589f41e467d90a6a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] a57d3bf87093a2f0be5b8ea63eb435d3c31e9c7eb65789423acddc454292c5ce [INFO] running `Command { std: "docker" "start" "-a" "a57d3bf87093a2f0be5b8ea63eb435d3c31e9c7eb65789423acddc454292c5ce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling time-macros v0.2.21 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling time v0.3.40 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling libdeflate-sys v1.23.1 [INFO] [stderr] Compiling libwebp-sys v0.9.6 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling env_logger v0.11.7 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling thread-priority v1.2.0 [INFO] [stderr] Compiling cpu-time v1.0.0 [INFO] [stderr] Compiling simple_logger v5.0.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling default-boxed-derive v0.2.0 [INFO] [stderr] Compiling unroll v0.1.5 [INFO] [stderr] Compiling default-boxed v0.2.0 [INFO] [stderr] Compiling libdeflater v1.23.1 [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 git-version-macro v0.3.9 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling git-version v0.3.9 [INFO] [stderr] Compiling lepton_jpeg v0.4.2 [INFO] [stderr] Compiling oxipng v9.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling webp v0.3.0 [INFO] [stderr] Compiling img-optimize v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `support_jpeg_xl` is assigned to, but never used [INFO] [stdout] --> src/encoder.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | #[allow(unused_mut)] let mut support_jpeg_xl = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_support_jpeg_xl` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `support_jpeg_xl` is never read [INFO] [stdout] --> src/encoder.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | support_jpeg_xl = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `support_jpeg_xl` is assigned to, but never used [INFO] [stdout] --> src/encoder.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | #[allow(unused_mut)] let mut support_jpeg_xl = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_support_jpeg_xl` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `support_jpeg_xl` is never read [INFO] [stdout] --> src/encoder.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | support_jpeg_xl = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `F16` and `F32` are never constructed [INFO] [stdout] --> src/structs.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ImagePixels { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | F16(Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | F32(Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `allow_jpeg_xl` is never read [INFO] [stdout] --> src/structs.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CompressionConfig { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub allow_jpeg_xl: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_png_image_rs` is never used [INFO] [stdout] --> src/encoder.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn encode_png_image_rs(im_info: ImageInfo) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.45s [INFO] running `Command { std: "docker" "inspect" "a57d3bf87093a2f0be5b8ea63eb435d3c31e9c7eb65789423acddc454292c5ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a57d3bf87093a2f0be5b8ea63eb435d3c31e9c7eb65789423acddc454292c5ce", kill_on_drop: false }` [INFO] [stdout] a57d3bf87093a2f0be5b8ea63eb435d3c31e9c7eb65789423acddc454292c5ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3d03dd73e70c53b66fd5f322ac68cda396692ec38a26ea667e59161ffbce3fae [INFO] running `Command { std: "docker" "start" "-a" "3d03dd73e70c53b66fd5f322ac68cda396692ec38a26ea667e59161ffbce3fae", kill_on_drop: false }` [INFO] [stdout] warning: variable `support_jpeg_xl` is assigned to, but never used [INFO] [stdout] --> src/encoder.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | #[allow(unused_mut)] let mut support_jpeg_xl = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_support_jpeg_xl` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `support_jpeg_xl` is never read [INFO] [stdout] --> src/encoder.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | support_jpeg_xl = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling img-optimize v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `support_jpeg_xl` is assigned to, but never used [INFO] [stdout] --> src/encoder.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | #[allow(unused_mut)] let mut support_jpeg_xl = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_support_jpeg_xl` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `support_jpeg_xl` is never read [INFO] [stdout] --> src/encoder.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | support_jpeg_xl = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `F16` and `F32` are never constructed [INFO] [stdout] --> src/structs.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ImagePixels { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | F16(Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | F32(Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `allow_jpeg_xl` is never read [INFO] [stdout] --> src/structs.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CompressionConfig { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub allow_jpeg_xl: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_png_image_rs` is never used [INFO] [stdout] --> src/encoder.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn encode_png_image_rs(im_info: ImageInfo) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `support_jpeg_xl` is assigned to, but never used [INFO] [stdout] --> src/encoder.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | #[allow(unused_mut)] let mut support_jpeg_xl = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_support_jpeg_xl` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `support_jpeg_xl` is never read [INFO] [stdout] --> src/encoder.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | support_jpeg_xl = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "3d03dd73e70c53b66fd5f322ac68cda396692ec38a26ea667e59161ffbce3fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d03dd73e70c53b66fd5f322ac68cda396692ec38a26ea667e59161ffbce3fae", kill_on_drop: false }` [INFO] [stdout] 3d03dd73e70c53b66fd5f322ac68cda396692ec38a26ea667e59161ffbce3fae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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", kill_on_drop: false }` [INFO] [stdout] dc1f0c6cd69f2c7319e428142a43c44498b17521943ed349f9fc16947c73619e [INFO] running `Command { std: "docker" "start" "-a" "dc1f0c6cd69f2c7319e428142a43c44498b17521943ed349f9fc16947c73619e", kill_on_drop: false }` [INFO] [stderr] warning: variable `support_jpeg_xl` is assigned to, but never used [INFO] [stderr] --> src/encoder.rs:8:34 [INFO] [stderr] | [INFO] [stderr] 8 | #[allow(unused_mut)] let mut support_jpeg_xl = true; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_support_jpeg_xl` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `support_jpeg_xl` is never read [INFO] [stderr] --> src/encoder.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | support_jpeg_xl = false; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `img-optimize` (lib) generated 2 warnings [INFO] [stderr] warning: `img-optimize` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: variants `F16` and `F32` are never constructed [INFO] [stderr] --> src/structs.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum ImagePixels { [INFO] [stderr] | ----------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 14 | F16(Vec), [INFO] [stderr] | ^^^ [INFO] [stderr] 15 | F32(Vec), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `allow_jpeg_xl` is never read [INFO] [stderr] --> src/structs.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct CompressionConfig { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | pub allow_jpeg_xl: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `encode_png_image_rs` is never used [INFO] [stderr] --> src/encoder.rs:133:8 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn encode_png_image_rs(im_info: ImageInfo) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `img-optimize` (bin "img-optimize" test) generated 5 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/img_optimize-b17f1a45870087c8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/img_optimize-adc14b9b6703772d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests img_optimize [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dc1f0c6cd69f2c7319e428142a43c44498b17521943ed349f9fc16947c73619e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc1f0c6cd69f2c7319e428142a43c44498b17521943ed349f9fc16947c73619e", kill_on_drop: false }` [INFO] [stdout] dc1f0c6cd69f2c7319e428142a43c44498b17521943ed349f9fc16947c73619e