[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 try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rafferty97/audio-engine on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-tc2/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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d4c4978983c032fad9fa55b0f38b517411a96668a20f92263879675edd106db [INFO] running `Command { std: "docker" "start" "-a" "4d4c4978983c032fad9fa55b0f38b517411a96668a20f92263879675edd106db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d4c4978983c032fad9fa55b0f38b517411a96668a20f92263879675edd106db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d4c4978983c032fad9fa55b0f38b517411a96668a20f92263879675edd106db", kill_on_drop: false }` [INFO] [stdout] 4d4c4978983c032fad9fa55b0f38b517411a96668a20f92263879675edd106db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b696f1fc7d3ef3937cc2ec8ea373aa7ba78cf6cac54697cd1c3ad5f71ed060d0 [INFO] running `Command { std: "docker" "start" "-a" "b696f1fc7d3ef3937cc2ec8ea373aa7ba78cf6cac54697cd1c3ad5f71ed060d0", 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 ringbuf-basedrop v0.1.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking bumpalo v3.13.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking hound v3.5.0 [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 midir v0.9.1 [INFO] [stderr] Checking thiserror v1.0.48 [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: `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: `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: `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: 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: `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: 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/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: `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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/audio/buffer.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn slice(&self, range: impl SliceIndex<[f32], Output = [f32]> + Clone) -> StereoBuffer { [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | StereoBuffer { [INFO] [stdout] 148 | left: &self.left[range.clone()], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/audio/buffer.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn slice(&self, range: impl SliceIndex<[f32], Output = [f32]> + Clone) -> StereoBuffer { [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | StereoBuffer { [INFO] [stdout] 205 | left: &self.left[range.clone()], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/audio/buffer.rs:212:34 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn slice_mut(&mut self, range: impl SliceIndex<[f32], Output = [f32]> + Clone) -> StereoBufferMut { [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | StereoBufferMut { [INFO] [stdout] 212 | left: &mut self.left[range.clone()], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/audio/buffer.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn into_slice_mut(self, range: impl SliceIndex<[f32], Output = [f32]> + Clone) -> StereoBufferMut<'a> { [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | StereoBufferMut { [INFO] [stdout] 219 | left: &mut self.left[range.clone()], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/audio/sample.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn read_wav(reader: impl Read, progress: Option) -> Result { [INFO] [stdout] | ----------------- ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let mut wav = hound::WavReader::new(reader)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let (channel_format, data) = match channels { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 95 | | channel_format, [INFO] [stdout] 96 | | sample_rate, [INFO] [stdout] 97 | | length, [INFO] [stdout] 98 | | data, [INFO] [stdout] 99 | | peaks: None, [INFO] [stdout] 100 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/io.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 17 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ( [INFO] [stdout] 19 | Self { channel: rx }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/io.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 17 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | / Box::new(move |ev| { [INFO] [stdout] 21 | | tx.send(ev).ok(); [INFO] [stdout] 22 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] [stderr] error: could not compile `daw-engine` (lib) due to 12 previous errors; 27 warnings emitted [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/io.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 55 | device: Device, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let (tx, mut rx) = ringbuf::RingBuffer::new(buffer_size).split(handle); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let (tx2, rx2) = mpsc::sync_channel(0); [INFO] [stdout] | --- --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | [INFO] [stdout] 63 | let stream = device [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | / Self { [INFO] [stdout] 79 | | channel: tx, [INFO] [stdout] 80 | | buffer: vec![], [INFO] [stdout] 81 | | notify: rx2, [INFO] [stdout] 82 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/io.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 124 | device: Device, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let (mut tx, rx) = ringbuf::RingBuffer::new(buffer_size).split(handle); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | [INFO] [stdout] 131 | let stream = device [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | / Self { [INFO] [stdout] 146 | | channel: rx, [INFO] [stdout] 147 | | buffer: vec![], [INFO] [stdout] 148 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/pipeline.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(components: impl IntoIterator>) -> Self { [INFO] [stdout] | --------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Self { [INFO] [stdout] 12 | components: components.into_iter().collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/synth/voice.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(num_voices: usize, voice: V) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let handle = VoiceHandle::new(voice); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | voices: std::iter::repeat(handle).take(num_voices).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 27 warnings emitted [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/audio/buffer.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn slice(&self, range: impl SliceIndex<[f32], Output = [f32]> + Clone) -> StereoBuffer { [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | StereoBuffer { [INFO] [stdout] 148 | left: &self.left[range.clone()], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/audio/buffer.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn slice(&self, range: impl SliceIndex<[f32], Output = [f32]> + Clone) -> StereoBuffer { [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | StereoBuffer { [INFO] [stdout] 205 | left: &self.left[range.clone()], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/audio/buffer.rs:212:34 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn slice_mut(&mut self, range: impl SliceIndex<[f32], Output = [f32]> + Clone) -> StereoBufferMut { [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | StereoBufferMut { [INFO] [stdout] 212 | left: &mut self.left[range.clone()], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/audio/buffer.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn into_slice_mut(self, range: impl SliceIndex<[f32], Output = [f32]> + Clone) -> StereoBufferMut<'a> { [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | StereoBufferMut { [INFO] [stdout] 219 | left: &mut self.left[range.clone()], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/audio/sample.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn read_wav(reader: impl Read, progress: Option) -> Result { [INFO] [stdout] | ----------------- ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let mut wav = hound::WavReader::new(reader)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let (channel_format, data) = match channels { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 95 | | channel_format, [INFO] [stdout] 96 | | sample_rate, [INFO] [stdout] 97 | | length, [INFO] [stdout] 98 | | data, [INFO] [stdout] 99 | | peaks: None, [INFO] [stdout] 100 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/io.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 17 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ( [INFO] [stdout] 19 | Self { channel: rx }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/io.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 17 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | / Box::new(move |ev| { [INFO] [stdout] 21 | | tx.send(ev).ok(); [INFO] [stdout] 22 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/io.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 55 | device: Device, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let (tx, mut rx) = ringbuf::RingBuffer::new(buffer_size).split(handle); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let (tx2, rx2) = mpsc::sync_channel(0); [INFO] [stdout] | --- --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | [INFO] [stdout] 63 | let stream = device [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | / Self { [INFO] [stdout] 79 | | channel: tx, [INFO] [stdout] 80 | | buffer: vec![], [INFO] [stdout] 81 | | notify: rx2, [INFO] [stdout] 82 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/io.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 124 | device: Device, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let (mut tx, rx) = ringbuf::RingBuffer::new(buffer_size).split(handle); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | [INFO] [stdout] 131 | let stream = device [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | / Self { [INFO] [stdout] 146 | | channel: rx, [INFO] [stdout] 147 | | buffer: vec![], [INFO] [stdout] 148 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor/pipeline.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(components: impl IntoIterator>) -> Self { [INFO] [stdout] | --------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Self { [INFO] [stdout] 12 | components: components.into_iter().collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/synth/voice.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(num_voices: usize, voice: V) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let handle = VoiceHandle::new(voice); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | voices: std::iter::repeat(handle).take(num_voices).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `daw-engine` (lib test) due to 12 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b696f1fc7d3ef3937cc2ec8ea373aa7ba78cf6cac54697cd1c3ad5f71ed060d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b696f1fc7d3ef3937cc2ec8ea373aa7ba78cf6cac54697cd1c3ad5f71ed060d0", kill_on_drop: false }` [INFO] [stdout] b696f1fc7d3ef3937cc2ec8ea373aa7ba78cf6cac54697cd1c3ad5f71ed060d0