[INFO] cloning repository https://github.com/ThaFireDragonOfDeath/open-mediacheck
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThaFireDragonOfDeath/open-mediacheck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThaFireDragonOfDeath%2Fopen-mediacheck", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThaFireDragonOfDeath%2Fopen-mediacheck'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 18a05bdbd8418a921c80dcfe8c29404fab5a0a0b
[INFO] checking ThaFireDragonOfDeath/open-mediacheck against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThaFireDragonOfDeath%2Fopen-mediacheck" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ThaFireDragonOfDeath/open-mediacheck
[INFO] finished tweaking git repo https://github.com/ThaFireDragonOfDeath/open-mediacheck
[INFO] tweaked toml for git repo https://github.com/ThaFireDragonOfDeath/open-mediacheck written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ThaFireDragonOfDeath/open-mediacheck on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ThaFireDragonOfDeath/open-mediacheck 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-complex v0.2.1
[INFO] [stderr]   Downloaded safe-transmute v0.10.1
[INFO] [stderr]   Downloaded proc-macro2 v0.4.27
[INFO] [stderr]   Downloaded rustfft v3.0.0
[INFO] [stderr]   Downloaded num-derive v0.2.4
[INFO] [stderr]   Downloaded strength_reduce v0.2.1
[INFO] [stderr]   Downloaded transpose v0.1.0
[INFO] [stderr]   Downloaded image v0.21.0
[INFO] [stderr]   Downloaded png v0.14.0
[INFO] [stderr]   Downloaded quote v0.6.11
[INFO] [stderr]   Downloaded inflate v0.4.4
[INFO] [stderr]   Downloaded num_cpus v1.9.0
[INFO] [stderr]   Downloaded syn v0.15.26
[INFO] [stderr]   Downloaded libc v0.2.48
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ee57544a6b81a4be39d6de3f9faddeeee52d63ab522441e21d9d2b6ac388d19e
[INFO] running `Command { std: "docker" "start" "-a" "ee57544a6b81a4be39d6de3f9faddeeee52d63ab522441e21d9d2b6ac388d19e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ee57544a6b81a4be39d6de3f9faddeeee52d63ab522441e21d9d2b6ac388d19e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee57544a6b81a4be39d6de3f9faddeeee52d63ab522441e21d9d2b6ac388d19e", kill_on_drop: false }`
[INFO] [stdout] ee57544a6b81a4be39d6de3f9faddeeee52d63ab522441e21d9d2b6ac388d19e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6dde1da9272015ec955bb23a21589cb1307d61edbb04b109c829a60027548076
[INFO] running `Command { std: "docker" "start" "-a" "6dde1da9272015ec955bb23a21589cb1307d61edbb04b109c829a60027548076", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling libc v0.2.48
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling num-derive v0.2.4
[INFO] [stderr]    Compiling num-complex v0.2.1
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]     Checking inflate v0.4.4
[INFO] [stderr]     Checking deflate v0.7.19
[INFO] [stderr]     Checking gif v0.10.1
[INFO] [stderr]     Checking transpose v0.1.0
[INFO] [stderr]     Checking strength_reduce v0.2.1
[INFO] [stderr]     Checking safe-transmute v0.10.1
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]     Checking num_cpus v1.9.0
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling syn v0.15.26
[INFO] [stderr]     Checking rayon-core v1.4.1
[INFO] [stderr]     Checking png v0.14.0
[INFO] [stderr]     Checking rayon v1.0.3
[INFO] [stderr]     Checking rustfft v3.0.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 open-mediacheck v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Sample` and `WavSamples`
[INFO] [stdout]  --> src/audio.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use self::hound::{WavReader,WavSamples,Sample};
[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: `std::sync::Arc`
[INFO] [stdout]  --> src/audio.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/audio.rs:48:15
[INFO] [stdout]    |
[INFO] [stdout] 48 | ...le ((hash_area_offset_in_seconds as f32 + hash_area_size_in_seconds as f32 + hash_area_distance_in_seconds as f32) < (remaining_audio as f32)) {
[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] 48 -         while ((hash_area_offset_in_seconds as f32 + hash_area_size_in_seconds as f32 + hash_area_distance_in_seconds as f32) < (remaining_audio as f32)) {
[INFO] [stdout] 48 +         while (hash_area_offset_in_seconds as f32 + hash_area_size_in_seconds as f32 + hash_area_distance_in_seconds as f32) < (remaining_audio as f32)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/audio.rs:62:32
[INFO] [stdout]    |
[INFO] [stdout] 62 |             remaining_audio -= (hash_area_size_in_seconds as f32 + hash_area_distance_in_seconds as f32);
[INFO] [stdout]    |                                ^                                                                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 62 -             remaining_audio -= (hash_area_size_in_seconds as f32 + hash_area_distance_in_seconds as f32);
[INFO] [stdout] 62 +             remaining_audio -= hash_area_size_in_seconds as f32 + hash_area_distance_in_seconds as f32 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/audio.rs:128:16
[INFO] [stdout]     |
[INFO] [stdout] 128 |             if (read_fft < samples_per_second / 2) {
[INFO] [stdout]     |                ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 128 -             if (read_fft < samples_per_second / 2) {
[INFO] [stdout] 128 +             if read_fft < samples_per_second / 2  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/audio.rs:140:16
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...if (read_fft >= (frequency_sidecrop_left as f32 * hash_area_size_in_seconds) as u32 && read_fft <= (frequency_sidecrop_right as f32 * hash_area_size_in_seconds) as u32) {
[INFO] [stdout]     |       ^                                                                                                                                                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 140 -             if (read_fft >= (frequency_sidecrop_left as f32 * hash_area_size_in_seconds) as u32 && read_fft <= (frequency_sidecrop_right as f32 * hash_area_size_in_seconds) as u32) {
[INFO] [stdout] 140 +             if read_fft >= (frequency_sidecrop_left as f32 * hash_area_size_in_seconds) as u32 && read_fft <= (frequency_sidecrop_right as f32 * hash_area_size_in_seconds) as u32  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/audio.rs:176:16
[INFO] [stdout]     |
[INFO] [stdout] 176 |             if (x == 0) {
[INFO] [stdout]     |                ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 176 -             if (x == 0) {
[INFO] [stdout] 176 +             if x == 0  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/audio.rs:187:15
[INFO] [stdout]     |
[INFO] [stdout] 187 |             if(*fft_abs > fft_max) {
[INFO] [stdout]     |               ^                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 187 -             if(*fft_abs > fft_max) {
[INFO] [stdout] 187 +             if *fft_abs > fft_max  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/audio.rs:198:15
[INFO] [stdout]     |
[INFO] [stdout] 198 |             if(fft_current_iter != 0) {
[INFO] [stdout]     |               ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 198 -             if(fft_current_iter != 0) {
[INFO] [stdout] 198 +             if fft_current_iter != 0  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/audio.rs:218:16
[INFO] [stdout]     |
[INFO] [stdout] 218 |             if (duration_samples == 0) {
[INFO] [stdout]     |                ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 218 -             if (duration_samples == 0) {
[INFO] [stdout] 218 +             if duration_samples == 0  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/audio.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut audio_hashes: Vec<String> = Vec::new();
[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/audio.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...   let mut fft_samples_abs = TargetAudio::normalize_fftsamples(&mut fft_samples, hash_bitsize, samples_per_second, frequency_side...
[INFO] [stdout]    |           ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |           |
[INFO] [stdout]    |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_mode`
[INFO] [stdout]   --> src/audio.rs:25:53
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn calc_gen_ahash(&self, hash_bitsize: u16, output_mode: OutputMode) {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_mode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `audio_hashes`
[INFO] [stdout]   --> src/audio.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut audio_hashes: Vec<String> = Vec::new();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_audio_hashes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/audio.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         for x in 0..bitcount - cat {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/audio.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |         for x in 0..cat {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_mode`
[INFO] [stdout]   --> src/picture.rs:19:49
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn calc_ahash(&self, hash_bitsize: u16, output_mode: OutputMode) -> String {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_mode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut target_audio: TargetAudio = TargetAudio::new(&audio_test_file);
[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:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut target_audio2: TargetAudio = TargetAudio::new(&audio_test_file2);
[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:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut target_audio3: TargetAudio = TargetAudio::new(&audio_test_file3);
[INFO] [stdout]    |         ----^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Hex` is never constructed
[INFO] [stdout]  --> src/common.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum OutputMode {
[INFO] [stdout]   |          ---------- variant in this enum
[INFO] [stdout] 2 |     Bin,
[INFO] [stdout] 3 |     Hex,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Sample` and `WavSamples`
[INFO] [stdout]  --> src/audio.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use self::hound::{WavReader,WavSamples,Sample};
[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: `std::sync::Arc`
[INFO] [stdout]  --> src/audio.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/audio.rs:48:15
[INFO] [stdout]    |
[INFO] [stdout] 48 | ...le ((hash_area_offset_in_seconds as f32 + hash_area_size_in_seconds as f32 + hash_area_distance_in_seconds as f32) < (remaining_audio as f32)) {
[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] 48 -         while ((hash_area_offset_in_seconds as f32 + hash_area_size_in_seconds as f32 + hash_area_distance_in_seconds as f32) < (remaining_audio as f32)) {
[INFO] [stdout] 48 +         while (hash_area_offset_in_seconds as f32 + hash_area_size_in_seconds as f32 + hash_area_distance_in_seconds as f32) < (remaining_audio as f32)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/audio.rs:62:32
[INFO] [stdout]    |
[INFO] [stdout] 62 |             remaining_audio -= (hash_area_size_in_seconds as f32 + hash_area_distance_in_seconds as f32);
[INFO] [stdout]    |                                ^                                                                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 62 -             remaining_audio -= (hash_area_size_in_seconds as f32 + hash_area_distance_in_seconds as f32);
[INFO] [stdout] 62 +             remaining_audio -= hash_area_size_in_seconds as f32 + hash_area_distance_in_seconds as f32 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/audio.rs:128:16
[INFO] [stdout]     |
[INFO] [stdout] 128 |             if (read_fft < samples_per_second / 2) {
[INFO] [stdout]     |                ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 128 -             if (read_fft < samples_per_second / 2) {
[INFO] [stdout] 128 +             if read_fft < samples_per_second / 2  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/audio.rs:140:16
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...if (read_fft >= (frequency_sidecrop_left as f32 * hash_area_size_in_seconds) as u32 && read_fft <= (frequency_sidecrop_right as f32 * hash_area_size_in_seconds) as u32) {
[INFO] [stdout]     |       ^                                                                                                                                                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 140 -             if (read_fft >= (frequency_sidecrop_left as f32 * hash_area_size_in_seconds) as u32 && read_fft <= (frequency_sidecrop_right as f32 * hash_area_size_in_seconds) as u32) {
[INFO] [stdout] 140 +             if read_fft >= (frequency_sidecrop_left as f32 * hash_area_size_in_seconds) as u32 && read_fft <= (frequency_sidecrop_right as f32 * hash_area_size_in_seconds) as u32  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/audio.rs:176:16
[INFO] [stdout]     |
[INFO] [stdout] 176 |             if (x == 0) {
[INFO] [stdout]     |                ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 176 -             if (x == 0) {
[INFO] [stdout] 176 +             if x == 0  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/audio.rs:187:15
[INFO] [stdout]     |
[INFO] [stdout] 187 |             if(*fft_abs > fft_max) {
[INFO] [stdout]     |               ^                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 187 -             if(*fft_abs > fft_max) {
[INFO] [stdout] 187 +             if *fft_abs > fft_max  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/audio.rs:198:15
[INFO] [stdout]     |
[INFO] [stdout] 198 |             if(fft_current_iter != 0) {
[INFO] [stdout]     |               ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 198 -             if(fft_current_iter != 0) {
[INFO] [stdout] 198 +             if fft_current_iter != 0  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/audio.rs:218:16
[INFO] [stdout]     |
[INFO] [stdout] 218 |             if (duration_samples == 0) {
[INFO] [stdout]     |                ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 218 -             if (duration_samples == 0) {
[INFO] [stdout] 218 +             if duration_samples == 0  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/audio.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut audio_hashes: Vec<String> = Vec::new();
[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/audio.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...   let mut fft_samples_abs = TargetAudio::normalize_fftsamples(&mut fft_samples, hash_bitsize, samples_per_second, frequency_side...
[INFO] [stdout]    |           ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |           |
[INFO] [stdout]    |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_mode`
[INFO] [stdout]   --> src/audio.rs:25:53
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn calc_gen_ahash(&self, hash_bitsize: u16, output_mode: OutputMode) {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_mode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `audio_hashes`
[INFO] [stdout]   --> src/audio.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut audio_hashes: Vec<String> = Vec::new();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_audio_hashes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/audio.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         for x in 0..bitcount - cat {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/audio.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |         for x in 0..cat {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_mode`
[INFO] [stdout]   --> src/picture.rs:19:49
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn calc_ahash(&self, hash_bitsize: u16, output_mode: OutputMode) -> String {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_mode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut target_audio: TargetAudio = TargetAudio::new(&audio_test_file);
[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:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut target_audio2: TargetAudio = TargetAudio::new(&audio_test_file2);
[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:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut target_audio3: TargetAudio = TargetAudio::new(&audio_test_file3);
[INFO] [stdout]    |         ----^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Hex` is never constructed
[INFO] [stdout]  --> src/common.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum OutputMode {
[INFO] [stdout]   |          ---------- variant in this enum
[INFO] [stdout] 2 |     Bin,
[INFO] [stdout] 3 |     Hex,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.05s
[INFO] running `Command { std: "docker" "inspect" "6dde1da9272015ec955bb23a21589cb1307d61edbb04b109c829a60027548076", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6dde1da9272015ec955bb23a21589cb1307d61edbb04b109c829a60027548076", kill_on_drop: false }`
[INFO] [stdout] 6dde1da9272015ec955bb23a21589cb1307d61edbb04b109c829a60027548076
