[INFO] cloning repository https://github.com/Kadphol/pngme-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kadphol/pngme-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKadphol%2Fpngme-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKadphol%2Fpngme-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 577e379cf51a8c2ab43ba7fcaf3670ddad0b8722 [INFO] checking Kadphol/pngme-tutorial against try#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKadphol%2Fpngme-tutorial" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Kadphol/pngme-tutorial [INFO] finished tweaking git repo https://github.com/Kadphol/pngme-tutorial [INFO] tweaked toml for git repo https://github.com/Kadphol/pngme-tutorial written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kadphol/pngme-tutorial on toolchain 51de2e90f91fdec6cf64ff542a4e15b9c177a797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kadphol/pngme-tutorial 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" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3911fe2c08258540ccfd9219db065ef7ea2061862fe978ec81b9c35e7a95c967 [INFO] running `Command { std: "docker" "start" "-a" "3911fe2c08258540ccfd9219db065ef7ea2061862fe978ec81b9c35e7a95c967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3911fe2c08258540ccfd9219db065ef7ea2061862fe978ec81b9c35e7a95c967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3911fe2c08258540ccfd9219db065ef7ea2061862fe978ec81b9c35e7a95c967", kill_on_drop: false }` [INFO] [stdout] 3911fe2c08258540ccfd9219db065ef7ea2061862fe978ec81b9c35e7a95c967 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b385fab2d1aea159383542c4416e30712a8d515629c5b4bc1825ea7ea3e6cea [INFO] running `Command { std: "docker" "start" "-a" "0b385fab2d1aea159383542c4416e30712a8d515629c5b4bc1825ea7ea3e6cea", kill_on_drop: false }` [INFO] [stderr] Checking pngme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ChunkType` is never constructed [INFO] [stdout] --> src/chunk_type.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ChunkType([u8; 4]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/chunk_type.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl ChunkType { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 58 | pub fn from(bytes: [u8; 4]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn bytes(&self) -> [u8; 4] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn is_critical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn is_public(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn is_reserved_bit_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn is_valid_byte(byte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/chunk_type.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkType` is never constructed [INFO] [stdout] --> src/chunk_type.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ChunkType([u8; 4]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/chunk_type.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl ChunkType { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 58 | pub fn from(bytes: [u8; 4]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn bytes(&self) -> [u8; 4] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn is_critical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn is_public(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn is_reserved_bit_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn is_valid_byte(byte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/chunk_type.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chunk_type_from_bytes` is never used [INFO] [stdout] --> src/chunk_type.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn test_chunk_type_from_bytes() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chunk_type_from_str` is never used [INFO] [stdout] --> src/chunk_type.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn test_chunk_type_from_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chunk_type_is_critical` is never used [INFO] [stdout] --> src/chunk_type.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn test_chunk_type_is_critical() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chunk_type_is_not_critical` is never used [INFO] [stdout] --> src/chunk_type.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn test_chunk_type_is_not_critical() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chunk_type_is_public` is never used [INFO] [stdout] --> src/chunk_type.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn test_chunk_type_is_public() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chunk_type_is_not_public` is never used [INFO] [stdout] --> src/chunk_type.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn test_chunk_type_is_not_public() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chunk_type_is_reserved_bit_valid` is never used [INFO] [stdout] --> src/chunk_type.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn test_chunk_type_is_reserved_bit_valid() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chunk_type_is_reserved_bit_invalid` is never used [INFO] [stdout] --> src/chunk_type.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn test_chunk_type_is_reserved_bit_invalid() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chunk_type_is_safe_to_copy` is never used [INFO] [stdout] --> src/chunk_type.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn test_chunk_type_is_safe_to_copy() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chunk_type_is_unsafe_to_copy` is never used [INFO] [stdout] --> src/chunk_type.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn test_chunk_type_is_unsafe_to_copy() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_valid_chunk_is_valid` is never used [INFO] [stdout] --> src/chunk_type.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn test_valid_chunk_is_valid() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_invalid_chunk_is_valid` is never used [INFO] [stdout] --> src/chunk_type.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn test_invalid_chunk_is_valid() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chunk_type_string` is never used [INFO] [stdout] --> src/chunk_type.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn test_chunk_type_string() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chunk_type_trait_impls` is never used [INFO] [stdout] --> src/chunk_type.rs:191:16 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn test_chunk_type_trait_impls() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "0b385fab2d1aea159383542c4416e30712a8d515629c5b4bc1825ea7ea3e6cea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b385fab2d1aea159383542c4416e30712a8d515629c5b4bc1825ea7ea3e6cea", kill_on_drop: false }` [INFO] [stdout] 0b385fab2d1aea159383542c4416e30712a8d515629c5b4bc1825ea7ea3e6cea