[INFO] cloning repository https://github.com/Maerorr/dsp_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Maerorr/dsp_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaerorr%2Fdsp_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaerorr%2Fdsp_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7480cf28858b74cd1cf8e9668eb5b2e00c660103 [INFO] checking Maerorr/dsp_test against master#c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaerorr%2Fdsp_test" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Maerorr/dsp_test on toolchain c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Maerorr/dsp_test [INFO] finished tweaking git repo https://github.com/Maerorr/dsp_test [INFO] tweaked toml for git repo https://github.com/Maerorr/dsp_test written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Maerorr/dsp_test 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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded transpose v0.2.2 [INFO] [stderr] Downloaded thiserror v1.0.49 [INFO] [stderr] Downloaded dyn-clone v1.0.14 [INFO] [stderr] Downloaded circular-buffer v0.1.3 [INFO] [stderr] Downloaded indexmap v2.0.2 [INFO] [stderr] Downloaded bitflags v2.4.0 [INFO] [stderr] Downloaded regex v1.10.0 [INFO] [stderr] Downloaded regex-syntax v0.8.0 [INFO] [stderr] Downloaded regex-automata v0.4.1 [INFO] [stderr] Downloaded fundsp v0.15.0 [INFO] [stderr] Downloaded libc v0.2.149 [INFO] [stderr] Downloaded rustfft v6.1.0 [INFO] [stderr] Downloaded hashbrown v0.14.1 [INFO] [stderr] Downloaded winnow v0.5.16 [INFO] [stderr] Downloaded syn v2.0.38 [INFO] [stderr] Downloaded thiserror-impl v1.0.49 [INFO] [stderr] Downloaded proc-macro2 v1.0.68 [INFO] [stderr] Downloaded rsor v0.1.3 [INFO] [stderr] Downloaded smallvec v1.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f63be5b0c83ad093a03e535ea20d3dad4c239dc50c5cf4f0af8f5478efb9e44 [INFO] running `Command { std: "docker" "start" "-a" "2f63be5b0c83ad093a03e535ea20d3dad4c239dc50c5cf4f0af8f5478efb9e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f63be5b0c83ad093a03e535ea20d3dad4c239dc50c5cf4f0af8f5478efb9e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f63be5b0c83ad093a03e535ea20d3dad4c239dc50c5cf4f0af8f5478efb9e44", kill_on_drop: false }` [INFO] [stdout] 2f63be5b0c83ad093a03e535ea20d3dad4c239dc50c5cf4f0af8f5478efb9e44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 541dcfb43e5d8bbf708e734ec042430cffbcca16ed5d84ac2af55f893f53f17e [INFO] running `Command { std: "docker" "start" "-a" "541dcfb43e5d8bbf708e734ec042430cffbcca16ed5d84ac2af55f893f53f17e", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.68 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustfft v6.1.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking symphonia-core v0.5.3 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking dyn-clone v1.0.14 [INFO] [stderr] Checking rsor v0.1.3 [INFO] [stderr] Checking circular-buffer v0.1.3 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking symphonia-metadata v0.5.3 [INFO] [stderr] Checking symphonia-codec-alac v0.5.3 [INFO] [stderr] Checking symphonia-codec-pcm v0.5.3 [INFO] [stderr] Checking symphonia-codec-aac v0.5.3 [INFO] [stderr] Checking symphonia-codec-adpcm v0.5.3 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking numeric-array v0.5.2 [INFO] [stderr] Checking symphonia-utils-xiph v0.5.3 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.3 [INFO] [stderr] Checking symphonia-format-wav v0.5.3 [INFO] [stderr] Compiling duplicate v1.0.0 [INFO] [stderr] Checking symphonia-format-mkv v0.5.3 [INFO] [stderr] Checking symphonia-format-ogg v0.5.3 [INFO] [stderr] Checking symphonia-format-isomp4 v0.5.3 [INFO] [stderr] Checking symphonia-bundle-flac v0.5.3 [INFO] [stderr] Checking symphonia-codec-vorbis v0.5.3 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking primal-check v0.3.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking transpose v0.2.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking alsa v0.7.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking symphonia v0.5.3 [INFO] [stderr] Checking funutd v0.12.1 [INFO] [stderr] Checking cpal v0.15.2 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking thingbuf v0.1.4 [INFO] [stderr] Checking fundsp v0.15.0 [INFO] [stderr] Checking dsp_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `filter::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use filter::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `comb::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use comb::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `allpass::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use allpass::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delay::*` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use delay::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reverb::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use reverb::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `waveshaper::*` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use waveshaper::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `my_second_order_lpf` [INFO] [stdout] --> src/effects.rs:3:62 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{waveshaper::{my_waveshaper, ShapeType}, filter::{my_second_order_lpf, my_second_order_hpf, my_low_shelf, my_high_shelf}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `circular_buffer::CircularBuffer` [INFO] [stdout] --> src/waveshaper.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use circular_buffer::CircularBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shape::Shape` [INFO] [stdout] --> src/waveshaper.rs:4:49 [INFO] [stdout] | [INFO] [stdout] 4 | use fundsp::{audionode::AudioNode, prelude::An, shape::Shape}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `circular_buffer::CircularBuffer` [INFO] [stdout] --> src/reverb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use circular_buffer::CircularBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/reverb.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use numeric_array::typenum::{*, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delay` [INFO] [stdout] --> src/reverb.rs:6:61 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{comb::{CombFilter, CombType}, allpass::AllPass, delay}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/phaser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AudioNode` is imported redundantly [INFO] [stdout] --> src/phaser.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use fundsp::prelude::{AudioNode, An}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | use fundsp::hacker::*; [INFO] [stdout] | ----------------- the item `AudioNode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `An` is imported redundantly [INFO] [stdout] --> src/phaser.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use fundsp::prelude::{AudioNode, An}; [INFO] [stdout] | ^^ [INFO] [stdout] 5 | use fundsp::hacker::*; [INFO] [stdout] | ----------------- the item `An` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pow` [INFO] [stdout] --> src/phaser.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | use numeric_array::typenum::{self, Pow}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::allpass::AllPass` [INFO] [stdout] --> src/phaser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::allpass::AllPass; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `second_order_allpass_coefficients` [INFO] [stdout] --> src/phaser.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::filter::{BiquadFilter, second_order_allpass_coefficients, first_order_allpass_coefficients}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/phaser.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | y = (x + self.intensity * phased_signal); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 126 - y = (x + self.intensity * phased_signal); [INFO] [stdout] 126 + y = x + self.intensity * phased_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::boxed` [INFO] [stdout] --> src/allpass.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::boxed; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SQRT_2`, `io::Write` [INFO] [stdout] --> src/filter.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Write, f64::consts::{PI, SQRT_2}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `buffer`, `feedback`, `tan` [INFO] [stdout] --> src/chorus.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use fundsp::{audionode::AudioNode, prelude::{An, tan}, buffer, feedback}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/chorus.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::delay::{Delay, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/comb.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BiquadCoefficients`, `BiquadFilter` [INFO] [stdout] --> src/comb.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::filter::{BiquadCoefficients, BiquadFilter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `filter::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use filter::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `comb::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use comb::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `allpass::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use allpass::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delay::*` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use delay::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reverb::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use reverb::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `waveshaper::*` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use waveshaper::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `my_second_order_lpf` [INFO] [stdout] --> src/effects.rs:3:62 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{waveshaper::{my_waveshaper, ShapeType}, filter::{my_second_order_lpf, my_second_order_hpf, my_low_shelf, my_high_shelf}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `circular_buffer::CircularBuffer` [INFO] [stdout] --> src/waveshaper.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use circular_buffer::CircularBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shape::Shape` [INFO] [stdout] --> src/waveshaper.rs:4:49 [INFO] [stdout] | [INFO] [stdout] 4 | use fundsp::{audionode::AudioNode, prelude::An, shape::Shape}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `circular_buffer::CircularBuffer` [INFO] [stdout] --> src/reverb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use circular_buffer::CircularBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/reverb.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use numeric_array::typenum::{*, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delay` [INFO] [stdout] --> src/reverb.rs:6:61 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{comb::{CombFilter, CombType}, allpass::AllPass, delay}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/phaser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AudioNode` is imported redundantly [INFO] [stdout] --> src/phaser.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use fundsp::prelude::{AudioNode, An}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | use fundsp::hacker::*; [INFO] [stdout] | ----------------- the item `AudioNode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `An` is imported redundantly [INFO] [stdout] --> src/phaser.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use fundsp::prelude::{AudioNode, An}; [INFO] [stdout] | ^^ [INFO] [stdout] 5 | use fundsp::hacker::*; [INFO] [stdout] | ----------------- the item `An` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pow` [INFO] [stdout] --> src/phaser.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | use numeric_array::typenum::{self, Pow}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::allpass::AllPass` [INFO] [stdout] --> src/phaser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::allpass::AllPass; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `second_order_allpass_coefficients` [INFO] [stdout] --> src/phaser.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::filter::{BiquadFilter, second_order_allpass_coefficients, first_order_allpass_coefficients}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/phaser.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | y = (x + self.intensity * phased_signal); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 126 - y = (x + self.intensity * phased_signal); [INFO] [stdout] 126 + y = x + self.intensity * phased_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::boxed` [INFO] [stdout] --> src/allpass.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::boxed; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SQRT_2`, `io::Write` [INFO] [stdout] --> src/filter.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Write, f64::consts::{PI, SQRT_2}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `buffer`, `feedback`, `tan` [INFO] [stdout] --> src/chorus.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use fundsp::{audionode::AudioNode, prelude::{An, tan}, buffer, feedback}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/chorus.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::delay::{Delay, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/comb.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BiquadCoefficients`, `BiquadFilter` [INFO] [stdout] --> src/comb.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::filter::{BiquadCoefficients, BiquadFilter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/waveshaper.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use numeric_array::typenum::{*, self}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Num` [INFO] [stdout] --> src/reverb.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use fundsp::{audionode::AudioNode, prelude::An, Num}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/comb.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use numeric_array::typenum::{*, self}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/allpass.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use numeric_array::typenum::{*, self}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/filter.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use numeric_array::typenum::{*, self}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/chorus.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use numeric_array::typenum::{*, self}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/reverb.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | for i in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `after_allpasses` is never read [INFO] [stdout] --> src/reverb.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | after_allpasses = self.allpasses[1].process_sample(after_allpasses); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/waveshaper.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use numeric_array::typenum::{*, self}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Num` [INFO] [stdout] --> src/reverb.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use fundsp::{audionode::AudioNode, prelude::An, Num}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/comb.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use numeric_array::typenum::{*, self}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/allpass.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use numeric_array::typenum::{*, self}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/filter.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use numeric_array::typenum::{*, self}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/phaser.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let mut y = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/chorus.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use numeric_array::typenum::{*, self}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/reverb.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | for i in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [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/comb.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut feedback = if feedback > 1.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: value assigned to `y` is never read [INFO] [stdout] --> src/comb.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut y = 0.0f64; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/comb.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let mut y = 0.0f64; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `after_allpasses` is never read [INFO] [stdout] --> src/reverb.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | after_allpasses = self.allpasses[1].process_sample(after_allpasses); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/waveshaper.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ShapeType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | ARRY, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | SIG, // USES SATURATION [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | SIG2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | TANH,// USES SATURATION [INFO] [stdout] 13 | ATAN,// USES SATURATION [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | FEXP1,// USES SATURATION [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | FEXP2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | EXP, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | ATSR, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | SQS, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | CUBE, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | HCLIP, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | HWR, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | FWR, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | ASQRT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShapeType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/waveshaper.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 200 | impl AssymetricWaveshaper { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 201 | pub fn new(up_shape: ShapeType, down_shape: ShapeType, saturation: f64, pre_gain: f64, post_gain: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_assymetric_waveshaper` is never used [INFO] [stdout] --> src/waveshaper.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn my_assymetric_waveshaper(up_shape: ShapeType, down_shape: ShapeType, pre_gain: f64, post_gain: f64, saturation: Option ) -> A... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CombReverb`, `Schroeder`, `LpfComb`, and `Moorer` are never constructed [INFO] [stdout] --> src/reverb.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ReverbType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 10 | CombReverb, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | Schroeder, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | LpfComb, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | Moorer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReverbType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decay` is never read [INFO] [stdout] --> src/reverb.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Reverb { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | decay: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reverb` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `new_comb_reverb`, `new_schroeder_reverb`, `new_lpf_comb`, and `new_moorer_reverb` are never used [INFO] [stdout] --> src/reverb.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Reverb { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 25 | pub fn new(sample_rate: f64, decay: f64, reverb_type: ReverbType, damp: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn new_comb_reverb(sample_rate: f64, decay: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn new_schroeder_reverb(sample_rate: f64, decay: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn new_lpf_comb(sample_rate: f64, decay: f64, damp: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn new_moorer_reverb(sample_rate: f64, decay: f64, damp: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `comb_reverb` is never used [INFO] [stdout] --> src/reverb.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn comb_reverb(sample_rate: f64, decay: f64) -> An { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schroeder_reverb` is never used [INFO] [stdout] --> src/reverb.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn schroeder_reverb(sample_rate: f64, decay: f64) -> An { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lpf_comb_reverb` is never used [INFO] [stdout] --> src/reverb.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn lpf_comb_reverb(sample_rate: f64, decay: f64, damp: f64) -> An { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `moorer_reverb` is never used [INFO] [stdout] --> src/reverb.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn moorer_reverb(sample_rate: f64, decay: f64, damp: f64) -> An { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_delay` is never used [INFO] [stdout] --> src/delay.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn my_delay(sr: f64, delay_ms: f64, feedback: f64) -> An { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/allpass.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl AllPass { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 16 | pub fn new(delay: usize, gain: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_allpass` is never used [INFO] [stdout] --> src/allpass.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn my_allpass(delay: usize, gain: f64) -> An { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_coefficient` and `get_s_value` are never used [INFO] [stdout] --> src/filter.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl BiquadFilter { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_coefficient(&self, i: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_s_value(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DELAY` is never used [INFO] [stdout] --> src/chorus.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MAX_DELAY: f64 = 100.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delay_ms` is never read [INFO] [stdout] --> src/chorus.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Chorus { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | rate: f64, [INFO] [stdout] 13 | delay_ms: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chorus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `POSITIVE` and `NEGATIVE` are never constructed [INFO] [stdout] --> src/comb.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum CombType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 12 | POSITIVE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | NEGATIVE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CombType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `new_comb`, and `new_lpf_comb` are never used [INFO] [stdout] --> src/comb.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl CombFilter { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 29 | pub fn new(delay: usize, feedback: f64, comb_type: CombType, use_lpf: bool, lpf_g: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn new_comb(delay: usize, feedback: f64, comb_type: CombType) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn new_lpf_comb(delay: usize, feedback: f64, lpf_g: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_comb` is never used [INFO] [stdout] --> src/comb.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn my_comb(delay: usize, feedback: f64, comb_type: CombType) -> An { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/phaser.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let mut y = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/comb.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut feedback = if feedback > 1.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: value assigned to `y` is never read [INFO] [stdout] --> src/comb.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut y = 0.0f64; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/comb.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let mut y = 0.0f64; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/waveshaper.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ShapeType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | ARRY, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | SIG, // USES SATURATION [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | SIG2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | TANH,// USES SATURATION [INFO] [stdout] 13 | ATAN,// USES SATURATION [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | FEXP1,// USES SATURATION [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | FEXP2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | EXP, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | ATSR, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | SQS, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | CUBE, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | HCLIP, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | HWR, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | FWR, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | ASQRT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShapeType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/waveshaper.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 200 | impl AssymetricWaveshaper { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 201 | pub fn new(up_shape: ShapeType, down_shape: ShapeType, saturation: f64, pre_gain: f64, post_gain: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_assymetric_waveshaper` is never used [INFO] [stdout] --> src/waveshaper.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn my_assymetric_waveshaper(up_shape: ShapeType, down_shape: ShapeType, pre_gain: f64, post_gain: f64, saturation: Option ) -> A... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CombReverb`, `Schroeder`, `LpfComb`, and `Moorer` are never constructed [INFO] [stdout] --> src/reverb.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ReverbType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 10 | CombReverb, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | Schroeder, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | LpfComb, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | Moorer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReverbType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decay` is never read [INFO] [stdout] --> src/reverb.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Reverb { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | decay: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reverb` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `new_comb_reverb`, `new_schroeder_reverb`, `new_lpf_comb`, and `new_moorer_reverb` are never used [INFO] [stdout] --> src/reverb.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Reverb { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 25 | pub fn new(sample_rate: f64, decay: f64, reverb_type: ReverbType, damp: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn new_comb_reverb(sample_rate: f64, decay: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn new_schroeder_reverb(sample_rate: f64, decay: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn new_lpf_comb(sample_rate: f64, decay: f64, damp: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn new_moorer_reverb(sample_rate: f64, decay: f64, damp: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `comb_reverb` is never used [INFO] [stdout] --> src/reverb.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn comb_reverb(sample_rate: f64, decay: f64) -> An { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schroeder_reverb` is never used [INFO] [stdout] --> src/reverb.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn schroeder_reverb(sample_rate: f64, decay: f64) -> An { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lpf_comb_reverb` is never used [INFO] [stdout] --> src/reverb.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn lpf_comb_reverb(sample_rate: f64, decay: f64, damp: f64) -> An { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `moorer_reverb` is never used [INFO] [stdout] --> src/reverb.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn moorer_reverb(sample_rate: f64, decay: f64, damp: f64) -> An { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_delay` is never used [INFO] [stdout] --> src/delay.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn my_delay(sr: f64, delay_ms: f64, feedback: f64) -> An { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/allpass.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl AllPass { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 16 | pub fn new(delay: usize, gain: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_allpass` is never used [INFO] [stdout] --> src/allpass.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn my_allpass(delay: usize, gain: f64) -> An { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_coefficient` and `get_s_value` are never used [INFO] [stdout] --> src/filter.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl BiquadFilter { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_coefficient(&self, i: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_s_value(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DELAY` is never used [INFO] [stdout] --> src/chorus.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MAX_DELAY: f64 = 100.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delay_ms` is never read [INFO] [stdout] --> src/chorus.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Chorus { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | rate: f64, [INFO] [stdout] 13 | delay_ms: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chorus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `POSITIVE` and `NEGATIVE` are never constructed [INFO] [stdout] --> src/comb.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum CombType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 12 | POSITIVE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | NEGATIVE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CombType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `new_comb`, and `new_lpf_comb` are never used [INFO] [stdout] --> src/comb.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl CombFilter { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 29 | pub fn new(delay: usize, feedback: f64, comb_type: CombType, use_lpf: bool, lpf_g: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn new_comb(delay: usize, feedback: f64, comb_type: CombType) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn new_lpf_comb(delay: usize, feedback: f64, lpf_g: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_comb` is never used [INFO] [stdout] --> src/comb.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn my_comb(delay: usize, feedback: f64, comb_type: CombType) -> An { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.90s [INFO] running `Command { std: "docker" "inspect" "541dcfb43e5d8bbf708e734ec042430cffbcca16ed5d84ac2af55f893f53f17e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "541dcfb43e5d8bbf708e734ec042430cffbcca16ed5d84ac2af55f893f53f17e", kill_on_drop: false }` [INFO] [stdout] 541dcfb43e5d8bbf708e734ec042430cffbcca16ed5d84ac2af55f893f53f17e [INFO] checking Maerorr/dsp_test against try#5946bac294aa8e579f74aa4a4d1f443d3b5d89f8 for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaerorr%2Fdsp_test" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Maerorr/dsp_test on toolchain 5946bac294aa8e579f74aa4a4d1f443d3b5d89f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Maerorr/dsp_test [INFO] finished tweaking git repo https://github.com/Maerorr/dsp_test [INFO] tweaked toml for git repo https://github.com/Maerorr/dsp_test written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Maerorr/dsp_test 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" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 481e79ca1b2d853b548d2d50613503d0c4ca399a28298689c5281d51dc1518c6 [INFO] running `Command { std: "docker" "start" "-a" "481e79ca1b2d853b548d2d50613503d0c4ca399a28298689c5281d51dc1518c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "481e79ca1b2d853b548d2d50613503d0c4ca399a28298689c5281d51dc1518c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "481e79ca1b2d853b548d2d50613503d0c4ca399a28298689c5281d51dc1518c6", kill_on_drop: false }` [INFO] [stdout] 481e79ca1b2d853b548d2d50613503d0c4ca399a28298689c5281d51dc1518c6 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e102cd7744aff2772b4dbfb6ce39bc8ed1e0ac402bce832ccba329f03d07d92c [INFO] running `Command { std: "docker" "start" "-a" "e102cd7744aff2772b4dbfb6ce39bc8ed1e0ac402bce832ccba329f03d07d92c", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.68 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustfft v6.1.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking symphonia-core v0.5.3 [INFO] [stderr] Checking dyn-clone v1.0.14 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Checking rsor v0.1.3 [INFO] [stderr] Checking circular-buffer v0.1.3 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stdout] error[E0309]: the parameter type `S` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/symphonia-core-0.5.3/src/audio.rs:538:56 [INFO] [stdout] | [INFO] [stdout] 536 | fn render<'a, F>(&'a mut self, n_frames: Option, render: F) -> Result<()> [INFO] [stdout] | -- the parameter type `S` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] 537 | where [INFO] [stdout] 538 | F: FnMut(&mut AudioPlanesMut<'a, S>, usize) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ ...so that the type `S` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/symphonia-core-0.5.3/src/audio.rs:237:34 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct AudioPlanesMut<'a, S: 'a + Sample> { [INFO] [stdout] | ^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 538 | F: FnMut(&mut AudioPlanesMut<'a, S>, usize) -> Result<()>, S: 'a; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `S` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/symphonia-core-0.5.3/src/audio.rs:546:56 [INFO] [stdout] | [INFO] [stdout] 544 | fn fill<'a, F>(&'a mut self, fill: F) -> Result<()> [INFO] [stdout] | -- the parameter type `S` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] 545 | where [INFO] [stdout] 546 | F: FnMut(&mut AudioPlanesMut<'a, S>, usize) -> Result<()>, [INFO] [stdout] | ^^^^^^^^^^ ...so that the type `S` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/symphonia-core-0.5.3/src/audio.rs:237:34 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct AudioPlanesMut<'a, S: 'a + Sample> { [INFO] [stdout] | ^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 546 | F: FnMut(&mut AudioPlanesMut<'a, S>, usize) -> Result<()>, S: 'a [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0309`. [INFO] [stdout] [INFO] [stderr] error: could not compile `symphonia-core` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e102cd7744aff2772b4dbfb6ce39bc8ed1e0ac402bce832ccba329f03d07d92c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e102cd7744aff2772b4dbfb6ce39bc8ed1e0ac402bce832ccba329f03d07d92c", kill_on_drop: false }` [INFO] [stdout] e102cd7744aff2772b4dbfb6ce39bc8ed1e0ac402bce832ccba329f03d07d92c