[INFO] cloning repository https://github.com/Timmimim/tutorial_PNGme
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Timmimim/tutorial_PNGme" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimmimim%2Ftutorial_PNGme", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimmimim%2Ftutorial_PNGme'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a1466c99c81193b3fd2216a2b479ce95672a31fa
[INFO] checking Timmimim/tutorial_PNGme/a1466c99c81193b3fd2216a2b479ce95672a31fa against 0b63defc8fd68957c635fe61f097b84df8fd9611 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimmimim%2Ftutorial_PNGme" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Timmimim/tutorial_PNGme
[INFO] finished tweaking git repo https://github.com/Timmimim/tutorial_PNGme
[INFO] tweaked toml for git repo https://github.com/Timmimim/tutorial_PNGme written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Timmimim/tutorial_PNGme on toolchain 0b63defc8fd68957c635fe61f097b84df8fd9611
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0b63defc8fd68957c635fe61f097b84df8fd9611" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Timmimim/tutorial_PNGme 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" "+0b63defc8fd68957c635fe61f097b84df8fd9611" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap v4.5.34
[INFO] [stderr]   Downloaded clap_builder v4.5.34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1478845b89cfcb2db1ec8e1a38bfac7ac511e69108ad439849d911811f1714e4
[INFO] running `Command { std: "docker" "start" "1478845b89cfcb2db1ec8e1a38bfac7ac511e69108ad439849d911811f1714e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1478845b89cfcb2db1ec8e1a38bfac7ac511e69108ad439849d911811f1714e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1478845b89cfcb2db1ec8e1a38bfac7ac511e69108ad439849d911811f1714e4" "/opt/rustwide/cargo-home/bin/cargo" "+0b63defc8fd68957c635fe61f097b84df8fd9611" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1478845b89cfcb2db1ec8e1a38bfac7ac511e69108ad439849d911811f1714e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1478845b89cfcb2db1ec8e1a38bfac7ac511e69108ad439849d911811f1714e4" "/opt/rustwide/cargo-home/bin/cargo" "+0b63defc8fd68957c635fe61f097b84df8fd9611" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]     Checking crc v3.2.1
[INFO] [stderr]     Checking clap_builder v4.5.34
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]     Checking clap v4.5.34
[INFO] [stderr]     Checking pngme v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/args.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[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: `std::fs`
[INFO] [stdout]  --> src/commands.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `convert::TryFrom`
[INFO] [stdout]  --> src/commands.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{convert::TryFrom, str::FromStr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `args` and `chunk_type`
[INFO] [stdout]   --> src/commands.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::{args, chunk_type};
[INFO] [stdout]    |             ^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error::FsIoError`
[INFO] [stdout]   --> src/commands.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     error::FsIoError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow`
[INFO] [stdout]   --> src/commands.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | use anyhow::{anyhow, Result};
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::Subcommand`
[INFO] [stdout]   --> src/commands.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use clap::Subcommand;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `builder::styling::Color`
[INFO] [stdout]   --> src/main.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use clap::{builder::styling::Color, Parser};
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/args.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[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: `std::fs`
[INFO] [stdout]  --> src/commands.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `convert::TryFrom`
[INFO] [stdout]  --> src/commands.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{convert::TryFrom, str::FromStr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `args` and `chunk_type`
[INFO] [stdout]   --> src/commands.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::{args, chunk_type};
[INFO] [stdout]    |             ^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error::FsIoError`
[INFO] [stdout]   --> src/commands.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     error::FsIoError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow`
[INFO] [stdout]   --> src/commands.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | use anyhow::{anyhow, Result};
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::Subcommand`
[INFO] [stdout]   --> src/commands.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use clap::Subcommand;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `builder::styling::Color`
[INFO] [stdout]   --> src/main.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use clap::{builder::styling::Color, Parser};
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `removed_chunk`
[INFO] [stdout]   --> src/commands.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let removed_chunk = png.remove_chunk(&args.chunk_type)?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_removed_chunk`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `data` and `crc` are never used
[INFO] [stdout]   --> src/chunk.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Chunk {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn data(&self) -> &Vec<u8> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn crc(&self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_critical`, `is_public`, and `is_safe_to_copy` are never used
[INFO] [stdout]   --> src/chunk_type.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl ChunkType {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn is_critical(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn is_public(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn is_safe_to_copy(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_chunks` is never used
[INFO] [stdout]   --> src/png.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Png {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn from_chunks(chunks: Vec<Chunk>) -> Png {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `removed_chunk`
[INFO] [stdout]   --> src/commands.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let removed_chunk = png.remove_chunk(&args.chunk_type)?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_removed_chunk`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `data` is never used
[INFO] [stdout]   --> src/chunk.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Chunk {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn data(&self) -> &Vec<u8> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[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 8.08s
[INFO] running `Command { std: "docker" "inspect" "1478845b89cfcb2db1ec8e1a38bfac7ac511e69108ad439849d911811f1714e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1478845b89cfcb2db1ec8e1a38bfac7ac511e69108ad439849d911811f1714e4", kill_on_drop: false }`
[INFO] [stdout] 1478845b89cfcb2db1ec8e1a38bfac7ac511e69108ad439849d911811f1714e4
