[INFO] cloning repository https://github.com/markusdemedeiros/pngme [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/markusdemedeiros/pngme" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkusdemedeiros%2Fpngme", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkusdemedeiros%2Fpngme'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e102de5b8e7f30be0a5b6870b991dbd11850a5f [INFO] building markusdemedeiros/pngme against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkusdemedeiros%2Fpngme" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/markusdemedeiros/pngme on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/markusdemedeiros/pngme [INFO] finished tweaking git repo https://github.com/markusdemedeiros/pngme [INFO] tweaked toml for git repo https://github.com/markusdemedeiros/pngme written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/markusdemedeiros/pngme 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ec042d26d854d747aefd6b5468cc3d9c6808c17c9723656744deff58bcd24ff [INFO] running `Command { std: "docker" "start" "-a" "1ec042d26d854d747aefd6b5468cc3d9c6808c17c9723656744deff58bcd24ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ec042d26d854d747aefd6b5468cc3d9c6808c17c9723656744deff58bcd24ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ec042d26d854d747aefd6b5468cc3d9c6808c17c9723656744deff58bcd24ff", kill_on_drop: false }` [INFO] [stdout] 1ec042d26d854d747aefd6b5468cc3d9c6808c17c9723656744deff58bcd24ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bef4c510680a945e3f5e8afa4bdb327c5d399cdfa05601a3104b58ee4e28ee1e [INFO] running `Command { std: "docker" "start" "-a" "bef4c510680a945e3f5e8afa4bdb327c5d399cdfa05601a3104b58ee4e28ee1e", kill_on_drop: false }` [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling pngme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Chunk_IHDR` should have an upper camel case name [INFO] [stdout] --> src/chunk_spec.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Chunk_IHDR { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ChunkIhdr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Chunk_IDAT` should have an upper camel case name [INFO] [stdout] --> src/chunk_spec.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | struct Chunk_IDAT {} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ChunkIdat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Chunk_IEND` should have an upper camel case name [INFO] [stdout] --> src/chunk_spec.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct Chunk_IEND {} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ChunkIend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/png_util.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | io::{self, Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/png_util.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{chunk_type::ChunkType, png::Png, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::once` [INFO] [stdout] --> src/png.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{convert::TryFrom, convert::TryInto, fmt::Display, iter::once}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/png.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | chunk::{self, Chunk}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/chunk_spec.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | other => self.bit_depth, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn throw_string_error(s: &'static str) -> Error { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `data`, `data_as_string`, and `as_bytes` are never used [INFO] [stdout] --> src/chunk.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Chunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn new(chunk_type: ChunkType, data: Vec) -> Chunk { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn data_as_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ChunkSpec` is never used [INFO] [stdout] --> src/chunk_spec.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | trait ChunkSpec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk_IHDR` is never constructed [INFO] [stdout] --> src/chunk_spec.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Chunk_IHDR { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColorType` is never used [INFO] [stdout] --> src/chunk_spec.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum ColorType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompressionMethod` is never used [INFO] [stdout] --> src/chunk_spec.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum CompressionMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilterMethod` is never used [INFO] [stdout] --> src/chunk_spec.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum FilterMethod { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InterlaceMethod` is never used [INFO] [stdout] --> src/chunk_spec.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | enum InterlaceMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pallate_used`, `color_used`, `alpha_used`, and `allowed_bit_depth` are never used [INFO] [stdout] --> src/chunk_spec.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl ColorType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 41 | fn pallate_used(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn color_used(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn alpha_used(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn allowed_bit_depth(self, depth: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sample_depth` is never used [INFO] [stdout] --> src/chunk_spec.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 70 | impl Chunk_IHDR { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 71 | fn sample_depth(self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk_IDAT` is never constructed [INFO] [stdout] --> src/chunk_spec.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | struct Chunk_IDAT {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk_IEND` is never constructed [INFO] [stdout] --> src/chunk_spec.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct Chunk_IEND {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_png` is never used [INFO] [stdout] --> src/png_util.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn read_png(filepath: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_headers` is never used [INFO] [stdout] --> src/png_util.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn chunk_headers(png: Png) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_headers_show` is never used [INFO] [stdout] --> src/png_util.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn chunk_headers_show(png: Png) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/png.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Png { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 48 | pub const STANDARD_HEADER: [u8; 8] = [137, 80, 78, 71, 13, 10, 26, 10]; [INFO] [stdout] 49 | pub fn from_chunks(chunks: Vec) -> Png { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn append_chunk(&mut self, chunk: Chunk) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn remove_chunk(&mut self, chunk_type: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn header(&self) -> &[u8; 8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn chunks(&self) -> &[Chunk] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn chunk_by_type(&self, chunk_type: &str) -> Option<&Chunk> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "bef4c510680a945e3f5e8afa4bdb327c5d399cdfa05601a3104b58ee4e28ee1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bef4c510680a945e3f5e8afa4bdb327c5d399cdfa05601a3104b58ee4e28ee1e", kill_on_drop: false }` [INFO] [stdout] bef4c510680a945e3f5e8afa4bdb327c5d399cdfa05601a3104b58ee4e28ee1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed7c104618c805d96f06892d6085338816c3cfd1d465ad0965ea9d658a83965e [INFO] running `Command { std: "docker" "start" "-a" "ed7c104618c805d96f06892d6085338816c3cfd1d465ad0965ea9d658a83965e", kill_on_drop: false }` [INFO] [stderr] Compiling pngme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Chunk_IHDR` should have an upper camel case name [INFO] [stdout] --> src/chunk_spec.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Chunk_IHDR { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ChunkIhdr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Chunk_IDAT` should have an upper camel case name [INFO] [stdout] --> src/chunk_spec.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | struct Chunk_IDAT {} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ChunkIdat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Chunk_IEND` should have an upper camel case name [INFO] [stdout] --> src/chunk_spec.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct Chunk_IEND {} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ChunkIend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/png_util.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | io::{self, Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/png_util.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{chunk_type::ChunkType, png::Png, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::once` [INFO] [stdout] --> src/png.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{convert::TryFrom, convert::TryInto, fmt::Display, iter::once}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/png.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | chunk::{self, Chunk}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/chunk_spec.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | other => self.bit_depth, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn throw_string_error(s: &'static str) -> Error { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ChunkSpec` is never used [INFO] [stdout] --> src/chunk_spec.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | trait ChunkSpec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk_IHDR` is never constructed [INFO] [stdout] --> src/chunk_spec.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Chunk_IHDR { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColorType` is never used [INFO] [stdout] --> src/chunk_spec.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum ColorType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompressionMethod` is never used [INFO] [stdout] --> src/chunk_spec.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum CompressionMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilterMethod` is never used [INFO] [stdout] --> src/chunk_spec.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum FilterMethod { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InterlaceMethod` is never used [INFO] [stdout] --> src/chunk_spec.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | enum InterlaceMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pallate_used`, `color_used`, `alpha_used`, and `allowed_bit_depth` are never used [INFO] [stdout] --> src/chunk_spec.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl ColorType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 41 | fn pallate_used(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn color_used(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn alpha_used(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn allowed_bit_depth(self, depth: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sample_depth` is never used [INFO] [stdout] --> src/chunk_spec.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 70 | impl Chunk_IHDR { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 71 | fn sample_depth(self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk_IDAT` is never constructed [INFO] [stdout] --> src/chunk_spec.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | struct Chunk_IDAT {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk_IEND` is never constructed [INFO] [stdout] --> src/chunk_spec.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct Chunk_IEND {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_headers` is never used [INFO] [stdout] --> src/png_util.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn chunk_headers(png: Png) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header` is never used [INFO] [stdout] --> src/png.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Png { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn header(&self) -> &[u8; 8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "ed7c104618c805d96f06892d6085338816c3cfd1d465ad0965ea9d658a83965e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed7c104618c805d96f06892d6085338816c3cfd1d465ad0965ea9d658a83965e", kill_on_drop: false }` [INFO] [stdout] ed7c104618c805d96f06892d6085338816c3cfd1d465ad0965ea9d658a83965e