Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting cmdargs-0.10.20 Building cmdargs-0.10.20 Completed cmdargs-0.10.20 Starting licensor-0.4.1 Building licensor-0.4.1 Failed to install licensor-0.4.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/licensor-0.4.1-KRSmcUTaIfg4AbSF9YiheO.log ): cabal: Entering directory '/tmp/cabal-tmp-4187/licensor-0.4.1' Configuring licensor-0.4.1... Preprocessing library for licensor-0.4.1.. Building library for licensor-0.4.1.. [1 of 2] Compiling Paths_licensor ( dist/build/autogen/Paths_licensor.hs, dist/build/Paths_licensor.o ) [2 of 2] Compiling Licensor ( src/Licensor.hs, dist/build/Licensor.o ) src/Licensor.hs:69:15: error: • No instance for (Distribution.Text.Text LiLicense) arising from a use of ‘display’ • In the first argument of ‘comparing’, namely ‘display’ In the expression: comparing display In an equation for ‘compare’: compare = comparing display | 69 | comparing display | ^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-4187/licensor-0.4.1' cabal: Error: some packages failed to install: licensor-0.4.1-KRSmcUTaIfg4AbSF9YiheO failed during the building phase. The exception was: ExitFailure 1