warning: variant `GenerationOverflow` is never constructed --> /reports/os-implementation/K1570-vfs-offset-local-juSz5j/source/kernel/tests/os/../../../os-vfs-lookup/src/lib.rs:11:5 | 6 | pub enum Error { | ----- variant in this enum ... 11 | GenerationOverflow, | ^^^^^^^^^^^^^^^^^^ | = note: `Error` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `as_str` is never used --> /reports/os-implementation/K1570-vfs-offset-local-juSz5j/source/kernel/tests/os/../../../os-vfs-lookup/src/lib.rs:32:12 | 20 | impl Name { | --------- method in this implementation ... 32 | pub fn as_str(&self) -> &str { | ^^^^^^ warning: methods `active_mounts`, `unmount`, and `remount` are never used --> /reports/os-implementation/K1570-vfs-offset-local-juSz5j/source/kernel/tests/os/../../../os-vfs-lookup/src/lib.rs:76:12 | 68 | impl LookupTable { | ---------------- methods in this implementation ... 76 | pub fn active_mounts(&self) -> usize { | ^^^^^^^^^^^^^ ... 100 | pub fn unmount(&mut self, volume: u8) -> Result<(), Error> { | ^^^^^^^ ... 111 | pub fn remount(&mut self, volume: u8) -> Result<(), Error> { | ^^^^^^^ warning: variant `BadHandle` is never constructed --> /reports/os-implementation/K1570-vfs-offset-local-juSz5j/source/kernel/tests/os/../../../os-vfs-open/src/lib.rs:12:5 | 6 | pub enum Error { | ----- variant in this enum ... 12 | BadHandle, | ^^^^^^^^^ | = note: `Error` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis warning: methods `active_handles` and `close` are never used --> /reports/os-implementation/K1570-vfs-offset-local-juSz5j/source/kernel/tests/os/../../../os-vfs-open/src/lib.rs:46:12 | 41 | impl OpenTable { | -------------- methods in this implementation ... 46 | pub fn active_handles(&self) -> usize { | ^^^^^^^^^^^^^^ ... 68 | pub fn close(&mut self, handle: Handle) -> Result<(), Error> { | ^^^^^ warning: 5 warnings emitted