Compiling audio-oxide v0.1.0 (/Users/pszsh/Staging/audio-oxide/audio-oxide) warning: field `0` is never read --> src/editor.rs:29:15 | 29 | Transport(transport::Message), | --------- ^^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 29 - Transport(transport::Message), 29 + Transport(()), | warning: field `0` is never read --> src/editor.rs:33:23 | 33 | TrackListScrolled(scrollable::Viewport), | ----------------- ^^^^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 33 - TrackListScrolled(scrollable::Viewport), 33 + TrackListScrolled(()), | warning: field `0` is never read --> src/editor.rs:34:14 | 34 | Timeline(timeline::Message), | -------- ^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 34 - Timeline(timeline::Message), 34 + Timeline(()), | warning: field `0` is never read --> src/editor.rs:35:22 | 35 | TimelineScrolled(scrollable::Viewport), | ---------------- ^^^^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 35 - TimelineScrolled(scrollable::Viewport), 35 + TimelineScrolled(()), | warning: variants `SelectTrack` and `SelectRegion` are never constructed --> src/gui/editor/timeline.rs:15:5 | 14 | pub enum Message { | ------- variants in this enum 15 | SelectTrack, | ^^^^^^^^^^^ 16 | SelectRegion, | ^^^^^^^^^^^^ | = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: associated function `new` is never used --> src/region.rs:16:12 | 14 | impl Region { | ----------- associated function in this implementation 15 | /// Creates a new region. 16 | pub fn new(start_time: MusicalTime, duration: MusicalTime) -> Self { | ^^^ warning: constant `TICKS_PER_BEAT` is never used --> src/timing.rs:6:11 | 6 | pub const TICKS_PER_BEAT: u32 = 960; | ^^^^^^^^^^^^^^ warning: method `as_total_ticks` is never used --> src/timing.rs:23:12 | 16 | impl MusicalTime { | ---------------- method in this implementation ... 23 | pub fn as_total_ticks(&self, beats_per_bar: u32) -> u64 { | ^^^^^^^^^^^^^^ warning: constant `TRACK_HEIGHT` is never used --> src/track.rs:6:11 | 6 | pub const TRACK_HEIGHT: f32 = 125.0; | ^^^^^^^^^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> src/editor.rs:114:17 | 114 | pub fn view(&self) -> Element { | ^^^^^ ---------------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 114 | pub fn view(&self) -> Element<'_, Message> { | +++ warning: `audio-oxide` (bin "audio-oxide") generated 10 warnings Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.17s Running `target/debug/audio-oxide`