warning: enum `Kind` is never used --> /reports/os-implementation/K1360-waitset-teardown-local-preflight-6GPDSi/workspace/os-waitset/teardown/close.rs:4:10 | 4 | pub enum Kind { File, Channel, Task } | ^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: struct `ObjectKey` is never constructed --> /reports/os-implementation/K1360-waitset-teardown-local-preflight-6GPDSi/workspace/os-waitset/teardown/close.rs:7:12 | 7 | pub struct ObjectKey { pub kind: Kind, pub id: u64 } | ^^^^^^^^^ warning: struct `SubscriptionId` is never constructed --> /reports/os-implementation/K1360-waitset-teardown-local-preflight-6GPDSi/workspace/os-waitset/teardown/close.rs:10:12 | 10 | pub struct SubscriptionId(u64); | ^^^^^^^^^^^^^^ warning: associated items `from_raw` and `raw` are never used --> /reports/os-implementation/K1360-waitset-teardown-local-preflight-6GPDSi/workspace/os-waitset/teardown/close.rs:12:18 | 11 | impl SubscriptionId { | ------------------- associated items in this implementation 12 | pub const fn from_raw(raw: u64) -> Self { Self(raw) } | ^^^^^^^^ 13 | pub const fn raw(self) -> u64 { self.0 } | ^^^ warning: enum `Error` is never used --> /reports/os-implementation/K1360-waitset-teardown-local-preflight-6GPDSi/workspace/os-waitset/teardown/close.rs:17:10 | 17 | pub enum Error { Access, Closed, Stale, Exists, Full, Invalid, Overflow } | ^^^^^ warning: struct `Row` is never constructed --> /reports/os-implementation/K1360-waitset-teardown-local-preflight-6GPDSi/workspace/os-waitset/teardown/close.rs:20:12 | 20 | pub struct Row { pub id: SubscriptionId, pub object: ObjectKey, pub peer_dead: bool } | ^^^ warning: struct `Callback` is never constructed --> /reports/os-implementation/K1360-waitset-teardown-local-preflight-6GPDSi/workspace/os-waitset/teardown/close.rs:23:12 | 23 | pub struct Callback { pub id: SubscriptionId, pub close_epoch: u32 } | ^^^^^^^^ warning: struct `Snapshot` is never constructed --> /reports/os-implementation/K1360-waitset-teardown-local-preflight-6GPDSi/workspace/os-waitset/teardown/close.rs:26:12 | 26 | pub struct Snapshot { | ^^^^^^^^ warning: struct `Teardown` is never constructed --> /reports/os-implementation/K1360-waitset-teardown-local-preflight-6GPDSi/workspace/os-waitset/teardown/close.rs:33:12 | 33 | pub struct Teardown { | ^^^^^^^^ warning: multiple associated items are never used --> /reports/os-implementation/K1360-waitset-teardown-local-preflight-6GPDSi/workspace/os-waitset/teardown/close.rs:42:18 | 41 | impl Teardown { | ------------------------------------------------- associated items in this implementation 42 | pub const fn new(owner: P) -> Self { | ^^^ ... 47 | pub fn subscribe(&mut self, caller: P, object: ObjectKey) | ^^^^^^^^^ ... 65 | fn index(&self, id: SubscriptionId) -> Result { | ^^^^^ ... 71 | pub fn begin_peer_callback(&self, id: SubscriptionId) | ^^^^^^^^^^^^^^^^^^^ ... 77 | pub fn finish_peer_callback(&mut self, callback: Callback) | ^^^^^^^^^^^^^^^^^^^^ ... 89 | pub fn close(&mut self, caller: P) -> Result { | ^^^^^ ... 100 | pub fn snapshot(&self) -> Snapshot { | ^^^^^^^^ warning: 10 warnings emitted