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 erf-2.0.0.0 Starting primitive-0.6.4.0 Building erf-2.0.0.0 Building primitive-0.6.4.0 Completed erf-2.0.0.0 Starting random-1.1 Building random-1.1 Completed random-1.1 Completed primitive-0.6.4.0 Starting tf-random-0.5 Building tf-random-0.5 Completed tf-random-0.5 Starting QuickCheck-2.12.6.1 Building QuickCheck-2.12.6.1 Completed QuickCheck-2.12.6.1 Starting microspec-0.2.1.0 Building microspec-0.2.1.0 Failed to install microspec-0.2.1.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/microspec-0.2.1.0-GYKnS2x2H8N5AmBJxNLsAn.log ): cabal: Entering directory '/tmp/cabal-tmp-31096/microspec-0.2.1.0' Configuring microspec-0.2.1.0... Preprocessing library for microspec-0.2.1.0.. Building library for microspec-0.2.1.0.. [1 of 1] Compiling Test.Microspec ( Test/Microspec.hs, dist/build/Test/Microspec.o ) Test/Microspec.hs:284:10: error: • No instance for (Semigroup ResultCounts) arising from the superclasses of an instance declaration • In the instance declaration for ‘Monoid ResultCounts’ | 284 | instance Monoid ResultCounts where | ^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-31096/microspec-0.2.1.0' cabal: Error: some packages failed to install: microspec-0.2.1.0-GYKnS2x2H8N5AmBJxNLsAn failed during the building phase. The exception was: ExitFailure 1