[INFO] cloning repository https://github.com/ywang22THU/pngme
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ywang22THU/pngme" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fywang22THU%2Fpngme", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fywang22THU%2Fpngme'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 722a2bebde357e3f79df0ab54ad09f380b235a27
[INFO] checking ywang22THU/pngme against try#d8be25549d5418405531341b4be6d8538fc3c42e for pr-156160
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fywang22THU%2Fpngme" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ywang22THU/pngme
[INFO] finished tweaking git repo https://github.com/ywang22THU/pngme
[INFO] tweaked toml for git repo https://github.com/ywang22THU/pngme written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ywang22THU/pngme on toolchain d8be25549d5418405531341b4be6d8538fc3c42e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ywang22THU/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" "+d8be25549d5418405531341b4be6d8538fc3c42e" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anstyle v1.0.8
[INFO] [stderr]   Downloaded clap_derive v4.5.13
[INFO] [stderr]   Downloaded clap v4.5.17
[INFO] [stderr]   Downloaded clap_lex v0.7.2
[INFO] [stderr]   Downloaded colorchoice v1.0.2
[INFO] [stderr]   Downloaded anstyle-query v1.1.1
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.4
[INFO] [stderr]   Downloaded anstream v0.6.15
[INFO] [stderr]   Downloaded anstyle-parse v0.2.5
[INFO] [stderr]   Downloaded clap_builder v4.5.17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8e6d22f7afd67d34ca8b1dfc5c8c3e519a7eb4bf158813cc8220231eecdf4e5a
[INFO] running `Command { std: "docker" "start" "8e6d22f7afd67d34ca8b1dfc5c8c3e519a7eb4bf158813cc8220231eecdf4e5a", 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" "8e6d22f7afd67d34ca8b1dfc5c8c3e519a7eb4bf158813cc8220231eecdf4e5a" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e6d22f7afd67d34ca8b1dfc5c8c3e519a7eb4bf158813cc8220231eecdf4e5a", 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" "8e6d22f7afd67d34ca8b1dfc5c8c3e519a7eb4bf158813cc8220231eecdf4e5a" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]     Checking anstyle-query v1.1.1
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking anstyle v1.0.8
[INFO] [stderr]     Checking colorchoice v1.0.2
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]     Checking anstyle-parse v0.2.5
[INFO] [stderr]     Checking crc v3.2.1
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]     Checking clap_builder v4.5.17
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling clap_derive v4.5.13
[INFO] [stderr]     Checking clap v4.5.17
[INFO] [stderr]     Checking pngcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0603]: struct import `Chunk` is private
[INFO] [stdout]   --> src/commands.rs:7:18
[INFO] [stdout]    |
[INFO] [stdout]  7 | use crate::png::{Chunk, ChunkType, Png};
[INFO] [stdout]    |                  ^^^^^ private struct import
[INFO] [stdout]    |
[INFO] [stdout] note: the struct import `Chunk` is defined here...
[INFO] [stdout]   --> src/png.rs:3:20
[INFO] [stdout]    |
[INFO] [stdout]  3 | use crate::chunk::{Chunk, bytes_to_word};
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout] note: ...and refers to the struct `Chunk` which is defined here
[INFO] [stdout]   --> src/chunk.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Chunk {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ you could import this directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct import `ChunkType` is private
[INFO] [stdout]  --> src/commands.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::png::{Chunk, ChunkType, Png};
[INFO] [stdout]   |                         ^^^^^^^^^ private struct import
[INFO] [stdout]   |
[INFO] [stdout] note: the struct import `ChunkType` is defined here...
[INFO] [stdout]  --> src/png.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::chunk_type::ChunkType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: ...and refers to the struct `ChunkType` which is defined here
[INFO] [stdout]  --> src/chunk_type.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ChunkType {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ you could import this directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::FromStr;
[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::convert::TryFrom`
[INFO] [stdout]  --> src/commands.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/commands.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/commands.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/commands.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{Error, Result};
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Png`
[INFO] [stdout]  --> src/commands.rs:7:36
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::png::{Chunk, ChunkType, Png};
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct import `Chunk` is private
[INFO] [stdout]   --> src/commands.rs:7:18
[INFO] [stdout]    |
[INFO] [stdout]  7 | use crate::png::{Chunk, ChunkType, Png};
[INFO] [stdout]    |                  ^^^^^ private struct import
[INFO] [stdout]    |
[INFO] [stdout] note: the struct import `Chunk` is defined here...
[INFO] [stdout]   --> src/png.rs:3:20
[INFO] [stdout]    |
[INFO] [stdout]  3 | use crate::chunk::{Chunk, bytes_to_word};
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout] note: ...and refers to the struct `Chunk` which is defined here
[INFO] [stdout]   --> src/chunk.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Chunk {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^ you could import this directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct import `ChunkType` is private
[INFO] [stdout]  --> src/commands.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::png::{Chunk, ChunkType, Png};
[INFO] [stdout]   |                         ^^^^^^^^^ private struct import
[INFO] [stdout]   |
[INFO] [stdout] note: the struct import `ChunkType` is defined here...
[INFO] [stdout]  --> src/png.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::chunk_type::ChunkType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: ...and refers to the struct `ChunkType` which is defined here
[INFO] [stdout]  --> src/chunk_type.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ChunkType {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ you could import this directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::FromStr;
[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::convert::TryFrom`
[INFO] [stdout]  --> src/commands.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/commands.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/commands.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/commands.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{Error, Result};
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Png`
[INFO] [stdout]  --> src/commands.rs:7:36
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::png::{Chunk, ChunkType, Png};
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/commands.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn encode(args: EncodeArgs) -> Result<()> {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[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/commands.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn decode(args: DecodeArgs) -> Result<()> {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/commands.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn remove(args: RemoveArgs) -> Result<()> {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/commands.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn print_chunks(args: PrintArgs) -> Result<()> {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pngcode` (bin "pngcode") due to 2 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/commands.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn encode(args: EncodeArgs) -> Result<()> {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[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/commands.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn decode(args: DecodeArgs) -> Result<()> {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/commands.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn remove(args: RemoveArgs) -> Result<()> {
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/commands.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn print_chunks(args: PrintArgs) -> Result<()> {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pngcode` (bin "pngcode" test) due to 2 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8e6d22f7afd67d34ca8b1dfc5c8c3e519a7eb4bf158813cc8220231eecdf4e5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e6d22f7afd67d34ca8b1dfc5c8c3e519a7eb4bf158813cc8220231eecdf4e5a", kill_on_drop: false }`
[INFO] [stdout] 8e6d22f7afd67d34ca8b1dfc5c8c3e519a7eb4bf158813cc8220231eecdf4e5a
