[INFO] cloning repository https://github.com/tsujin/png-secret
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tsujin/png-secret" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsujin%2Fpng-secret", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsujin%2Fpng-secret'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4c229bed20c471302a208b7ddc145184fcaeca06
[INFO] checking tsujin/png-secret against try#48c9d93cf65d550d124c40108859fd993778c157 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsujin%2Fpng-secret" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tsujin/png-secret
[INFO] finished tweaking git repo https://github.com/tsujin/png-secret
[INFO] tweaked toml for git repo https://github.com/tsujin/png-secret written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tsujin/png-secret on toolchain 48c9d93cf65d550d124c40108859fd993778c157
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tsujin/png-secret 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" "+48c9d93cf65d550d124c40108859fd993778c157" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+48c9d93cf65d550d124c40108859fd993778c157" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a02af1c1363686543ef0b2e8f547d48e065864ddb8fda618dc68add93470ac65
[INFO] running `Command { std: "docker" "start" "-a" "a02af1c1363686543ef0b2e8f547d48e065864ddb8fda618dc68add93470ac65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a02af1c1363686543ef0b2e8f547d48e065864ddb8fda618dc68add93470ac65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a02af1c1363686543ef0b2e8f547d48e065864ddb8fda618dc68add93470ac65", kill_on_drop: false }`
[INFO] [stdout] a02af1c1363686543ef0b2e8f547d48e065864ddb8fda618dc68add93470ac65
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+48c9d93cf65d550d124c40108859fd993778c157" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 217da79249bbf1ee22d1940aa170d486864b02e59ff6bf7cdf12ea87a1b49db5
[INFO] running `Command { std: "docker" "start" "-a" "217da79249bbf1ee22d1940aa170d486864b02e59ff6bf7cdf12ea87a1b49db5", kill_on_drop: false }`
[INFO] [stderr]     Checking crc-catalog v1.1.1
[INFO] [stderr]     Checking crc v2.1.0
[INFO] [stderr]     Checking png-secret v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]   --> src/chunk.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn try_from(bytes: &[u8]) -> Result<Self> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Chunk` is never constructed
[INFO] [stdout]  --> src/chunk.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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: 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_safe_to_copy`, `is_public`, `is_critical`, and `is_reserved_bit_valid` are never used
[INFO] [stdout]   --> src/chunk_type.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl ChunkType {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 60 |     fn bytes(&self) -> [u8; 4] {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     fn is_valid(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn is_safe_to_copy(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     fn is_public(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     fn is_critical(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     fn is_reserved_bit_valid(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chunk_type::ChunkType`
[INFO] [stdout]   --> src/chunk.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     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: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/chunk.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     use std::str::FromStr;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `length` found for struct `chunk::Chunk` in the current scope
[INFO] [stdout]   --> src/chunk.rs:46:26
[INFO] [stdout]    |
[INFO] [stdout]  4 | struct Chunk {
[INFO] [stdout]    | ------------ method `length` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 46 |         assert_eq!(chunk.length(), 42);
[INFO] [stdout]    |                          ^^^^^^ method not found in `chunk::Chunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `chunk_type` found for struct `chunk::Chunk` in the current scope
[INFO] [stdout]   --> src/chunk.rs:52:26
[INFO] [stdout]    |
[INFO] [stdout]  4 | struct Chunk {
[INFO] [stdout]    | ------------ method `chunk_type` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 52 |         assert_eq!(chunk.chunk_type().to_string(), String::from("RuSt"));
[INFO] [stdout]    |                          ^^^^^^^^^^-- help: remove the arguments
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `data_as_string` found for struct `chunk::Chunk` in the current scope
[INFO] [stdout]   --> src/chunk.rs:58:34
[INFO] [stdout]    |
[INFO] [stdout]  4 | struct Chunk {
[INFO] [stdout]    | ------------ method `data_as_string` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |         let chunk_string = chunk.data_as_string().unwrap();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^ method not found in `chunk::Chunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `crc` found for struct `chunk::Chunk` in the current scope
[INFO] [stdout]   --> src/chunk.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout]  4 | struct Chunk {
[INFO] [stdout]    | ------------ method `crc` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 66 |         assert_eq!(chunk.crc(), 2882656334);
[INFO] [stdout]    |                          ^^^ method not found in `chunk::Chunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `data_as_string` found for struct `chunk::Chunk` in the current scope
[INFO] [stdout]   --> src/chunk.rs:87:34
[INFO] [stdout]    |
[INFO] [stdout]  4 | struct Chunk {
[INFO] [stdout]    | ------------ method `data_as_string` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 87 |         let chunk_string = chunk.data_as_string().unwrap();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^ method not found in `chunk::Chunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `length` found for struct `chunk::Chunk` in the current scope
[INFO] [stdout]   --> src/chunk.rs:90:26
[INFO] [stdout]    |
[INFO] [stdout]  4 | struct Chunk {
[INFO] [stdout]    | ------------ method `length` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 90 |         assert_eq!(chunk.length(), 42);
[INFO] [stdout]    |                          ^^^^^^ method not found in `chunk::Chunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `chunk_type` found for struct `chunk::Chunk` in the current scope
[INFO] [stdout]   --> src/chunk.rs:91:26
[INFO] [stdout]    |
[INFO] [stdout]  4 | struct Chunk {
[INFO] [stdout]    | ------------ method `chunk_type` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 91 |         assert_eq!(chunk.chunk_type().to_string(), String::from("RuSt"));
[INFO] [stdout]    |                          ^^^^^^^^^^-- help: remove the arguments
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `crc` found for struct `chunk::Chunk` in the current scope
[INFO] [stdout]   --> src/chunk.rs:93:26
[INFO] [stdout]    |
[INFO] [stdout]  4 | struct Chunk {
[INFO] [stdout]    | ------------ method `crc` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 93 |         assert_eq!(chunk.crc(), 2882656334);
[INFO] [stdout]    |                          ^^^ method not found in `chunk::Chunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `chunk::Chunk` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> src/chunk.rs:135:43
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let _chunk_string = format!("{}", chunk);
[INFO] [stdout]     |                                      --   ^^^^^ `chunk::Chunk` cannot be formatted with the default formatter
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      required by this formatting parameter
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `chunk::Chunk`
[INFO] [stdout]    --> src/chunk.rs:4:1
[INFO] [stdout]     |
[INFO] [stdout]   4 | struct Chunk {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]   --> src/chunk.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn try_from(bytes: &[u8]) -> Result<Self> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `png-secret` (bin "png-secret" test) due to 9 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "217da79249bbf1ee22d1940aa170d486864b02e59ff6bf7cdf12ea87a1b49db5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "217da79249bbf1ee22d1940aa170d486864b02e59ff6bf7cdf12ea87a1b49db5", kill_on_drop: false }`
[INFO] [stdout] 217da79249bbf1ee22d1940aa170d486864b02e59ff6bf7cdf12ea87a1b49db5
