That’s really a problem with the dependency. Library authors should be aware that GHC does not give any guarantees about when new warnings are introduced. Cabal will also warn you about this when you try to upload to hackage.
Even this language editions proposal will not change that:
We do not guarantee that all
Stablecode remain warning-free, especially with-Wcompatenabled.