- `FabricMeter::readable` and `FabricMeter::measure` built their vector
`mut` on every platform and pushed to it only on macOS, so Linux reported
two unused `mut`s. Each now has a macOS body that builds and returns the
vector, and a body for everywhere else that returns it empty. The behaviour
is the same on both.
- `FabricSource::has_backend`: with `nvml` on, its match folded to a
`matches!` (match_like_matches_macro). It is written as one, with the nvml
arm still gated on the feature.
- tests/nvml_hardware.rs: the `nvidia-smi` power triple is the oracle's
`SmiPower` alias (type_complexity under `--features nvml`).
Clippy -D warnings is clean on Linux (default, nvml) and in the macOS lint
step (jcp-energy, jcp-gateway). Tests pass: Linux default (68) and nvml (70),
macOS lib (128).
Co-Authored-By: Claude Opus 5.5 <[email protected]>