[INFO] cloning repository https://github.com/justmedusty/veritasobscura
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justmedusty/veritasobscura" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustmedusty%2Fveritasobscura", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustmedusty%2Fveritasobscura'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fd23366aa9903bc53877cba295ddf5ce08065c86
[INFO] testing justmedusty/veritasobscura against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustmedusty%2Fveritasobscura" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/justmedusty/veritasobscura
[INFO] finished tweaking git repo https://github.com/justmedusty/veritasobscura
[INFO] tweaked toml for git repo https://github.com/justmedusty/veritasobscura written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/justmedusty/veritasobscura on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/justmedusty/veritasobscura 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 06824fdea9820e4e1a352920d738d0ab3a0758e75939b3a2c867c8bc9652893c
[INFO] running `Command { std: "docker" "start" "-a" "06824fdea9820e4e1a352920d738d0ab3a0758e75939b3a2c867c8bc9652893c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "06824fdea9820e4e1a352920d738d0ab3a0758e75939b3a2c867c8bc9652893c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06824fdea9820e4e1a352920d738d0ab3a0758e75939b3a2c867c8bc9652893c", kill_on_drop: false }`
[INFO] [stdout] 06824fdea9820e4e1a352920d738d0ab3a0758e75939b3a2c867c8bc9652893c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 7b4b36547a9c85ada873b22daeb3efc220bfaa36d6102e914d194c590bfecb34
[INFO] running `Command { std: "docker" "start" "-a" "7b4b36547a9c85ada873b22daeb3efc220bfaa36d6102e914d194c590bfecb34", kill_on_drop: false }`
[INFO] [stderr]    Compiling simd-adler32 v0.3.8
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling veritasobscura v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::process::CommandArgs`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::process::CommandArgs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/filetype_support/bmp.rs:375:23
[INFO] [stdout]     |
[INFO] [stdout] 375 |                     if(self.pixel_size == 3){
[INFO] [stdout]     |                       ^                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 375 -                     if(self.pixel_size == 3){
[INFO] [stdout] 375 +                     if self.pixel_size == 3 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/filetype_support/bmp.rs:407:23
[INFO] [stdout]     |
[INFO] [stdout] 407 |                     if(self.pixel_size == 3){
[INFO] [stdout]     |                       ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 407 -                     if(self.pixel_size == 3){
[INFO] [stdout] 407 +                     if self.pixel_size == 3 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::file_encoding_support::pixel::embed_lsb_data_right_left`
[INFO] [stdout]   --> src/filetype_support/test.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::file_encoding_support::pixel::embed_lsb_data_right_left;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileEncodingFunctionDerivation`, `FileEncodingMethod`, `FileEncodingSupport`, and `FileEncoding`
[INFO] [stdout]   --> src/filetype_support/png.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     FileEncoding, FileEncodingFunctionDerivation, FileEncodingMethod, FileEncodingSupport,
[INFO] [stdout]    |     ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pixel`, `embed_lsb_data_left_right`, and `extract_lsb_data_left_right`
[INFO] [stdout]   --> src/filetype_support/png.rs:22:43
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::file_encoding_support::pixel::{embed_lsb_data_left_right, extract_lsb_data_left_right, Pixel};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/filetype_support/png.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]   --> src/filetype_support/png.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::{Read, Write};
[INFO] [stdout]    |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]   --> src/filetype_support/png.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use std::mem;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]   --> src/filetype_support/png.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use std::process::exit;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AddAssign`, `BitOrAssign`, `BitXorAssign`, `BitXor`, and `Sub`
[INFO] [stdout]   --> src/file_encoding_support/pixel.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::ops::{AddAssign, BitOrAssign, BitXor, BitXorAssign, Sub, SubAssign};
[INFO] [stdout]    |                ^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:255:12
[INFO] [stdout]     |
[INFO] [stdout] 255 |         if (pixel.pixel_size() ==4 && (fourth & (1 << i)) == 0) {
[INFO] [stdout]     |            ^                                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 255 -         if (pixel.pixel_size() ==4 && (fourth & (1 << i)) == 0) {
[INFO] [stdout] 255 +         if pixel.pixel_size() ==4 && (fourth & (1 << i)) == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:260:8
[INFO] [stdout]     |
[INFO] [stdout] 260 |     if ((bit == 0 && (ones % 2 == 0)) || (bit != 0 && (ones % 2 != 0))) {
[INFO] [stdout]     |        ^                                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 260 -     if ((bit == 0 && (ones % 2 == 0)) || (bit != 0 && (ones % 2 != 0))) {
[INFO] [stdout] 260 +     if (bit == 0 && (ones % 2 == 0)) || (bit != 0 && (ones % 2 != 0)) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:280:16
[INFO] [stdout]     |
[INFO] [stdout] 280 |             if (pixel.pixel_size() == 4 && (fourth & (1 << i)) == 0) {
[INFO] [stdout]     |                ^                                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 280 -             if (pixel.pixel_size() == 4 && (fourth & (1 << i)) == 0) {
[INFO] [stdout] 280 +             if pixel.pixel_size() == 4 && (fourth & (1 << i)) == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:287:11
[INFO] [stdout]     |
[INFO] [stdout] 287 |         if(!changed){
[INFO] [stdout]     |           ^        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 287 -         if(!changed){
[INFO] [stdout] 287 +         if !changed {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:302:20
[INFO] [stdout]     |
[INFO] [stdout] 302 |                 if (pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0) {
[INFO] [stdout]     |                    ^                                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 302 -                 if (pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0) {
[INFO] [stdout] 302 +                 if pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:343:12
[INFO] [stdout]     |
[INFO] [stdout] 343 |         if (pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0) {
[INFO] [stdout]     |            ^                                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 343 -         if (pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0) {
[INFO] [stdout] 343 +         if pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:349:8
[INFO] [stdout]     |
[INFO] [stdout] 349 |     if (ones % 2 == 0) {
[INFO] [stdout]     |        ^             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 349 -     if (ones % 2 == 0) {
[INFO] [stdout] 349 +     if ones % 2 == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::file_encoding_support`
[INFO] [stdout]   --> src/arg_handling/arg_handling.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use crate::file_encoding_support;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::filetype_support::filetype_support::FileType::Bmp`
[INFO] [stdout]   --> src/arg_handling/arg_handling.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use crate::filetype_support::filetype_support::FileType::Bmp;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/arg_handling/arg_handling.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 |         if (args.len() == 2 && args[1] == "--version") {
[INFO] [stdout]    |            ^                                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 38 -         if (args.len() == 2 && args[1] == "--version") {
[INFO] [stdout] 38 +         if args.len() == 2 && args[1] == "--version" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/arg_handling/arg_handling.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |         if (args.len() < 5 ) {
[INFO] [stdout]    |            ^              ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 42 -         if (args.len() < 5 ) {
[INFO] [stdout] 42 +         if args.len() < 5 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/arg_handling/arg_handling.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |         if (args.len() > 6 ) {
[INFO] [stdout]    |            ^              ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -         if (args.len() > 6 ) {
[INFO] [stdout] 49 +         if args.len() > 6 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around `if` condition
[INFO] [stdout]   --> src/arg_handling/arg_handling.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |         if { args[3] == "embed" &&  args.len() != 6 } {
[INFO] [stdout]    |            ^^                                      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 57 -         if { args[3] == "embed" &&  args.len() != 6 } {
[INFO] [stdout] 57 +         if args[3] == "embed" &&  args.len() != 6 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/arg_handling/arg_handling.rs:100:11
[INFO] [stdout]     |
[INFO] [stdout] 100 |         if(operation == Operation::Embed) {
[INFO] [stdout]     |           ^                             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 100 -         if(operation == Operation::Embed) {
[INFO] [stdout] 100 +         if operation == Operation::Embed {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/arg_handling/arg_handling.rs:115:11
[INFO] [stdout]     |
[INFO] [stdout] 115 |         if(file_ext == "bmp"){
[INFO] [stdout]     |           ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 115 -         if(file_ext == "bmp"){
[INFO] [stdout] 115 +         if file_ext == "bmp" {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:159:30
[INFO] [stdout]     |
[INFO] [stdout] 159 |     fn set_fourth(&mut self, value: u8) {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:164:29
[INFO] [stdout]     |
[INFO] [stdout] 164 |     fn set_alpha(&mut self, value: u8) {
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header_size`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:292:13
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let header_size = std::mem::size_of::<BitmapFileHeader>();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dib_header_size`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:293:13
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let dib_header_size = std::mem::size_of::<BitmapDIBHeader>();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dib_header_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_encoding_function_derivation`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:366:9
[INFO] [stdout]     |
[INFO] [stdout] 366 |         file_encoding_function_derivation: FileEncodingFunctionDerivation,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_encoding_function_derivation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:393:9
[INFO] [stdout]     |
[INFO] [stdout] 393 |         data: Vec<u8>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_encoding_function_derivation`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:396:9
[INFO] [stdout]     |
[INFO] [stdout] 396 |         file_encoding_function_derivation: FileEncodingFunctionDerivation,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_encoding_function_derivation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_vec`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:408:29
[INFO] [stdout]     |
[INFO] [stdout] 408 | ...   let data_vec : Vec<u8> = extract_lsb_data_left_right::<RgbPixel>(&mut self.file_data[self.pixel_map.pixel_map_start as usize....
[INFO] [stdout]     |           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_vec`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:410:29
[INFO] [stdout]     |
[INFO] [stdout] 410 | ...   let data_vec : Vec<u8> = extract_lsb_data_left_right::<RgbaPixel>( &mut self.file_data[self.pixel_map.pixel_map_start as usiz...
[INFO] [stdout]     |           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `embedded_bits`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:320:5
[INFO] [stdout]     |
[INFO] [stdout] 320 |     embedded_bits: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_embedded_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:372:9
[INFO] [stdout]     |
[INFO] [stdout] 372 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:388:13
[INFO] [stdout]     |
[INFO] [stdout] 388 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:434:13
[INFO] [stdout]     |
[INFO] [stdout] 434 |         let mut current_bit: u8 = 0;
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:418:9
[INFO] [stdout]     |
[INFO] [stdout] 418 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:428:13
[INFO] [stdout]     |
[INFO] [stdout] 428 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_bit`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:434:13
[INFO] [stdout]     |
[INFO] [stdout] 434 |         let mut current_bit: u8 = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:466:9
[INFO] [stdout]     |
[INFO] [stdout] 466 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:482:13
[INFO] [stdout]     |
[INFO] [stdout] 482 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:528:13
[INFO] [stdout]     |
[INFO] [stdout] 528 |         let mut current_bit: u8 = 0;
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:512:9
[INFO] [stdout]     |
[INFO] [stdout] 512 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:522:13
[INFO] [stdout]     |
[INFO] [stdout] 522 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_bit`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:528:13
[INFO] [stdout]     |
[INFO] [stdout] 528 |         let mut current_bit: u8 = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:559:9
[INFO] [stdout]     |
[INFO] [stdout] 559 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:575:13
[INFO] [stdout]     |
[INFO] [stdout] 575 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:621:13
[INFO] [stdout]     |
[INFO] [stdout] 621 |         let mut current_bit: u8 = 0;
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:605:9
[INFO] [stdout]     |
[INFO] [stdout] 605 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:615:13
[INFO] [stdout]     |
[INFO] [stdout] 615 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_bit`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:621:13
[INFO] [stdout]     |
[INFO] [stdout] 621 |         let mut current_bit: u8 = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:653:9
[INFO] [stdout]     |
[INFO] [stdout] 653 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:669:13
[INFO] [stdout]     |
[INFO] [stdout] 669 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:699:9
[INFO] [stdout]     |
[INFO] [stdout] 699 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:709:13
[INFO] [stdout]     |
[INFO] [stdout] 709 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pixel_size_bytes`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:741:5
[INFO] [stdout]     |
[INFO] [stdout] 741 |     pixel_size_bytes: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_size_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `embedded_bits`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:742:5
[INFO] [stdout]     |
[INFO] [stdout] 742 |     embedded_bits: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_embedded_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:751:13
[INFO] [stdout]     |
[INFO] [stdout] 751 |         let offset = unsafe {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FileType` is never used
[INFO] [stdout]   --> src/filetype_support/filetype_support.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum FileType{
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BMP_MAGIC` is never used
[INFO] [stdout]   --> src/filetype_support/bmp.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const BMP_MAGIC: u16 = 0x4D42;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BitmapColorTable` is never constructed
[INFO] [stdout]   --> src/filetype_support/bmp.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct BitmapColorTable {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bmp_dib_header` and `image_file` are never read
[INFO] [stdout]    --> src/filetype_support/bmp.rs:98:9
[INFO] [stdout]     |
[INFO] [stdout]  96 | pub struct BmpImageParser {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout]  97 |     pub bmp_header: BitmapFileHeader,
[INFO] [stdout]  98 |     pub bmp_dib_header: BitmapDIBHeader,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub image_file: File,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BmpPixelType` is never used
[INFO] [stdout]    --> src/filetype_support/bmp.rs:243:10
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub enum BmpPixelType {
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PNG_MAGIC` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const PNG_MAGIC : [u8;8] = [0x89,0x50,0x4E,0x47,0x0D,0x0A,0x1A,0x0A];
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChunkType` is never constructed
[INFO] [stdout]   --> src/filetype_support/png.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct ChunkType(pub [u8; 4]);
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IHDR` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const IHDR: ChunkType = ChunkType(*b"IHDR");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PLTE` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub const PLTE: ChunkType = ChunkType(*b"PLTE");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IDAT` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub const IDAT: ChunkType = ChunkType(*b"IDAT");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IEND` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub const IEND: ChunkType = ChunkType(*b"IEND");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `tRNS` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub const tRNS: ChunkType = ChunkType(*b"tRNS");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `bKGD` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub const bKGD: ChunkType = ChunkType(*b"bKGD");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `tIME` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:52:11
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub const tIME: ChunkType = ChunkType(*b"tIME");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `pHYs` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:54:11
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub const pHYs: ChunkType = ChunkType(*b"pHYs");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cHRM` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:56:11
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub const cHRM: ChunkType = ChunkType(*b"cHRM");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `gAMA` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:58:11
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub const gAMA: ChunkType = ChunkType(*b"gAMA");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `sRGB` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:60:11
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub const sRGB: ChunkType = ChunkType(*b"sRGB");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `iCCP` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:62:11
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub const iCCP: ChunkType = ChunkType(*b"iCCP");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cICP` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:64:11
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub const cICP: ChunkType = ChunkType(*b"cICP");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `mDCV` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:66:11
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub const mDCV: ChunkType = ChunkType(*b"mDCV");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cLLI` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:68:11
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub const cLLI: ChunkType = ChunkType(*b"cLLI");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `eXIf` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub const eXIf: ChunkType = ChunkType(*b"eXIf");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `tEXt` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:72:11
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub const tEXt: ChunkType = ChunkType(*b"tEXt");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `zTXt` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:74:11
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub const zTXt: ChunkType = ChunkType(*b"zTXt");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `iTXt` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:76:11
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub const iTXt: ChunkType = ChunkType(*b"iTXt");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `sBIT` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:78:11
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub const sBIT: ChunkType = ChunkType(*b"sBIT");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `acTL` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:83:11
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub const acTL: ChunkType = ChunkType(*b"acTL");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `fcTL` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:85:11
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub const fcTL: ChunkType = ChunkType(*b"fcTL");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `fdAT` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:87:11
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub const fdAT: ChunkType = ChunkType(*b"fdAT");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_critical` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn is_critical(ChunkType(type_): ChunkType) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_private` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn is_private(ChunkType(type_): ChunkType) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reserved_set` is never used
[INFO] [stdout]    --> src/filetype_support/png.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub fn reserved_set(ChunkType(type_): ChunkType) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `safe_to_copy` is never used
[INFO] [stdout]    --> src/filetype_support/png.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn safe_to_copy(ChunkType(type_): ChunkType) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IHDRData` is never constructed
[INFO] [stdout]    --> src/filetype_support/png.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub struct IHDRData {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_ihdr` is never used
[INFO] [stdout]    --> src/filetype_support/png.rs:123:4
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn parse_ihdr(data: &[u8]) -> IHDRData {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `image_file` is never read
[INFO] [stdout]   --> src/file_encoding_support/file_encoding_support.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct ImageSupport {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 22 |     pub(crate) image_file: File,
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WaveFunction` is never used
[INFO] [stdout]   --> src/file_encoding_support/file_encoding_support.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub enum WaveFunction {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `parse_file` and `write_file` are never used
[INFO] [stdout]   --> src/file_encoding_support/file_encoding_support.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub trait FileEncodingSupport {
[INFO] [stdout]    |           ------------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn parse_file(&mut self);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn write_file(&mut self, new_file_location: &str);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FileEncodingAlgorithms` is never used
[INFO] [stdout]   --> src/file_encoding_support/file_encoding_support.rs:87:11
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub trait FileEncodingAlgorithms{
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `traverse` is never used
[INFO] [stdout]   --> src/file_encoding_support/file_encoding_support.rs:97:19
[INFO] [stdout]    |
[INFO] [stdout] 96 | impl WaveFunction {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 97 |     pub(crate) fn traverse(&self, rows: usize, cols: usize) -> Vec<(usize, usize)> {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]   --> src/file_encoding_support/pixel.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub trait Pixel {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] 22 |     fn red(&self) -> u8;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 23 |     fn green(&self) -> u8;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 24 |     fn blue(&self) -> u8;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn alpha(&self) -> u8;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn set_red(&mut self, value: u8);
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 41 |     fn set_green(&mut self, value: u8);
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 42 |     fn set_blue(&mut self, value: u8);
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn set_alpha(&mut self, value: u8);
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transform_pixels` is never used
[INFO] [stdout]   --> src/file_encoding_support/pixel.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn transform_pixels<P, F>(pixel_map: &mut Vec<P>, transform_function: F)
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transform_pixel_quadrants` is never used
[INFO] [stdout]   --> src/file_encoding_support/pixel.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn transform_pixel_quadrants<P, F>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `embed_pixel_color` is never used
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:223:4
[INFO] [stdout]     |
[INFO] [stdout] 223 | fn embed_pixel_color<P: Pixel>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_pixel_color` is never used
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:315:4
[INFO] [stdout]     |
[INFO] [stdout] 315 | fn extract_pixel_color<P: Pixel>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `embed_color_data_left_right` is never used
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:364:8
[INFO] [stdout]     |
[INFO] [stdout] 364 | pub fn embed_color_data_left_right<P: Pixel>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_color_data_left_right` is never used
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:410:8
[INFO] [stdout]     |
[INFO] [stdout] 410 | pub fn extract_color_data_left_right<P: Pixel>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `embed_color_data_right_left` is never used
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:458:8
[INFO] [stdout]     |
[INFO] [stdout] 458 | pub fn embed_color_data_right_left<P: Pixel>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_color_data_right_left` is never used
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:504:8
[INFO] [stdout]     |
[INFO] [stdout] 504 | pub fn extract_color_data_right_left<P: Pixel>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `embed_lsb_data_right_left` is never used
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:645:8
[INFO] [stdout]     |
[INFO] [stdout] 645 | pub fn embed_lsb_data_right_left<P: Pixel>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_lsb_data_right_left` is never used
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:691:8
[INFO] [stdout]     |
[INFO] [stdout] 691 | pub fn extract_lsb_data_right_left<P: Pixel>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `embed_lsb_wave_function_left_right` is never used
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:736:8
[INFO] [stdout]     |
[INFO] [stdout] 736 | pub fn embed_lsb_wave_function_left_right<P: Pixel>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sin_wave` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn sin_wave(input: u64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sin_scaled` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn sin_scaled(input: u64, scale: f64) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cos_wave` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn cos_wave(input: u64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cos_scaled` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn cos_scaled(input: u64, scale: f64) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tan_wave` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn tan_wave(input: u64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `exp_wave` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn exp_wave(input: u64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_wave` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn log_wave(input: u64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sqrt_wave` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn sqrt_wave(input: u64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sqrt_scaled` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn sqrt_scaled(input: u64, scale: f64) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mod_wave` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn mod_wave(input: u64, modulus: u64) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `tRNS` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub const tRNS: ChunkType = ChunkType(*b"tRNS");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `T_RNS`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `bKGD` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub const bKGD: ChunkType = ChunkType(*b"bKGD");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `B_KGD`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `tIME` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:52:11
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub const tIME: ChunkType = ChunkType(*b"tIME");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `T_IME`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `pHYs` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:54:11
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub const pHYs: ChunkType = ChunkType(*b"pHYs");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `P_HYS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cHRM` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:56:11
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub const cHRM: ChunkType = ChunkType(*b"cHRM");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `C_HRM`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `gAMA` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:58:11
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub const gAMA: ChunkType = ChunkType(*b"gAMA");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `G_AMA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `sRGB` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:60:11
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub const sRGB: ChunkType = ChunkType(*b"sRGB");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `S_RGB`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `iCCP` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:62:11
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub const iCCP: ChunkType = ChunkType(*b"iCCP");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `I_CCP`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cICP` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:64:11
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub const cICP: ChunkType = ChunkType(*b"cICP");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `C_ICP`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `mDCV` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:66:11
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub const mDCV: ChunkType = ChunkType(*b"mDCV");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `M_DCV`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cLLI` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:68:11
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub const cLLI: ChunkType = ChunkType(*b"cLLI");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `C_LLI`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `eXIf` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub const eXIf: ChunkType = ChunkType(*b"eXIf");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `E_XIF`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `tEXt` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:72:11
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub const tEXt: ChunkType = ChunkType(*b"tEXt");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `T_EXT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `zTXt` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:74:11
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub const zTXt: ChunkType = ChunkType(*b"zTXt");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `Z_TXT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `iTXt` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:76:11
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub const iTXt: ChunkType = ChunkType(*b"iTXt");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `I_TXT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `sBIT` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:78:11
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub const sBIT: ChunkType = ChunkType(*b"sBIT");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `S_BIT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `acTL` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:83:11
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub const acTL: ChunkType = ChunkType(*b"acTL");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `AC_TL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `fcTL` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:85:11
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub const fcTL: ChunkType = ChunkType(*b"fcTL");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `FC_TL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `fdAT` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:87:11
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub const fdAT: ChunkType = ChunkType(*b"fdAT");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `FD_AT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/file_encoding_support/file_encoding_support.rs:131:37
[INFO] [stdout]     |
[INFO] [stdout] 131 |                 while row < rows && col >= 0 {
[INFO] [stdout]     |                                     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.14s
[INFO] running `Command { std: "docker" "inspect" "7b4b36547a9c85ada873b22daeb3efc220bfaa36d6102e914d194c590bfecb34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b4b36547a9c85ada873b22daeb3efc220bfaa36d6102e914d194c590bfecb34", kill_on_drop: false }`
[INFO] [stdout] 7b4b36547a9c85ada873b22daeb3efc220bfaa36d6102e914d194c590bfecb34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] f362616bf2a20126afffdd936688d12769e726b193ccd9fa2254a4b07217b11e
[INFO] running `Command { std: "docker" "start" "-a" "f362616bf2a20126afffdd936688d12769e726b193ccd9fa2254a4b07217b11e", kill_on_drop: false }`
[INFO] [stderr]    Compiling veritasobscura v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::process::CommandArgs`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::process::CommandArgs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/filetype_support/bmp.rs:375:23
[INFO] [stdout]     |
[INFO] [stdout] 375 |                     if(self.pixel_size == 3){
[INFO] [stdout]     |                       ^                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 375 -                     if(self.pixel_size == 3){
[INFO] [stdout] 375 +                     if self.pixel_size == 3 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/filetype_support/bmp.rs:407:23
[INFO] [stdout]     |
[INFO] [stdout] 407 |                     if(self.pixel_size == 3){
[INFO] [stdout]     |                       ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 407 -                     if(self.pixel_size == 3){
[INFO] [stdout] 407 +                     if self.pixel_size == 3 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::file_encoding_support::pixel::embed_lsb_data_right_left`
[INFO] [stdout]   --> src/filetype_support/test.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::file_encoding_support::pixel::embed_lsb_data_right_left;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileEncodingFunctionDerivation`, `FileEncodingMethod`, `FileEncodingSupport`, and `FileEncoding`
[INFO] [stdout]   --> src/filetype_support/png.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     FileEncoding, FileEncodingFunctionDerivation, FileEncodingMethod, FileEncodingSupport,
[INFO] [stdout]    |     ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pixel`, `embed_lsb_data_left_right`, and `extract_lsb_data_left_right`
[INFO] [stdout]   --> src/filetype_support/png.rs:22:43
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::file_encoding_support::pixel::{embed_lsb_data_left_right, extract_lsb_data_left_right, Pixel};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/filetype_support/png.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]   --> src/filetype_support/png.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::{Read, Write};
[INFO] [stdout]    |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]   --> src/filetype_support/png.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use std::mem;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]   --> src/filetype_support/png.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use std::process::exit;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AddAssign`, `BitOrAssign`, `BitXorAssign`, `BitXor`, and `Sub`
[INFO] [stdout]   --> src/file_encoding_support/pixel.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::ops::{AddAssign, BitOrAssign, BitXor, BitXorAssign, Sub, SubAssign};
[INFO] [stdout]    |                ^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:255:12
[INFO] [stdout]     |
[INFO] [stdout] 255 |         if (pixel.pixel_size() ==4 && (fourth & (1 << i)) == 0) {
[INFO] [stdout]     |            ^                                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 255 -         if (pixel.pixel_size() ==4 && (fourth & (1 << i)) == 0) {
[INFO] [stdout] 255 +         if pixel.pixel_size() ==4 && (fourth & (1 << i)) == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:260:8
[INFO] [stdout]     |
[INFO] [stdout] 260 |     if ((bit == 0 && (ones % 2 == 0)) || (bit != 0 && (ones % 2 != 0))) {
[INFO] [stdout]     |        ^                                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 260 -     if ((bit == 0 && (ones % 2 == 0)) || (bit != 0 && (ones % 2 != 0))) {
[INFO] [stdout] 260 +     if (bit == 0 && (ones % 2 == 0)) || (bit != 0 && (ones % 2 != 0)) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:280:16
[INFO] [stdout]     |
[INFO] [stdout] 280 |             if (pixel.pixel_size() == 4 && (fourth & (1 << i)) == 0) {
[INFO] [stdout]     |                ^                                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 280 -             if (pixel.pixel_size() == 4 && (fourth & (1 << i)) == 0) {
[INFO] [stdout] 280 +             if pixel.pixel_size() == 4 && (fourth & (1 << i)) == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:287:11
[INFO] [stdout]     |
[INFO] [stdout] 287 |         if(!changed){
[INFO] [stdout]     |           ^        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 287 -         if(!changed){
[INFO] [stdout] 287 +         if !changed {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:302:20
[INFO] [stdout]     |
[INFO] [stdout] 302 |                 if (pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0) {
[INFO] [stdout]     |                    ^                                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 302 -                 if (pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0) {
[INFO] [stdout] 302 +                 if pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:343:12
[INFO] [stdout]     |
[INFO] [stdout] 343 |         if (pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0) {
[INFO] [stdout]     |            ^                                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 343 -         if (pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0) {
[INFO] [stdout] 343 +         if pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:349:8
[INFO] [stdout]     |
[INFO] [stdout] 349 |     if (ones % 2 == 0) {
[INFO] [stdout]     |        ^             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 349 -     if (ones % 2 == 0) {
[INFO] [stdout] 349 +     if ones % 2 == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::file_encoding_support`
[INFO] [stdout]   --> src/arg_handling/arg_handling.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use crate::file_encoding_support;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::filetype_support::filetype_support::FileType::Bmp`
[INFO] [stdout]   --> src/arg_handling/arg_handling.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use crate::filetype_support::filetype_support::FileType::Bmp;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/arg_handling/arg_handling.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 |         if (args.len() == 2 && args[1] == "--version") {
[INFO] [stdout]    |            ^                                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 38 -         if (args.len() == 2 && args[1] == "--version") {
[INFO] [stdout] 38 +         if args.len() == 2 && args[1] == "--version" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/arg_handling/arg_handling.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |         if (args.len() < 5 ) {
[INFO] [stdout]    |            ^              ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 42 -         if (args.len() < 5 ) {
[INFO] [stdout] 42 +         if args.len() < 5 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/arg_handling/arg_handling.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |         if (args.len() > 6 ) {
[INFO] [stdout]    |            ^              ^^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -         if (args.len() > 6 ) {
[INFO] [stdout] 49 +         if args.len() > 6 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around `if` condition
[INFO] [stdout]   --> src/arg_handling/arg_handling.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |         if { args[3] == "embed" &&  args.len() != 6 } {
[INFO] [stdout]    |            ^^                                      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 57 -         if { args[3] == "embed" &&  args.len() != 6 } {
[INFO] [stdout] 57 +         if args[3] == "embed" &&  args.len() != 6 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/arg_handling/arg_handling.rs:100:11
[INFO] [stdout]     |
[INFO] [stdout] 100 |         if(operation == Operation::Embed) {
[INFO] [stdout]     |           ^                             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 100 -         if(operation == Operation::Embed) {
[INFO] [stdout] 100 +         if operation == Operation::Embed {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/arg_handling/arg_handling.rs:115:11
[INFO] [stdout]     |
[INFO] [stdout] 115 |         if(file_ext == "bmp"){
[INFO] [stdout]     |           ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 115 -         if(file_ext == "bmp"){
[INFO] [stdout] 115 +         if file_ext == "bmp" {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:159:30
[INFO] [stdout]     |
[INFO] [stdout] 159 |     fn set_fourth(&mut self, value: u8) {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:164:29
[INFO] [stdout]     |
[INFO] [stdout] 164 |     fn set_alpha(&mut self, value: u8) {
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header_size`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:292:13
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let header_size = std::mem::size_of::<BitmapFileHeader>();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dib_header_size`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:293:13
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let dib_header_size = std::mem::size_of::<BitmapDIBHeader>();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dib_header_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_encoding_function_derivation`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:366:9
[INFO] [stdout]     |
[INFO] [stdout] 366 |         file_encoding_function_derivation: FileEncodingFunctionDerivation,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_encoding_function_derivation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:393:9
[INFO] [stdout]     |
[INFO] [stdout] 393 |         data: Vec<u8>,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_encoding_function_derivation`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:396:9
[INFO] [stdout]     |
[INFO] [stdout] 396 |         file_encoding_function_derivation: FileEncodingFunctionDerivation,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_encoding_function_derivation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_vec`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:408:29
[INFO] [stdout]     |
[INFO] [stdout] 408 | ...   let data_vec : Vec<u8> = extract_lsb_data_left_right::<RgbPixel>(&mut self.file_data[self.pixel_map.pixel_map_start as usize....
[INFO] [stdout]     |           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_vec`
[INFO] [stdout]    --> src/filetype_support/bmp.rs:410:29
[INFO] [stdout]     |
[INFO] [stdout] 410 | ...   let data_vec : Vec<u8> = extract_lsb_data_left_right::<RgbaPixel>( &mut self.file_data[self.pixel_map.pixel_map_start as usiz...
[INFO] [stdout]     |           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bf_reserved1`
[INFO] [stdout]    --> src/filetype_support/test.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let bf_reserved1 = bmp_image_parser.bmp_header.bf_reserved1;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bf_reserved1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bf_reserved2`
[INFO] [stdout]    --> src/filetype_support/test.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let bf_reserved2 = bmp_image_parser.bmp_header.bf_reserved2;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bf_reserved2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bi_compression`
[INFO] [stdout]    --> src/filetype_support/test.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let bi_compression = bmp_image_parser.bmp_dib_header.bi_compression;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bi_compression`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bi_clr_used`
[INFO] [stdout]    --> src/filetype_support/test.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let bi_clr_used = bmp_image_parser.bmp_dib_header.bi_clr_used;
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bi_clr_used`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bi_clr_important`
[INFO] [stdout]    --> src/filetype_support/test.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let bi_clr_important = bmp_image_parser.bmp_dib_header.bi_clr_important;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bi_clr_important`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `embedded_bits`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:320:5
[INFO] [stdout]     |
[INFO] [stdout] 320 |     embedded_bits: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_embedded_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:372:9
[INFO] [stdout]     |
[INFO] [stdout] 372 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:388:13
[INFO] [stdout]     |
[INFO] [stdout] 388 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:434:13
[INFO] [stdout]     |
[INFO] [stdout] 434 |         let mut current_bit: u8 = 0;
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:418:9
[INFO] [stdout]     |
[INFO] [stdout] 418 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:428:13
[INFO] [stdout]     |
[INFO] [stdout] 428 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_bit`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:434:13
[INFO] [stdout]     |
[INFO] [stdout] 434 |         let mut current_bit: u8 = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:466:9
[INFO] [stdout]     |
[INFO] [stdout] 466 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:482:13
[INFO] [stdout]     |
[INFO] [stdout] 482 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:528:13
[INFO] [stdout]     |
[INFO] [stdout] 528 |         let mut current_bit: u8 = 0;
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:512:9
[INFO] [stdout]     |
[INFO] [stdout] 512 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:522:13
[INFO] [stdout]     |
[INFO] [stdout] 522 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_bit`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:528:13
[INFO] [stdout]     |
[INFO] [stdout] 528 |         let mut current_bit: u8 = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:559:9
[INFO] [stdout]     |
[INFO] [stdout] 559 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:575:13
[INFO] [stdout]     |
[INFO] [stdout] 575 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:621:13
[INFO] [stdout]     |
[INFO] [stdout] 621 |         let mut current_bit: u8 = 0;
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:605:9
[INFO] [stdout]     |
[INFO] [stdout] 605 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:615:13
[INFO] [stdout]     |
[INFO] [stdout] 615 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_bit`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:621:13
[INFO] [stdout]     |
[INFO] [stdout] 621 |         let mut current_bit: u8 = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:653:9
[INFO] [stdout]     |
[INFO] [stdout] 653 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:669:13
[INFO] [stdout]     |
[INFO] [stdout] 669 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_length`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:699:9
[INFO] [stdout]     |
[INFO] [stdout] 699 |     let total_length = (width + padding) * length;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:709:13
[INFO] [stdout]     |
[INFO] [stdout] 709 |         let end = start + (width * pixel_size_bytes);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pixel_size_bytes`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:741:5
[INFO] [stdout]     |
[INFO] [stdout] 741 |     pixel_size_bytes: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_size_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `embedded_bits`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:742:5
[INFO] [stdout]     |
[INFO] [stdout] 742 |     embedded_bits: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_embedded_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:751:13
[INFO] [stdout]     |
[INFO] [stdout] 751 |         let offset = unsafe {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FileType` is never used
[INFO] [stdout]   --> src/filetype_support/filetype_support.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum FileType{
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BMP_MAGIC` is never used
[INFO] [stdout]   --> src/filetype_support/bmp.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const BMP_MAGIC: u16 = 0x4D42;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BitmapColorTable` is never constructed
[INFO] [stdout]   --> src/filetype_support/bmp.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct BitmapColorTable {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BmpPixelType` is never used
[INFO] [stdout]    --> src/filetype_support/bmp.rs:243:10
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub enum BmpPixelType {
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PNG_MAGIC` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const PNG_MAGIC : [u8;8] = [0x89,0x50,0x4E,0x47,0x0D,0x0A,0x1A,0x0A];
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChunkType` is never constructed
[INFO] [stdout]   --> src/filetype_support/png.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct ChunkType(pub [u8; 4]);
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IHDR` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const IHDR: ChunkType = ChunkType(*b"IHDR");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PLTE` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub const PLTE: ChunkType = ChunkType(*b"PLTE");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IDAT` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub const IDAT: ChunkType = ChunkType(*b"IDAT");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IEND` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub const IEND: ChunkType = ChunkType(*b"IEND");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `tRNS` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub const tRNS: ChunkType = ChunkType(*b"tRNS");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `bKGD` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub const bKGD: ChunkType = ChunkType(*b"bKGD");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `tIME` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:52:11
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub const tIME: ChunkType = ChunkType(*b"tIME");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `pHYs` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:54:11
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub const pHYs: ChunkType = ChunkType(*b"pHYs");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cHRM` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:56:11
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub const cHRM: ChunkType = ChunkType(*b"cHRM");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `gAMA` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:58:11
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub const gAMA: ChunkType = ChunkType(*b"gAMA");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `sRGB` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:60:11
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub const sRGB: ChunkType = ChunkType(*b"sRGB");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `iCCP` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:62:11
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub const iCCP: ChunkType = ChunkType(*b"iCCP");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cICP` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:64:11
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub const cICP: ChunkType = ChunkType(*b"cICP");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `mDCV` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:66:11
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub const mDCV: ChunkType = ChunkType(*b"mDCV");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cLLI` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:68:11
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub const cLLI: ChunkType = ChunkType(*b"cLLI");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `eXIf` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub const eXIf: ChunkType = ChunkType(*b"eXIf");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `tEXt` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:72:11
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub const tEXt: ChunkType = ChunkType(*b"tEXt");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `zTXt` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:74:11
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub const zTXt: ChunkType = ChunkType(*b"zTXt");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `iTXt` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:76:11
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub const iTXt: ChunkType = ChunkType(*b"iTXt");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `sBIT` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:78:11
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub const sBIT: ChunkType = ChunkType(*b"sBIT");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `acTL` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:83:11
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub const acTL: ChunkType = ChunkType(*b"acTL");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `fcTL` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:85:11
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub const fcTL: ChunkType = ChunkType(*b"fcTL");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `fdAT` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:87:11
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub const fdAT: ChunkType = ChunkType(*b"fdAT");
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_critical` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn is_critical(ChunkType(type_): ChunkType) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_private` is never used
[INFO] [stdout]   --> src/filetype_support/png.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn is_private(ChunkType(type_): ChunkType) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reserved_set` is never used
[INFO] [stdout]    --> src/filetype_support/png.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub fn reserved_set(ChunkType(type_): ChunkType) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `safe_to_copy` is never used
[INFO] [stdout]    --> src/filetype_support/png.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn safe_to_copy(ChunkType(type_): ChunkType) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IHDRData` is never constructed
[INFO] [stdout]    --> src/filetype_support/png.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub struct IHDRData {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_ihdr` is never used
[INFO] [stdout]    --> src/filetype_support/png.rs:123:4
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn parse_ihdr(data: &[u8]) -> IHDRData {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `image_file` is never read
[INFO] [stdout]   --> src/file_encoding_support/file_encoding_support.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct ImageSupport {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 22 |     pub(crate) image_file: File,
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WaveFunction` is never used
[INFO] [stdout]   --> src/file_encoding_support/file_encoding_support.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub enum WaveFunction {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FileEncodingAlgorithms` is never used
[INFO] [stdout]   --> src/file_encoding_support/file_encoding_support.rs:87:11
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub trait FileEncodingAlgorithms{
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `traverse` is never used
[INFO] [stdout]   --> src/file_encoding_support/file_encoding_support.rs:97:19
[INFO] [stdout]    |
[INFO] [stdout] 96 | impl WaveFunction {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 97 |     pub(crate) fn traverse(&self, rows: usize, cols: usize) -> Vec<(usize, usize)> {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]   --> src/file_encoding_support/pixel.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub trait Pixel {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] 22 |     fn red(&self) -> u8;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 23 |     fn green(&self) -> u8;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 24 |     fn blue(&self) -> u8;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn alpha(&self) -> u8;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn set_red(&mut self, value: u8);
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 41 |     fn set_green(&mut self, value: u8);
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 42 |     fn set_blue(&mut self, value: u8);
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn set_alpha(&mut self, value: u8);
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transform_pixels` is never used
[INFO] [stdout]   --> src/file_encoding_support/pixel.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn transform_pixels<P, F>(pixel_map: &mut Vec<P>, transform_function: F)
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transform_pixel_quadrants` is never used
[INFO] [stdout]   --> src/file_encoding_support/pixel.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn transform_pixel_quadrants<P, F>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `embed_lsb_wave_function_left_right` is never used
[INFO] [stdout]    --> src/file_encoding_support/pixel.rs:736:8
[INFO] [stdout]     |
[INFO] [stdout] 736 | pub fn embed_lsb_wave_function_left_right<P: Pixel>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sin_wave` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn sin_wave(input: u64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sin_scaled` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn sin_scaled(input: u64, scale: f64) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cos_wave` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn cos_wave(input: u64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cos_scaled` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn cos_scaled(input: u64, scale: f64) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tan_wave` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn tan_wave(input: u64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `exp_wave` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn exp_wave(input: u64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_wave` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn log_wave(input: u64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sqrt_wave` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn sqrt_wave(input: u64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sqrt_scaled` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn sqrt_scaled(input: u64, scale: f64) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mod_wave` is never used
[INFO] [stdout]   --> src/mathematics_support/mathematics_support.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn mod_wave(input: u64, modulus: u64) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `tRNS` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub const tRNS: ChunkType = ChunkType(*b"tRNS");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `T_RNS`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `bKGD` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub const bKGD: ChunkType = ChunkType(*b"bKGD");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `B_KGD`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `tIME` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:52:11
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub const tIME: ChunkType = ChunkType(*b"tIME");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `T_IME`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `pHYs` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:54:11
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub const pHYs: ChunkType = ChunkType(*b"pHYs");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `P_HYS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cHRM` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:56:11
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub const cHRM: ChunkType = ChunkType(*b"cHRM");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `C_HRM`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `gAMA` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:58:11
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub const gAMA: ChunkType = ChunkType(*b"gAMA");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `G_AMA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `sRGB` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:60:11
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub const sRGB: ChunkType = ChunkType(*b"sRGB");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `S_RGB`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `iCCP` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:62:11
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub const iCCP: ChunkType = ChunkType(*b"iCCP");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `I_CCP`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cICP` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:64:11
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub const cICP: ChunkType = ChunkType(*b"cICP");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `C_ICP`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `mDCV` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:66:11
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub const mDCV: ChunkType = ChunkType(*b"mDCV");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `M_DCV`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `cLLI` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:68:11
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub const cLLI: ChunkType = ChunkType(*b"cLLI");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `C_LLI`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `eXIf` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub const eXIf: ChunkType = ChunkType(*b"eXIf");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `E_XIF`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `tEXt` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:72:11
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub const tEXt: ChunkType = ChunkType(*b"tEXt");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `T_EXT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `zTXt` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:74:11
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub const zTXt: ChunkType = ChunkType(*b"zTXt");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `Z_TXT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `iTXt` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:76:11
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub const iTXt: ChunkType = ChunkType(*b"iTXt");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `I_TXT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `sBIT` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:78:11
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub const sBIT: ChunkType = ChunkType(*b"sBIT");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `S_BIT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `acTL` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:83:11
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub const acTL: ChunkType = ChunkType(*b"acTL");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `AC_TL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `fcTL` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:85:11
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub const fcTL: ChunkType = ChunkType(*b"fcTL");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `FC_TL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `fdAT` should have an upper case name
[INFO] [stdout]   --> src/filetype_support/png.rs:87:11
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub const fdAT: ChunkType = ChunkType(*b"fdAT");
[INFO] [stdout]    |           ^^^^ help: convert the identifier to upper case: `FD_AT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/file_encoding_support/file_encoding_support.rs:131:37
[INFO] [stdout]     |
[INFO] [stdout] 131 |                 while row < rows && col >= 0 {
[INFO] [stdout]     |                                     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s
[INFO] running `Command { std: "docker" "inspect" "f362616bf2a20126afffdd936688d12769e726b193ccd9fa2254a4b07217b11e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f362616bf2a20126afffdd936688d12769e726b193ccd9fa2254a4b07217b11e", kill_on_drop: false }`
[INFO] [stdout] f362616bf2a20126afffdd936688d12769e726b193ccd9fa2254a4b07217b11e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 14c1852c0551ff4ba46a45c07539edee8c38ada0c2f40634cdfeb9f0303e5e18
[INFO] running `Command { std: "docker" "start" "-a" "14c1852c0551ff4ba46a45c07539edee8c38ada0c2f40634cdfeb9f0303e5e18", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::process::CommandArgs`
[INFO] [stderr]   --> src/main.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | use std::process::CommandArgs;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/filetype_support/bmp.rs:375:23
[INFO] [stderr]     |
[INFO] [stderr] 375 |                     if(self.pixel_size == 3){
[INFO] [stderr]     |                       ^                    ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 375 -                     if(self.pixel_size == 3){
[INFO] [stderr] 375 +                     if self.pixel_size == 3 {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/filetype_support/bmp.rs:407:23
[INFO] [stderr]     |
[INFO] [stderr] 407 |                     if(self.pixel_size == 3){
[INFO] [stderr]     |                       ^                    ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 407 -                     if(self.pixel_size == 3){
[INFO] [stderr] 407 +                     if self.pixel_size == 3 {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::file_encoding_support::pixel::embed_lsb_data_right_left`
[INFO] [stderr]   --> src/filetype_support/test.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use crate::file_encoding_support::pixel::embed_lsb_data_right_left;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `FileEncodingFunctionDerivation`, `FileEncodingMethod`, `FileEncodingSupport`, and `FileEncoding`
[INFO] [stderr]   --> src/filetype_support/png.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 |     FileEncoding, FileEncodingFunctionDerivation, FileEncodingMethod, FileEncodingSupport,
[INFO] [stderr]    |     ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Pixel`, `embed_lsb_data_left_right`, and `extract_lsb_data_left_right`
[INFO] [stderr]   --> src/filetype_support/png.rs:22:43
[INFO] [stderr]    |
[INFO] [stderr] 22 | use crate::file_encoding_support::pixel::{embed_lsb_data_left_right, extract_lsb_data_left_right, Pixel};
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs::File`
[INFO] [stderr]   --> src/filetype_support/png.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use std::fs::File;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Read` and `Write`
[INFO] [stderr]   --> src/filetype_support/png.rs:24:15
[INFO] [stderr]    |
[INFO] [stderr] 24 | use std::io::{Read, Write};
[INFO] [stderr]    |               ^^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::mem`
[INFO] [stderr]   --> src/filetype_support/png.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 25 | use std::mem;
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::process::exit`
[INFO] [stderr]   --> src/filetype_support/png.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | use std::process::exit;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AddAssign`, `BitOrAssign`, `BitXorAssign`, `BitXor`, and `Sub`
[INFO] [stderr]   --> src/file_encoding_support/pixel.rs:19:16
[INFO] [stderr]    |
[INFO] [stderr] 19 | use std::ops::{AddAssign, BitOrAssign, BitXor, BitXorAssign, Sub, SubAssign};
[INFO] [stderr]    |                ^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:255:12
[INFO] [stderr]     |
[INFO] [stderr] 255 |         if (pixel.pixel_size() ==4 && (fourth & (1 << i)) == 0) {
[INFO] [stderr]     |            ^                                                  ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 255 -         if (pixel.pixel_size() ==4 && (fourth & (1 << i)) == 0) {
[INFO] [stderr] 255 +         if pixel.pixel_size() ==4 && (fourth & (1 << i)) == 0 {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:260:8
[INFO] [stderr]     |
[INFO] [stderr] 260 |     if ((bit == 0 && (ones % 2 == 0)) || (bit != 0 && (ones % 2 != 0))) {
[INFO] [stderr]     |        ^                                                              ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 260 -     if ((bit == 0 && (ones % 2 == 0)) || (bit != 0 && (ones % 2 != 0))) {
[INFO] [stderr] 260 +     if (bit == 0 && (ones % 2 == 0)) || (bit != 0 && (ones % 2 != 0)) {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:280:16
[INFO] [stderr]     |
[INFO] [stderr] 280 |             if (pixel.pixel_size() == 4 && (fourth & (1 << i)) == 0) {
[INFO] [stderr]     |                ^                                                   ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 280 -             if (pixel.pixel_size() == 4 && (fourth & (1 << i)) == 0) {
[INFO] [stderr] 280 +             if pixel.pixel_size() == 4 && (fourth & (1 << i)) == 0 {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:287:11
[INFO] [stderr]     |
[INFO] [stderr] 287 |         if(!changed){
[INFO] [stderr]     |           ^        ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 287 -         if(!changed){
[INFO] [stderr] 287 +         if !changed {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:302:20
[INFO] [stderr]     |
[INFO] [stderr] 302 |                 if (pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0) {
[INFO] [stderr]     |                    ^                                                   ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 302 -                 if (pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0) {
[INFO] [stderr] 302 +                 if pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0 {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:343:12
[INFO] [stderr]     |
[INFO] [stderr] 343 |         if (pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0) {
[INFO] [stderr]     |            ^                                                   ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 343 -         if (pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0) {
[INFO] [stderr] 343 +         if pixel.pixel_size() == 4 && (fourth & (1 << i)) != 0 {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:349:8
[INFO] [stderr]     |
[INFO] [stderr] 349 |     if (ones % 2 == 0) {
[INFO] [stderr]     |        ^             ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 349 -     if (ones % 2 == 0) {
[INFO] [stderr] 349 +     if ones % 2 == 0 {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::file_encoding_support`
[INFO] [stderr]   --> src/arg_handling/arg_handling.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 25 |     use crate::file_encoding_support;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::filetype_support::filetype_support::FileType::Bmp`
[INFO] [stderr]   --> src/arg_handling/arg_handling.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |     use crate::filetype_support::filetype_support::FileType::Bmp;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/arg_handling/arg_handling.rs:38:12
[INFO] [stderr]    |
[INFO] [stderr] 38 |         if (args.len() == 2 && args[1] == "--version") {
[INFO] [stderr]    |            ^                                         ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 38 -         if (args.len() == 2 && args[1] == "--version") {
[INFO] [stderr] 38 +         if args.len() == 2 && args[1] == "--version" {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/arg_handling/arg_handling.rs:42:12
[INFO] [stderr]    |
[INFO] [stderr] 42 |         if (args.len() < 5 ) {
[INFO] [stderr]    |            ^              ^^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 42 -         if (args.len() < 5 ) {
[INFO] [stderr] 42 +         if args.len() < 5 {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/arg_handling/arg_handling.rs:49:12
[INFO] [stderr]    |
[INFO] [stderr] 49 |         if (args.len() > 6 ) {
[INFO] [stderr]    |            ^              ^^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 49 -         if (args.len() > 6 ) {
[INFO] [stderr] 49 +         if args.len() > 6 {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around `if` condition
[INFO] [stderr]   --> src/arg_handling/arg_handling.rs:57:12
[INFO] [stderr]    |
[INFO] [stderr] 57 |         if { args[3] == "embed" &&  args.len() != 6 } {
[INFO] [stderr]    |            ^^                                      ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these braces
[INFO] [stderr]    |
[INFO] [stderr] 57 -         if { args[3] == "embed" &&  args.len() != 6 } {
[INFO] [stderr] 57 +         if args[3] == "embed" &&  args.len() != 6 {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/arg_handling/arg_handling.rs:100:11
[INFO] [stderr]     |
[INFO] [stderr] 100 |         if(operation == Operation::Embed) {
[INFO] [stderr]     |           ^                             ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 100 -         if(operation == Operation::Embed) {
[INFO] [stderr] 100 +         if operation == Operation::Embed {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/arg_handling/arg_handling.rs:115:11
[INFO] [stderr]     |
[INFO] [stderr] 115 |         if(file_ext == "bmp"){
[INFO] [stderr]     |           ^                 ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 115 -         if(file_ext == "bmp"){
[INFO] [stderr] 115 +         if file_ext == "bmp" {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `value`
[INFO] [stderr]    --> src/filetype_support/bmp.rs:159:30
[INFO] [stderr]     |
[INFO] [stderr] 159 |     fn set_fourth(&mut self, value: u8) {
[INFO] [stderr]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `value`
[INFO] [stderr]    --> src/filetype_support/bmp.rs:164:29
[INFO] [stderr]     |
[INFO] [stderr] 164 |     fn set_alpha(&mut self, value: u8) {
[INFO] [stderr]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `header_size`
[INFO] [stderr]    --> src/filetype_support/bmp.rs:292:13
[INFO] [stderr]     |
[INFO] [stderr] 292 |         let header_size = std::mem::size_of::<BitmapFileHeader>();
[INFO] [stderr]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_size`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dib_header_size`
[INFO] [stderr]    --> src/filetype_support/bmp.rs:293:13
[INFO] [stderr]     |
[INFO] [stderr] 293 |         let dib_header_size = std::mem::size_of::<BitmapDIBHeader>();
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dib_header_size`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `file_encoding_function_derivation`
[INFO] [stderr]    --> src/filetype_support/bmp.rs:366:9
[INFO] [stderr]     |
[INFO] [stderr] 366 |         file_encoding_function_derivation: FileEncodingFunctionDerivation,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_encoding_function_derivation`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data`
[INFO] [stderr]    --> src/filetype_support/bmp.rs:393:9
[INFO] [stderr]     |
[INFO] [stderr] 393 |         data: Vec<u8>,
[INFO] [stderr]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `file_encoding_function_derivation`
[INFO] [stderr]    --> src/filetype_support/bmp.rs:396:9
[INFO] [stderr]     |
[INFO] [stderr] 396 |         file_encoding_function_derivation: FileEncodingFunctionDerivation,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_encoding_function_derivation`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data_vec`
[INFO] [stderr]    --> src/filetype_support/bmp.rs:408:29
[INFO] [stderr]     |
[INFO] [stderr] 408 | ...   let data_vec : Vec<u8> = extract_lsb_data_left_right::<RgbPixel>(&mut self.file_data[self.pixel_map.pixel_map_start as usize....
[INFO] [stderr]     |           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_vec`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data_vec`
[INFO] [stderr]    --> src/filetype_support/bmp.rs:410:29
[INFO] [stderr]     |
[INFO] [stderr] 410 | ...   let data_vec : Vec<u8> = extract_lsb_data_left_right::<RgbaPixel>( &mut self.file_data[self.pixel_map.pixel_map_start as usiz...
[INFO] [stderr]     |           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_vec`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bf_reserved1`
[INFO] [stderr]    --> src/filetype_support/test.rs:103:13
[INFO] [stderr]     |
[INFO] [stderr] 103 |         let bf_reserved1 = bmp_image_parser.bmp_header.bf_reserved1;
[INFO] [stderr]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bf_reserved1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bf_reserved2`
[INFO] [stderr]    --> src/filetype_support/test.rs:104:13
[INFO] [stderr]     |
[INFO] [stderr] 104 |         let bf_reserved2 = bmp_image_parser.bmp_header.bf_reserved2;
[INFO] [stderr]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bf_reserved2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bi_compression`
[INFO] [stderr]    --> src/filetype_support/test.rs:117:13
[INFO] [stderr]     |
[INFO] [stderr] 117 |         let bi_compression = bmp_image_parser.bmp_dib_header.bi_compression;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bi_compression`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bi_clr_used`
[INFO] [stderr]    --> src/filetype_support/test.rs:121:13
[INFO] [stderr]     |
[INFO] [stderr] 121 |         let bi_clr_used = bmp_image_parser.bmp_dib_header.bi_clr_used;
[INFO] [stderr]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bi_clr_used`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bi_clr_important`
[INFO] [stderr]    --> src/filetype_support/test.rs:122:13
[INFO] [stderr]     |
[INFO] [stderr] 122 |         let bi_clr_important = bmp_image_parser.bmp_dib_header.bi_clr_important;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bi_clr_important`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `embedded_bits`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:320:5
[INFO] [stderr]     |
[INFO] [stderr] 320 |     embedded_bits: usize,
[INFO] [stderr]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_embedded_bits`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_length`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:372:9
[INFO] [stderr]     |
[INFO] [stderr] 372 |     let total_length = (width + padding) * length;
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `end`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:388:13
[INFO] [stderr]     |
[INFO] [stderr] 388 |         let end = start + (width * pixel_size_bytes);
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:434:13
[INFO] [stderr]     |
[INFO] [stderr] 434 |         let mut current_bit: u8 = 0;
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_length`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:418:9
[INFO] [stderr]     |
[INFO] [stderr] 418 |     let total_length = (width + padding) * length;
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `end`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:428:13
[INFO] [stderr]     |
[INFO] [stderr] 428 |         let end = start + (width * pixel_size_bytes);
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `current_bit`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:434:13
[INFO] [stderr]     |
[INFO] [stderr] 434 |         let mut current_bit: u8 = 0;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_bit`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_length`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:466:9
[INFO] [stderr]     |
[INFO] [stderr] 466 |     let total_length = (width + padding) * length;
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `end`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:482:13
[INFO] [stderr]     |
[INFO] [stderr] 482 |         let end = start + (width * pixel_size_bytes);
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:528:13
[INFO] [stderr]     |
[INFO] [stderr] 528 |         let mut current_bit: u8 = 0;
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_length`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:512:9
[INFO] [stderr]     |
[INFO] [stderr] 512 |     let total_length = (width + padding) * length;
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `end`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:522:13
[INFO] [stderr]     |
[INFO] [stderr] 522 |         let end = start + (width * pixel_size_bytes);
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `current_bit`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:528:13
[INFO] [stderr]     |
[INFO] [stderr] 528 |         let mut current_bit: u8 = 0;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_bit`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_length`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:559:9
[INFO] [stderr]     |
[INFO] [stderr] 559 |     let total_length = (width + padding) * length;
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `end`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:575:13
[INFO] [stderr]     |
[INFO] [stderr] 575 |         let end = start + (width * pixel_size_bytes);
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:621:13
[INFO] [stderr]     |
[INFO] [stderr] 621 |         let mut current_bit: u8 = 0;
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_length`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:605:9
[INFO] [stderr]     |
[INFO] [stderr] 605 |     let total_length = (width + padding) * length;
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `end`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:615:13
[INFO] [stderr]     |
[INFO] [stderr] 615 |         let end = start + (width * pixel_size_bytes);
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `current_bit`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:621:13
[INFO] [stderr]     |
[INFO] [stderr] 621 |         let mut current_bit: u8 = 0;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_bit`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_length`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:653:9
[INFO] [stderr]     |
[INFO] [stderr] 653 |     let total_length = (width + padding) * length;
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `end`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:669:13
[INFO] [stderr]     |
[INFO] [stderr] 669 |         let end = start + (width * pixel_size_bytes);
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_length`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:699:9
[INFO] [stderr]     |
[INFO] [stderr] 699 |     let total_length = (width + padding) * length;
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_length`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `end`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:709:13
[INFO] [stderr]     |
[INFO] [stderr] 709 |         let end = start + (width * pixel_size_bytes);
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pixel_size_bytes`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:741:5
[INFO] [stderr]     |
[INFO] [stderr] 741 |     pixel_size_bytes: u64,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_size_bytes`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `embedded_bits`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:742:5
[INFO] [stderr]     |
[INFO] [stderr] 742 |     embedded_bits: u64,
[INFO] [stderr]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_embedded_bits`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `offset`
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:751:13
[INFO] [stderr]     |
[INFO] [stderr] 751 |         let offset = unsafe {
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stderr] 
[INFO] [stderr] warning: enum `FileType` is never used
[INFO] [stderr]   --> src/filetype_support/filetype_support.rs:20:10
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub enum FileType{
[INFO] [stderr]    |          ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `BMP_MAGIC` is never used
[INFO] [stderr]   --> src/filetype_support/bmp.rs:27:7
[INFO] [stderr]    |
[INFO] [stderr] 27 | const BMP_MAGIC: u16 = 0x4D42;
[INFO] [stderr]    |       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BitmapColorTable` is never constructed
[INFO] [stderr]   --> src/filetype_support/bmp.rs:63:12
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub struct BitmapColorTable {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `BmpPixelType` is never used
[INFO] [stderr]    --> src/filetype_support/bmp.rs:243:10
[INFO] [stderr]     |
[INFO] [stderr] 243 | pub enum BmpPixelType {
[INFO] [stderr]     |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `PNG_MAGIC` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:28:7
[INFO] [stderr]    |
[INFO] [stderr] 28 | const PNG_MAGIC : [u8;8] = [0x89,0x50,0x4E,0x47,0x0D,0x0A,0x1A,0x0A];
[INFO] [stderr]    |       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ChunkType` is never constructed
[INFO] [stderr]   --> src/filetype_support/png.rs:32:12
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub struct ChunkType(pub [u8; 4]);
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `IHDR` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:37:11
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub const IHDR: ChunkType = ChunkType(*b"IHDR");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `PLTE` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:39:11
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub const PLTE: ChunkType = ChunkType(*b"PLTE");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `IDAT` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:41:11
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub const IDAT: ChunkType = ChunkType(*b"IDAT");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `IEND` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:43:11
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub const IEND: ChunkType = ChunkType(*b"IEND");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `tRNS` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:48:11
[INFO] [stderr]    |
[INFO] [stderr] 48 | pub const tRNS: ChunkType = ChunkType(*b"tRNS");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `bKGD` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:50:11
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub const bKGD: ChunkType = ChunkType(*b"bKGD");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `tIME` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:52:11
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub const tIME: ChunkType = ChunkType(*b"tIME");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `pHYs` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:54:11
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub const pHYs: ChunkType = ChunkType(*b"pHYs");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `cHRM` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:56:11
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub const cHRM: ChunkType = ChunkType(*b"cHRM");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `gAMA` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:58:11
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub const gAMA: ChunkType = ChunkType(*b"gAMA");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `sRGB` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:60:11
[INFO] [stderr]    |
[INFO] [stderr] 60 | pub const sRGB: ChunkType = ChunkType(*b"sRGB");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `iCCP` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:62:11
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub const iCCP: ChunkType = ChunkType(*b"iCCP");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `cICP` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:64:11
[INFO] [stderr]    |
[INFO] [stderr] 64 | pub const cICP: ChunkType = ChunkType(*b"cICP");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `mDCV` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:66:11
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub const mDCV: ChunkType = ChunkType(*b"mDCV");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `cLLI` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:68:11
[INFO] [stderr]    |
[INFO] [stderr] 68 | pub const cLLI: ChunkType = ChunkType(*b"cLLI");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `eXIf` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:70:11
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub const eXIf: ChunkType = ChunkType(*b"eXIf");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `tEXt` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:72:11
[INFO] [stderr]    |
[INFO] [stderr] 72 | pub const tEXt: ChunkType = ChunkType(*b"tEXt");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `zTXt` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:74:11
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub const zTXt: ChunkType = ChunkType(*b"zTXt");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `iTXt` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:76:11
[INFO] [stderr]    |
[INFO] [stderr] 76 | pub const iTXt: ChunkType = ChunkType(*b"iTXt");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `sBIT` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:78:11
[INFO] [stderr]    |
[INFO] [stderr] 78 | pub const sBIT: ChunkType = ChunkType(*b"sBIT");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `acTL` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:83:11
[INFO] [stderr]    |
[INFO] [stderr] 83 | pub const acTL: ChunkType = ChunkType(*b"acTL");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `fcTL` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:85:11
[INFO] [stderr]    |
[INFO] [stderr] 85 | pub const fcTL: ChunkType = ChunkType(*b"fcTL");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `fdAT` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:87:11
[INFO] [stderr]    |
[INFO] [stderr] 87 | pub const fdAT: ChunkType = ChunkType(*b"fdAT");
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_critical` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:92:8
[INFO] [stderr]    |
[INFO] [stderr] 92 | pub fn is_critical(ChunkType(type_): ChunkType) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_private` is never used
[INFO] [stderr]   --> src/filetype_support/png.rs:97:8
[INFO] [stderr]    |
[INFO] [stderr] 97 | pub fn is_private(ChunkType(type_): ChunkType) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `reserved_set` is never used
[INFO] [stderr]    --> src/filetype_support/png.rs:103:8
[INFO] [stderr]     |
[INFO] [stderr] 103 | pub fn reserved_set(ChunkType(type_): ChunkType) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `safe_to_copy` is never used
[INFO] [stderr]    --> src/filetype_support/png.rs:108:8
[INFO] [stderr]     |
[INFO] [stderr] 108 | pub fn safe_to_copy(ChunkType(type_): ChunkType) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `IHDRData` is never constructed
[INFO] [stderr]    --> src/filetype_support/png.rs:113:12
[INFO] [stderr]     |
[INFO] [stderr] 113 | pub struct IHDRData {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `parse_ihdr` is never used
[INFO] [stderr]    --> src/filetype_support/png.rs:123:4
[INFO] [stderr]     |
[INFO] [stderr] 123 | fn parse_ihdr(data: &[u8]) -> IHDRData {
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `image_file` is never read
[INFO] [stderr]   --> src/file_encoding_support/file_encoding_support.rs:22:16
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub struct ImageSupport {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] 22 |     pub(crate) image_file: File,
[INFO] [stderr]    |                ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `WaveFunction` is never used
[INFO] [stderr]   --> src/file_encoding_support/file_encoding_support.rs:32:10
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub enum WaveFunction {
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `FileEncodingAlgorithms` is never used
[INFO] [stderr]   --> src/file_encoding_support/file_encoding_support.rs:87:11
[INFO] [stderr]    |
[INFO] [stderr] 87 | pub trait FileEncodingAlgorithms{
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `traverse` is never used
[INFO] [stderr]   --> src/file_encoding_support/file_encoding_support.rs:97:19
[INFO] [stderr]    |
[INFO] [stderr] 96 | impl WaveFunction {
[INFO] [stderr]    | ----------------- method in this implementation
[INFO] [stderr] 97 |     pub(crate) fn traverse(&self, rows: usize, cols: usize) -> Vec<(usize, usize)> {
[INFO] [stderr]    |                   ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]   --> src/file_encoding_support/pixel.rs:22:8
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub trait Pixel {
[INFO] [stderr]    |           ----- methods in this trait
[INFO] [stderr] 22 |     fn red(&self) -> u8;
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 23 |     fn green(&self) -> u8;
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 24 |     fn blue(&self) -> u8;
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     fn alpha(&self) -> u8;
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 40 |     fn set_red(&mut self, value: u8);
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 41 |     fn set_green(&mut self, value: u8);
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 42 |     fn set_blue(&mut self, value: u8);
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 53 |     fn set_alpha(&mut self, value: u8);
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `transform_pixels` is never used
[INFO] [stderr]   --> src/file_encoding_support/pixel.rs:58:8
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub fn transform_pixels<P, F>(pixel_map: &mut Vec<P>, transform_function: F)
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `transform_pixel_quadrants` is never used
[INFO] [stderr]   --> src/file_encoding_support/pixel.rs:68:8
[INFO] [stderr]    |
[INFO] [stderr] 68 | pub fn transform_pixel_quadrants<P, F>(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `embed_lsb_wave_function_left_right` is never used
[INFO] [stderr]    --> src/file_encoding_support/pixel.rs:736:8
[INFO] [stderr]     |
[INFO] [stderr] 736 | pub fn embed_lsb_wave_function_left_right<P: Pixel>(
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `sin_wave` is never used
[INFO] [stderr]   --> src/mathematics_support/mathematics_support.rs:19:4
[INFO] [stderr]    |
[INFO] [stderr] 19 | fn sin_wave(input: u64) -> f64 {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `sin_scaled` is never used
[INFO] [stderr]   --> src/mathematics_support/mathematics_support.rs:23:4
[INFO] [stderr]    |
[INFO] [stderr] 23 | fn sin_scaled(input: u64, scale: f64) -> u64 {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `cos_wave` is never used
[INFO] [stderr]   --> src/mathematics_support/mathematics_support.rs:27:4
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn cos_wave(input: u64) -> f64 {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `cos_scaled` is never used
[INFO] [stderr]   --> src/mathematics_support/mathematics_support.rs:31:4
[INFO] [stderr]    |
[INFO] [stderr] 31 | fn cos_scaled(input: u64, scale: f64) -> u64 {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `tan_wave` is never used
[INFO] [stderr]   --> src/mathematics_support/mathematics_support.rs:35:4
[INFO] [stderr]    |
[INFO] [stderr] 35 | fn tan_wave(input: u64) -> f64 {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `exp_wave` is never used
[INFO] [stderr]   --> src/mathematics_support/mathematics_support.rs:39:4
[INFO] [stderr]    |
[INFO] [stderr] 39 | fn exp_wave(input: u64) -> f64 {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `log_wave` is never used
[INFO] [stderr]   --> src/mathematics_support/mathematics_support.rs:43:4
[INFO] [stderr]    |
[INFO] [stderr] 43 | fn log_wave(input: u64) -> f64 {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `sqrt_wave` is never used
[INFO] [stderr]   --> src/mathematics_support/mathematics_support.rs:47:4
[INFO] [stderr]    |
[INFO] [stderr] 47 | fn sqrt_wave(input: u64) -> f64 {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `sqrt_scaled` is never used
[INFO] [stderr]   --> src/mathematics_support/mathematics_support.rs:51:4
[INFO] [stderr]    |
[INFO] [stderr] 51 | fn sqrt_scaled(input: u64, scale: f64) -> u64 {
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `mod_wave` is never used
[INFO] [stderr]   --> src/mathematics_support/mathematics_support.rs:55:4
[INFO] [stderr]    |
[INFO] [stderr] 55 | fn mod_wave(input: u64, modulus: u64) -> u64 {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `tRNS` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:48:11
[INFO] [stderr]    |
[INFO] [stderr] 48 | pub const tRNS: ChunkType = ChunkType(*b"tRNS");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `T_RNS`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `bKGD` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:50:11
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub const bKGD: ChunkType = ChunkType(*b"bKGD");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `B_KGD`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `tIME` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:52:11
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub const tIME: ChunkType = ChunkType(*b"tIME");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `T_IME`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `pHYs` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:54:11
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub const pHYs: ChunkType = ChunkType(*b"pHYs");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `P_HYS`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `cHRM` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:56:11
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub const cHRM: ChunkType = ChunkType(*b"cHRM");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `C_HRM`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `gAMA` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:58:11
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub const gAMA: ChunkType = ChunkType(*b"gAMA");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `G_AMA`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `sRGB` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:60:11
[INFO] [stderr]    |
[INFO] [stderr] 60 | pub const sRGB: ChunkType = ChunkType(*b"sRGB");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `S_RGB`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `iCCP` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:62:11
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub const iCCP: ChunkType = ChunkType(*b"iCCP");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `I_CCP`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `cICP` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:64:11
[INFO] [stderr]    |
[INFO] [stderr] 64 | pub const cICP: ChunkType = ChunkType(*b"cICP");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `C_ICP`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `mDCV` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:66:11
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub const mDCV: ChunkType = ChunkType(*b"mDCV");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `M_DCV`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `cLLI` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:68:11
[INFO] [stderr]    |
[INFO] [stderr] 68 | pub const cLLI: ChunkType = ChunkType(*b"cLLI");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `C_LLI`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `eXIf` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:70:11
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub const eXIf: ChunkType = ChunkType(*b"eXIf");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `E_XIF`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `tEXt` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:72:11
[INFO] [stderr]    |
[INFO] [stderr] 72 | pub const tEXt: ChunkType = ChunkType(*b"tEXt");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `T_EXT`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `zTXt` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:74:11
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub const zTXt: ChunkType = ChunkType(*b"zTXt");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `Z_TXT`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `iTXt` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:76:11
[INFO] [stderr]    |
[INFO] [stderr] 76 | pub const iTXt: ChunkType = ChunkType(*b"iTXt");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `I_TXT`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `sBIT` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:78:11
[INFO] [stderr]    |
[INFO] [stderr] 78 | pub const sBIT: ChunkType = ChunkType(*b"sBIT");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `S_BIT`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `acTL` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:83:11
[INFO] [stderr]    |
[INFO] [stderr] 83 | pub const acTL: ChunkType = ChunkType(*b"acTL");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `AC_TL`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `fcTL` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:85:11
[INFO] [stderr]    |
[INFO] [stderr] 85 | pub const fcTL: ChunkType = ChunkType(*b"fcTL");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `FC_TL`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `fdAT` should have an upper case name
[INFO] [stderr]   --> src/filetype_support/png.rs:87:11
[INFO] [stderr]    |
[INFO] [stderr] 87 | pub const fdAT: ChunkType = ChunkType(*b"fdAT");
[INFO] [stderr]    |           ^^^^ help: convert the identifier to upper case: `FD_AT`
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]    --> src/file_encoding_support/file_encoding_support.rs:131:37
[INFO] [stderr]     |
[INFO] [stderr] 131 |                 while row < rows && col >= 0 {
[INFO] [stderr]     |                                     ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `veritasobscura` (bin "veritasobscura" test) generated 139 warnings (run `cargo fix --bin "veritasobscura" -p veritasobscura --tests` to apply 85 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/veritasobscura/802371e4462bb4c2/deps/veritasobscura-802371e4462bb4c2)
[INFO] [stdout] 
[INFO] [stdout] running 18 tests
[INFO] [stderr] error: test failed, to rerun pass `--bin veritasobscura`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/veritasobscura/802371e4462bb4c2/deps/veritasobscura-802371e4462bb4c2` (exit status: 1)
[INFO] [stderr] note: test exited abnormally; to see the full output pass --no-capture to the harness.
[INFO] running `Command { std: "docker" "inspect" "14c1852c0551ff4ba46a45c07539edee8c38ada0c2f40634cdfeb9f0303e5e18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14c1852c0551ff4ba46a45c07539edee8c38ada0c2f40634cdfeb9f0303e5e18", kill_on_drop: false }`
[INFO] [stdout] 14c1852c0551ff4ba46a45c07539edee8c38ada0c2f40634cdfeb9f0303e5e18
