[INFO] cloning repository https://github.com/delta-summer-camp-team/delta-synth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/delta-summer-camp-team/delta-synth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdelta-summer-camp-team%2Fdelta-synth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdelta-summer-camp-team%2Fdelta-synth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5c3de67b3be25a78efd87cf3e6892c266dddc63 [INFO] checking delta-summer-camp-team/delta-synth against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdelta-summer-camp-team%2Fdelta-synth" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/delta-summer-camp-team/delta-synth [INFO] finished tweaking git repo https://github.com/delta-summer-camp-team/delta-synth [INFO] tweaked toml for git repo https://github.com/delta-summer-camp-team/delta-synth written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/delta-summer-camp-team/delta-synth on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/delta-summer-camp-team/delta-synth 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" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded coremidi-sys v3.2.0 [INFO] [stderr] Downloaded objc2-core-audio-types v0.3.1 [INFO] [stderr] Downloaded coremidi v0.8.0 [INFO] [stderr] Downloaded coreaudio-rs v0.13.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.97 [INFO] [stderr] Downloaded midir v0.10.2 [INFO] [stderr] Downloaded cpal v0.16.0 [INFO] [stderr] Downloaded objc2-core-audio v0.3.1 [INFO] [stderr] Downloaded objc2-audio-toolbox v0.3.1 [INFO] [stderr] Downloaded syn v2.0.105 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f28168ec0a0bafc285f2f211d921270d0205edb6c038bc86c604e3cd0f072de [INFO] running `Command { std: "docker" "start" "-a" "3f28168ec0a0bafc285f2f211d921270d0205edb6c038bc86c604e3cd0f072de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f28168ec0a0bafc285f2f211d921270d0205edb6c038bc86c604e3cd0f072de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f28168ec0a0bafc285f2f211d921270d0205edb6c038bc86c604e3cd0f072de", kill_on_drop: false }` [INFO] [stdout] 3f28168ec0a0bafc285f2f211d921270d0205edb6c038bc86c604e3cd0f072de [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b551b125f236608d7a9e0b660e0790b4aa8ab139c773dfda1c71d46a13821d5 [INFO] running `Command { std: "docker" "start" "-a" "1b551b125f236608d7a9e0b660e0790b4aa8ab139c773dfda1c71d46a13821d5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling cpal v0.16.0 [INFO] [stderr] Checking atomic_float v1.1.0 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking midir v0.10.2 [INFO] [stderr] Checking delta-synth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `delay` [INFO] [stdout] --> src/audiomodules/delay.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::audiomodules::{delay, AudioModule}; [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: `audiomodules::glide` [INFO] [stdout] --> src/audiomodules/glide.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{audiomodules::glide, synth_state::SynthState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mini_oscilatorsa` should have an upper camel case name [INFO] [stdout] --> src/audiomodules/oscillator.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct mini_oscilatorsa { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MiniOscilatorsa` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/midi_service.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | let mut input = String::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: unused variable: `input` [INFO] [stdout] --> src/midi_service.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | let mut input = String::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LFO_FREQ` is never used [INFO] [stdout] --> src/audiomodules/chorus.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const MAX_LFO_FREQ: f32=5.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_VAR_SEC` is never used [INFO] [stdout] --> src/audiomodules/chorus.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const MAX_VAR_SEC: f32=0.01; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DELAY_SEC` is never used [INFO] [stdout] --> src/audiomodules/chorus.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MAX_DELAY_SEC: f32=0.05; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chorus` is never constructed [INFO] [stdout] --> src/audiomodules/chorus.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Chorus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_to_buffer`, and `read_fractional` are never used [INFO] [stdout] --> src/audiomodules/chorus.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl Chorus { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(sample_rate: f32, max_delay_ms: f32, lfo_phase: f32, synthstate:Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn push_to_buffer(&mut self, x: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn read_fractional(&self, delay_samples: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DELAY_SEC` is never used [INFO] [stdout] --> src/audiomodules/delay.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const MAX_DELAY_SEC: f32 = 1.5; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Delay` is never constructed [INFO] [stdout] --> src/audiomodules/delay.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Delay { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/audiomodules/delay.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Delay { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(sample_rate: f32, max_delay_sec: f32, synthstate:Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX` is never used [INFO] [stdout] --> src/audiomodules/gain.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const MAX:f32 =3.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gain` is never constructed [INFO] [stdout] --> src/audiomodules/gain.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Gain { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `sigmoid` are never used [INFO] [stdout] --> src/audiomodules/gain.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Gain { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 11 | pub fn new(synthstate:Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn sigmoid(x: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LowPassFilter` is never constructed [INFO] [stdout] --> src/audiomodules/low_pass_filter.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LowPassFilter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update_coeffs`, and `filter` are never used [INFO] [stdout] --> src/audiomodules/low_pass_filter.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl LowPassFilter { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 22 | pub fn new(synthstate: Arc, sample_rate: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn update_coeffs(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn filter(&mut self, x: f32) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decay_time` is never read [INFO] [stdout] --> src/audiomodules/reverb.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ReverbEffect { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 4 | dry_wet_mix: f32, [INFO] [stdout] 5 | decay_time: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gain_multiply_by`, `chorus_base_delay_sec`, `chorus_variation_sec`, `chorus_feedback`, and `chorus_mix` are never read [INFO] [stdout] --> src/synth_state.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SynthState { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub gain_multiply_by: AtomicU8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub chorus_base_delay_sec: AtomicU8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub chorus_variation_sec: AtomicU8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub chorus_feedback: AtomicU8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub chorus_mix: AtomicU8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/audiomodules/delay.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | delay_time==0.01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the comparison produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = delay_time==0.01; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delay` [INFO] [stdout] --> src/audiomodules/delay.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::audiomodules::{delay, AudioModule}; [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: `audiomodules::glide` [INFO] [stdout] --> src/audiomodules/glide.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{audiomodules::glide, synth_state::SynthState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mini_oscilatorsa` should have an upper camel case name [INFO] [stdout] --> src/audiomodules/oscillator.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct mini_oscilatorsa { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MiniOscilatorsa` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/midi_service.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | let mut input = String::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: unused variable: `input` [INFO] [stdout] --> src/midi_service.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | let mut input = String::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LFO_FREQ` is never used [INFO] [stdout] --> src/audiomodules/chorus.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const MAX_LFO_FREQ: f32=5.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_VAR_SEC` is never used [INFO] [stdout] --> src/audiomodules/chorus.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const MAX_VAR_SEC: f32=0.01; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DELAY_SEC` is never used [INFO] [stdout] --> src/audiomodules/chorus.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MAX_DELAY_SEC: f32=0.05; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chorus` is never constructed [INFO] [stdout] --> src/audiomodules/chorus.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Chorus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_to_buffer`, and `read_fractional` are never used [INFO] [stdout] --> src/audiomodules/chorus.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl Chorus { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(sample_rate: f32, max_delay_ms: f32, lfo_phase: f32, synthstate:Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn push_to_buffer(&mut self, x: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn read_fractional(&self, delay_samples: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DELAY_SEC` is never used [INFO] [stdout] --> src/audiomodules/delay.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const MAX_DELAY_SEC: f32 = 1.5; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Delay` is never constructed [INFO] [stdout] --> src/audiomodules/delay.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Delay { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/audiomodules/delay.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Delay { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(sample_rate: f32, max_delay_sec: f32, synthstate:Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX` is never used [INFO] [stdout] --> src/audiomodules/gain.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const MAX:f32 =3.0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gain` is never constructed [INFO] [stdout] --> src/audiomodules/gain.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Gain { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `sigmoid` are never used [INFO] [stdout] --> src/audiomodules/gain.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Gain { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 11 | pub fn new(synthstate:Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn sigmoid(x: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LowPassFilter` is never constructed [INFO] [stdout] --> src/audiomodules/low_pass_filter.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LowPassFilter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update_coeffs`, and `filter` are never used [INFO] [stdout] --> src/audiomodules/low_pass_filter.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl LowPassFilter { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 22 | pub fn new(synthstate: Arc, sample_rate: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn update_coeffs(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn filter(&mut self, x: f32) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decay_time` is never read [INFO] [stdout] --> src/audiomodules/reverb.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ReverbEffect { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 4 | dry_wet_mix: f32, [INFO] [stdout] 5 | decay_time: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gain_multiply_by`, `chorus_base_delay_sec`, `chorus_variation_sec`, `chorus_feedback`, and `chorus_mix` are never read [INFO] [stdout] --> src/synth_state.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SynthState { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub gain_multiply_by: AtomicU8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub chorus_base_delay_sec: AtomicU8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub chorus_variation_sec: AtomicU8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub chorus_feedback: AtomicU8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub chorus_mix: AtomicU8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/audiomodules/delay.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | delay_time==0.01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the comparison produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = delay_time==0.01; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.44s [INFO] running `Command { std: "docker" "inspect" "1b551b125f236608d7a9e0b660e0790b4aa8ab139c773dfda1c71d46a13821d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b551b125f236608d7a9e0b660e0790b4aa8ab139c773dfda1c71d46a13821d5", kill_on_drop: false }` [INFO] [stdout] 1b551b125f236608d7a9e0b660e0790b4aa8ab139c773dfda1c71d46a13821d5