[INFO] cloning repository https://github.com/uTkArShVeRm4/pngme
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uTkArShVeRm4/pngme" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuTkArShVeRm4%2Fpngme", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuTkArShVeRm4%2Fpngme'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ef4bd1b334787880d377788dd523d9a4554b364
[INFO] checking uTkArShVeRm4/pngme against try#6713fa75964eb229409a9c6f6f5c418423e313ff for pr-133502-22
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FuTkArShVeRm4%2Fpngme" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/uTkArShVeRm4/pngme
[INFO] finished tweaking git repo https://github.com/uTkArShVeRm4/pngme
[INFO] tweaked toml for git repo https://github.com/uTkArShVeRm4/pngme written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/uTkArShVeRm4/pngme on toolchain 6713fa75964eb229409a9c6f6f5c418423e313ff
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/uTkArShVeRm4/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" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 882230fbca45b75321dcfc0baba7e432dc3b7483b49702c857ac83199fe345de
[INFO] running `Command { std: "docker" "start" "-a" "882230fbca45b75321dcfc0baba7e432dc3b7483b49702c857ac83199fe345de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "882230fbca45b75321dcfc0baba7e432dc3b7483b49702c857ac83199fe345de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "882230fbca45b75321dcfc0baba7e432dc3b7483b49702c857ac83199fe345de", kill_on_drop: false }`
[INFO] [stdout] 882230fbca45b75321dcfc0baba7e432dc3b7483b49702c857ac83199fe345de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f033013ae4bff6d4d10a09916e7f408e8208011343ede873b437930e605e6e9f
[INFO] running `Command { std: "docker" "start" "-a" "f033013ae4bff6d4d10a09916e7f408e8208011343ede873b437930e605e6e9f", kill_on_drop: false }`
[INFO] [stderr]     Checking crc v3.0.1
[INFO] [stderr]     Checking pngme v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Chunk` is never constructed
[INFO] [stdout]  --> src/chunk.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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: struct `ChunkError` is never constructed
[INFO] [stdout]   --> src/chunk.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ChunkError;
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/chunk.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl Chunk {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 60 |     pub fn new(chunk_type: ChunkType, data: Vec<u8>) -> Chunk {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn length(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn chunk_type(&self) -> &ChunkType {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn data(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn crc(&self) -> u32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn data_as_string(&self) -> Result<String, ChunkError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub fn as_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Png` is never constructed
[INFO] [stdout]  --> src/png.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Png {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PNGCreationError` is never constructed
[INFO] [stdout]   --> src/png.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct PNGCreationError;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/png.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Png {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 24 |     pub const STANDARD_HEADER: &'static [u8; 8] = &[137, 80, 78, 71, 13, 10, 26, 10];
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |
[INFO] [stdout] 26 |     pub fn header(&self) -> &[u8; 8] {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn chunks(&self) -> &Vec<Chunk> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn from_chunks(chunks: Vec<Chunk>) -> Png {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn append_chunk(&mut self, chunk: Chunk) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn remove_first_chunk(&mut self, chunk_type: &str) -> Result<Chunk> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn chunk_by_type(&self, chunk_type: &str) -> Option<&Chunk> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn as_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Map` that must be used
[INFO] [stdout]   --> src/png.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | /         self.chunks
[INFO] [stdout] 67 | |             .iter()
[INFO] [stdout] 68 | |             .map(|x| bytes.extend_from_slice(&x.as_bytes()));
[INFO] [stdout]    | |____________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: iterators are lazy and do nothing unless consumed
[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] 66 |         let _ = self.chunks
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `Iterator::map` call that discard the iterator's values
[INFO] [stdout]   --> src/png.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |             .map(|x| bytes.extend_from_slice(&x.as_bytes()));
[INFO] [stdout]    |              ^^^^------------------------------------------^
[INFO] [stdout]    |              |   |
[INFO] [stdout]    |              |   this function returns `()`, which is likely not what you wanted
[INFO] [stdout]    |              |   called `Iterator::map` with callable that returns `()`
[INFO] [stdout]    |              after this call to map, the resulting iterator is `impl Iterator<Item = ()>`, which means the only information carried by the iterator is the number of items
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Iterator::map`, like many of the methods on `Iterator`, gets executed lazily, meaning that its effects won't be visible until it is iterated
[INFO] [stdout]    = note: `#[warn(map_unit_fn)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to use `Iterator::for_each`
[INFO] [stdout]    |
[INFO] [stdout] 68 -             .map(|x| bytes.extend_from_slice(&x.as_bytes()));
[INFO] [stdout] 68 +             .for_each(|x| bytes.extend_from_slice(&x.as_bytes()));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `header` is never used
[INFO] [stdout]   --> src/png.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Png {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn header(&self) -> &[u8; 8] {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Map` that must be used
[INFO] [stdout]   --> src/png.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | /         self.chunks
[INFO] [stdout] 67 | |             .iter()
[INFO] [stdout] 68 | |             .map(|x| bytes.extend_from_slice(&x.as_bytes()));
[INFO] [stdout]    | |____________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: iterators are lazy and do nothing unless consumed
[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] 66 |         let _ = self.chunks
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `Iterator::map` call that discard the iterator's values
[INFO] [stdout]   --> src/png.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |             .map(|x| bytes.extend_from_slice(&x.as_bytes()));
[INFO] [stdout]    |              ^^^^------------------------------------------^
[INFO] [stdout]    |              |   |
[INFO] [stdout]    |              |   this function returns `()`, which is likely not what you wanted
[INFO] [stdout]    |              |   called `Iterator::map` with callable that returns `()`
[INFO] [stdout]    |              after this call to map, the resulting iterator is `impl Iterator<Item = ()>`, which means the only information carried by the iterator is the number of items
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Iterator::map`, like many of the methods on `Iterator`, gets executed lazily, meaning that its effects won't be visible until it is iterated
[INFO] [stdout]    = note: `#[warn(map_unit_fn)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to use `Iterator::for_each`
[INFO] [stdout]    |
[INFO] [stdout] 68 -             .map(|x| bytes.extend_from_slice(&x.as_bytes()));
[INFO] [stdout] 68 +             .for_each(|x| bytes.extend_from_slice(&x.as_bytes()));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] running `Command { std: "docker" "inspect" "f033013ae4bff6d4d10a09916e7f408e8208011343ede873b437930e605e6e9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f033013ae4bff6d4d10a09916e7f408e8208011343ede873b437930e605e6e9f", kill_on_drop: false }`
[INFO] [stdout] f033013ae4bff6d4d10a09916e7f408e8208011343ede873b437930e605e6e9f
