[INFO] cloning repository https://github.com/deo2407/pngsm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deo2407/pngsm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeo2407%2Fpngsm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeo2407%2Fpngsm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 92bc4a8e37d5916f2aded9c28a61749093a049c6
[INFO] checking deo2407/pngsm against try#b98202ad067d72e45cec8be3d5c15d86ef0fd086 for pr-155193
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeo2407%2Fpngsm" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/deo2407/pngsm
[INFO] finished tweaking git repo https://github.com/deo2407/pngsm
[INFO] tweaked toml for git repo https://github.com/deo2407/pngsm written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/deo2407/pngsm on toolchain b98202ad067d72e45cec8be3d5c15d86ef0fd086
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/deo2407/pngsm 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" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 490fc82a56aeac89aa232d331e1dc44fe6e604f1fdc69ee629ee3c12d8664ec9
[INFO] running `Command { std: "docker" "start" "-a" "490fc82a56aeac89aa232d331e1dc44fe6e604f1fdc69ee629ee3c12d8664ec9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "490fc82a56aeac89aa232d331e1dc44fe6e604f1fdc69ee629ee3c12d8664ec9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "490fc82a56aeac89aa232d331e1dc44fe6e604f1fdc69ee629ee3c12d8664ec9", kill_on_drop: false }`
[INFO] [stdout] 490fc82a56aeac89aa232d331e1dc44fe6e604f1fdc69ee629ee3c12d8664ec9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eda264c6a275e4d4e712206737c561156e7355dfb1dc4b747216a5c3f31b3d50
[INFO] running `Command { std: "docker" "start" "-a" "eda264c6a275e4d4e712206737c561156e7355dfb1dc4b747216a5c3f31b3d50", kill_on_drop: false }`
[INFO] [stderr]     Checking clap_builder v4.5.38
[INFO] [stderr]     Checking clap v4.5.38
[INFO] [stderr]     Checking pngsm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::chunk_type::ChunkType`
[INFO] [stdout]  --> src/commands.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::chunk_type::ChunkType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/commands.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut png = read_png(&args.file_path)?;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `length`, `chunk_type`, `data`, `crc`, and `data_as_string` are never used
[INFO] [stdout]   --> src/chunk.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Chunk {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn length(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn chunk_type(&self) -> &ChunkType {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn data(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn crc(&self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn data_as_string(&self) -> Result<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `is_zero_fifth`, `is_critical`, `is_public`, `is_reserved_bit_valid`, `is_safe_to_copy`, and `is_valid` are never used
[INFO] [stdout]   --> src/chunk_type.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl ChunkType { 
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn is_zero_fifth(byte: u8) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn is_critical(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn is_public(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn is_reserved_bit_valid(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn is_safe_to_copy(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header` is never read
[INFO] [stdout]  --> src/png.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Png {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 9 |     pub header: [u8; 8],
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Png` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `header`, `chunks`, and `chunk_by_type` are never used
[INFO] [stdout]   --> src/png.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Png {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn header(&self) -> &[u8; 8] {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn chunks(&self) -> &[Chunk] {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn chunk_by_type(&self, chunk_type: &str) -> Option<&Chunk> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     png.print_chunk(str::from_utf8(&args.chunk_type.bytes())?);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let _ = png.print_chunk(str::from_utf8(&args.chunk_type.bytes())?);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chunk_type::ChunkType`
[INFO] [stdout]  --> src/commands.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::chunk_type::ChunkType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/commands.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut png = read_png(&args.file_path)?;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `length`, `chunk_type`, `data`, `crc`, and `data_as_string` are never used
[INFO] [stdout]   --> src/chunk.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Chunk {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn length(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn chunk_type(&self) -> &ChunkType {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn data(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn crc(&self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn data_as_string(&self) -> Result<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `is_zero_fifth`, `is_critical`, `is_public`, `is_reserved_bit_valid`, `is_safe_to_copy`, and `is_valid` are never used
[INFO] [stdout]   --> src/chunk_type.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl ChunkType { 
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn is_zero_fifth(byte: u8) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn is_critical(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn is_public(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn is_reserved_bit_valid(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn is_safe_to_copy(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header` is never read
[INFO] [stdout]  --> src/png.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Png {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 9 |     pub header: [u8; 8],
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Png` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `header`, `chunks`, and `chunk_by_type` are never used
[INFO] [stdout]   --> src/png.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Png {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn header(&self) -> &[u8; 8] {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn chunks(&self) -> &[Chunk] {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn chunk_by_type(&self, chunk_type: &str) -> Option<&Chunk> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/commands.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     png.print_chunk(str::from_utf8(&args.chunk_type.bytes())?);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let _ = png.print_chunk(str::from_utf8(&args.chunk_type.bytes())?);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.42s
[INFO] running `Command { std: "docker" "inspect" "eda264c6a275e4d4e712206737c561156e7355dfb1dc4b747216a5c3f31b3d50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eda264c6a275e4d4e712206737c561156e7355dfb1dc4b747216a5c3f31b3d50", kill_on_drop: false }`
[INFO] [stdout] eda264c6a275e4d4e712206737c561156e7355dfb1dc4b747216a5c3f31b3d50
