[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 try#0611f7de057c584b8771102fde7aed6c70c71d3b 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-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Zitronenjoghurt/lemon-png on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1e197a3d5b74661de4fb42fb00571aa762c704f6cf2a4929d187f7993cc23262
[INFO] running `Command { std: "docker" "start" "-a" "1e197a3d5b74661de4fb42fb00571aa762c704f6cf2a4929d187f7993cc23262", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e197a3d5b74661de4fb42fb00571aa762c704f6cf2a4929d187f7993cc23262", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e197a3d5b74661de4fb42fb00571aa762c704f6cf2a4929d187f7993cc23262", kill_on_drop: false }`
[INFO] [stdout] 1e197a3d5b74661de4fb42fb00571aa762c704f6cf2a4929d187f7993cc23262
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c92ccac1f5121a1b4d1c6cb55fd4286c564df19e5dbd4be5b08a1ddb17b87c69
[INFO] running `Command { std: "docker" "start" "-a" "c92ccac1f5121a1b4d1c6cb55fd4286c564df19e5dbd4be5b08a1ddb17b87c69", 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: 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: 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] error: struct `UnfilteredScanline` is never constructed
[INFO] [stdout]   --> src/png/types/scanline.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct UnfilteredScanline(Vec<Color>);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[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: 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] error: struct `UnfilteredScanline` is never constructed
[INFO] [stdout]   --> src/png/types/scanline.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct UnfilteredScanline(Vec<Color>);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[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: 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] error: could not compile `lemon-png` (lib) due to 1 previous error; 12 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `lemon-png` (lib test) due to 1 previous error; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c92ccac1f5121a1b4d1c6cb55fd4286c564df19e5dbd4be5b08a1ddb17b87c69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c92ccac1f5121a1b4d1c6cb55fd4286c564df19e5dbd4be5b08a1ddb17b87c69", kill_on_drop: false }`
[INFO] [stdout] c92ccac1f5121a1b4d1c6cb55fd4286c564df19e5dbd4be5b08a1ddb17b87c69
