warning: struct `Token` is never constructed --> /reports/os-implementation/K1355-waitset-deadlines-local-preflight-7dhwdB/workspace/os-waitset/deadlines/wait.rs:5:12 | 5 | pub struct Token(u64); | ^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: associated items `raw` and `from_raw` are never used --> /reports/os-implementation/K1355-waitset-deadlines-local-preflight-7dhwdB/workspace/os-waitset/deadlines/wait.rs:7:18 | 6 | impl Token { | ---------- associated items in this implementation 7 | pub const fn raw(self) -> u64 { self.0 } | ^^^ 8 | pub const fn from_raw(raw: u64) -> Self { Self(raw) } | ^^^^^^^^ warning: enum `Error` is never used --> /reports/os-implementation/K1355-waitset-deadlines-local-preflight-7dhwdB/workspace/os-waitset/deadlines/wait.rs:12:10 | 12 | pub enum Error { Access, Busy, Stale, NotDue, Late, Pending, Overflow } | ^^^^^ warning: enum `Completion` is never used --> /reports/os-implementation/K1355-waitset-deadlines-local-preflight-7dhwdB/workspace/os-waitset/deadlines/wait.rs:15:10 | 15 | pub enum Completion { Event, Timeout } | ^^^^^^^^^^ warning: enum `Phase` is never used --> /reports/os-implementation/K1355-waitset-deadlines-local-preflight-7dhwdB/workspace/os-waitset/deadlines/wait.rs:18:10 | 18 | pub enum Phase { Waiting, DeadlinePending, Done(Completion) } | ^^^^^ warning: struct `Entry` is never constructed --> /reports/os-implementation/K1355-waitset-deadlines-local-preflight-7dhwdB/workspace/os-waitset/deadlines/wait.rs:21:12 | 21 | pub struct Entry { pub token: Token, pub deadline: u64, pub phase: Phase } | ^^^^^ warning: struct `Snapshot` is never constructed --> /reports/os-implementation/K1355-waitset-deadlines-local-preflight-7dhwdB/workspace/os-waitset/deadlines/wait.rs:24:12 | 24 | pub struct Snapshot { pub generation: u64, pub entry: Option, pub timers: usize } | ^^^^^^^^ warning: struct `DeadlineWait` is never constructed --> /reports/os-implementation/K1355-waitset-deadlines-local-preflight-7dhwdB/workspace/os-waitset/deadlines/wait.rs:26:12 | 26 | pub struct DeadlineWait { | ^^^^^^^^^^^^ warning: multiple associated items are never used --> /reports/os-implementation/K1355-waitset-deadlines-local-preflight-7dhwdB/workspace/os-waitset/deadlines/wait.rs:33:18 | 32 | impl DeadlineWait

{ | ---------------------------------- associated items in this implementation 33 | pub const fn new(owner: P) -> Self { | ^^^ ... 37 | pub const fn with_generation_seed(owner: P, generation: u64) -> Self { | ^^^^^^^^^^^^^^^^^^^^ ... 41 | pub fn arm(&mut self, caller: P, deadline: u64) -> Result { | ^^^ ... 51 | fn current(&self, token: Token) -> Result { | ^^^^^^^ ... 55 | pub fn timer(&mut self, token: Token, tick: u64) -> Result<(), Error> { | ^^^^^ ... 73 | pub fn event(&mut self, token: Token, tick: u64) -> Result<(), Error> { | ^^^^^ ... 92 | pub fn close_tick(&mut self, token: Token, tick: u64) -> Result<(), Error> { | ^^^^^^^^^^ ... 101 | pub fn take(&mut self, caller: P, token: Token) | ^^^^ ... 110 | pub fn snapshot(&self) -> Snapshot { | ^^^^^^^^ warning: 9 warnings emitted