[INFO] cloning repository https://github.com/bcliden/PngCushion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bcliden/PngCushion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbcliden%2FPngCushion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbcliden%2FPngCushion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e1e6a729944c6fb43aeed0d89a401e62c505c1d [INFO] building bcliden/PngCushion against try#c38f3f86763ea281f7c555c13ef11baad4a4fff4 for pr-111698 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbcliden%2FPngCushion" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bcliden/PngCushion on toolchain c38f3f86763ea281f7c555c13ef11baad4a4fff4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c38f3f86763ea281f7c555c13ef11baad4a4fff4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bcliden/PngCushion [INFO] finished tweaking git repo https://github.com/bcliden/PngCushion [INFO] tweaked toml for git repo https://github.com/bcliden/PngCushion written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bcliden/PngCushion 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" "+c38f3f86763ea281f7c555c13ef11baad4a4fff4" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+c38f3f86763ea281f7c555c13ef11baad4a4fff4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc207c4d03619f66658f72dbb8490456ede4d4e561339842bb8a43e0d20ded30 [INFO] running `Command { std: "docker" "start" "-a" "dc207c4d03619f66658f72dbb8490456ede4d4e561339842bb8a43e0d20ded30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc207c4d03619f66658f72dbb8490456ede4d4e561339842bb8a43e0d20ded30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc207c4d03619f66658f72dbb8490456ede4d4e561339842bb8a43e0d20ded30", kill_on_drop: false }` [INFO] [stdout] dc207c4d03619f66658f72dbb8490456ede4d4e561339842bb8a43e0d20ded30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+c38f3f86763ea281f7c555c13ef11baad4a4fff4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc7897248d29ac36516c7ca6b143a36153bf7834dc873d0703c44a02c1bfae6d [INFO] running `Command { std: "docker" "start" "-a" "fc7897248d29ac36516c7ca6b143a36153bf7834dc873d0703c44a02c1bfae6d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling os_str_bytes v6.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling crc-catalog v2.1.0 [INFO] [stderr] Compiling crc v3.0.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling png-cushion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `get_fifth_bit` is never used [INFO] [stdout] --> src/chunk_type.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn get_fifth_bit(byte: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_valid`, `is_critical`, `is_public`, `is_reserved_bit_valid`, and `is_safe_to_copy` are never used [INFO] [stdout] --> src/chunk_type.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ChunkType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn is_critical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_public(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn is_reserved_bit_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_chunks`, `header`, and `chunks` are never used [INFO] [stdout] --> src/png.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Png { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn from_chunks(chunks: Vec) -> Png { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn header(&self) -> &[u8; 8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn chunks(&self) -> &[Chunk] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_PNG_bytes` should have a snake case name [INFO] [stdout] --> src/chunk_type.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn valid_PNG_bytes(bytes: [u8; 4]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_png_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.56s [INFO] running `Command { std: "docker" "inspect" "fc7897248d29ac36516c7ca6b143a36153bf7834dc873d0703c44a02c1bfae6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7897248d29ac36516c7ca6b143a36153bf7834dc873d0703c44a02c1bfae6d", kill_on_drop: false }` [INFO] [stdout] fc7897248d29ac36516c7ca6b143a36153bf7834dc873d0703c44a02c1bfae6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+c38f3f86763ea281f7c555c13ef11baad4a4fff4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af5886043b0e7d7bb0bcfde0f83363629f71da4fdf930db6fe212e3b3c3f4739 [INFO] running `Command { std: "docker" "start" "-a" "af5886043b0e7d7bb0bcfde0f83363629f71da4fdf930db6fe212e3b3c3f4739", kill_on_drop: false }` [INFO] [stderr] Compiling png-cushion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/png.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 100 | use std::str::FromStr; [INFO] [stdout] | ----------------- the item `FromStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 118 | 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: `std::str::FromStr` [INFO] [stdout] --> src/png.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header` is never used [INFO] [stdout] --> src/png.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Png { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | 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: function `valid_PNG_bytes` should have a snake case name [INFO] [stdout] --> src/chunk_type.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn valid_PNG_bytes(bytes: [u8; 4]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_png_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.40s [INFO] running `Command { std: "docker" "inspect" "af5886043b0e7d7bb0bcfde0f83363629f71da4fdf930db6fe212e3b3c3f4739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af5886043b0e7d7bb0bcfde0f83363629f71da4fdf930db6fe212e3b3c3f4739", kill_on_drop: false }` [INFO] [stdout] af5886043b0e7d7bb0bcfde0f83363629f71da4fdf930db6fe212e3b3c3f4739