[INFO] cloning repository https://github.com/joshuacox1/dither
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshuacox1/dither" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshuacox1%2Fdither", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshuacox1%2Fdither'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e95f964f8f97aeee3d3bb1ca09c1b1b579cd69cd
[INFO] testing joshuacox1/dither against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshuacox1%2Fdither" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/joshuacox1/dither
[INFO] finished tweaking git repo https://github.com/joshuacox1/dither
[INFO] tweaked toml for git repo https://github.com/joshuacox1/dither written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/joshuacox1/dither on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/joshuacox1/dither 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zune-jpeg v0.5.5
[INFO] [stderr]   Downloaded rand_xoshiro v0.7.0
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.28
[INFO] [stderr]   Downloaded bytemuck v1.24.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.105
[INFO] [stderr]   Downloaded zerocopy v0.8.28
[INFO] [stderr]   Downloaded gif v0.14.0
[INFO] [stderr]   Downloaded cc v1.2.47
[INFO] [stderr]   Downloaded aligned v0.4.2
[INFO] [stderr]   Downloaded zune-core v0.5.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.105
[INFO] [stderr]   Downloaded syn v2.0.110
[INFO] [stderr]   Downloaded pxfm v0.1.25
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.105
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.105
[INFO] [stderr]   Downloaded libfuzzer-sys v0.4.10
[INFO] [stderr]   Downloaded moxcms v0.7.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2f45872f7ac489002ce846821d096f7094bfaf7ba171400717df7df27875e36d
[INFO] running `Command { std: "docker" "start" "-a" "2f45872f7ac489002ce846821d096f7094bfaf7ba171400717df7df27875e36d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f45872f7ac489002ce846821d096f7094bfaf7ba171400717df7df27875e36d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f45872f7ac489002ce846821d096f7094bfaf7ba171400717df7df27875e36d", kill_on_drop: false }`
[INFO] [stdout] 2f45872f7ac489002ce846821d096f7094bfaf7ba171400717df7df27875e36d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e6ce56579c40bfbfa720abadf30d8b32fdd3d37d70e285dac2191f4397ddeeca
[INFO] running `Command { std: "docker" "start" "-a" "e6ce56579c40bfbfa720abadf30d8b32fdd3d37d70e285dac2191f4397ddeeca", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling zerocopy v0.8.28
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling as-slice v0.2.1
[INFO] [stderr]    Compiling built v0.8.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling av-scenechange v0.14.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling aligned v0.4.2
[INFO] [stderr]    Compiling pastey v0.1.1
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling y4m v0.8.0
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling imgref v1.12.0
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling weezl v0.1.12
[INFO] [stderr]    Compiling zune-jpeg v0.4.21
[INFO] [stderr]    Compiling avif-serialize v0.8.6
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling core2 v0.4.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling rav1e v0.8.1
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling bitstream-io v4.9.0
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling bit_field v0.10.3
[INFO] [stderr]    Compiling rgb v0.8.52
[INFO] [stderr]    Compiling lebe v0.5.3
[INFO] [stderr]    Compiling bytemuck v1.24.0
[INFO] [stderr]    Compiling byteorder-lite v0.1.0
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling zune-core v0.5.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling gif v0.14.0
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling png v0.18.0
[INFO] [stderr]    Compiling zune-jpeg v0.5.5
[INFO] [stderr]    Compiling image-webp v0.2.4
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling rand_xoshiro v0.7.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling pxfm v0.1.25
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling moxcms v0.7.9
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling zerocopy-derive v0.8.28
[INFO] [stderr]    Compiling equator-macro v0.4.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling profiling-procmacros v1.0.17
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling fax_derive v0.2.0
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling profiling v1.0.17
[INFO] [stderr]    Compiling equator v0.4.2
[INFO] [stderr]    Compiling fax v0.2.6
[INFO] [stderr]    Compiling aligned-vec v0.6.4
[INFO] [stderr]    Compiling v_frame v0.3.9
[INFO] [stderr]    Compiling av1-grain v0.2.5
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling exr v1.74.0
[INFO] [stderr]    Compiling tiff v0.10.3
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling ravif v0.12.0
[INFO] [stderr]    Compiling image v0.25.9
[INFO] [stderr]    Compiling dither v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/img.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encoder`
[INFO] [stdout]  --> src/img.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Encoder, EncodingError,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec2D`
[INFO] [stdout]  --> src/quantise.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::{Oklabr, Image, Vec2D, Palette};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]   --> src/dither.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         for it in 0..n {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `writer`
[INFO] [stdout]    --> src/img.rs:127:32
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn write_png<W: Write>(writer: W) -> io::Result<()> {
[INFO] [stdout]     |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]    --> src/img.rs:132:30
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn read_png<R: Read>(reader: R) -> io::Result<Self> {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `images`
[INFO] [stdout]   --> src/quantise.rs:25:29
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn quantise_mult(&self, images: &[Image<Oklabr>]) -> Cow<'_, Palette<Oklabr>> {
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_images`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `counter` is assigned to, but never used
[INFO] [stdout]   --> src/quantise.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut counter = 0;
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_counter` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `counter` is never read
[INFO] [stdout]    --> src/quantise.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |             counter += 1;
[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: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Write, BufWriter};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::ImageReader`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::ImageReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorDiffusion`, `NoDither`, `Oklabr`, and `Palette`
[INFO] [stdout]  --> src/main.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use dither::{Oklabr, Image, Rgb888, NoDither, KnollDither,
[INFO] [stdout]   |              ^^^^^^                 ^^^^^^^^
[INFO] [stdout] 7 |     Palette, Dither, ErrorDiffusion, Quantise, KmeansClustering};
[INFO] [stdout]   |     ^^^^^^^          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s
[INFO] running `Command { std: "docker" "inspect" "e6ce56579c40bfbfa720abadf30d8b32fdd3d37d70e285dac2191f4397ddeeca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6ce56579c40bfbfa720abadf30d8b32fdd3d37d70e285dac2191f4397ddeeca", kill_on_drop: false }`
[INFO] [stdout] e6ce56579c40bfbfa720abadf30d8b32fdd3d37d70e285dac2191f4397ddeeca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 810d29b2c44308163d5f1c7f924a72885e5a06dc127ad849143947ecbaf81ca9
[INFO] running `Command { std: "docker" "start" "-a" "810d29b2c44308163d5f1c7f924a72885e5a06dc127ad849143947ecbaf81ca9", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/img.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encoder`
[INFO] [stdout]  --> src/img.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Encoder, EncodingError,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec2D`
[INFO] [stdout]  --> src/quantise.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::{Oklabr, Image, Vec2D, Palette};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]   --> src/dither.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         for it in 0..n {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `writer`
[INFO] [stdout]    --> src/img.rs:127:32
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn write_png<W: Write>(writer: W) -> io::Result<()> {
[INFO] [stdout]     |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]    --> src/img.rs:132:30
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn read_png<R: Read>(reader: R) -> io::Result<Self> {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling dither v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `images`
[INFO] [stdout]   --> src/quantise.rs:25:29
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn quantise_mult(&self, images: &[Image<Oklabr>]) -> Cow<'_, Palette<Oklabr>> {
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_images`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `counter` is assigned to, but never used
[INFO] [stdout]   --> src/quantise.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut counter = 0;
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_counter` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `counter` is never read
[INFO] [stdout]    --> src/quantise.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |             counter += 1;
[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: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/img.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encoder`
[INFO] [stdout]  --> src/img.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Encoder, EncodingError,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec2D`
[INFO] [stdout]  --> src/quantise.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::{Oklabr, Image, Vec2D, Palette};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Write, BufWriter};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::ImageReader`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::ImageReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorDiffusion`, `NoDither`, `Oklabr`, and `Palette`
[INFO] [stdout]  --> src/main.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use dither::{Oklabr, Image, Rgb888, NoDither, KnollDither,
[INFO] [stdout]   |              ^^^^^^                 ^^^^^^^^
[INFO] [stdout] 7 |     Palette, Dither, ErrorDiffusion, Quantise, KmeansClustering};
[INFO] [stdout]   |     ^^^^^^^          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]   --> src/dither.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         for it in 0..n {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `writer`
[INFO] [stdout]    --> src/img.rs:127:32
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn write_png<W: Write>(writer: W) -> io::Result<()> {
[INFO] [stdout]     |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]    --> src/img.rs:132:30
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn read_png<R: Read>(reader: R) -> io::Result<Self> {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `images`
[INFO] [stdout]   --> src/quantise.rs:25:29
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn quantise_mult(&self, images: &[Image<Oklabr>]) -> Cow<'_, Palette<Oklabr>> {
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_images`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `counter` is assigned to, but never used
[INFO] [stdout]   --> src/quantise.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut counter = 0;
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_counter` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `counter` is never read
[INFO] [stdout]    --> src/quantise.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |             counter += 1;
[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 1.29s
[INFO] running `Command { std: "docker" "inspect" "810d29b2c44308163d5f1c7f924a72885e5a06dc127ad849143947ecbaf81ca9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "810d29b2c44308163d5f1c7f924a72885e5a06dc127ad849143947ecbaf81ca9", kill_on_drop: false }`
[INFO] [stdout] 810d29b2c44308163d5f1c7f924a72885e5a06dc127ad849143947ecbaf81ca9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 507d50d6064d1b8db54dbb0fbe2a91b2532e8e8295e98f1e35b147eca78da5d9
[INFO] running `Command { std: "docker" "start" "-a" "507d50d6064d1b8db54dbb0fbe2a91b2532e8e8295e98f1e35b147eca78da5d9", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::borrow::Cow`
[INFO] [stderr]  --> src/img.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::borrow::Cow;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Encoder`
[INFO] [stderr]  --> src/img.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 |     Encoder, EncodingError,
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Vec2D`
[INFO] [stderr]  --> src/quantise.rs:3:28
[INFO] [stderr]   |
[INFO] [stderr] 3 | use super::{Oklabr, Image, Vec2D, Palette};
[INFO] [stderr]   |                            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `it`
[INFO] [stderr]   --> src/dither.rs:81:13
[INFO] [stderr]    |
[INFO] [stderr] 81 |         for it in 0..n {
[INFO] [stderr]    |             ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `writer`
[INFO] [stderr]    --> src/img.rs:127:32
[INFO] [stderr]     |
[INFO] [stderr] 127 |     pub fn write_png<W: Write>(writer: W) -> io::Result<()> {
[INFO] [stderr]     |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reader`
[INFO] [stderr]    --> src/img.rs:132:30
[INFO] [stderr]     |
[INFO] [stderr] 132 |     pub fn read_png<R: Read>(reader: R) -> io::Result<Self> {
[INFO] [stderr]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `images`
[INFO] [stderr]   --> src/quantise.rs:25:29
[INFO] [stderr]    |
[INFO] [stderr] 25 |     fn quantise_mult(&self, images: &[Image<Oklabr>]) -> Cow<'_, Palette<Oklabr>> {
[INFO] [stderr]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_images`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `counter` is assigned to, but never used
[INFO] [stderr]   --> src/quantise.rs:65:13
[INFO] [stderr]    |
[INFO] [stderr] 65 |         let mut counter = 0;
[INFO] [stderr]    |             ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_counter` instead
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `counter` is never read
[INFO] [stderr]    --> src/quantise.rs:105:13
[INFO] [stderr]     |
[INFO] [stderr] 105 |             counter += 1;
[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: `dither` (lib) generated 9 warnings (run `cargo fix --lib -p dither` to apply 7 suggestions)
[INFO] [stderr] warning: `dither` (lib test) generated 9 warnings (9 duplicates)
[INFO] [stderr] warning: unused import: `Write`
[INFO] [stderr]  --> src/main.rs:1:15
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::io::{Write, BufWriter};
[INFO] [stderr]   |               ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `image::ImageReader`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use image::ImageReader;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashSet`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::collections::HashSet;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ErrorDiffusion`, `NoDither`, `Oklabr`, and `Palette`
[INFO] [stderr]  --> src/main.rs:6:14
[INFO] [stderr]   |
[INFO] [stderr] 6 | use dither::{Oklabr, Image, Rgb888, NoDither, KnollDither,
[INFO] [stderr]   |              ^^^^^^                 ^^^^^^^^
[INFO] [stderr] 7 |     Palette, Dither, ErrorDiffusion, Quantise, KmeansClustering};
[INFO] [stderr]   |     ^^^^^^^          ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `dither` (bin "dither" test) generated 4 warnings (run `cargo fix --bin "dither" -p dither --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dither-4dd0e8b2894c30ea)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test color::test::oklab_ord_eq_impls ... ok
[INFO] [stdout] test color::test::rgb888_from_str ... ok
[INFO] [stdout] test vec2d::test::test_index_1d_to_2d_and_back ... ok
[INFO] [stdout] test vec2d::test::test_indexing ... ok
[INFO] [stdout] test vec2d::test::test_map ... ok
[INFO] [stdout] test vec2d::test::test_map_inplace ... ok
[INFO] [stdout] test color::test::test_oklabrify ... ok
[INFO] [stdout] test color::test::test_rgb888_oklab_roundtrip ... ok
[INFO] [stdout] test vec2d::test::test_index_fail - should panic ... ok
[INFO] [stdout] test color::test::rgb888_to_str ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dither-c223b60d3f8fca7b)
[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 dither
[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" "507d50d6064d1b8db54dbb0fbe2a91b2532e8e8295e98f1e35b147eca78da5d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "507d50d6064d1b8db54dbb0fbe2a91b2532e8e8295e98f1e35b147eca78da5d9", kill_on_drop: false }`
[INFO] [stdout] 507d50d6064d1b8db54dbb0fbe2a91b2532e8e8295e98f1e35b147eca78da5d9
