[INFO] cloning repository https://github.com/spejss/Image-Processing-CLI-in-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spejss/Image-Processing-CLI-in-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspejss%2FImage-Processing-CLI-in-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspejss%2FImage-Processing-CLI-in-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9545f0e68ca6761c6c9387636cfeb5be95109591
[INFO] checking spejss/Image-Processing-CLI-in-Rust against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspejss%2FImage-Processing-CLI-in-Rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/spejss/Image-Processing-CLI-in-Rust
[INFO] finished tweaking git repo https://github.com/spejss/Image-Processing-CLI-in-Rust
[INFO] tweaked toml for git repo https://github.com/spejss/Image-Processing-CLI-in-Rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/spejss/Image-Processing-CLI-in-Rust on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/spejss/Image-Processing-CLI-in-Rust 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `ipcli` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-iter v0.1.34
[INFO] [stderr]   Downloaded num-traits v0.1.40
[INFO] [stderr]   Downloaded png v0.9.0
[INFO] [stderr]   Downloaded term_size v0.3.0
[INFO] [stderr]   Downloaded adler32 v1.0.1
[INFO] [stderr]   Downloaded num-rational v0.1.39
[INFO] [stderr]   Downloaded color_quant v1.0.0
[INFO] [stderr]   Downloaded enum_primitive v0.1.1
[INFO] [stderr]   Downloaded textwrap v0.7.0
[INFO] [stderr]   Downloaded num-integer v0.1.35
[INFO] [stderr]   Downloaded vec_map v0.8.0
[INFO] [stderr]   Downloaded custom_derive v0.1.7
[INFO] [stderr]   Downloaded strsim v0.6.0
[INFO] [stderr]   Downloaded bitflags v0.7.0
[INFO] [stderr]   Downloaded either v1.1.0
[INFO] [stderr]   Downloaded magenta-sys v0.1.1
[INFO] [stderr]   Downloaded bitflags v0.9.1
[INFO] [stderr]   Downloaded unicode-width v0.1.4
[INFO] [stderr]   Downloaded ansi_term v0.9.0
[INFO] [stderr]   Downloaded inflate v0.2.0
[INFO] [stderr]   Downloaded num_cpus v1.6.2
[INFO] [stderr]   Downloaded scopeguard v0.3.2
[INFO] [stderr]   Downloaded atty v0.2.2
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.13
[INFO] [stderr]   Downloaded magenta v0.1.1
[INFO] [stderr]   Downloaded gif v0.9.2
[INFO] [stderr]   Downloaded byteorder v1.1.0
[INFO] [stderr]   Downloaded coco v0.1.1
[INFO] [stderr]   Downloaded image v0.15.0
[INFO] [stderr]   Downloaded lazy_static v0.2.8
[INFO] [stderr]   Downloaded conv v0.3.3
[INFO] [stderr]   Downloaded rand v0.3.16
[INFO] [stderr]   Downloaded rayon-core v1.2.1
[INFO] [stderr]   Downloaded unicode-segmentation v1.2.0
[INFO] [stderr]   Downloaded rayon v0.8.2
[INFO] [stderr]   Downloaded scoped_threadpool v0.1.7
[INFO] [stderr]   Downloaded futures v0.1.14
[INFO] [stderr]   Downloaded deflate v0.7.15
[INFO] [stderr]   Downloaded libc v0.2.29
[INFO] [stderr]   Downloaded clap v2.26.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 654e3cb292662850d69e00bdf117801ea70ddf145c92c152b3f88b5808b0668e
[INFO] running `Command { std: "docker" "start" "654e3cb292662850d69e00bdf117801ea70ddf145c92c152b3f88b5808b0668e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "654e3cb292662850d69e00bdf117801ea70ddf145c92c152b3f88b5808b0668e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "654e3cb292662850d69e00bdf117801ea70ddf145c92c152b3f88b5808b0668e" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "654e3cb292662850d69e00bdf117801ea70ddf145c92c152b3f88b5808b0668e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "654e3cb292662850d69e00bdf117801ea70ddf145c92c152b3f88b5808b0668e" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `ipcli` (manifest) generated 1 warning
[INFO] [stderr]     Checking libc v0.2.29
[INFO] [stderr]     Checking num-traits v0.1.40
[INFO] [stderr]    Compiling rayon-core v1.2.1
[INFO] [stderr]     Checking scopeguard v0.3.2
[INFO] [stderr]     Checking either v1.1.0
[INFO] [stderr]     Checking byteorder v1.1.0
[INFO] [stderr]     Checking lazy_static v0.2.8
[INFO] [stderr]     Checking futures v0.1.14
[INFO] [stderr]     Checking bitflags v0.9.1
[INFO] [stderr]     Checking adler32 v1.0.1
[INFO] [stderr]     Checking unicode-width v0.1.4
[INFO] [stderr]     Checking color_quant v1.0.0
[INFO] [stderr]     Checking inflate v0.2.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.7
[INFO] [stderr]     Checking ansi_term v0.9.0
[INFO] [stderr]     Checking vec_map v0.8.0
[INFO] [stderr]     Checking strsim v0.6.0
[INFO] [stderr]     Checking unicode-segmentation v1.2.0
[INFO] [stderr]     Checking gif v0.9.2
[INFO] [stderr]     Checking deflate v0.7.15
[INFO] [stderr]     Checking coco v0.1.1
[INFO] [stderr]     Checking num_cpus v1.6.2
[INFO] [stderr]     Checking rand v0.3.16
[INFO] [stderr]     Checking term_size v0.3.0
[INFO] [stderr]     Checking atty v0.2.2
[INFO] [stderr]     Checking textwrap v0.7.0
[INFO] [stderr]     Checking clap v2.26.0
[INFO] [stderr]     Checking num-integer v0.1.35
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking num-iter v0.1.34
[INFO] [stderr]     Checking num-rational v0.1.39
[INFO] [stderr]     Checking png v0.9.0
[INFO] [stderr]     Checking rayon v0.8.2
[INFO] [stderr]     Checking jpeg-decoder v0.1.13
[INFO] [stderr]     Checking image v0.15.0
[INFO] [stderr]     Checking ipcli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `SubCommand`
[INFO] [stdout]  --> src/main.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use clap::{Arg,App,SubCommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ImageBuffer`
[INFO] [stdout]  --> src/main.rs:6:45
[INFO] [stdout]   |
[INFO] [stdout] 6 | use image::{FilterType, GenericImage, Pixel,ImageBuffer,Rgb};
[INFO] [stdout]   |                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:222:11
[INFO] [stdout]     |
[INFO] [stdout] 222 |         if(value > maxValue){
[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] 222 -         if(value > maxValue){
[INFO] [stdout] 222 +         if value > maxValue {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:323:11
[INFO] [stdout]     |
[INFO] [stdout] 323 |         if(value > maxValueR){
[INFO] [stdout]     |           ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 323 -         if(value > maxValueR){
[INFO] [stdout] 323 +         if value > maxValueR {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:328:11
[INFO] [stdout]     |
[INFO] [stdout] 328 |         if(value > maxValueG){
[INFO] [stdout]     |           ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 328 -         if(value > maxValueG){
[INFO] [stdout] 328 +         if value > maxValueG {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:333:11
[INFO] [stdout]     |
[INFO] [stdout] 333 |         if(value > maxValueB){
[INFO] [stdout]     |           ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 333 -         if(value > maxValueB){
[INFO] [stdout] 333 +         if value > maxValueB {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SubCommand`
[INFO] [stdout]  --> src/main.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use clap::{Arg,App,SubCommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ImageBuffer`
[INFO] [stdout]  --> src/main.rs:6:45
[INFO] [stdout]   |
[INFO] [stdout] 6 | use image::{FilterType, GenericImage, Pixel,ImageBuffer,Rgb};
[INFO] [stdout]   |                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:222:11
[INFO] [stdout]     |
[INFO] [stdout] 222 |         if(value > maxValue){
[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] 222 -         if(value > maxValue){
[INFO] [stdout] 222 +         if value > maxValue {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:323:11
[INFO] [stdout]     |
[INFO] [stdout] 323 |         if(value > maxValueR){
[INFO] [stdout]     |           ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 323 -         if(value > maxValueR){
[INFO] [stdout] 323 +         if value > maxValueR {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:328:11
[INFO] [stdout]     |
[INFO] [stdout] 328 |         if(value > maxValueG){
[INFO] [stdout]     |           ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 328 -         if(value > maxValueG){
[INFO] [stdout] 328 +         if value > maxValueG {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:333:11
[INFO] [stdout]     |
[INFO] [stdout] 333 |         if(value > maxValueB){
[INFO] [stdout]     |           ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 333 -         if(value > maxValueB){
[INFO] [stdout] 333 +         if value > maxValueB {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let mut grayscale = img.grayscale();
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:243:21
[INFO] [stdout]     |
[INFO] [stdout] 243 |                 let mut height = ((value as f32 / maxValue as f32) * 300.0) as u8;
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:244:21
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 let mut pixel = image.get_pixel_mut(cc, (HEIGHT-1) - height as u32);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `occurences`
[INFO] [stdout]    --> src/main.rs:221:10
[INFO] [stdout]     |
[INFO] [stdout] 221 |     for (occurences, &value) in occurences.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_occurences`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:354:21
[INFO] [stdout]     |
[INFO] [stdout] 354 |                 let mut height = ((value as f32 / maxValueR as f32) * 200.0) as u8;
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:355:21
[INFO] [stdout]     |
[INFO] [stdout] 355 |                 let mut pixel = image.get_pixel_mut(cc, (HEIGHT-1) - height as u32);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:362:21
[INFO] [stdout]     |
[INFO] [stdout] 362 |                 let mut height = ((value as f32 / maxValueG as f32) * 200.0) as u8;
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:363:21
[INFO] [stdout]     |
[INFO] [stdout] 363 |                 let mut pixel = image.get_pixel_mut(cc, (HEIGHT-1) - height as u32);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:370:21
[INFO] [stdout]     |
[INFO] [stdout] 370 |                 let mut height = ((value as f32 / maxValueB as f32) * 200.0) as u8;
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:371:21
[INFO] [stdout]     |
[INFO] [stdout] 371 |                 let mut pixel = image.get_pixel_mut(cc, (HEIGHT-1) - height as u32);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `occurencesR`
[INFO] [stdout]    --> src/main.rs:322:10
[INFO] [stdout]     |
[INFO] [stdout] 322 |     for (occurencesR, &value) in occurencesR.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_occurencesR`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `occurencesG`
[INFO] [stdout]    --> src/main.rs:327:10
[INFO] [stdout]     |
[INFO] [stdout] 327 |     for (occurencesG, &value) in occurencesG.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_occurencesG`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `occurencesB`
[INFO] [stdout]    --> src/main.rs:332:10
[INFO] [stdout]     |
[INFO] [stdout] 332 |     for (occurencesB, &value) in occurencesB.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_occurencesB`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `imagePath` should have a snake case name
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let imagePath = matches.value_of("image").unwrap_or("empty");
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `image_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `averageColor` should have a snake case name
[INFO] [stdout]   --> src/main.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn averageColor(i: &str){
[INFO] [stdout]    |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `average_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `createThumnbail` should have a snake case name
[INFO] [stdout]   --> src/main.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn createThumnbail(i: &str, size: u32){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_thumnbail`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gaussianBlur` should have a snake case name
[INFO] [stdout]    --> src/main.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn gaussianBlur(i: &str, v: f32){
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `gaussian_blur`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `outputPath` should have a snake case name
[INFO] [stdout]    --> src/main.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let mut outputPath: String = i.chars().take(i.len()-4).collect();
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `output_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `histogramGrayscale` should have a snake case name
[INFO] [stdout]    --> src/main.rs:184:4
[INFO] [stdout]     |
[INFO] [stdout] 184 | fn histogramGrayscale(i: &str){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `histogram_grayscale`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `WIDTH` should have a snake case name
[INFO] [stdout]    --> src/main.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 187 |     let WIDTH = 255;
[INFO] [stdout]     |         ^^^^^ help: convert the identifier to snake case: `width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `HEIGHT` should have a snake case name
[INFO] [stdout]    --> src/main.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |     let HEIGHT = 200;
[INFO] [stdout]     |         ^^^^^^ help: convert the identifier to snake case: `height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |         &occurences.insert(fill,0);        
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let _ = &occurences.insert(fill,0);        
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:212:21
[INFO] [stdout]     |
[INFO] [stdout] 212 |                     &occurences.insert(intensity,current);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 212 |                     let _ = &occurences.insert(intensity,current);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:214:23
[INFO] [stdout]     |
[INFO] [stdout] 214 |                 _ => {&occurences.insert(w as u8,0);}
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 214 |                 _ => {let _ = &occurences.insert(w as u8,0);}
[INFO] [stdout]     |                       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `maxValue` should have a snake case name
[INFO] [stdout]    --> src/main.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let mut maxValue = 0;
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case: `max_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `outputPath` should have a snake case name
[INFO] [stdout]    --> src/main.rs:252:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |     let mut outputPath: String = i.chars().take(i.len()-4).collect();
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `output_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `WIDTH` should have a snake case name
[INFO] [stdout]    --> src/main.rs:265:9
[INFO] [stdout]     |
[INFO] [stdout] 265 |     let WIDTH = 255;
[INFO] [stdout]     |         ^^^^^ help: convert the identifier to snake case: `width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `HEIGHT` should have a snake case name
[INFO] [stdout]    --> src/main.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |     let HEIGHT = 200;
[INFO] [stdout]     |         ^^^^^^ help: convert the identifier to snake case: `height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `occurencesR` should have a snake case name
[INFO] [stdout]    --> src/main.rs:272:13
[INFO] [stdout]     |
[INFO] [stdout] 272 |     let mut occurencesR = HashMap::new();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: convert the identifier to snake case: `occurences_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `occurencesG` should have a snake case name
[INFO] [stdout]    --> src/main.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |     let mut occurencesG = HashMap::new();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: convert the identifier to snake case: `occurences_g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `occurencesB` should have a snake case name
[INFO] [stdout]    --> src/main.rs:274:13
[INFO] [stdout]     |
[INFO] [stdout] 274 |     let mut occurencesB = HashMap::new();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: convert the identifier to snake case: `occurences_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:277:9
[INFO] [stdout]     |
[INFO] [stdout] 277 |         &occurencesR.insert(fill,0);   
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let _ = &occurencesR.insert(fill,0);   
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:278:9
[INFO] [stdout]     |
[INFO] [stdout] 278 |         &occurencesG.insert(fill,0);  
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let _ = &occurencesG.insert(fill,0);  
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:279:9
[INFO] [stdout]     |
[INFO] [stdout] 279 |         &occurencesB.insert(fill,0);       
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 279 |         let _ = &occurencesB.insert(fill,0);       
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `intensityR` should have a snake case name
[INFO] [stdout]    --> src/main.rs:288:17
[INFO] [stdout]     |
[INFO] [stdout] 288 |             let intensityR = rgb.data[0];
[INFO] [stdout]     |                 ^^^^^^^^^^ help: convert the identifier to snake case: `intensity_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `intensityG` should have a snake case name
[INFO] [stdout]    --> src/main.rs:289:17
[INFO] [stdout]     |
[INFO] [stdout] 289 |             let intensityG = rgb.data[1];
[INFO] [stdout]     |                 ^^^^^^^^^^ help: convert the identifier to snake case: `intensity_g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `intensityB` should have a snake case name
[INFO] [stdout]    --> src/main.rs:290:17
[INFO] [stdout]     |
[INFO] [stdout] 290 |             let intensityB = rgb.data[2];
[INFO] [stdout]     |                 ^^^^^^^^^^ help: convert the identifier to snake case: `intensity_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:295:21
[INFO] [stdout]     |
[INFO] [stdout] 295 |                     &occurencesR.insert(intensityR,current);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 295 |                     let _ = &occurencesR.insert(intensityR,current);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:297:23
[INFO] [stdout]     |
[INFO] [stdout] 297 |                 _ => {&occurencesR.insert(w as u8,0);}
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 297 |                 _ => {let _ = &occurencesR.insert(w as u8,0);}
[INFO] [stdout]     |                       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:303:21
[INFO] [stdout]     |
[INFO] [stdout] 303 |                     &occurencesG.insert(intensityG,current);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 303 |                     let _ = &occurencesG.insert(intensityG,current);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:305:23
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 _ => {&occurencesG.insert(w as u8,0);}
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 _ => {let _ = &occurencesG.insert(w as u8,0);}
[INFO] [stdout]     |                       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:311:21
[INFO] [stdout]     |
[INFO] [stdout] 311 |                     &occurencesB.insert(intensityB,current);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 311 |                     let _ = &occurencesB.insert(intensityB,current);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:313:23
[INFO] [stdout]     |
[INFO] [stdout] 313 |                 _ => {&occurencesB.insert(w as u8,0);}
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 313 |                 _ => {let _ = &occurencesB.insert(w as u8,0);}
[INFO] [stdout]     |                       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `maxValueR` should have a snake case name
[INFO] [stdout]    --> src/main.rs:319:13
[INFO] [stdout]     |
[INFO] [stdout] 319 |     let mut maxValueR = 0;
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `max_value_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `maxValueG` should have a snake case name
[INFO] [stdout]    --> src/main.rs:320:13
[INFO] [stdout]     |
[INFO] [stdout] 320 |     let mut maxValueG = 0;
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `max_value_g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `maxValueB` should have a snake case name
[INFO] [stdout]    --> src/main.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let mut maxValueB = 0;
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `max_value_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `occurencesR` should have a snake case name
[INFO] [stdout]    --> src/main.rs:322:10
[INFO] [stdout]     |
[INFO] [stdout] 322 |     for (occurencesR, &value) in occurencesR.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^^ help: convert the identifier to snake case: `occurences_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `occurencesG` should have a snake case name
[INFO] [stdout]    --> src/main.rs:327:10
[INFO] [stdout]     |
[INFO] [stdout] 327 |     for (occurencesG, &value) in occurencesG.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^^ help: convert the identifier to snake case: `occurences_g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `occurencesB` should have a snake case name
[INFO] [stdout]    --> src/main.rs:332:10
[INFO] [stdout]     |
[INFO] [stdout] 332 |     for (occurencesB, &value) in occurencesB.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^^ help: convert the identifier to snake case: `occurences_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `outputPath` should have a snake case name
[INFO] [stdout]    --> src/main.rs:379:13
[INFO] [stdout]     |
[INFO] [stdout] 379 |     let mut outputPath: String = i.chars().take(i.len()-4).collect();
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `output_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `saveFile` should have a snake case name
[INFO] [stdout]    --> src/main.rs:388:4
[INFO] [stdout]     |
[INFO] [stdout] 388 | fn saveFile(img: &DynamicImage, i: &str, operation: &str){
[INFO] [stdout]     |    ^^^^^^^^ help: convert the identifier to snake case: `save_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `outputPath` should have a snake case name
[INFO] [stdout]    --> src/main.rs:389:13
[INFO] [stdout]     |
[INFO] [stdout] 389 |     let mut outputPath: String = i.chars().take(i.len()-4).collect();
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `output_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let mut grayscale = img.grayscale();
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:243:21
[INFO] [stdout]     |
[INFO] [stdout] 243 |                 let mut height = ((value as f32 / maxValue as f32) * 300.0) as u8;
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:244:21
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 let mut pixel = image.get_pixel_mut(cc, (HEIGHT-1) - height as u32);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `occurences`
[INFO] [stdout]    --> src/main.rs:221:10
[INFO] [stdout]     |
[INFO] [stdout] 221 |     for (occurences, &value) in occurences.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_occurences`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:354:21
[INFO] [stdout]     |
[INFO] [stdout] 354 |                 let mut height = ((value as f32 / maxValueR as f32) * 200.0) as u8;
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:355:21
[INFO] [stdout]     |
[INFO] [stdout] 355 |                 let mut pixel = image.get_pixel_mut(cc, (HEIGHT-1) - height as u32);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:362:21
[INFO] [stdout]     |
[INFO] [stdout] 362 |                 let mut height = ((value as f32 / maxValueG as f32) * 200.0) as u8;
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:363:21
[INFO] [stdout]     |
[INFO] [stdout] 363 |                 let mut pixel = image.get_pixel_mut(cc, (HEIGHT-1) - height as u32);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:370:21
[INFO] [stdout]     |
[INFO] [stdout] 370 |                 let mut height = ((value as f32 / maxValueB as f32) * 200.0) as u8;
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:371:21
[INFO] [stdout]     |
[INFO] [stdout] 371 |                 let mut pixel = image.get_pixel_mut(cc, (HEIGHT-1) - height as u32);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `occurencesR`
[INFO] [stdout]    --> src/main.rs:322:10
[INFO] [stdout]     |
[INFO] [stdout] 322 |     for (occurencesR, &value) in occurencesR.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_occurencesR`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `occurencesG`
[INFO] [stdout]    --> src/main.rs:327:10
[INFO] [stdout]     |
[INFO] [stdout] 327 |     for (occurencesG, &value) in occurencesG.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_occurencesG`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `occurencesB`
[INFO] [stdout]    --> src/main.rs:332:10
[INFO] [stdout]     |
[INFO] [stdout] 332 |     for (occurencesB, &value) in occurencesB.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_occurencesB`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `imagePath` should have a snake case name
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let imagePath = matches.value_of("image").unwrap_or("empty");
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `image_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `averageColor` should have a snake case name
[INFO] [stdout]   --> src/main.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn averageColor(i: &str){
[INFO] [stdout]    |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `average_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `createThumnbail` should have a snake case name
[INFO] [stdout]   --> src/main.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn createThumnbail(i: &str, size: u32){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_thumnbail`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gaussianBlur` should have a snake case name
[INFO] [stdout]    --> src/main.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn gaussianBlur(i: &str, v: f32){
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `gaussian_blur`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `outputPath` should have a snake case name
[INFO] [stdout]    --> src/main.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let mut outputPath: String = i.chars().take(i.len()-4).collect();
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `output_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `histogramGrayscale` should have a snake case name
[INFO] [stdout]    --> src/main.rs:184:4
[INFO] [stdout]     |
[INFO] [stdout] 184 | fn histogramGrayscale(i: &str){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `histogram_grayscale`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `WIDTH` should have a snake case name
[INFO] [stdout]    --> src/main.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 187 |     let WIDTH = 255;
[INFO] [stdout]     |         ^^^^^ help: convert the identifier to snake case: `width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `HEIGHT` should have a snake case name
[INFO] [stdout]    --> src/main.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |     let HEIGHT = 200;
[INFO] [stdout]     |         ^^^^^^ help: convert the identifier to snake case: `height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |         &occurences.insert(fill,0);        
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let _ = &occurences.insert(fill,0);        
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:212:21
[INFO] [stdout]     |
[INFO] [stdout] 212 |                     &occurences.insert(intensity,current);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 212 |                     let _ = &occurences.insert(intensity,current);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:214:23
[INFO] [stdout]     |
[INFO] [stdout] 214 |                 _ => {&occurences.insert(w as u8,0);}
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 214 |                 _ => {let _ = &occurences.insert(w as u8,0);}
[INFO] [stdout]     |                       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `maxValue` should have a snake case name
[INFO] [stdout]    --> src/main.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let mut maxValue = 0;
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case: `max_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `outputPath` should have a snake case name
[INFO] [stdout]    --> src/main.rs:252:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |     let mut outputPath: String = i.chars().take(i.len()-4).collect();
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `output_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `WIDTH` should have a snake case name
[INFO] [stdout]    --> src/main.rs:265:9
[INFO] [stdout]     |
[INFO] [stdout] 265 |     let WIDTH = 255;
[INFO] [stdout]     |         ^^^^^ help: convert the identifier to snake case: `width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `HEIGHT` should have a snake case name
[INFO] [stdout]    --> src/main.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |     let HEIGHT = 200;
[INFO] [stdout]     |         ^^^^^^ help: convert the identifier to snake case: `height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `occurencesR` should have a snake case name
[INFO] [stdout]    --> src/main.rs:272:13
[INFO] [stdout]     |
[INFO] [stdout] 272 |     let mut occurencesR = HashMap::new();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: convert the identifier to snake case: `occurences_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `occurencesG` should have a snake case name
[INFO] [stdout]    --> src/main.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |     let mut occurencesG = HashMap::new();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: convert the identifier to snake case: `occurences_g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `occurencesB` should have a snake case name
[INFO] [stdout]    --> src/main.rs:274:13
[INFO] [stdout]     |
[INFO] [stdout] 274 |     let mut occurencesB = HashMap::new();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: convert the identifier to snake case: `occurences_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:277:9
[INFO] [stdout]     |
[INFO] [stdout] 277 |         &occurencesR.insert(fill,0);   
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let _ = &occurencesR.insert(fill,0);   
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:278:9
[INFO] [stdout]     |
[INFO] [stdout] 278 |         &occurencesG.insert(fill,0);  
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let _ = &occurencesG.insert(fill,0);  
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:279:9
[INFO] [stdout]     |
[INFO] [stdout] 279 |         &occurencesB.insert(fill,0);       
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 279 |         let _ = &occurencesB.insert(fill,0);       
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `intensityR` should have a snake case name
[INFO] [stdout]    --> src/main.rs:288:17
[INFO] [stdout]     |
[INFO] [stdout] 288 |             let intensityR = rgb.data[0];
[INFO] [stdout]     |                 ^^^^^^^^^^ help: convert the identifier to snake case: `intensity_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `intensityG` should have a snake case name
[INFO] [stdout]    --> src/main.rs:289:17
[INFO] [stdout]     |
[INFO] [stdout] 289 |             let intensityG = rgb.data[1];
[INFO] [stdout]     |                 ^^^^^^^^^^ help: convert the identifier to snake case: `intensity_g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `intensityB` should have a snake case name
[INFO] [stdout]    --> src/main.rs:290:17
[INFO] [stdout]     |
[INFO] [stdout] 290 |             let intensityB = rgb.data[2];
[INFO] [stdout]     |                 ^^^^^^^^^^ help: convert the identifier to snake case: `intensity_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:295:21
[INFO] [stdout]     |
[INFO] [stdout] 295 |                     &occurencesR.insert(intensityR,current);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 295 |                     let _ = &occurencesR.insert(intensityR,current);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:297:23
[INFO] [stdout]     |
[INFO] [stdout] 297 |                 _ => {&occurencesR.insert(w as u8,0);}
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 297 |                 _ => {let _ = &occurencesR.insert(w as u8,0);}
[INFO] [stdout]     |                       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:303:21
[INFO] [stdout]     |
[INFO] [stdout] 303 |                     &occurencesG.insert(intensityG,current);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 303 |                     let _ = &occurencesG.insert(intensityG,current);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:305:23
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 _ => {&occurencesG.insert(w as u8,0);}
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 _ => {let _ = &occurencesG.insert(w as u8,0);}
[INFO] [stdout]     |                       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:311:21
[INFO] [stdout]     |
[INFO] [stdout] 311 |                     &occurencesB.insert(intensityB,current);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 311 |                     let _ = &occurencesB.insert(intensityB,current);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:313:23
[INFO] [stdout]     |
[INFO] [stdout] 313 |                 _ => {&occurencesB.insert(w as u8,0);}
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 313 |                 _ => {let _ = &occurencesB.insert(w as u8,0);}
[INFO] [stdout]     |                       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `maxValueR` should have a snake case name
[INFO] [stdout]    --> src/main.rs:319:13
[INFO] [stdout]     |
[INFO] [stdout] 319 |     let mut maxValueR = 0;
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `max_value_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `maxValueG` should have a snake case name
[INFO] [stdout]    --> src/main.rs:320:13
[INFO] [stdout]     |
[INFO] [stdout] 320 |     let mut maxValueG = 0;
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `max_value_g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `maxValueB` should have a snake case name
[INFO] [stdout]    --> src/main.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let mut maxValueB = 0;
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `max_value_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `occurencesR` should have a snake case name
[INFO] [stdout]    --> src/main.rs:322:10
[INFO] [stdout]     |
[INFO] [stdout] 322 |     for (occurencesR, &value) in occurencesR.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^^ help: convert the identifier to snake case: `occurences_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `occurencesG` should have a snake case name
[INFO] [stdout]    --> src/main.rs:327:10
[INFO] [stdout]     |
[INFO] [stdout] 327 |     for (occurencesG, &value) in occurencesG.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^^ help: convert the identifier to snake case: `occurences_g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `occurencesB` should have a snake case name
[INFO] [stdout]    --> src/main.rs:332:10
[INFO] [stdout]     |
[INFO] [stdout] 332 |     for (occurencesB, &value) in occurencesB.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^^ help: convert the identifier to snake case: `occurences_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `outputPath` should have a snake case name
[INFO] [stdout]    --> src/main.rs:379:13
[INFO] [stdout]     |
[INFO] [stdout] 379 |     let mut outputPath: String = i.chars().take(i.len()-4).collect();
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `output_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `saveFile` should have a snake case name
[INFO] [stdout]    --> src/main.rs:388:4
[INFO] [stdout]     |
[INFO] [stdout] 388 | fn saveFile(img: &DynamicImage, i: &str, operation: &str){
[INFO] [stdout]     |    ^^^^^^^^ help: convert the identifier to snake case: `save_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `outputPath` should have a snake case name
[INFO] [stdout]    --> src/main.rs:389:13
[INFO] [stdout]     |
[INFO] [stdout] 389 |     let mut outputPath: String = i.chars().take(i.len()-4).collect();
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `output_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.39s
[INFO] running `Command { std: "docker" "inspect" "654e3cb292662850d69e00bdf117801ea70ddf145c92c152b3f88b5808b0668e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "654e3cb292662850d69e00bdf117801ea70ddf145c92c152b3f88b5808b0668e", kill_on_drop: false }`
[INFO] [stdout] 654e3cb292662850d69e00bdf117801ea70ddf145c92c152b3f88b5808b0668e
