[INFO] cloning repository https://github.com/frederikbrinck/qoi-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frederikbrinck/qoi-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrederikbrinck%2Fqoi-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrederikbrinck%2Fqoi-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8ca37ca947f0ac3517413402d3c35d755a53be65
[INFO] checking frederikbrinck/qoi-rust against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrederikbrinck%2Fqoi-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/frederikbrinck/qoi-rust
[INFO] finished tweaking git repo https://github.com/frederikbrinck/qoi-rust
[INFO] tweaked toml for git repo https://github.com/frederikbrinck/qoi-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/frederikbrinck/qoi-rust on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/frederikbrinck/qoi-rust 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num_cpus v1.14.0
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.12
[INFO] [stderr]   Downloaded png v0.17.7
[INFO] [stderr]   Downloaded once_cell v1.16.0
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.13
[INFO] [stderr]   Downloaded bytemuck v1.12.3
[INFO] [stderr]   Downloaded half v2.1.0
[INFO] [stderr]   Downloaded rayon-core v1.10.1
[INFO] [stderr]   Downloaded rayon v1.6.0
[INFO] [stderr]   Downloaded exr v1.5.2
[INFO] [stderr]   Downloaded image v0.24.5
[INFO] [stderr]   Downloaded tiff v0.8.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2666e6df39e0966779f0c2fc9f9231d67bd52ee7c367cef59dafd4a3d856e9b1
[INFO] running `Command { std: "docker" "start" "-a" "2666e6df39e0966779f0c2fc9f9231d67bd52ee7c367cef59dafd4a3d856e9b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2666e6df39e0966779f0c2fc9f9231d67bd52ee7c367cef59dafd4a3d856e9b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2666e6df39e0966779f0c2fc9f9231d67bd52ee7c367cef59dafd4a3d856e9b1", kill_on_drop: false }`
[INFO] [stdout] 2666e6df39e0966779f0c2fc9f9231d67bd52ee7c367cef59dafd4a3d856e9b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c6e66094c7ff022d3e81e716b78cfa17a098b5765e893cd5c148921465cb504d
[INFO] running `Command { std: "docker" "start" "-a" "c6e66094c7ff022d3e81e716b78cfa17a098b5765e893cd5c148921465cb504d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling syn v1.0.103
[INFO] [stderr]    Compiling crossbeam-utils v0.8.13
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.12
[INFO] [stderr]    Compiling rayon-core v1.10.1
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]     Checking miniz_oxide v0.5.4
[INFO] [stderr]    Compiling thiserror v1.0.37
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]     Checking spin v0.9.4
[INFO] [stderr]     Checking miniz_oxide v0.6.2
[INFO] [stderr]     Checking futures-sink v0.3.25
[INFO] [stderr]     Checking weezl v0.1.7
[INFO] [stderr]     Checking bit_field v0.10.1
[INFO] [stderr]     Checking half v2.1.0
[INFO] [stderr]     Checking bytemuck v1.12.3
[INFO] [stderr]     Checking gif v0.11.4
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking crossbeam-deque v0.8.2
[INFO] [stderr]     Checking png v0.17.7
[INFO] [stderr]     Checking num_cpus v1.14.0
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking nanorand v0.7.0
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking rayon v1.6.0
[INFO] [stderr]     Checking jpeg-decoder v0.3.0
[INFO] [stderr]     Checking tiff v0.8.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.37
[INFO] [stderr]     Checking qoi-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stdout] warning: unused import: `codec::*`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use codec::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking flume v0.10.14
[INFO] [stdout] warning: constant `HEADER_LEN` is never used
[INFO] [stdout]  --> src/codec.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const HEADER_LEN: usize = 14;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `END` is never used
[INFO] [stdout]  --> src/codec.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const END: [u8; 8] = [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01];
[INFO] [stdout]   |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/codec.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pixel` is never constructed
[INFO] [stdout]   --> src/codec.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Pixel([u8; 4]);
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `r`, `g`, `b`, and `a` are never used
[INFO] [stdout]   --> src/codec.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Pixel {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 30 |     fn new(r: u8, g: u8, b: u8, a: u8) -> Pixel {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn r(&self) -> u8 {
[INFO] [stdout]    |        ^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn g(&self) -> u8 {
[INFO] [stdout]    |        ^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn b(&self) -> u8 {
[INFO] [stdout]    |        ^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn a(&self) -> u8 {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash` is never used
[INFO] [stdout]   --> src/codec.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn hash(pixel: &Pixel) -> usize {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Header` is never constructed
[INFO] [stdout]   --> src/codec.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | struct Header {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `to_bytes` are never used
[INFO] [stdout]   --> src/codec.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl Header {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 74 |     fn new(magic: [u8; 4], width: u32, height: u32, channels: u8, colorspace: u8) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     fn to_bytes(self) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OpCode` is never used
[INFO] [stdout]    --> src/codec.rs:120:6
[INFO] [stdout]     |
[INFO] [stdout] 120 | enum OpCode {
[INFO] [stdout]     |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_bytes`, `into_bytes`, and `len` are never used
[INFO] [stdout]    --> src/codec.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl OpCode {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 130 |     fn from_bytes<'a, I>(mut bytes: I) -> Option<Self>
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     fn into_bytes(self) -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     fn len(&self) -> usize {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Decoder` is never constructed
[INFO] [stdout]    --> src/codec.rs:220:12
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub struct Decoder {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `decode`, `push`, `diff`, and `luma` are never used
[INFO] [stdout]    --> src/codec.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 226 | impl Decoder {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 227 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |     pub fn decode(bytes: Vec<u8>) -> Result<Vec<Pixel>, Error> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 245 |     pub fn push(&mut self, bytes: &[u8]) -> Vec<Pixel> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 272 |     fn diff(&self, dr: u8, dg: u8, db: u8) -> Pixel {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     fn luma(&self, dg: u8, dr_dg: u8, db_dg: u8) -> Pixel {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Encoder` is never constructed
[INFO] [stdout]    --> src/codec.rs:300:8
[INFO] [stdout]     |
[INFO] [stdout] 300 | struct Encoder {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Chainer` is never used
[INFO] [stdout]    --> src/codec.rs:307:6
[INFO] [stdout]     |
[INFO] [stdout] 307 | enum Chainer {
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `if_continue` and `take` are never used
[INFO] [stdout]    --> src/codec.rs:313:12
[INFO] [stdout]     |
[INFO] [stdout] 312 | impl Chainer {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] 313 |     pub fn if_continue(self, chainer: Chainer) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 328 |     pub fn take(self) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/codec.rs:337:12
[INFO] [stdout]     |
[INFO] [stdout] 336 | impl Encoder {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 337 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 346 |     pub fn encode(
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 371 |     pub fn push(&mut self, pixels: Vec<Pixel>, image_size: u32) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 396 |     fn rgba(&self, pixel: &Pixel) -> Chainer {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 405 |     fn run(&mut self, pixel: &Pixel) -> Chainer {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 424 |     fn index(&self, pixel: &Pixel) -> Chainer {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 435 |     fn diff(&self, pixel: &Pixel) -> Chainer {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 456 |     fn luma(&self, pixel: &Pixel) -> Chainer {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 479 |     fn rgb(&mut self, pixel: &Pixel) -> Chainer {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking exr v1.5.2
[INFO] [stderr]     Checking image v0.24.5
[INFO] [stdout] warning: unused import: `codec::*`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use codec::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidEnd` is never constructed
[INFO] [stdout]   --> src/codec.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum Error {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 14 |     InvalidEnd,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.01s
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/codec.rs:564:58
[INFO] [stdout]     |
[INFO] [stdout] 564 |                 let pixel = super::Pixel(pixel.channels().clone().try_into().unwrap());
[INFO] [stdout]     |                                                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/codec.rs:583:58
[INFO] [stdout]     |
[INFO] [stdout] 583 |                 let pixel = super::Pixel(pixel.channels().clone().try_into().unwrap());
[INFO] [stdout]     |                                                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c6e66094c7ff022d3e81e716b78cfa17a098b5765e893cd5c148921465cb504d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6e66094c7ff022d3e81e716b78cfa17a098b5765e893cd5c148921465cb504d", kill_on_drop: false }`
[INFO] [stdout] c6e66094c7ff022d3e81e716b78cfa17a098b5765e893cd5c148921465cb504d
