[INFO] cloning repository https://github.com/burbokop/audio_synthesis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/burbokop/audio_synthesis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburbokop%2Faudio_synthesis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburbokop%2Faudio_synthesis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 305e1c46fe2214e5e84248475034d7cdc19ba763 [INFO] checking burbokop/audio_synthesis against try#dd2d87b6cc31907ae305875eb6be399783dc0256 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburbokop%2Faudio_synthesis" "/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/burbokop/audio_synthesis [INFO] finished tweaking git repo https://github.com/burbokop/audio_synthesis [INFO] tweaked toml for git repo https://github.com/burbokop/audio_synthesis written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/burbokop/audio_synthesis on toolchain dd2d87b6cc31907ae305875eb6be399783dc0256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/burbokop/audio_synthesis 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" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded twang v0.8.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1048c68f440fcb312b5c2c2edd598497c0dddcd421ffea4ce4040bc7c0af2e72 [INFO] running `Command { std: "docker" "start" "-a" "1048c68f440fcb312b5c2c2edd598497c0dddcd421ffea4ce4040bc7c0af2e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1048c68f440fcb312b5c2c2edd598497c0dddcd421ffea4ce4040bc7c0af2e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1048c68f440fcb312b5c2c2edd598497c0dddcd421ffea4ce4040bc7c0af2e72", kill_on_drop: false }` [INFO] [stdout] 1048c68f440fcb312b5c2c2edd598497c0dddcd421ffea4ce4040bc7c0af2e72 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6405ea134024bc9493918fd2b69572250903dc075bd8d0f21c4ad74168a10d67 [INFO] running `Command { std: "docker" "start" "-a" "6405ea134024bc9493918fd2b69572250903dc075bd8d0f21c4ad74168a10d67", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling twang v0.8.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking fon v0.6.0 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking minimp3 v0.5.1 [INFO] [stderr] Checking alsa v0.6.0 [INFO] [stderr] Checking rodio v0.15.0 [INFO] [stderr] Checking audio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Ch64` [INFO] [stdout] --> src/sample.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use fon::chan::{Ch16, Ch32, Ch64}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Div` [INFO] [stdout] --> src/processors.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Div, Add, Mul}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AdderExt`, `DeterioratorExt`, and `IntegratorExt` [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use processors::{DeterioratorExt, IntegratorExt, AdderExt, AmplifierExt, triangular_generator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fon::chan::Ch16` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use fon::chan::Ch16; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sink::PlaybackMonoSink` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::sink::PlaybackMonoSink; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ch64` [INFO] [stdout] --> src/sample.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use fon::chan::{Ch16, Ch32, Ch64}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Div` [INFO] [stdout] --> src/processors.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Div, Add, Mul}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AdderExt`, `DeterioratorExt`, and `IntegratorExt` [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use processors::{DeterioratorExt, IntegratorExt, AdderExt, AmplifierExt, triangular_generator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fon::chan::Ch16` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use fon::chan::Ch16; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sink::PlaybackMonoSink` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::sink::PlaybackMonoSink; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/sink.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer` [INFO] [stdout] --> src/monitor.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut timer = Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chart_surface` [INFO] [stdout] --> src/monitor.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut chart_surface = Surface::from_pixelmasks(512, 512, masks).unwrap().into_canvas().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chart_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_rate` [INFO] [stdout] --> src/monitor.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn monitor_once(iter: &mut I, frame_rate: u32) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/monitor.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut timer = Instant::now(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/monitor.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut chart_surface = Surface::from_pixelmasks(512, 512, masks).unwrap().into_canvas().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth` [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut synth = Synth::new(proc, |proc, mut frame: Frame<_, 1>| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_synth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let f = sin_generator(48000 * 10, 0.1).amplified(0.5); // deteriorated(4.); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f2` [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let f2 = sin_generator(48000 * 10, 0.025).amplified(0.25); // deteriorated(4.); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_f2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/sink.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut synth = Synth::new(proc, |proc, mut frame: Frame<_, 1>| { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MonoFrameSource` is never constructed [INFO] [stdout] --> src/source.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct MonoFrameSource<'a, Chan: Channel> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `collect_clone` are never used [INFO] [stdout] --> src/source.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a, Chan: Channel + ChanSampleFormat> MonoFrameSource<'a, Chan> { [INFO] [stdout] | -------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 41 | pub fn new(frame_iter: &'a mut dyn Iterator>, sample_rate: u32, limit_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn collect_clone(self) -> IterSource< as IntoIterator>::IntoIter> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MonoFrameSmaple` is never constructed [INFO] [stdout] --> src/sample.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MonoFrameSmaple { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_frame`, `into_chan`, and `into_f32` are never used [INFO] [stdout] --> src/sample.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl MonoFrameSmaple { [INFO] [stdout] | ----------------------------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(chan: Chan) -> Self { MonoFrameSmaple { frame: Frame::::new(chan) } } [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | pub fn from_frame(frame: Frame) -> Self { MonoFrameSmaple { frame: frame } } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub fn into_chan(self) -> Chan { self.frame.channels()[0] } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | pub fn into_f32(self) -> f32 { self.frame.channels()[0].to_f32() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ChanSampleFormat` is never used [INFO] [stdout] --> src/sample.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait ChanSampleFormat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlaybackMonoSink` is never constructed [INFO] [stdout] --> src/sink.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PlaybackMonoSink<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sink.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> PlaybackMonoSink<'a> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deteriorator` is never constructed [INFO] [stdout] --> src/processors.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Deteriorator [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DeterioratorExt` is never used [INFO] [stdout] --> src/processors.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait DeterioratorExt: Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Integrator` is never constructed [INFO] [stdout] --> src/processors.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Integrator [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntegratorExt` is never used [INFO] [stdout] --> src/processors.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | pub trait IntegratorExt: Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Adder` is never constructed [INFO] [stdout] --> src/processors.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Adder [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AdderExt` is never used [INFO] [stdout] --> src/processors.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | pub trait AdderExt: Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer` [INFO] [stdout] --> src/monitor.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut timer = Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chart_surface` [INFO] [stdout] --> src/monitor.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut chart_surface = Surface::from_pixelmasks(512, 512, masks).unwrap().into_canvas().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chart_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_rate` [INFO] [stdout] --> src/monitor.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn monitor_once(iter: &mut I, frame_rate: u32) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `width` should have an upper case name [INFO] [stdout] --> src/monitor.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | const width: u32 = 600; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 16 - const width: u32 = 600; [INFO] [stdout] 16 + const WIDTH: u32 = 600; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `height` should have an upper case name [INFO] [stdout] --> src/monitor.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const height: u32 = 200; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 17 - const height: u32 = 200; [INFO] [stdout] 17 + const HEIGHT: u32 = 200; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prevPoint` should have a snake case name [INFO] [stdout] --> src/monitor.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut prevPoint: Option = None; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `prev_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/monitor.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut timer = Instant::now(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/monitor.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut chart_surface = Surface::from_pixelmasks(512, 512, masks).unwrap().into_canvas().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth` [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut synth = Synth::new(proc, |proc, mut frame: Frame<_, 1>| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_synth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let f = sin_generator(48000 * 10, 0.1).amplified(0.5); // deteriorated(4.); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f2` [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let f2 = sin_generator(48000 * 10, 0.025).amplified(0.25); // deteriorated(4.); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_f2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut synth = Synth::new(proc, |proc, mut frame: Frame<_, 1>| { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MonoFrameSource` is never constructed [INFO] [stdout] --> src/source.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct MonoFrameSource<'a, Chan: Channel> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `collect_clone` are never used [INFO] [stdout] --> src/source.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a, Chan: Channel + ChanSampleFormat> MonoFrameSource<'a, Chan> { [INFO] [stdout] | -------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 41 | pub fn new(frame_iter: &'a mut dyn Iterator>, sample_rate: u32, limit_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn collect_clone(self) -> IterSource< as IntoIterator>::IntoIter> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MonoFrameSmaple` is never constructed [INFO] [stdout] --> src/sample.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MonoFrameSmaple { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_frame`, `into_chan`, and `into_f32` are never used [INFO] [stdout] --> src/sample.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl MonoFrameSmaple { [INFO] [stdout] | ----------------------------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(chan: Chan) -> Self { MonoFrameSmaple { frame: Frame::::new(chan) } } [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | pub fn from_frame(frame: Frame) -> Self { MonoFrameSmaple { frame: frame } } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub fn into_chan(self) -> Chan { self.frame.channels()[0] } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | pub fn into_f32(self) -> f32 { self.frame.channels()[0].to_f32() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ChanSampleFormat` is never used [INFO] [stdout] --> src/sample.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait ChanSampleFormat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlaybackMonoSink` is never constructed [INFO] [stdout] --> src/sink.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PlaybackMonoSink<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sink.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> PlaybackMonoSink<'a> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deteriorator` is never constructed [INFO] [stdout] --> src/processors.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Deteriorator [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DeterioratorExt` is never used [INFO] [stdout] --> src/processors.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait DeterioratorExt: Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Integrator` is never constructed [INFO] [stdout] --> src/processors.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Integrator [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntegratorExt` is never used [INFO] [stdout] --> src/processors.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | pub trait IntegratorExt: Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Adder` is never constructed [INFO] [stdout] --> src/processors.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Adder [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AdderExt` is never used [INFO] [stdout] --> src/processors.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | pub trait AdderExt: Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `width` should have an upper case name [INFO] [stdout] --> src/monitor.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | const width: u32 = 600; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 16 - const width: u32 = 600; [INFO] [stdout] 16 + const WIDTH: u32 = 600; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `height` should have an upper case name [INFO] [stdout] --> src/monitor.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const height: u32 = 200; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 17 - const height: u32 = 200; [INFO] [stdout] 17 + const HEIGHT: u32 = 200; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prevPoint` should have a snake case name [INFO] [stdout] --> src/monitor.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut prevPoint: Option = None; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `prev_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.93s [INFO] running `Command { std: "docker" "inspect" "6405ea134024bc9493918fd2b69572250903dc075bd8d0f21c4ad74168a10d67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6405ea134024bc9493918fd2b69572250903dc075bd8d0f21c4ad74168a10d67", kill_on_drop: false }` [INFO] [stdout] 6405ea134024bc9493918fd2b69572250903dc075bd8d0f21c4ad74168a10d67