[INFO] cloning repository https://github.com/austinmdillow/png-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/austinmdillow/png-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faustinmdillow%2Fpng-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faustinmdillow%2Fpng-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 173955cee7e8b96de72f4677a9fd65bbbafdcabe
[INFO] checking austinmdillow/png-rs against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faustinmdillow%2Fpng-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/austinmdillow/png-rs
[INFO] finished tweaking git repo https://github.com/austinmdillow/png-rs
[INFO] tweaked toml for git repo https://github.com/austinmdillow/png-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/austinmdillow/png-rs 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/austinmdillow/png-rs 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]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded build_const v0.2.2
[INFO] [stderr]   Downloaded clap_lex v0.4.1
[INFO] [stderr]   Downloaded clap_derive v4.2.0
[INFO] [stderr]   Downloaded clap_builder v4.2.7
[INFO] [stderr]   Downloaded crc v1.8.1
[INFO] [stderr]   Downloaded clap v4.2.7
[INFO] [stderr]   Downloaded rustix v0.37.18
[INFO] [stderr]   Downloaded libc v0.2.142
[INFO] [stderr]   Downloaded linux-raw-sys v0.3.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3711c03b6bda45012d48b0a5177c6ff35ee5c7f7ab85f042453cdef0a1bc95b2
[INFO] running `Command { std: "docker" "start" "-a" "3711c03b6bda45012d48b0a5177c6ff35ee5c7f7ab85f042453cdef0a1bc95b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3711c03b6bda45012d48b0a5177c6ff35ee5c7f7ab85f042453cdef0a1bc95b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3711c03b6bda45012d48b0a5177c6ff35ee5c7f7ab85f042453cdef0a1bc95b2", kill_on_drop: false }`
[INFO] [stdout] 3711c03b6bda45012d48b0a5177c6ff35ee5c7f7ab85f042453cdef0a1bc95b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] aeb9508d02080fff2d6c1facfa847bdfee601b01af4100de81ada2cce068fd5a
[INFO] running `Command { std: "docker" "start" "-a" "aeb9508d02080fff2d6c1facfa847bdfee601b01af4100de81ada2cce068fd5a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling io-lifetimes v1.0.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling rustix v0.37.18
[INFO] [stderr]     Checking linux-raw-sys v0.3.6
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]     Checking anstyle v1.0.0
[INFO] [stderr]    Compiling build_const v0.2.2
[INFO] [stderr]     Checking anstyle-query v1.0.0
[INFO] [stderr]     Checking clap_lex v0.4.1
[INFO] [stderr]     Checking anstyle-parse v0.2.0
[INFO] [stderr]     Checking once_cell v1.17.1
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]     Checking is-terminal v0.4.7
[INFO] [stderr]     Checking anstream v0.3.2
[INFO] [stderr]     Checking clap_builder v4.2.7
[INFO] [stderr]    Compiling clap_derive v4.2.0
[INFO] [stderr]     Checking clap v4.2.7
[INFO] [stderr]     Checking png-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `fs::read`
[INFO] [stdout]  --> src/chunk.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fs::read,
[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: `crate::chunk_type::ChunkType`
[INFO] [stdout]  --> src/png.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::chunk_type::ChunkType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs::read`
[INFO] [stdout]  --> src/chunk.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fs::read,
[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: `crate::chunk_type::ChunkType`
[INFO] [stdout]  --> src/png.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::chunk_type::ChunkType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/png.rs:27:38
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn from_file<P: AsRef<Path>>(path: P) -> Result<Self, String> {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/main.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let args = Cli::parse();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `data` is never used
[INFO] [stdout]   --> src/chunk.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Chunk {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn data(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode` is never used
[INFO] [stdout]   --> src/commands.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn encode(args: &EncodeArgs) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode` is never used
[INFO] [stdout]   --> src/commands.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn decode(args: &DecodeArgs) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove` is never used
[INFO] [stdout]   --> src/commands.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn remove(args: &RemoveArgs) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print` is never used
[INFO] [stdout]   --> src/commands.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn print(args: &PrintArgs) -> Result<()> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_file` and `header` are never used
[INFO] [stdout]   --> src/png.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Png {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn from_file<P: AsRef<Path>>(path: P) -> Result<Self, String> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn header(&self) -> &[u8; 8] {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/png.rs:27:38
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn from_file<P: AsRef<Path>>(path: P) -> Result<Self, String> {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/main.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let args = Cli::parse();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Chunk` is never constructed
[INFO] [stdout]   --> src/chunk.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Chunk {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/chunk.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Chunk {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn new(chunk_type: ChunkType, data: Vec<u8>) -> Chunk {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn crc_checksum(bytes: &[u8]) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn length(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn chunk_type(&self) -> &ChunkType {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn data(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn crc(&self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn data_as_string(&self) -> Result<String, std::str::Utf8Error> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn as_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub fn read_chunk(reader: &mut BufReader<&[u8]>) -> Result<Chunk, String> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChunkType` is never constructed
[INFO] [stdout]  --> src/chunk_type.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ChunkType {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `bytes`, `is_valid`, `is_critical`, `is_public`, `is_reserved_bit_valid`, and `is_safe_to_copy` are never used
[INFO] [stdout]   --> src/chunk_type.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl ChunkType {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 12 |     pub fn bytes(&self) -> [u8; 4] {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn is_critical(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn is_public(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn is_reserved_bit_valid(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn is_safe_to_copy(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode` is never used
[INFO] [stdout]   --> src/commands.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn encode(args: &EncodeArgs) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode` is never used
[INFO] [stdout]   --> src/commands.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn decode(args: &DecodeArgs) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove` is never used
[INFO] [stdout]   --> src/commands.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn remove(args: &RemoveArgs) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print` is never used
[INFO] [stdout]   --> src/commands.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn print(args: &PrintArgs) -> Result<()> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Png` is never constructed
[INFO] [stdout]   --> src/png.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Png {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/png.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Png {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 18 |     // Fill in this array with the correct values per the PNG spec
[INFO] [stdout] 19 |     pub const STANDARD_HEADER: [u8; 8] = [137 ,80, 78 ,71 ,13 ,10, 26 ,10];
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn from_chunks(chunks: Vec<Chunk>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn from_file<P: AsRef<Path>>(path: P) -> Result<Self, String> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn append_chunk(&mut self, chunk: Chunk) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn remove_chunk(&mut self, chunk_type: &str) -> Result<Chunk, String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn header(&self) -> &[u8; 8] {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn chunks(&self) -> &[Chunk] {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn chunk_by_type(&self, chunk_type: &str) -> Option<&Chunk> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn as_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.51s
[INFO] running `Command { std: "docker" "inspect" "aeb9508d02080fff2d6c1facfa847bdfee601b01af4100de81ada2cce068fd5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aeb9508d02080fff2d6c1facfa847bdfee601b01af4100de81ada2cce068fd5a", kill_on_drop: false }`
[INFO] [stdout] aeb9508d02080fff2d6c1facfa847bdfee601b01af4100de81ada2cce068fd5a
