[INFO] cloning repository https://github.com/sh0n0/PNGme-Impl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sh0n0/PNGme-Impl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsh0n0%2FPNGme-Impl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsh0n0%2FPNGme-Impl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07dc7709d1e504ef947724ee2e7b8849de5dafe1 [INFO] checking sh0n0/PNGme-Impl against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsh0n0%2FPNGme-Impl" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sh0n0/PNGme-Impl on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sh0n0/PNGme-Impl [INFO] finished tweaking git repo https://github.com/sh0n0/PNGme-Impl [INFO] tweaked toml for git repo https://github.com/sh0n0/PNGme-Impl written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sh0n0/PNGme-Impl 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crc-catalog v1.1.1 [INFO] [stderr] Downloaded crc v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30b7294343f424208aa28d99fe81011e42fcd15f2b650c81277c64cdf8771350 [INFO] running `Command { std: "docker" "start" "-a" "30b7294343f424208aa28d99fe81011e42fcd15f2b650c81277c64cdf8771350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30b7294343f424208aa28d99fe81011e42fcd15f2b650c81277c64cdf8771350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30b7294343f424208aa28d99fe81011e42fcd15f2b650c81277c64cdf8771350", kill_on_drop: false }` [INFO] [stdout] 30b7294343f424208aa28d99fe81011e42fcd15f2b650c81277c64cdf8771350 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ba85db6333d4005bd503cfc634ca16333e49aabd6ce00ef0f6e2e235c174bbd [INFO] running `Command { std: "docker" "start" "-a" "9ba85db6333d4005bd503cfc634ca16333e49aabd6ce00ef0f6e2e235c174bbd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking crc-catalog v1.1.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crc v2.1.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking pngme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/chunk.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/chunk_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/png.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ChunkType` is imported redundantly [INFO] [stdout] --> src/chunk.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | use super::*; [INFO] [stdout] | -------- the item `ChunkType` is already imported here [INFO] [stdout] 111 | use crate::chunk_type::ChunkType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/chunk_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/chunk_type.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 96 | use super::*; [INFO] [stdout] | -------- the item `TryFrom` is already imported here [INFO] [stdout] 97 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/chunk_type.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 96 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] 97 | use std::convert::TryFrom; [INFO] [stdout] 98 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/png.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Chunk` is imported redundantly [INFO] [stdout] --> src/png.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 124 | use super::*; [INFO] [stdout] | -------- the item `Chunk` is already imported here [INFO] [stdout] 125 | use crate::chunk::Chunk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ChunkType` is imported redundantly [INFO] [stdout] --> src/png.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 124 | use super::*; [INFO] [stdout] | -------- the item `ChunkType` is already imported here [INFO] [stdout] 125 | use crate::chunk::Chunk; [INFO] [stdout] 126 | use crate::chunk_type::ChunkType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/png.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 124 | use super::*; [INFO] [stdout] | -------- the item `TryFrom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 127 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/png.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 124 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 128 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/png.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 128 | use std::str::FromStr; [INFO] [stdout] | ----------------- the item `FromStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 146 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/png.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_critical`, `is_public`, `is_reserved_bit_valid`, `is_safe_to_copy`, and `is_valid` are never used [INFO] [stdout] --> src/chunk_type.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ChunkType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn is_critical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn is_public(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn is_reserved_bit_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header` is never used [INFO] [stdout] --> src/png.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Png { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn header(&self) -> &[u8; 8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header` is never used [INFO] [stdout] --> src/png.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Png { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn header(&self) -> &[u8; 8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.77s [INFO] running `Command { std: "docker" "inspect" "9ba85db6333d4005bd503cfc634ca16333e49aabd6ce00ef0f6e2e235c174bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ba85db6333d4005bd503cfc634ca16333e49aabd6ce00ef0f6e2e235c174bbd", kill_on_drop: false }` [INFO] [stdout] 9ba85db6333d4005bd503cfc634ca16333e49aabd6ce00ef0f6e2e235c174bbd