[INFO] cloning repository https://github.com/Ocrap7/synth
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ocrap7/synth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOcrap7%2Fsynth", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOcrap7%2Fsynth'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a3e230ec1d30704830326496873edc0b0ba3ccac
[INFO] checking Ocrap7/synth against try#2cbf9c3ff35600794d69a7dc7ab399810a067910 for pr-129249-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOcrap7%2Fsynth" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Ocrap7/synth
[INFO] finished tweaking git repo https://github.com/Ocrap7/synth
[INFO] tweaked toml for git repo https://github.com/Ocrap7/synth written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ocrap7/synth on toolchain 2cbf9c3ff35600794d69a7dc7ab399810a067910
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ocrap7/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" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f290babceca94d71b31b86629ecd61abb95b327d01dd056f5eb7517f90993d7a
[INFO] running `Command { std: "docker" "start" "f290babceca94d71b31b86629ecd61abb95b327d01dd056f5eb7517f90993d7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f290babceca94d71b31b86629ecd61abb95b327d01dd056f5eb7517f90993d7a" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f290babceca94d71b31b86629ecd61abb95b327d01dd056f5eb7517f90993d7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f290babceca94d71b31b86629ecd61abb95b327d01dd056f5eb7517f90993d7a" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]     Checking strength_reduce v0.2.3
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]     Checking lock_api v0.4.6
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]     Checking memalloc v0.1.0
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling cpal v0.13.5
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]     Checking rsor v0.1.3
[INFO] [stderr]     Checking audio-core v0.2.0-alpha.3
[INFO] [stderr]     Checking audio v0.2.0-alpha.3
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]     Checking num-complex v0.4.0
[INFO] [stderr]     Checking transpose v0.2.1
[INFO] [stderr]     Checking primal-check v0.3.1
[INFO] [stderr]     Checking nix v0.23.1
[INFO] [stderr]     Checking rustfft v6.0.1
[INFO] [stderr]     Checking numeric-array v0.5.2
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking modulator v0.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking alsa v0.4.3
[INFO] [stderr]     Checking alsa v0.6.0
[INFO] [stderr]     Checking midir v0.7.0
[INFO] [stderr]     Checking midi-control v0.2.0
[INFO] [stderr]     Checking fundsp v0.3.1
[INFO] [stderr]     Checking synth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `fs::OpenOptions`
[INFO] [stdout]  --> src/oscillator.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fs::OpenOptions,
[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 imports: `Newtonian`, `ScalarGoalFollower`, `ScalarSpring`, `ShiftRegisterInterp`, `ShiftRegister`, and `Wave`
[INFO] [stdout]  --> src/oscillator.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Newtonian, ScalarGoalFollower, ScalarSpring, ShiftRegister, ShiftRegisterInterp, Wave,
[INFO] [stdout]   |     ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ModulatorEnv` and `Modulator`
[INFO] [stdout]  --> src/oscillator.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | use modulator::{Modulator, ModulatorEnv};
[INFO] [stdout]   |                 ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SampleFormat` and `StreamTrait`
[INFO] [stdout]   --> src/oscillator.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     traits::{DeviceTrait, StreamTrait},
[INFO] [stdout]    |                           ^^^^^^^^^^^
[INFO] [stdout] 13 |     Sample, SampleFormat, Stream, StreamConfig,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamTrait`
[INFO] [stdout]  --> src/synth.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 |     traits::{DeviceTrait, StreamTrait},
[INFO] [stdout]   |                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lazy_static::lazy_static`
[INFO] [stdout]    --> src/main.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | use lazy_static::lazy_static;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `type_name_of_val` has been stable since 1.76.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(type_name_of_val)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout] 123 |     loop {}
[INFO] [stdout]     |     ------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 126 |     Ok(())
[INFO] [stdout]     |     ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:217:5
[INFO] [stdout]     |
[INFO] [stdout] 215 |     loop {}
[INFO] [stdout]     |     ------- any code following this expression is unreachable
[INFO] [stdout] 216 |
[INFO] [stdout] 217 |     Ok(())
[INFO] [stdout]     |     ^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `midir::MidiIO`
[INFO] [stdout]    --> src/main.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | use midir::MidiIO;
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/oscillator.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |             _ => 0.0,
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/oscillator.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |             OscillatorShape::Sine => {
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 127 |             OscillatorShape::Sawtooth => {
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 145 |             OscillatorShape::Triangle => {
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 154 |             OscillatorShape::Square => {
[INFO] [stdout]     |             ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 162 |             _ => 0.0,
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/synth.rs:74:41
[INFO] [stdout]    |
[INFO] [stdout] 74 |                     MidiMessage::NoteOn(c, k) => {
[INFO] [stdout]    |                                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/synth.rs:87:42
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     MidiMessage::NoteOff(c, k) => {
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channels`
[INFO] [stdout]    --> src/main.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 |     let channels = config.channels as usize;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_data` is never used
[INFO] [stdout]    --> src/main.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn write_data<T>(output: &mut [T], channels: usize, next_sample: &mut dyn FnMut() -> (f64, f64))
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SoundWriter` is never used
[INFO] [stdout]   --> src/oscillator.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait SoundWriter {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OscillatorShape` is never used
[INFO] [stdout]   --> src/oscillator.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum OscillatorShape {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Oscillator` is never constructed
[INFO] [stdout]   --> src/oscillator.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Oscillator {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `output`, `use_freq_mod`, `set_volume`, and `sample_rate` are never used
[INFO] [stdout]   --> src/oscillator.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Oscillator {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 43 |     pub fn new(config: StreamConfig, shape: OscillatorShape, frequency: f32) -> Oscillator {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn output<T>(ss: Arc<Mutex<Box<Oscillator>>>, device: &cpal::Device) -> Stream
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn use_freq_mod(&mut self, osc: Arc<Mutex<Box<Oscillator>>>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn set_volume(&mut self, volume: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn sample_rate(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_data` is never used
[INFO] [stdout]    --> src/oscillator.rs:167:4
[INFO] [stdout]     |
[INFO] [stdout] 167 | fn write_data<T, SW>(output: &mut [T], channels: usize, sw: Arc<Mutex<Box<SW>>>)
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sample_rate` is never read
[INFO] [stdout]   --> src/synth.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Synth<'a> {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     sample_rate: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sample_rate` is never read
[INFO] [stdout]    --> src/synth.rs:137:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Voice<'a> {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 137 |     sample_rate: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |             sender.send(message);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 170 |             let _ = sender.send(message);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs::OpenOptions`
[INFO] [stdout]  --> src/oscillator.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fs::OpenOptions,
[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 imports: `Newtonian`, `ScalarGoalFollower`, `ScalarSpring`, `ShiftRegisterInterp`, `ShiftRegister`, and `Wave`
[INFO] [stdout]  --> src/oscillator.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Newtonian, ScalarGoalFollower, ScalarSpring, ShiftRegister, ShiftRegisterInterp, Wave,
[INFO] [stdout]   |     ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ModulatorEnv` and `Modulator`
[INFO] [stdout]  --> src/oscillator.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | use modulator::{Modulator, ModulatorEnv};
[INFO] [stdout]   |                 ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SampleFormat` and `StreamTrait`
[INFO] [stdout]   --> src/oscillator.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     traits::{DeviceTrait, StreamTrait},
[INFO] [stdout]    |                           ^^^^^^^^^^^
[INFO] [stdout] 13 |     Sample, SampleFormat, Stream, StreamConfig,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamTrait`
[INFO] [stdout]  --> src/synth.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 |     traits::{DeviceTrait, StreamTrait},
[INFO] [stdout]   |                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lazy_static::lazy_static`
[INFO] [stdout]    --> src/main.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | use lazy_static::lazy_static;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `type_name_of_val` has been stable since 1.76.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(type_name_of_val)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout] 123 |     loop {}
[INFO] [stdout]     |     ------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 126 |     Ok(())
[INFO] [stdout]     |     ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:217:5
[INFO] [stdout]     |
[INFO] [stdout] 215 |     loop {}
[INFO] [stdout]     |     ------- any code following this expression is unreachable
[INFO] [stdout] 216 |
[INFO] [stdout] 217 |     Ok(())
[INFO] [stdout]     |     ^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `midir::MidiIO`
[INFO] [stdout]    --> src/main.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | use midir::MidiIO;
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/oscillator.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |             _ => 0.0,
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/oscillator.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |             OscillatorShape::Sine => {
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 127 |             OscillatorShape::Sawtooth => {
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 145 |             OscillatorShape::Triangle => {
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 154 |             OscillatorShape::Square => {
[INFO] [stdout]     |             ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 162 |             _ => 0.0,
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/synth.rs:74:41
[INFO] [stdout]    |
[INFO] [stdout] 74 |                     MidiMessage::NoteOn(c, k) => {
[INFO] [stdout]    |                                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/synth.rs:87:42
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     MidiMessage::NoteOff(c, k) => {
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channels`
[INFO] [stdout]    --> src/main.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 |     let channels = config.channels as usize;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_data` is never used
[INFO] [stdout]    --> src/main.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn write_data<T>(output: &mut [T], channels: usize, next_sample: &mut dyn FnMut() -> (f64, f64))
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SoundWriter` is never used
[INFO] [stdout]   --> src/oscillator.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait SoundWriter {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OscillatorShape` is never used
[INFO] [stdout]   --> src/oscillator.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum OscillatorShape {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Oscillator` is never constructed
[INFO] [stdout]   --> src/oscillator.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Oscillator {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `output`, `use_freq_mod`, `set_volume`, and `sample_rate` are never used
[INFO] [stdout]   --> src/oscillator.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Oscillator {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 43 |     pub fn new(config: StreamConfig, shape: OscillatorShape, frequency: f32) -> Oscillator {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn output<T>(ss: Arc<Mutex<Box<Oscillator>>>, device: &cpal::Device) -> Stream
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn use_freq_mod(&mut self, osc: Arc<Mutex<Box<Oscillator>>>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn set_volume(&mut self, volume: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn sample_rate(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_data` is never used
[INFO] [stdout]    --> src/oscillator.rs:167:4
[INFO] [stdout]     |
[INFO] [stdout] 167 | fn write_data<T, SW>(output: &mut [T], channels: usize, sw: Arc<Mutex<Box<SW>>>)
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sample_rate` is never read
[INFO] [stdout]   --> src/synth.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Synth<'a> {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     sample_rate: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sample_rate` is never read
[INFO] [stdout]    --> src/synth.rs:137:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Voice<'a> {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 137 |     sample_rate: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |             sender.send(message);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 170 |             let _ = sender.send(message);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.81s
[INFO] running `Command { std: "docker" "inspect" "f290babceca94d71b31b86629ecd61abb95b327d01dd056f5eb7517f90993d7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f290babceca94d71b31b86629ecd61abb95b327d01dd056f5eb7517f90993d7a", kill_on_drop: false }`
[INFO] [stdout] f290babceca94d71b31b86629ecd61abb95b327d01dd056f5eb7517f90993d7a
