[INFO] cloning repository https://github.com/ashwinp15/rust-png-cryptex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashwinp15/rust-png-cryptex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashwinp15%2Frust-png-cryptex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashwinp15%2Frust-png-cryptex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 531cb4180aed267b544795b3843e2352a2de0582 [INFO] checking ashwinp15/rust-png-cryptex/531cb4180aed267b544795b3843e2352a2de0582 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashwinp15%2Frust-png-cryptex" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ashwinp15/rust-png-cryptex on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ashwinp15/rust-png-cryptex [INFO] finished tweaking git repo https://github.com/ashwinp15/rust-png-cryptex [INFO] tweaked toml for git repo https://github.com/ashwinp15/rust-png-cryptex written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ashwinp15/rust-png-cryptex 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 395b8640dc08e412ac2826e0a0cbf4badec94f5c3cf10bd8555b63e9ff04f137 [INFO] running `Command { std: "docker" "start" "-a" "395b8640dc08e412ac2826e0a0cbf4badec94f5c3cf10bd8555b63e9ff04f137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "395b8640dc08e412ac2826e0a0cbf4badec94f5c3cf10bd8555b63e9ff04f137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "395b8640dc08e412ac2826e0a0cbf4badec94f5c3cf10bd8555b63e9ff04f137", kill_on_drop: false }` [INFO] [stdout] 395b8640dc08e412ac2826e0a0cbf4badec94f5c3cf10bd8555b63e9ff04f137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c13429679839521132e96e004657171a4168da16c561f83aaf51a733639bc687 [INFO] running `Command { std: "docker" "start" "-a" "c13429679839521132e96e004657171a4168da16c561f83aaf51a733639bc687", kill_on_drop: false }` [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking rust-png-cryptex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `from_utf8` [INFO] [stdout] --> src/chunk_type.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{result::Result, str::{FromStr, from_utf8}, ops::BitAnd, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `from_utf8` [INFO] [stdout] --> src/chunk_type.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{result::Result, str::{FromStr, from_utf8}, ops::BitAnd, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> src/png.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | fn append_chunk(&mut self, chunk: Chunk) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chunk_type`, `chunk_data`, and `crc` are never read [INFO] [stdout] --> src/chunk.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Chunk { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | length: u32, [INFO] [stdout] 8 | chunk_type: ChunkType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | chunk_data: Box<[u8]> , [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | crc: u32 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `chunk_type`, `data`, `crc`, `data_as_string`, and `as_bytes` are never used [INFO] [stdout] --> src/chunk.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Chunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 67 | [INFO] [stdout] 68 | pub fn new(chunk_type: ChunkType, data: Vec) -> Chunk { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn chunk_type(&self) -> &ChunkType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn crc(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn data_as_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_critical`, `is_public`, `is_reserved_bit_valid`, and `is_safe_to_copy` are never used [INFO] [stdout] --> src/chunk_type.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl ChunkType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn is_critical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn is_public(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn is_reserved_bit_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `chunks` are never read [INFO] [stdout] --> src/png.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Png { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 8 | header: [u8; 8], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | chunks: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ChunkError` is never used [INFO] [stdout] --> src/png.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type ChunkError = &'static str; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_chunks`, `append_chunk`, `chunks`, and `chunk_by_type` are never used [INFO] [stdout] --> src/png.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Png { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | fn from_chunks(chunks: Vec) -> Png { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn append_chunk(&mut self, chunk: Chunk) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn chunks(&self) -> &[Chunk] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn chunk_by_type(&self, chunk_type: &str) -> Option<&Chunk> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> src/png.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | fn append_chunk(&mut self, chunk: Chunk) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `data` is never used [INFO] [stdout] --> src/chunk.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/png.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Png { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 8 | header: [u8; 8], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PNG_FILE` is never used [INFO] [stdout] --> src/png.rs:243:11 [INFO] [stdout] | [INFO] [stdout] 243 | const PNG_FILE: [u8; 4803] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "c13429679839521132e96e004657171a4168da16c561f83aaf51a733639bc687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c13429679839521132e96e004657171a4168da16c561f83aaf51a733639bc687", kill_on_drop: false }` [INFO] [stdout] c13429679839521132e96e004657171a4168da16c561f83aaf51a733639bc687