[INFO] cloning repository https://github.com/ErikNatanael/rust_synthesis_profiling [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ErikNatanael/rust_synthesis_profiling" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErikNatanael%2Frust_synthesis_profiling", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErikNatanael%2Frust_synthesis_profiling'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5a5bbecbd7db32eaa7c2461c6dc95d5cc2f7d0e [INFO] checking ErikNatanael/rust_synthesis_profiling against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErikNatanael%2Frust_synthesis_profiling" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ErikNatanael/rust_synthesis_profiling on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ErikNatanael/rust_synthesis_profiling [INFO] finished tweaking git repo https://github.com/ErikNatanael/rust_synthesis_profiling [INFO] tweaked toml for git repo https://github.com/ErikNatanael/rust_synthesis_profiling written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/ErikNatanael/rust_synthesis_profiling already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dasp_sample v0.11.0 [INFO] [stderr] Downloaded coremidi v0.3.1 [INFO] [stderr] Downloaded winmm-sys v0.2.0 [INFO] [stderr] Downloaded coremidi-sys v2.0.2 [INFO] [stderr] Downloaded dasp_envelope v0.11.0 [INFO] [stderr] Downloaded dasp_ring_buffer v0.11.0 [INFO] [stderr] Downloaded dasp_signal v0.11.0 [INFO] [stderr] Downloaded dasp_peak v0.11.0 [INFO] [stderr] Downloaded dasp_rms v0.11.0 [INFO] [stderr] Downloaded dasp_window v0.11.0 [INFO] [stderr] Downloaded dasp_slice v0.11.0 [INFO] [stderr] Downloaded dasp v0.11.0 [INFO] [stderr] Downloaded libmath v0.2.1 [INFO] [stderr] Downloaded dasp_interpolate v0.11.0 [INFO] [stderr] Downloaded dasp_frame v0.11.0 [INFO] [stderr] Downloaded alsa v0.2.2 [INFO] [stderr] Downloaded pitch_calc v0.12.0 [INFO] [stderr] Downloaded midir v0.5.0 [INFO] [stderr] Downloaded libc v0.2.73 [INFO] [stderr] Downloaded memalloc v0.1.0 [INFO] [stderr] Downloaded oscen v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7f79833b5cf34ddcfce2d82aefaec9d9eef08ec3f24260417714d934fa54a09 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a7f79833b5cf34ddcfce2d82aefaec9d9eef08ec3f24260417714d934fa54a09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7f79833b5cf34ddcfce2d82aefaec9d9eef08ec3f24260417714d934fa54a09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f79833b5cf34ddcfce2d82aefaec9d9eef08ec3f24260417714d934fa54a09", kill_on_drop: false }` [INFO] [stdout] a7f79833b5cf34ddcfce2d82aefaec9d9eef08ec3f24260417714d934fa54a09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36e1bfe6dec7f6601daee00b752617f342b131317e397bd009bcf87b0229fe5b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "36e1bfe6dec7f6601daee00b752617f342b131317e397bd009bcf87b0229fe5b", kill_on_drop: false }` [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking dasp_ring_buffer v0.11.0 [INFO] [stderr] Checking memalloc v0.1.0 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num-complex v0.2.4 [INFO] [stderr] Checking num-iter v0.1.41 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking nix v0.9.0 [INFO] [stderr] Checking jack-sys v0.2.0 (https://github.com/RustAudio/rust-jack.git#41fab12b) [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking alsa-sys v0.1.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking jack v0.6.2 (https://github.com/RustAudio/rust-jack.git#41fab12b) [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking dasp_window v0.11.0 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking libmath v0.2.1 [INFO] [stderr] Checking dasp_peak v0.11.0 [INFO] [stderr] Checking dasp_rms v0.11.0 [INFO] [stderr] Checking dasp_interpolate v0.11.0 [INFO] [stderr] Checking dasp_slice v0.11.0 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking dasp_envelope v0.11.0 [INFO] [stderr] Checking dasp_signal v0.11.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking pitch_calc v0.12.0 [INFO] [stderr] Checking dasp v0.11.0 [INFO] [stderr] Checking alsa v0.2.2 [INFO] [stderr] Checking midir v0.5.0 [INFO] [stderr] Checking oscen v0.1.4 [INFO] [stderr] Checking synthesis_profiling v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/dasp_synth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/dasp_synth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oscen::filters::Lpf` [INFO] [stdout] --> src/oscen_synth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use oscen::filters::Lpf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oscen::operators::Modulator` [INFO] [stdout] --> src/oscen_synth.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use oscen::operators::Modulator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SquareOsc` [INFO] [stdout] --> src/oscen_synth.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use oscen::oscillators::{SineOsc, SquareOsc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/owned_wavetable_synth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut temp = 0.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/shared_wavetable_synth.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_wavetable` [INFO] [stdout] --> src/shared_wavetable_synth.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let old_wavetable = self.wavetables[self.next_free_index].replace(wavetable); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_wavetable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/shared_wavetable_synth.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | for n in 0..num_oscillators { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/dasp_synth.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | for n in 1..num_oscillators { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/oscen_synth.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | for i in 0..num_oscillators { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sine` [INFO] [stdout] --> src/oscen_synth.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let sine = SineOsc::new().amplitude(amp).hz(200).rack(&mut rack); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/owned_wavetable_synth.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | for n in 1..num_oscillators { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/dasp_synth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/dasp_synth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oscen::filters::Lpf` [INFO] [stdout] --> src/oscen_synth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use oscen::filters::Lpf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oscen::operators::Modulator` [INFO] [stdout] --> src/oscen_synth.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use oscen::operators::Modulator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SquareOsc` [INFO] [stdout] --> src/oscen_synth.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use oscen::oscillators::{SineOsc, SquareOsc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/owned_wavetable_synth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut temp = 0.0; [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: associated function is never used: `get_linear_interp` [INFO] [stdout] --> src/shared_wavetable_synth.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_linear_interp(&self, phase: Sample) -> Sample { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/shared_wavetable_synth.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_freq` [INFO] [stdout] --> src/shared_wavetable_synth.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn from_freq(freq: Sample, sample_rate: Sample) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_freq` [INFO] [stdout] --> src/shared_wavetable_synth.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn set_freq(&mut self, freq: Sample, sample_rate: Sample) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/shared_wavetable_synth.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn new(wavetable: WavetableIndex) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `freed_indexes` [INFO] [stdout] --> src/shared_wavetable_synth.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | freed_indexes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Sample` [INFO] [stdout] --> src/dasp_synth.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Sample = f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SynthesisEngine` [INFO] [stdout] --> src/dasp_synth.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SynthesisEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dasp_synth.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(sample_rate: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/dasp_synth.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn next(&mut self) -> Sample { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Sample` [INFO] [stdout] --> src/oscen_synth.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Sample = f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SynthesisEngine` [INFO] [stdout] --> src/oscen_synth.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SynthesisEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/oscen_synth.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(sample_rate: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/oscen_synth.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn next(&mut self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/owned_wavetable_synth.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(wavetable_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sine` [INFO] [stdout] --> src/owned_wavetable_synth.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn sine(wavetable_size: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_power_of_2` [INFO] [stdout] --> src/owned_wavetable_synth.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn is_power_of_2(num: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/owned_wavetable_synth.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_freq` [INFO] [stdout] --> src/owned_wavetable_synth.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn from_freq(freq: f64, sample_rate: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_freq` [INFO] [stdout] --> src/owned_wavetable_synth.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn set_freq(&mut self, freq: f64, sample_rate: f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/owned_wavetable_synth.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new(wavetable: Wavetable) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_freq` [INFO] [stdout] --> src/owned_wavetable_synth.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn from_freq(freq: f64, sample_rate: f64, wavetable: Wavetable) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SynthesisEngine` [INFO] [stdout] --> src/owned_wavetable_synth.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct SynthesisEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/owned_wavetable_synth.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(sample_rate: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/owned_wavetable_synth.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn next(&mut self) -> Sample { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut temp = 0.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/shared_wavetable_synth.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_wavetable` [INFO] [stdout] --> src/shared_wavetable_synth.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let old_wavetable = self.wavetables[self.next_free_index].replace(wavetable); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_wavetable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/shared_wavetable_synth.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | for n in 0..num_oscillators { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/dasp_synth.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | for n in 1..num_oscillators { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/oscen_synth.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | for i in 0..num_oscillators { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sine` [INFO] [stdout] --> src/oscen_synth.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let sine = SineOsc::new().amplitude(amp).hz(200).rack(&mut rack); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/owned_wavetable_synth.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | for n in 1..num_oscillators { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut temp = 0.0; [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: associated function is never used: `get_linear_interp` [INFO] [stdout] --> src/shared_wavetable_synth.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_linear_interp(&self, phase: Sample) -> Sample { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/shared_wavetable_synth.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_freq` [INFO] [stdout] --> src/shared_wavetable_synth.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn from_freq(freq: Sample, sample_rate: Sample) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_freq` [INFO] [stdout] --> src/shared_wavetable_synth.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn set_freq(&mut self, freq: Sample, sample_rate: Sample) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/shared_wavetable_synth.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn new(wavetable: WavetableIndex) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `freed_indexes` [INFO] [stdout] --> src/shared_wavetable_synth.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | freed_indexes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Sample` [INFO] [stdout] --> src/dasp_synth.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Sample = f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SynthesisEngine` [INFO] [stdout] --> src/dasp_synth.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SynthesisEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dasp_synth.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(sample_rate: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/dasp_synth.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn next(&mut self) -> Sample { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Sample` [INFO] [stdout] --> src/oscen_synth.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Sample = f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SynthesisEngine` [INFO] [stdout] --> src/oscen_synth.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SynthesisEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/oscen_synth.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(sample_rate: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/oscen_synth.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn next(&mut self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/owned_wavetable_synth.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(wavetable_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sine` [INFO] [stdout] --> src/owned_wavetable_synth.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn sine(wavetable_size: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_power_of_2` [INFO] [stdout] --> src/owned_wavetable_synth.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn is_power_of_2(num: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/owned_wavetable_synth.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_freq` [INFO] [stdout] --> src/owned_wavetable_synth.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn from_freq(freq: f64, sample_rate: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_freq` [INFO] [stdout] --> src/owned_wavetable_synth.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn set_freq(&mut self, freq: f64, sample_rate: f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/owned_wavetable_synth.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new(wavetable: Wavetable) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_freq` [INFO] [stdout] --> src/owned_wavetable_synth.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn from_freq(freq: f64, sample_rate: f64, wavetable: Wavetable) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SynthesisEngine` [INFO] [stdout] --> src/owned_wavetable_synth.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct SynthesisEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/owned_wavetable_synth.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(sample_rate: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/owned_wavetable_synth.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn next(&mut self) -> Sample { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.78s [INFO] running `Command { std: "docker" "inspect" "36e1bfe6dec7f6601daee00b752617f342b131317e397bd009bcf87b0229fe5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36e1bfe6dec7f6601daee00b752617f342b131317e397bd009bcf87b0229fe5b", kill_on_drop: false }` [INFO] [stdout] 36e1bfe6dec7f6601daee00b752617f342b131317e397bd009bcf87b0229fe5b