[INFO] cloning repository https://github.com/EdGavin98/PNG-Decoder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EdGavin98/PNG-Decoder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdGavin98%2FPNG-Decoder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdGavin98%2FPNG-Decoder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d050986d0568c8998e6e35c4eaeba42c22aa7940 [INFO] checking EdGavin98/PNG-Decoder against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdGavin98%2FPNG-Decoder" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EdGavin98/PNG-Decoder on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EdGavin98/PNG-Decoder [INFO] finished tweaking git repo https://github.com/EdGavin98/PNG-Decoder [INFO] tweaked toml for git repo https://github.com/EdGavin98/PNG-Decoder written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/EdGavin98/PNG-Decoder already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a715c3beef09f843f9e55ae68a6b8e4431e64d3009c315a226556c7aa66216e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9a715c3beef09f843f9e55ae68a6b8e4431e64d3009c315a226556c7aa66216e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a715c3beef09f843f9e55ae68a6b8e4431e64d3009c315a226556c7aa66216e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a715c3beef09f843f9e55ae68a6b8e4431e64d3009c315a226556c7aa66216e", kill_on_drop: false }` [INFO] [stdout] 9a715c3beef09f843f9e55ae68a6b8e4431e64d3009c315a226556c7aa66216e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33bfebeedeb4e853290305c30088be0c56ccec2033ecfe002fd96f73e408ad25 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "33bfebeedeb4e853290305c30088be0c56ccec2033ecfe002fd96f73e408ad25", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Checking structopt v0.3.15 [INFO] [stderr] Checking pngme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/png.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `data` [INFO] [stdout] --> src/chunk.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | 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: associated function is never used: `is_valid` [INFO] [stdout] --> src/chunk_type.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_critical` [INFO] [stdout] --> src/chunk_type.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn is_critical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_public` [INFO] [stdout] --> src/chunk_type.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn is_public(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_reserved_bit_valid` [INFO] [stdout] --> src/chunk_type.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn is_reserved_bit_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_safe_to_copy` [INFO] [stdout] --> src/chunk_type.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_chunks` [INFO] [stdout] --> src/png.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from_chunks(chunks: Vec) -> Png { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `header` [INFO] [stdout] --> src/png.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn header(&self) -> &[u8; 8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `chunks` [INFO] [stdout] --> src/png.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn chunks(&self) -> &[Chunk] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/png.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `data` [INFO] [stdout] --> src/chunk.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | 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: associated function is never used: `header` [INFO] [stdout] --> src/png.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn header(&self) -> &[u8; 8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.14s [INFO] running `Command { std: "docker" "inspect" "33bfebeedeb4e853290305c30088be0c56ccec2033ecfe002fd96f73e408ad25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33bfebeedeb4e853290305c30088be0c56ccec2033ecfe002fd96f73e408ad25", kill_on_drop: false }` [INFO] [stdout] 33bfebeedeb4e853290305c30088be0c56ccec2033ecfe002fd96f73e408ad25