warning: variants `Irq` and `Dma` are never constructed --> /reports/os-implementation/K1415-device-driver-match-local-EN76YN/mutant/kernel/tests/os/../../../os-device-registry/src/lib.rs:133:5 | 131 | pub enum ResourceKind { | ------------ variants in this enum 132 | Mmio, 133 | Irq, | ^^^ 134 | Dma, | ^^^ | = note: `ResourceKind` 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 `device_count` is never used --> /reports/os-implementation/K1415-device-driver-match-local-EN76YN/mutant/kernel/tests/os/../../../os-device-registry/src/lib.rs:188:18 | 183 | impl ResourceRegistry { | ----------------------------------------------------------- method in this implementation ... 188 | pub const fn device_count(&self) -> usize { self.devices.live_count() } | ^^^^^^^^^^^^ warning: field `class` is never read --> /reports/os-implementation/K1415-device-driver-match-local-EN76YN/mutant/kernel/tests/os/../../../os-device-registry/src/lib.rs:284:5 | 282 | struct MatchRule { | --------- field in this struct 283 | device_id: u32, 284 | class: DeviceClass, | ^^^^^ warning: 3 warnings emitted