[INFO] cloning repository https://github.com/fredski02/picmes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fredski02/picmes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredski02%2Fpicmes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredski02%2Fpicmes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredski02%2Fpicmes/hooks/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/fredski02/picmes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fredski02/picmes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredski02%2Fpicmes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredski02%2Fpicmes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fc16d432c959e76e97a617c2182c0471bda41cd [INFO] checking fredski02/picmes against master#fce0e74720d199eb7839fdb51af35ac5226da178 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredski02%2Fpicmes" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fredski02/picmes [INFO] finished tweaking git repo https://github.com/fredski02/picmes [INFO] tweaked toml for git repo https://github.com/fredski02/picmes written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fredski02/picmes on toolchain fce0e74720d199eb7839fdb51af35ac5226da178 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fredski02/picmes 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" "+fce0e74720d199eb7839fdb51af35ac5226da178" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55da7d2a365d8343d5881bdd7279bbbc3d2fa8847ca64edc6e13e0226d56f5ac [INFO] running `Command { std: "docker" "start" "-a" "55da7d2a365d8343d5881bdd7279bbbc3d2fa8847ca64edc6e13e0226d56f5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55da7d2a365d8343d5881bdd7279bbbc3d2fa8847ca64edc6e13e0226d56f5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55da7d2a365d8343d5881bdd7279bbbc3d2fa8847ca64edc6e13e0226d56f5ac", kill_on_drop: false }` [INFO] [stdout] 55da7d2a365d8343d5881bdd7279bbbc3d2fa8847ca64edc6e13e0226d56f5ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 709fe7691174b6f86a98ba663fdbc9eceeb99ed1fd3f15e61ec778035cb4df04 [INFO] running `Command { std: "docker" "start" "-a" "709fe7691174b6f86a98ba663fdbc9eceeb99ed1fd3f15e61ec778035cb4df04", kill_on_drop: false }` [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking picmes v0.1.0 (/opt/rustwide/workdir) [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chunk::Chunk` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chunk::Chunk; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chunk_type::ChunkType` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chunk_type::ChunkType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `png::Png` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use png::Png; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/chunk_type.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | .all(|&b| (b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z'))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - .all(|&b| (b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z'))); [INFO] [stdout] 122 + .all(|&b| b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z')); [INFO] [stdout] | [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chunk::Chunk` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chunk::Chunk; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chunk_type::ChunkType` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chunk_type::ChunkType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `png::Png` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use png::Png; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/chunk_type.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | .all(|&b| (b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z'))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - .all(|&b| (b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z'))); [INFO] [stdout] 122 + .all(|&b| b >= b'a' && b <= b'z' || (b >= b'A' && b <= b'Z')); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHECK_SUM_32` is never used [INFO] [stdout] --> src/chunk.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const CHECK_SUM_32: Crc = Crc::::new(&CRC_32_ISO_HDLC); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChunkError` is never used [INFO] [stdout] --> src/chunk.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum ChunkError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk` is never constructed [INFO] [stdout] --> src/chunk.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/chunk.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 38 | impl Chunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 39 | pub const LEN_DATA_LENGTH: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub const CHUNK_TYPE_LENGTH: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub const CRC_LENGTH: usize = 4; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | pub const META_DATA_LENGTH: usize = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn new(chunk_type: ChunkType, chunk_data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn chunk_type(&self) -> &ChunkType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn crc(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn data_as_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChunkTypeError` is never used [INFO] [stdout] --> src/chunk_type.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ChunkTypeError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkType` is never constructed [INFO] [stdout] --> src/chunk_type.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ChunkType(pub [u8; 4]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bytes`, `is_critical`, `is_public`, `is_reserved_bit_valid`, `is_safe_to_copy`, and `is_valid` are never used [INFO] [stdout] --> src/chunk_type.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl ChunkType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 69 | pub fn bytes(&self) -> [u8; 4] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_critical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn is_public(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn is_reserved_bit_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PngError` is never used [INFO] [stdout] --> src/png.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum PngError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Png` is never constructed [INFO] [stdout] --> src/png.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Png { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/png.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 39 | impl Png { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 40 | pub const HEADER_LENGTH: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub const STANDARD_HEADER: [u8; 8] = [137, 80, 78, 71, 13, 10, 26, 10]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | pub fn from_chunks(chunks: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn chunks(&self) -> &Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn header(&self) -> &[u8; 8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn append_chunk(&mut self, chunk: Chunk) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn remove_chunk(&mut self, chunk_type: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn chunk_by_type(&self, chunk_type: &str) -> Option<&Chunk> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `HEADER_LENGTH` is never used [INFO] [stdout] --> src/png.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 39 | impl Png { [INFO] [stdout] | -------- associated constant in this implementation [INFO] [stdout] 40 | pub const HEADER_LENGTH: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "709fe7691174b6f86a98ba663fdbc9eceeb99ed1fd3f15e61ec778035cb4df04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "709fe7691174b6f86a98ba663fdbc9eceeb99ed1fd3f15e61ec778035cb4df04", kill_on_drop: false }` [INFO] [stdout] 709fe7691174b6f86a98ba663fdbc9eceeb99ed1fd3f15e61ec778035cb4df04