$ cabal check
These warnings may cause trouble when distributing the package:
Warning: [missing-upper-bounds] On library, these packages miss upper bounds:
- template-haskell
Please add them. There is more information at https://pvp.haskell.org/
Warning: [missing-upper-bounds] On executable 'hie-bios', these packages miss
upper bounds:
- optparse-applicative
Please add them. There is more information at https://pvp.haskell.org/
The following errors will cause portability problems on other environments:
Error: [no-autogen-paths] Packages using 'cabal-version: 2.0' and the
autogenerated module Paths_* must include it also on the 'autogen-modules'
field besides 'exposed-modules' and 'other-modules'. This specifies that the
module does not come with the package and is generated on setup. Modules built
with a custom Setup.hs script also go here to ensure that commands like sdist
don't fail.
Error: Hackage would reject this package.