Resolving dependencies... Configuring primes-0.2.1.0... Building primes-0.2.1.0... Installed primes-0.2.1.0 Configuring monoid-subclasses-0.4.6... Building monoid-subclasses-0.4.6... Installed monoid-subclasses-0.4.6 Configuring incremental-parser-0.3... Building incremental-parser-0.3... Failed to install incremental-parser-0.3 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/incremental-parser-0.3-AFUdUmAxKhn2Pq6A0LI8CK.log ): cabal: Entering directory '/tmp/cabal-tmp-750/incremental-parser-0.3' Configuring incremental-parser-0.3... Preprocessing library for incremental-parser-0.3.. Building library for incremental-parser-0.3.. [1 of 4] Compiling Control.Applicative.Monoid ( Control/Applicative/Monoid.hs, dist/build/Control/Applicative/Monoid.o ) Control/Applicative/Monoid.hs:51:21: error: • Could not deduce (Semigroup a) arising from a use of ‘><’ from the context: MonoidAlternative f bound by the class declaration for ‘MonoidAlternative’ at Control/Applicative/Monoid.hs:42:47-63 or from: Monoid a bound by the type signature for: concatMany :: forall a. Monoid a => f a -> f a at Control/Applicative/Monoid.hs:48:18-39 Possible fix: add (Semigroup a) to the context of the type signature for: concatMany :: forall a. Monoid a => f a -> f a • In the expression: x >< many' In an equation for ‘some'’: some' = x >< many' In an equation for ‘concatMany’: concatMany x = many' where many' = some' <|> pure mempty some' = x >< many' | 51 | some' = x >< many' | ^^^^^^^^^^ Control/Applicative/Monoid.hs:57:21: error: • Could not deduce (Semigroup a) arising from a use of ‘><’ from the context: MonoidAlternative f bound by the class declaration for ‘MonoidAlternative’ at Control/Applicative/Monoid.hs:42:47-63 or from: Monoid a bound by the type signature for: concatSome :: forall a. Monoid a => f a -> f a at Control/Applicative/Monoid.hs:54:18-39 Possible fix: add (Semigroup a) to the context of the type signature for: concatSome :: forall a. Monoid a => f a -> f a • In the expression: x >< many' In an equation for ‘some'’: some' = x >< many' In an equation for ‘concatSome’: concatSome x = some' where many' = some' <|> pure mempty some' = x >< many' | 57 | some' = x >< many' | ^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-750/incremental-parser-0.3' cabal: Error: some packages failed to install: incremental-parser-0.3-AFUdUmAxKhn2Pq6A0LI8CK failed during the building phase. The exception was: ExitFailure 1