warning: struct `Handle` is never constructed --> /reports/os-implementation/K1310-handles-generation-local-preflight-AKLmvQ/workspace/os-handles/generation/handles.rs:6:12 | 6 | pub struct Handle(u64); | ^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: associated items `from_raw`, `raw`, `slot`, and `generation` are never used --> /reports/os-implementation/K1310-handles-generation-local-preflight-AKLmvQ/workspace/os-handles/generation/handles.rs:9:18 | 8 | impl Handle { | ----------- associated items in this implementation 9 | pub const fn from_raw(raw: u64) -> Self { Self(raw) } | ^^^^^^^^ 10 | pub const fn raw(self) -> u64 { self.0 } | ^^^ 11 | pub const fn slot(self) -> u32 { self.0 as u32 } | ^^^^ 12 | pub const fn generation(self) -> u32 { (self.0 >> 32) as u32 } | ^^^^^^^^^^ warning: enum `Object` is never used --> /reports/os-implementation/K1310-handles-generation-local-preflight-AKLmvQ/workspace/os-handles/generation/handles.rs:16:10 | 16 | pub enum Object { | ^^^^^^ warning: method `id` is never used --> /reports/os-implementation/K1310-handles-generation-local-preflight-AKLmvQ/workspace/os-handles/generation/handles.rs:23:14 | 22 | impl Object { | ----------- method in this implementation 23 | const fn id(self) -> u64 { | ^^ warning: enum `Error` is never used --> /reports/os-implementation/K1310-handles-generation-local-preflight-AKLmvQ/workspace/os-handles/generation/handles.rs:31:10 | 31 | pub enum Error { | ^^^^^ warning: method `errno` is never used --> /reports/os-implementation/K1310-handles-generation-local-preflight-AKLmvQ/workspace/os-handles/generation/handles.rs:39:18 | 38 | impl Error { | ---------- method in this implementation 39 | pub const fn errno(self) -> u64 { | ^^^^^ warning: struct `Entry` is never constructed --> /reports/os-implementation/K1310-handles-generation-local-preflight-AKLmvQ/workspace/os-handles/generation/handles.rs:50:8 | 50 | struct Entry

{ | ^^^^^ warning: struct `Snapshot` is never constructed --> /reports/os-implementation/K1310-handles-generation-local-preflight-AKLmvQ/workspace/os-handles/generation/handles.rs:58:12 | 58 | pub struct Snapshot { | ^^^^^^^^ warning: struct `Table` is never constructed --> /reports/os-implementation/K1310-handles-generation-local-preflight-AKLmvQ/workspace/os-handles/generation/handles.rs:63:12 | 63 | pub struct Table { | ^^^^^ warning: multiple associated items are never used --> /reports/os-implementation/K1310-handles-generation-local-preflight-AKLmvQ/workspace/os-handles/generation/handles.rs:69:18 | 68 | impl Table { | ---------------------------------------------- associated items in this implementation 69 | pub const fn new() -> Self { | ^^^ ... 75 | pub const fn with_generation_seed(generations: [u32; N]) -> Self { | ^^^^^^^^^^^^^^^^^^^^ ... 79 | pub fn len(&self) -> usize { | ^^^ ... 83 | pub fn owned(&self, owner: P) -> usize { | ^^^^^ ... 88 | pub fn open(&mut self, owner: P, object: Object) -> Result { | ^^^^ ... 101 | fn object(&self, owner: P, handle: Handle) -> Result { | ^^^^^^ ... 110 | pub fn file_read(&self, owner: P, handle: Handle) -> Result { | ^^^^^^^^^ ... 117 | pub fn channel_send(&self, owner: P, handle: Handle) -> Result { | ^^^^^^^^^^^^ ... 124 | pub fn task_inspect(&self, owner: P, handle: Handle) -> Result { | ^^^^^^^^^^^^ ... 131 | pub fn close(&mut self, owner: P, handle: Handle) -> Result<(), Error> { | ^^^^^ ... 139 | pub fn close_owner(&mut self, owner: P) -> usize { | ^^^^^^^^^^^ ... 150 | pub fn snapshot(&self) -> Snapshot { | ^^^^^^^^ warning: 10 warnings emitted