Summary
I honestly can't make heads or tails of why, if you remove the import the build fails in several places.
Lint Name
unused_imports
Reproducer
I honestly don't have a clue as to what the issue is here, so a minimal reproducer is hard.
lightningdevkit/rust-lightning#4000 removes the allows that were previously in place, see the last commit.
Version
rustc stable
info: latest update on 2025-08-07, rust version 1.89.0 (29483883e 2025-08-04)
Additional Labels
No response