warning: struct `Handle` is never constructed --> /reports/os-implementation/K1365-shared-memory-create-local-preflight-MdyJnL/workspace/os-shared-memory/src/object.rs:5:12 | 5 | pub struct Handle { generation: u32, holder: P } | ^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: associated items `forge` and `generation` are never used --> /reports/os-implementation/K1365-shared-memory-create-local-preflight-MdyJnL/workspace/os-shared-memory/src/object.rs:7:18 | 6 | impl Handle

{ | ---------------------------- associated items in this implementation 7 | pub const fn forge(generation: u32, holder: P) -> Self { | ^^^^^ ... 10 | pub const fn generation(self) -> u32 { self.generation } | ^^^^^^^^^^ warning: enum `Error` is never used --> /reports/os-implementation/K1365-shared-memory-create-local-preflight-MdyJnL/workspace/os-shared-memory/src/object.rs:14:10 | 14 | pub enum Error { Access, Stale, Invalid, Busy } | ^^^^^ warning: struct `Snapshot` is never constructed --> /reports/os-implementation/K1365-shared-memory-create-local-preflight-MdyJnL/workspace/os-shared-memory/src/object.rs:17:12 | 17 | pub struct Snapshot { | ^^^^^^^^ warning: struct `SharedPages` is never constructed --> /reports/os-implementation/K1365-shared-memory-create-local-preflight-MdyJnL/workspace/os-shared-memory/src/object.rs:27:12 | 27 | pub struct SharedPages { | ^^^^^^^^^^^ warning: multiple associated items are never used --> /reports/os-implementation/K1365-shared-memory-create-local-preflight-MdyJnL/workspace/os-shared-memory/src/object.rs:39:12 | 38 | impl SharedPages

{ | --------------------------------- associated items in this implementation 39 | pub fn new(owner: P, frames: [u64; 2]) -> Result { | ^^^ ... 48 | pub fn owner_handle(&self, caller: P) -> Result, Error> { | ^^^^^^^^^^^^ ... 54 | pub fn grant(&mut self, caller: P, recipient: P) | ^^^^^ ... 64 | pub fn acquire(&mut self, caller: P, handle: Handle

) | ^^^^^^^ ... 76 | pub fn map(&mut self, caller: P, handle: Handle

, page: usize) | ^^^ ... 93 | pub fn revoke(&mut self, caller: P) -> Result<(), Error> { | ^^^^^^ ... 102 | pub fn close(&mut self, caller: P) -> Result<(), Error> { | ^^^^^ ... 113 | pub fn snapshot(&self) -> Snapshot

{ | ^^^^^^^^ warning: 6 warnings emitted