[INFO] cloning repository https://github.com/Isan-Rivkin/image-toolbox-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Isan-Rivkin/image-toolbox-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsan-Rivkin%2Fimage-toolbox-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsan-Rivkin%2Fimage-toolbox-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c305a5b6a43fad8b449780df210f5e383c4d6d56
[INFO] checking Isan-Rivkin/image-toolbox-rs against try#a3dffdb3a32d0dedc198f9de7d43173f3eb6727b for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsan-Rivkin%2Fimage-toolbox-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Isan-Rivkin/image-toolbox-rs on toolchain a3dffdb3a32d0dedc198f9de7d43173f3eb6727b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Isan-Rivkin/image-toolbox-rs
[INFO] finished tweaking git repo https://github.com/Isan-Rivkin/image-toolbox-rs
[INFO] tweaked toml for git repo https://github.com/Isan-Rivkin/image-toolbox-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Isan-Rivkin/image-toolbox-rs 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" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d4ee7d1e64027e970348c4e92991dc0f8210244c718f38127121c22de8ccd7f
[INFO] running `Command { std: "docker" "start" "-a" "9d4ee7d1e64027e970348c4e92991dc0f8210244c718f38127121c22de8ccd7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d4ee7d1e64027e970348c4e92991dc0f8210244c718f38127121c22de8ccd7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d4ee7d1e64027e970348c4e92991dc0f8210244c718f38127121c22de8ccd7f", kill_on_drop: false }`
[INFO] [stdout] 9d4ee7d1e64027e970348c4e92991dc0f8210244c718f38127121c22de8ccd7f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb54dc6f6d5f4c01be8737132b5efe08e10cd477477308153f59b4d9de124aa3
[INFO] running `Command { std: "docker" "start" "-a" "eb54dc6f6d5f4c01be8737132b5efe08e10cd477477308153f59b4d9de124aa3", kill_on_drop: false }`
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]    Compiling libc v0.2.48
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling num-derive v0.2.4
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]     Checking either v1.5.1
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking bitflags v1.0.4
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking safe-transmute v0.10.1
[INFO] [stderr]     Checking math v0.0.2
[INFO] [stderr]     Checking gif v0.10.1
[INFO] [stderr]     Checking deflate v0.7.19
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]     Checking num_cpus v1.10.0
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]    Compiling syn v0.15.26
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]     Checking png v0.14.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]     Checking tiff v0.2.2
[INFO] [stderr]     Checking image v0.21.0
[INFO] [stderr]     Checking image-toolbox v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ImageBuffer` and `RGB`
[INFO] [stdout]   --> src/lib.rs:33:27
[INFO] [stdout]    |
[INFO] [stdout] 33 | use image::{GenericImage, ImageBuffer,RGB,GenericImageView, DynamicImage};
[INFO] [stdout]    |                           ^^^^^^^^^^^ ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::imageops`
[INFO] [stdout]   --> src/lib.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use image::imageops;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `max` and `min`
[INFO] [stdout]   --> src/lib.rs:35:16
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::cmp::{min, max};
[INFO] [stdout]    |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ImageBuffer` and `RGB`
[INFO] [stdout]   --> src/lib.rs:33:27
[INFO] [stdout]    |
[INFO] [stdout] 33 | use image::{GenericImage, ImageBuffer,RGB,GenericImageView, DynamicImage};
[INFO] [stdout]    |                           ^^^^^^^^^^^ ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::imageops`
[INFO] [stdout]   --> src/lib.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use image::imageops;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `max` and `min`
[INFO] [stdout]   --> src/lib.rs:35:16
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::cmp::{min, max};
[INFO] [stdout]    |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `R` is named the same as one of the variants of the type `Pix`
[INFO] [stdout]   --> src/lib.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             R => self.r_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: to match on the variant, qualify the path: `Pix::R`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(bindings_with_variant_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `G` is named the same as one of the variants of the type `Pix`
[INFO] [stdout]   --> src/lib.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             G => self.g_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: to match on the variant, qualify the path: `Pix::G`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `B` is named the same as one of the variants of the type `Pix`
[INFO] [stdout]   --> src/lib.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             B => self.b_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: to match on the variant, qualify the path: `Pix::B`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             R => self.r_dist[pix_val as usize], 
[INFO] [stdout]    |             - matches any value
[INFO] [stdout] 82 |             G => self.g_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             R => self.r_dist[pix_val as usize], 
[INFO] [stdout]    |             - matches any value
[INFO] [stdout] 82 |             G => self.g_dist[pix_val as usize], 
[INFO] [stdout] 83 |             B => self.b_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `R`
[INFO] [stdout]   --> src/lib.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             R => self.r_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_R`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `G`
[INFO] [stdout]   --> src/lib.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             G => self.g_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_G`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `B`
[INFO] [stdout]   --> src/lib.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             B => self.b_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_B`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sum_distros` is assigned to, but never used
[INFO] [stdout]    --> src/lib.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let mut sum_distros = 0.0;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_sum_distros` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_pixel`
[INFO] [stdout]    --> src/lib.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let new_pixel = 0; 
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_pixel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let mut up_to = original_pixel as u32 +1;
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]    --> src/lib.rs:218:21
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 let p2 = img2.get_pixel(i, j);
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `L` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let L = 256;
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `l`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         write!(f,"\n----------------- RED -----------------\n");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 write!(f,"{} => {}\n", i, self.r_dist[i]);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         write!(f,"\n----------------- GREEN -----------------\n");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 write!(f,"{} => {}\n", i, self.g_dist[i]);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         write!(f,"\n----------------- BLUE -----------------\n");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 write!(f,"{} => {}\n", i, self.b_dist[i]);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `R` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             R => self.r_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `G` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             G => self.g_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             B => self.b_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `L` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let L = 256;
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `l`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `colorType` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:124:45
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub fn transform_pixel(original_pixel : u8, colorType : Pix ,histogram :& Histogram)-> u8{
[INFO] [stdout]     |                                             ^^^^^^^^^ help: convert the identifier to snake case: `color_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `L` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let L = 256.0; 
[INFO] [stdout]     |         ^ help: convert the identifier to snake case: `l`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `R` is named the same as one of the variants of the type `Pix`
[INFO] [stdout]   --> src/lib.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             R => self.r_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: to match on the variant, qualify the path: `Pix::R`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(bindings_with_variant_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `G` is named the same as one of the variants of the type `Pix`
[INFO] [stdout]   --> src/lib.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             G => self.g_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: to match on the variant, qualify the path: `Pix::G`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `B` is named the same as one of the variants of the type `Pix`
[INFO] [stdout]   --> src/lib.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             B => self.b_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: to match on the variant, qualify the path: `Pix::B`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0170`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `image-toolbox` (lib test) due to 3 previous errors; 25 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             R => self.r_dist[pix_val as usize], 
[INFO] [stdout]    |             - matches any value
[INFO] [stdout] 82 |             G => self.g_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             R => self.r_dist[pix_val as usize], 
[INFO] [stdout]    |             - matches any value
[INFO] [stdout] 82 |             G => self.g_dist[pix_val as usize], 
[INFO] [stdout] 83 |             B => self.b_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `R`
[INFO] [stdout]   --> src/lib.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             R => self.r_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_R`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `G`
[INFO] [stdout]   --> src/lib.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             G => self.g_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_G`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `B`
[INFO] [stdout]   --> src/lib.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             B => self.b_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_B`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sum_distros` is assigned to, but never used
[INFO] [stdout]    --> src/lib.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let mut sum_distros = 0.0;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_sum_distros` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_pixel`
[INFO] [stdout]    --> src/lib.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let new_pixel = 0; 
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_pixel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let mut up_to = original_pixel as u32 +1;
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `L` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let L = 256;
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `l`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         write!(f,"\n----------------- RED -----------------\n");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 write!(f,"{} => {}\n", i, self.r_dist[i]);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         write!(f,"\n----------------- GREEN -----------------\n");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 write!(f,"{} => {}\n", i, self.g_dist[i]);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         write!(f,"\n----------------- BLUE -----------------\n");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 write!(f,"{} => {}\n", i, self.b_dist[i]);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `R` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             R => self.r_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `G` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             G => self.g_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             B => self.b_dist[pix_val as usize], 
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `L` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let L = 256;
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `l`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `colorType` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:124:45
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub fn transform_pixel(original_pixel : u8, colorType : Pix ,histogram :& Histogram)-> u8{
[INFO] [stdout]     |                                             ^^^^^^^^^ help: convert the identifier to snake case: `color_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `L` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let L = 256.0; 
[INFO] [stdout]     |         ^ help: convert the identifier to snake case: `l`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0170`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `image-toolbox` (lib) due to 3 previous errors; 24 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "eb54dc6f6d5f4c01be8737132b5efe08e10cd477477308153f59b4d9de124aa3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb54dc6f6d5f4c01be8737132b5efe08e10cd477477308153f59b4d9de124aa3", kill_on_drop: false }`
[INFO] [stdout] eb54dc6f6d5f4c01be8737132b5efe08e10cd477477308153f59b4d9de124aa3
