[INFO] cloning repository https://github.com/Rafferty97/audio-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rafferty97/audio-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafferty97%2Faudio-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafferty97%2Faudio-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 677c7a0626f2b681bee5de5737b6f0e024270a90 [INFO] checking Rafferty97/audio-engine/677c7a0626f2b681bee5de5737b6f0e024270a90 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafferty97%2Faudio-engine" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rafferty97/audio-engine on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rafferty97/audio-engine [INFO] finished tweaking git repo https://github.com/Rafferty97/audio-engine [INFO] tweaked toml for git repo https://github.com/Rafferty97/audio-engine written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Rafferty97/audio-engine 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded basedrop v0.1.2 [INFO] [stderr] Downloaded coremidi-sys v3.1.0 [INFO] [stderr] Downloaded ringbuf-basedrop v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11671ab8ecd893f54f00ba22c6c4850776cb70f5c613aa8ce8b035b932f1fb2b [INFO] running `Command { std: "docker" "start" "-a" "11671ab8ecd893f54f00ba22c6c4850776cb70f5c613aa8ce8b035b932f1fb2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11671ab8ecd893f54f00ba22c6c4850776cb70f5c613aa8ce8b035b932f1fb2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11671ab8ecd893f54f00ba22c6c4850776cb70f5c613aa8ce8b035b932f1fb2b", kill_on_drop: false }` [INFO] [stdout] 11671ab8ecd893f54f00ba22c6c4850776cb70f5c613aa8ce8b035b932f1fb2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9f7e43e0928f5721574e6cd027202f5991805ae68a13bf761500efc5a8860bc [INFO] running `Command { std: "docker" "start" "-a" "b9f7e43e0928f5721574e6cd027202f5991805ae68a13bf761500efc5a8860bc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking basedrop v0.1.2 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking cache-padded v1.3.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking hound v3.5.0 [INFO] [stderr] Checking ringbuf-basedrop v0.1.1 [INFO] [stderr] Checking bumpalo v3.13.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking rand_core v0.6.4 [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] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking thiserror v1.0.48 [INFO] [stderr] Checking midir v0.9.1 [INFO] [stderr] Checking daw-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ops::Range` [INFO] [stdout] --> src/audio/buffer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Range, slice::SliceIndex}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AudioBuffer` [INFO] [stdout] --> src/processor/filter.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::audio::buffer::{AudioBuffer, AudioBufferMut, StereoBuffer, StereoBufferMut}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Range` [INFO] [stdout] --> src/audio/buffer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Range, slice::SliceIndex}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AudioBuffer` [INFO] [stdout] --> src/processor/filter.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::audio::buffer::{AudioBuffer, AudioBufferMut, StereoBuffer, StereoBufferMut}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `char::MAX` [INFO] [stdout] --> src/processor/filter.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{char::MAX, f32::consts::PI}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `char::MAX` [INFO] [stdout] --> src/processor/filter.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{char::MAX, f32::consts::PI}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StereoBuffer` [INFO] [stdout] --> src/processor/sampler.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | buffer::{MonoBuffer, StereoBuffer, StereoBufferMut}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MidiEvent` [INFO] [stdout] --> src/synth/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | midi::{MidiEvent, TimedMidiEvent}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StereoBuffer` [INFO] [stdout] --> src/processor/sampler.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | buffer::{MonoBuffer, StereoBuffer, StereoBufferMut}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MidiEvent` [INFO] [stdout] --> src/synth/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | midi::{MidiEvent, TimedMidiEvent}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress` [INFO] [stdout] --> src/audio/sample.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn read_wav(reader: impl Read, progress: Option) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress` [INFO] [stdout] --> src/audio/sample.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn read_wav(reader: impl Read, progress: Option) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress` [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/audio/sample.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut wav = hound::WavReader::new(reader)?; [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/audio/sample.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut wav = hound::WavReader::new(reader)?; [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: unused variable: `input_map` [INFO] [stdout] --> src/engine.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let input_map = self.midi_inputs.insert(dst_device, src_device); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_map` [INFO] [stdout] --> src/engine.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let input_map = self.midi_inputs.insert(dst_device, src_device); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_rate` [INFO] [stdout] --> src/processor/gain.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | fn set_sample_rate(&mut self, sample_rate: u32) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_rate` [INFO] [stdout] --> src/processor/gain.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | fn set_sample_rate(&mut self, sample_rate: u32) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_rate` [INFO] [stdout] --> src/processor/saturator.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | fn set_sample_rate(&mut self, sample_rate: u32) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_rate` [INFO] [stdout] --> src/processor.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | fn set_sample_rate(&mut self, sample_rate: u32) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_id` [INFO] [stdout] --> src/processor.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | fn set_parameter(&mut self, param_id: usize, value: f32) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/processor.rs:53:50 [INFO] [stdout] | [INFO] [stdout] 53 | fn set_parameter(&mut self, param_id: usize, value: f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_rate` [INFO] [stdout] --> src/processor/saturator.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | fn set_sample_rate(&mut self, sample_rate: u32) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_rate` [INFO] [stdout] --> src/processor.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | fn set_sample_rate(&mut self, sample_rate: u32) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_id` [INFO] [stdout] --> src/processor.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | fn set_parameter(&mut self, param_id: usize, value: f32) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/processor.rs:53:50 [INFO] [stdout] | [INFO] [stdout] 53 | fn set_parameter(&mut self, param_id: usize, value: f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/track/audio.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let start = ratio * start_offset as f32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/track/audio.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let end = ratio * end_offset as f32; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/track/audio.rs:83:77 [INFO] [stdout] | [INFO] [stdout] 83 | fn process(&self, timeline: &Timeline, sample: usize, sample_rate: f32, mut audio_out: StereoBufferMut) { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/track/audio.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let start = ratio * start_offset as f32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/track/audio.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let end = ratio * end_offset as f32; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/track/audio.rs:83:77 [INFO] [stdout] | [INFO] [stdout] 83 | fn process(&self, timeline: &Timeline, sample: usize, sample_rate: f32, mut audio_out: StereoBufferMut) { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `audio_buffer_cnt` and `midi_buffer_cnt` are never read [INFO] [stdout] --> src/engine.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct AudioEngine { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | audio_buffer_cnt: usize, // FIXME [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | midi_buffer_cnt: usize, // FIXME [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferAllocator` is never constructed [INFO] [stdout] --> src/engine.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | struct BufferAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `allocate`, and `contains` are never used [INFO] [stdout] --> src/engine.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 309 | impl BufferAllocator { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 310 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn allocate(&mut self, key: K, uses: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn contains(&mut self, key: K) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_lowpass` is never used [INFO] [stdout] --> src/processor/filter.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl IIRFilter { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn set_lowpass(&mut self, cutoff_hz: f32, sample_rate: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioTrack` is never constructed [INFO] [stdout] --> src/track/audio.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AudioTrack { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioClip` is never constructed [INFO] [stdout] --> src/track/audio.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AudioClip { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_sample_rate` and `process` are never used [INFO] [stdout] --> src/track/audio.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl AudioTrack { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 28 | pub fn set_sample_rate(&mut self, sample_rate: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn process(&self, timeline: &Timeline, mut audio_out: StereoBufferMut) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start`, `end`, and `process` are never used [INFO] [stdout] --> src/track/audio.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl AudioClip { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 69 | fn start(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn end(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn process(&self, timeline: &Timeline, sample: usize, sample_rate: f32, mut audio_out: StereoBufferMut) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Timeline` is never constructed [INFO] [stdout] --> src/track/timeline.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Timeline { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TempoChange` is never constructed [INFO] [stdout] --> src/track/timeline.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct TempoChange { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `advance`, `set_tempo`, `curr_sample`, `time_to_sample`, and `sample_to_time` are never used [INFO] [stdout] --> src/track/timeline.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Timeline { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 15 | pub fn advance(&mut self, offset: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn set_tempo(&mut self, bpm: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn curr_sample(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn time_to_sample(&self, time: f64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn sample_to_time(&self, sample: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `audio_buffer_cnt` and `midi_buffer_cnt` are never read [INFO] [stdout] --> src/engine.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct AudioEngine { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | audio_buffer_cnt: usize, // FIXME [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | midi_buffer_cnt: usize, // FIXME [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferAllocator` is never constructed [INFO] [stdout] --> src/engine.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | struct BufferAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `allocate`, and `contains` are never used [INFO] [stdout] --> src/engine.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 309 | impl BufferAllocator { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 310 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn allocate(&mut self, key: K, uses: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn contains(&mut self, key: K) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_lowpass` is never used [INFO] [stdout] --> src/processor/filter.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl IIRFilter { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn set_lowpass(&mut self, cutoff_hz: f32, sample_rate: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioTrack` is never constructed [INFO] [stdout] --> src/track/audio.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AudioTrack { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioClip` is never constructed [INFO] [stdout] --> src/track/audio.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AudioClip { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_sample_rate` and `process` are never used [INFO] [stdout] --> src/track/audio.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl AudioTrack { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 28 | pub fn set_sample_rate(&mut self, sample_rate: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn process(&self, timeline: &Timeline, mut audio_out: StereoBufferMut) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start`, `end`, and `process` are never used [INFO] [stdout] --> src/track/audio.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl AudioClip { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 69 | fn start(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn end(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn process(&self, timeline: &Timeline, sample: usize, sample_rate: f32, mut audio_out: StereoBufferMut) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Timeline` is never constructed [INFO] [stdout] --> src/track/timeline.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Timeline { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TempoChange` is never constructed [INFO] [stdout] --> src/track/timeline.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct TempoChange { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `advance`, `set_tempo`, `curr_sample`, `time_to_sample`, and `sample_to_time` are never used [INFO] [stdout] --> src/track/timeline.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Timeline { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 15 | pub fn advance(&mut self, offset: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn set_tempo(&mut self, bpm: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn curr_sample(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn time_to_sample(&self, time: f64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn sample_to_time(&self, sample: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.24s [INFO] running `Command { std: "docker" "inspect" "b9f7e43e0928f5721574e6cd027202f5991805ae68a13bf761500efc5a8860bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9f7e43e0928f5721574e6cd027202f5991805ae68a13bf761500efc5a8860bc", kill_on_drop: false }` [INFO] [stdout] b9f7e43e0928f5721574e6cd027202f5991805ae68a13bf761500efc5a8860bc