[INFO] cloning repository https://github.com/Zitronenjoghurt/lemon-png
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zitronenjoghurt/lemon-png" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZitronenjoghurt%2Flemon-png", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZitronenjoghurt%2Flemon-png'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 11c86c2d1120da73d1afd2cea47f638680cfcc2f
[INFO] checking Zitronenjoghurt/lemon-png against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZitronenjoghurt%2Flemon-png" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Zitronenjoghurt/lemon-png
[INFO] finished tweaking git repo https://github.com/Zitronenjoghurt/lemon-png
[INFO] tweaked toml for git repo https://github.com/Zitronenjoghurt/lemon-png written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Zitronenjoghurt/lemon-png on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Zitronenjoghurt/lemon-png 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b91c6da5feffb8025785515e8070d514666bea6222bbd1c1d83aa1d11283232b
[INFO] running `Command { std: "docker" "start" "-a" "b91c6da5feffb8025785515e8070d514666bea6222bbd1c1d83aa1d11283232b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b91c6da5feffb8025785515e8070d514666bea6222bbd1c1d83aa1d11283232b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b91c6da5feffb8025785515e8070d514666bea6222bbd1c1d83aa1d11283232b", kill_on_drop: false }`
[INFO] [stdout] b91c6da5feffb8025785515e8070d514666bea6222bbd1c1d83aa1d11283232b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0bdd056df94e55d39e4add08d3f4ff5a1c87a917a19c5856034a358b73a3f50a
[INFO] running `Command { std: "docker" "start" "-a" "0bdd056df94e55d39e4add08d3f4ff5a1c87a917a19c5856034a358b73a3f50a", kill_on_drop: false }`
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking lemon-png v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]   --> src/rendering/filtering.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn filter(&self, stream: &[u8], scanline_width: usize) -> Vec<u8> {
[INFO] [stdout]    |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scanline_width`
[INFO] [stdout]   --> src/rendering/filtering.rs:13:41
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn filter(&self, stream: &[u8], scanline_width: usize) -> Vec<u8> {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanline_width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_type` is never used
[INFO] [stdout]   --> src/codec/parsed_chunk.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl ParsedChunk {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 15 |     pub fn get_type(&self) -> ChunkType {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_rgb8` is never used
[INFO] [stdout]   --> src/color.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub trait ColorTrait {
[INFO] [stdout]    |           ---------- method in this trait
[INFO] [stdout] 53 |     fn as_rgb8(&self) -> ColorRGB8;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_rgb8` is never used
[INFO] [stdout]   --> src/color.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub trait ColorBufferTrait {
[INFO] [stdout]    |           ---------------- method in this trait
[INFO] [stdout] 58 |     fn as_rgb8(&self) -> Vec<ColorRGB8>;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/png/types/palette.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Palette(Vec<ColorRGB8>);
[INFO] [stdout]   |            ------- ^^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout]   = note: `Palette` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/png/types/scanline.rs:10:31
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct UnfilteredScanline(Vec<Color>);
[INFO] [stdout]    |            ------------------ ^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `UnfilteredScanline` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `filter` and `filter_byte` are never used
[INFO] [stdout]   --> src/rendering/filtering.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Filterer {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn filter(&self, stream: &[u8], scanline_width: usize) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn filter_byte(a: u8, b: u8, c: u8, x: u8, filter_type: FilterType) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_u8` is never used
[INFO] [stdout]  --> src/utils/bytestream.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn read_u8(stream: &[u8], offset: usize) -> Option<u8> {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_u16_be` is never used
[INFO] [stdout]  --> src/utils/bytestream.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn read_u16_be(stream: &[u8], offset: usize) -> Option<u16> {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `crc32` is never used
[INFO] [stdout]   --> src/utils/crc.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn crc32(data: &[u8]) -> u32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/png/chunk.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |     pub fn iter(&self) -> std::slice::Iter<Chunk> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 86 |     pub fn iter(&self) -> std::slice::Iter<'_, Chunk> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]   --> src/rendering/filtering.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn filter(&self, stream: &[u8], scanline_width: usize) -> Vec<u8> {
[INFO] [stdout]    |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scanline_width`
[INFO] [stdout]   --> src/rendering/filtering.rs:13:41
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn filter(&self, stream: &[u8], scanline_width: usize) -> Vec<u8> {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanline_width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_type` is never used
[INFO] [stdout]   --> src/codec/parsed_chunk.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl ParsedChunk {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 15 |     pub fn get_type(&self) -> ChunkType {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_rgb8` is never used
[INFO] [stdout]   --> src/color.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub trait ColorTrait {
[INFO] [stdout]    |           ---------- method in this trait
[INFO] [stdout] 53 |     fn as_rgb8(&self) -> ColorRGB8;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_rgb8` is never used
[INFO] [stdout]   --> src/color.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub trait ColorBufferTrait {
[INFO] [stdout]    |           ---------------- method in this trait
[INFO] [stdout] 58 |     fn as_rgb8(&self) -> Vec<ColorRGB8>;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/png/types/palette.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Palette(Vec<ColorRGB8>);
[INFO] [stdout]   |            ------- ^^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout]   = note: `Palette` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/png/types/scanline.rs:10:31
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct UnfilteredScanline(Vec<Color>);
[INFO] [stdout]    |            ------------------ ^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `UnfilteredScanline` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `filter` and `filter_byte` are never used
[INFO] [stdout]   --> src/rendering/filtering.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Filterer {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn filter(&self, stream: &[u8], scanline_width: usize) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn filter_byte(a: u8, b: u8, c: u8, x: u8, filter_type: FilterType) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_u8` is never used
[INFO] [stdout]  --> src/utils/bytestream.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn read_u8(stream: &[u8], offset: usize) -> Option<u8> {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_u16_be` is never used
[INFO] [stdout]  --> src/utils/bytestream.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn read_u16_be(stream: &[u8], offset: usize) -> Option<u16> {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `crc32` is never used
[INFO] [stdout]   --> src/utils/crc.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn crc32(data: &[u8]) -> u32 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/png/chunk.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |     pub fn iter(&self) -> std::slice::Iter<Chunk> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 86 |     pub fn iter(&self) -> std::slice::Iter<'_, Chunk> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.29s
[INFO] running `Command { std: "docker" "inspect" "0bdd056df94e55d39e4add08d3f4ff5a1c87a917a19c5856034a358b73a3f50a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0bdd056df94e55d39e4add08d3f4ff5a1c87a917a19c5856034a358b73a3f50a", kill_on_drop: false }`
[INFO] [stdout] 0bdd056df94e55d39e4add08d3f4ff5a1c87a917a19c5856034a358b73a3f50a
