[INFO] cloning repository https://github.com/acharleston6/Assignment-1-CombFilter-Implementation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acharleston6/Assignment-1-CombFilter-Implementation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facharleston6%2FAssignment-1-CombFilter-Implementation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facharleston6%2FAssignment-1-CombFilter-Implementation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 592c4ae4b8107d3c7ebc5c14ab4cb94dee3094cb
[INFO] checking acharleston6/Assignment-1-CombFilter-Implementation against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facharleston6%2FAssignment-1-CombFilter-Implementation" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/acharleston6/Assignment-1-CombFilter-Implementation
[INFO] finished tweaking git repo https://github.com/acharleston6/Assignment-1-CombFilter-Implementation
[INFO] tweaked toml for git repo https://github.com/acharleston6/Assignment-1-CombFilter-Implementation written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/acharleston6/Assignment-1-CombFilter-Implementation on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/acharleston6/Assignment-1-CombFilter-Implementation 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bc94c713f710f427822348c3a0c52b3ac0a6b64f4617d2f1c246c13659d75089
[INFO] running `Command { std: "docker" "start" "-a" "bc94c713f710f427822348c3a0c52b3ac0a6b64f4617d2f1c246c13659d75089", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc94c713f710f427822348c3a0c52b3ac0a6b64f4617d2f1c246c13659d75089", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc94c713f710f427822348c3a0c52b3ac0a6b64f4617d2f1c246c13659d75089", kill_on_drop: false }`
[INFO] [stdout] bc94c713f710f427822348c3a0c52b3ac0a6b64f4617d2f1c246c13659d75089
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2caa69a9b18a6c52c0017bbddbffb08f8692639ef753666bf3e59e0b6bbe164
[INFO] running `Command { std: "docker" "start" "-a" "f2caa69a9b18a6c52c0017bbddbffb08f8692639ef753666bf3e59e0b6bbe164", kill_on_drop: false }`
[INFO] [stderr]     Checking hound v3.5.1
[INFO] [stderr]     Checking ase v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `os::unix::process`
[INFO] [stdout]  --> src/main.rs:1:32
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::File, io::Write, os::unix::process};
[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: `self`
[INFO] [stdout]  --> src/comb_filter.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ring_buffer::{self, RingBuffer};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `os::unix::process`
[INFO] [stdout]  --> src/main.rs:1:32
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::File, io::Write, os::unix::process};
[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: `self`
[INFO] [stdout]  --> src/comb_filter.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ring_buffer::{self, RingBuffer};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut reader = hound::WavReader::open(&args[1]).unwrap();
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channels`
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let channels = spec.channels;
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block_size`
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let block_size = 1024;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iifFilter1`
[INFO] [stdout]   --> src/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let iifFilter1 = CombFilter::new(FilterType::IIR, 4.0, 44100.0, channels as usize);
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iifFilter1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let mut FIRZeroInput: &[&[f32]] = &[&[1.0]];
[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:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut FIRZeroOutput: &mut [&mut [f32]] = &mut [&mut []];
[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:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let mut IIRAmountofMagnitude: &[&[f32]] = &[&[1.0]];
[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:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let mut IIRAmountOutput: &mut [&mut [f32]] = &mut [&mut []];
[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:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let mut varyingInput: &[&[f32]] = &[&[1.0, 2.0], &[1.0, 2.0, 3.0, 4.0]];
[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:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut varyingOutput: &mut [&mut [f32]] = &mut [&mut []];
[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:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut IIRZeroInput: &[&[f32]] = &[&[]];
[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:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let mut IIRZeroOutput: &mut [&mut [f32]] = &mut [&mut []];
[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:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let mut FIRZeroInput: &[&[f32]] = &[&[]];
[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:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let mut FIRZeroOutput: &mut [&mut [f32]] = &mut [&mut []];
[INFO] [stdout]     |         ----^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/comb_filter.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub struct CombFilter {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  7 |     sample_rate_hz: f32, 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     num_channels: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     init_filter_type: FilterType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     init_max_delay_secs: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     init_sample_rate_hz: f32, 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     init_num_channels: usize,  
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |
[INFO] [stdout] 18 |     delayLine: Vec<f32>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 19 |     delayIndex: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `param` and `value` are never read
[INFO] [stdout]   --> src/comb_filter.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |     InvalidValue { param: FilterParam, value: f32 }
[INFO] [stdout]    |     ------------   ^^^^^               ^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset` is never used
[INFO] [stdout]   --> src/comb_filter.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl CombFilter {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `iifFilter1` should have a snake case name
[INFO] [stdout]   --> src/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let iifFilter1 = CombFilter::new(FilterType::IIR, 4.0, 44100.0, channels as usize);
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `iif_filter1`
[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 `testFIROutputIsZero` should have a snake case name
[INFO] [stdout]   --> src/main.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn testFIROutputIsZero() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_firoutput_is_zero`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FIRZeroInput` should have a snake case name
[INFO] [stdout]   --> src/main.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let mut FIRZeroInput: &[&[f32]] = &[&[1.0]];
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `firzero_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FIRZeroOutput` should have a snake case name
[INFO] [stdout]   --> src/main.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut FIRZeroOutput: &mut [&mut [f32]] = &mut [&mut []];
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `firzero_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FIRZeroFilter` should have a snake case name
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let mut FIRZeroFilter = CombFilter::new(FilterType::FIR, 1.0, 1.0, 1);
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `firzero_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testIIRAmountofMagnitude` should have a snake case name
[INFO] [stdout]   --> src/main.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn testIIRAmountofMagnitude() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_iiramountof_magnitude`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IIRAmountofMagnitude` should have a snake case name
[INFO] [stdout]   --> src/main.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let mut IIRAmountofMagnitude: &[&[f32]] = &[&[1.0]];
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `iiramountof_magnitude`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IIRAmountOutput` should have a snake case name
[INFO] [stdout]   --> src/main.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let mut IIRAmountOutput: &mut [&mut [f32]] = &mut [&mut []];
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `iiramount_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IIRAmountFilter` should have a snake case name
[INFO] [stdout]   --> src/main.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut IIRAmountFilter = CombFilter::new(FilterType::FIR, 1.0, 1.0, 1);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `iiramount_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testBothVaryingInputSize` should have a snake case name
[INFO] [stdout]    --> src/main.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn testBothVaryingInputSize() {       
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_both_varying_input_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `varyingInput` should have a snake case name
[INFO] [stdout]    --> src/main.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let mut varyingInput: &[&[f32]] = &[&[1.0, 2.0], &[1.0, 2.0, 3.0, 4.0]];
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `varying_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `varyingOutput` should have a snake case name
[INFO] [stdout]    --> src/main.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut varyingOutput: &mut [&mut [f32]] = &mut [&mut []];
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `varying_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `varyingFilter` should have a snake case name
[INFO] [stdout]    --> src/main.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let mut varyingFilter = CombFilter::new(FilterType::FIR, 1.0, 1.0, 1);
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `varying_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testIIRZeroInput` should have a snake case name
[INFO] [stdout]    --> src/main.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn testIIRZeroInput() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_iirzero_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IIRZeroInput` should have a snake case name
[INFO] [stdout]    --> src/main.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut IIRZeroInput: &[&[f32]] = &[&[]];
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `iirzero_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IIRZeroOutput` should have a snake case name
[INFO] [stdout]    --> src/main.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let mut IIRZeroOutput: &mut [&mut [f32]] = &mut [&mut []];
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `iirzero_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IIRZeroFilter` should have a snake case name
[INFO] [stdout]    --> src/main.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut IIRZeroFilter = CombFilter::new(FilterType::IIR, 0.0, 44100.0, 0);
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `iirzero_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testFIRZeroInput` should have a snake case name
[INFO] [stdout]    --> src/main.rs:130:4
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn testFIRZeroInput() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_firzero_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FIRZeroInput` should have a snake case name
[INFO] [stdout]    --> src/main.rs:131:13
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let mut FIRZeroInput: &[&[f32]] = &[&[]];
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `firzero_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FIRZeroOutput` should have a snake case name
[INFO] [stdout]    --> src/main.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let mut FIRZeroOutput: &mut [&mut [f32]] = &mut [&mut []];
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `firzero_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FIRZeroFilter` should have a snake case name
[INFO] [stdout]    --> src/main.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let mut FIRZeroFilter = CombFilter::new(FilterType::FIR, 0.0, 44100.0, 0);
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `firzero_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testGainParams` should have a snake case name
[INFO] [stdout]    --> src/main.rs:139:4
[INFO] [stdout]     |
[INFO] [stdout] 139 | fn testGainParams() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_gain_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `setParamFilter` should have a snake case name
[INFO] [stdout]    --> src/main.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let mut setParamFilter = CombFilter::new(FilterType::FIR, 3.0, 44100.0, 0);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_param_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testDelayParams` should have a snake case name
[INFO] [stdout]    --> src/main.rs:146:4
[INFO] [stdout]     |
[INFO] [stdout] 146 | fn testDelayParams() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_delay_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `setDelayFilter` should have a snake case name
[INFO] [stdout]    --> src/main.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let mut setDelayFilter = CombFilter::new(FilterType::FIR, 3.0, 44100.0, 0);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_delay_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `delayLine` should have a snake case name
[INFO] [stdout]   --> src/comb_filter.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     delayLine: Vec<f32>,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `delay_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `delayIndex` should have a snake case name
[INFO] [stdout]   --> src/comb_filter.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     delayIndex: usize,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `delay_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `delayLine` should have a snake case name
[INFO] [stdout]   --> src/comb_filter.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let delayLine = vec![0.0, max_delay_secs * 44100.0];
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case: `delay_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `delayIndex` should have a snake case name
[INFO] [stdout]   --> src/comb_filter.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let delayIndex = 0;
[INFO] [stdout]    |             ^^^^^^^^^^ help: convert the identifier to snake case: `delay_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `monoProcess` should have a snake case name
[INFO] [stdout]    --> src/comb_filter.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn monoProcess(&mut self, input: &[f32], output: &mut [f32]) {
[INFO] [stdout]     |        ^^^^^^^^^^^ help: convert the identifier to snake case: `mono_process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ringBuffer` should have a snake case name
[INFO] [stdout]    --> src/comb_filter.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let mut ringBuffer = RingBuffer::<f32>::new(self.max_delay_secs as usize);
[INFO] [stdout]     |                 ^^^^^^^^^^ help: convert the identifier to snake case: `ring_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldSample` should have a snake case name
[INFO] [stdout]    --> src/comb_filter.rs:123:25
[INFO] [stdout]     |
[INFO] [stdout] 123 |                     let oldSample = ringBuffer.pop();
[INFO] [stdout]     |                         ^^^^^^^^^ help: convert the identifier to snake case: `old_sample`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldSample` should have a snake case name
[INFO] [stdout]    --> src/comb_filter.rs:127:25
[INFO] [stdout]     |
[INFO] [stdout] 127 |                     let oldSample = ringBuffer.pop();
[INFO] [stdout]     |                         ^^^^^^^^^ help: convert the identifier to snake case: `old_sample`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut reader = hound::WavReader::open(&args[1]).unwrap();
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channels`
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let channels = spec.channels;
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block_size`
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let block_size = 1024;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iifFilter1`
[INFO] [stdout]   --> src/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let iifFilter1 = CombFilter::new(FilterType::IIR, 4.0, 44100.0, channels as usize);
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iifFilter1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/comb_filter.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub struct CombFilter {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout]  4 |     // TODO: your code here
[INFO] [stdout]  5 |     filter_type: FilterType,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]  6 |     max_delay_secs: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]  7 |     sample_rate_hz: f32, 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     num_channels: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  9 |
[INFO] [stdout] 10 |     gain: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 11 |     delay: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |
[INFO] [stdout] 13 |     init_filter_type: FilterType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     init_max_delay_secs: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     init_sample_rate_hz: f32, 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     init_num_channels: usize,  
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |
[INFO] [stdout] 18 |     delayLine: Vec<f32>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 19 |     delayIndex: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FIR` is never constructed
[INFO] [stdout]   --> src/comb_filter.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum FilterType {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 24 |     FIR,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FilterType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FilterParam` is never used
[INFO] [stdout]   --> src/comb_filter.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub enum FilterParam {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]   --> src/comb_filter.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub enum Error {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `reset`, `process`, `monoProcess`, `set_param`, and `get_param` are never used
[INFO] [stdout]    --> src/comb_filter.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  39 | impl CombFilter {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  74 |     pub fn reset(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub fn process(&mut self, input: &[&[f32]], output: &mut [&mut [f32]]) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn monoProcess(&mut self, input: &[f32], output: &mut [f32]) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn set_param(&mut self, param: FilterParam, value: f32) -> Result<(), Error> { 
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn get_param(&self, param: FilterParam) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RingBuffer` is never constructed
[INFO] [stdout]  --> src/ring_buffer.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct RingBuffer<T> {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/ring_buffer.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl<T: Copy + Default> RingBuffer<T> {
[INFO] [stdout]    | ------------------------------------- associated items in this implementation
[INFO] [stdout]  8 |     pub fn new(capacity: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn put(&mut self, value: T) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn peek(&self) -> T {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn get(&self, offset: usize) -> T {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn push(&mut self, value: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn pop(&mut self) -> T {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn get_read_index(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn set_read_index(&mut self, index: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn get_write_index(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn set_write_index(&mut self, index: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub fn capacity(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `iifFilter1` should have a snake case name
[INFO] [stdout]   --> src/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let iifFilter1 = CombFilter::new(FilterType::IIR, 4.0, 44100.0, channels as usize);
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `iif_filter1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `delayLine` should have a snake case name
[INFO] [stdout]   --> src/comb_filter.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     delayLine: Vec<f32>,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `delay_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `delayIndex` should have a snake case name
[INFO] [stdout]   --> src/comb_filter.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     delayIndex: usize,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `delay_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `delayLine` should have a snake case name
[INFO] [stdout]   --> src/comb_filter.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let delayLine = vec![0.0, max_delay_secs * 44100.0];
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case: `delay_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `delayIndex` should have a snake case name
[INFO] [stdout]   --> src/comb_filter.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let delayIndex = 0;
[INFO] [stdout]    |             ^^^^^^^^^^ help: convert the identifier to snake case: `delay_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `monoProcess` should have a snake case name
[INFO] [stdout]    --> src/comb_filter.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn monoProcess(&mut self, input: &[f32], output: &mut [f32]) {
[INFO] [stdout]     |        ^^^^^^^^^^^ help: convert the identifier to snake case: `mono_process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ringBuffer` should have a snake case name
[INFO] [stdout]    --> src/comb_filter.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let mut ringBuffer = RingBuffer::<f32>::new(self.max_delay_secs as usize);
[INFO] [stdout]     |                 ^^^^^^^^^^ help: convert the identifier to snake case: `ring_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldSample` should have a snake case name
[INFO] [stdout]    --> src/comb_filter.rs:123:25
[INFO] [stdout]     |
[INFO] [stdout] 123 |                     let oldSample = ringBuffer.pop();
[INFO] [stdout]     |                         ^^^^^^^^^ help: convert the identifier to snake case: `old_sample`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldSample` should have a snake case name
[INFO] [stdout]    --> src/comb_filter.rs:127:25
[INFO] [stdout]     |
[INFO] [stdout] 127 |                     let oldSample = ringBuffer.pop();
[INFO] [stdout]     |                         ^^^^^^^^^ help: convert the identifier to snake case: `old_sample`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s
[INFO] running `Command { std: "docker" "inspect" "f2caa69a9b18a6c52c0017bbddbffb08f8692639ef753666bf3e59e0b6bbe164", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2caa69a9b18a6c52c0017bbddbffb08f8692639ef753666bf3e59e0b6bbe164", kill_on_drop: false }`
[INFO] [stdout] f2caa69a9b18a6c52c0017bbddbffb08f8692639ef753666bf3e59e0b6bbe164
