warning: multiple variants are never constructed --> /reports/os-implementation/K1635-turkfs-inode-local-fULuC8/mutant/kernel/tests/os/../../../os-turkfs-allocation/src/lib.rs:5:5 | 4 | pub enum Error { | ----- variants in this enum 5 | BadCapacity, | ^^^^^^^^^^^ 6 | BadReserved, | ^^^^^^^^^^^ 7 | BadBitmap, | ^^^^^^^^^ 8 | ReservedFree, | ^^^^^^^^^^^^ 9 | NoSpace, | ^^^^^^^ 10 | OutOfBounds, | ^^^^^^^^^^^ 11 | ReservedBlock, | ^^^^^^^^^^^^^ 12 | AlreadyFree, | ^^^^^^^^^^^ 13 | BadFileState, | ^^^^^^^^^^^^ 14 | UnownedFirstBlock, | ^^^^^^^^^^^^^^^^^ | = 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: struct `Counts` is never constructed --> /reports/os-implementation/K1635-turkfs-inode-local-fULuC8/mutant/kernel/tests/os/../../../os-turkfs-allocation/src/lib.rs:23:12 | 23 | pub struct Counts { | ^^^^^^ warning: struct `Bitmap` is never constructed --> /reports/os-implementation/K1635-turkfs-inode-local-fULuC8/mutant/kernel/tests/os/../../../os-turkfs-allocation/src/lib.rs:30:12 | 30 | pub struct Bitmap { | ^^^^^^ warning: associated items `validate`, `allocated_bits`, `counts`, `allocate`, and `release` are never used --> /reports/os-implementation/K1635-turkfs-inode-local-fULuC8/mutant/kernel/tests/os/../../../os-turkfs-allocation/src/lib.rs:37:12 | 36 | impl Bitmap { | ----------- associated items in this implementation 37 | pub fn validate(capacity: u8, reserved: u64, allocated: u64) | ^^^^^^^^ ... 47 | pub const fn allocated_bits(&self) -> u64 { self.allocated } | ^^^^^^^^^^^^^^ 48 | 49 | pub fn counts(&self) -> Counts { | ^^^^^^ ... 55 | pub fn allocate(&mut self) -> Result { | ^^^^^^^^ ... 66 | pub fn release(&mut self, block: u8) -> Result<(), Error> { | ^^^^^^^ warning: struct `ExtentFile` is never constructed --> /reports/os-implementation/K1635-turkfs-inode-local-fULuC8/mutant/kernel/tests/os/../../../os-turkfs-allocation/src/lib.rs:77:12 | 77 | pub struct ExtentFile { | ^^^^^^^^^^ warning: associated items `one_block`, `blocks`, `count`, and `grow_to_three` are never used --> /reports/os-implementation/K1635-turkfs-inode-local-fULuC8/mutant/kernel/tests/os/../../../os-turkfs-allocation/src/lib.rs:83:12 | 82 | impl ExtentFile { | --------------- associated items in this implementation 83 | pub fn one_block(first: u8, bitmap: &Bitmap) -> Result { | ^^^^^^^^^ ... 92 | pub const fn blocks(&self) -> [u8; 3] { self.blocks } | ^^^^^^ 93 | 94 | pub const fn count(&self) -> u8 { self.count } | ^^^^^ ... 98 | pub fn grow_to_three(&mut self, bitmap: &mut Bitmap) -> Result<(), Error> { | ^^^^^^^^^^^^^ warning: 6 warnings emitted