Resolving dependencies... Configuring base-unicode-symbols-0.2.2.4... Configuring utf8-string-1.0.1.1... Building base-unicode-symbols-0.2.2.4... Building utf8-string-1.0.1.1... Installed base-unicode-symbols-0.2.2.4 Configuring util-0.1.7.0... Building util-0.1.7.0... Failed to install util-0.1.7.0 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/util-0.1.7.0-LmPJ42AnzKYEouhvgY601A.log ): cabal: Entering directory '/tmp/cabal-tmp-17834/util-0.1.7.0' Configuring util-0.1.7.0... Preprocessing library for util-0.1.7.0.. Building library for util-0.1.7.0.. [1 of 2] Compiling Util ( Util.hs, dist/build/Util.o ) Util.hs:136:28: error: • Could not deduce (Semigroup b) arising from a use of ‘<>’ from the context: (Applicative p, Monoid b, Foldable f) bound by the type signature for: foldMapA :: forall (p :: * -> *) b (f :: * -> *) a. (Applicative p, Monoid b, Foldable f) => (a -> p b) -> f a -> p b at Util.hs:135:1-77 Possible fix: add (Semigroup b) to the context of the type signature for: foldMapA :: forall (p :: * -> *) b (f :: * -> *) a. (Applicative p, Monoid b, Foldable f) => (a -> p b) -> f a -> p b • In the first argument of ‘liftA2’, namely ‘(<>)’ In the first argument of ‘(.)’, namely ‘liftA2 (<>)’ In the first argument of ‘foldr’, namely ‘(liftA2 (<>) . f)’ | 136 | foldMapA f = foldr (liftA2 (<>) . f) (pure mempty) | ^^^^ cabal: Leaving directory '/tmp/cabal-tmp-17834/util-0.1.7.0' Installed utf8-string-1.0.1.1 cabal: Error: some packages failed to install: XML-0.0.0.0-EPwyUFMXfFkCKegtxl8r33 depends on XML-0.0.0.0 which failed to install. txt-0.0.1.0-HhdzmzUsTuO7Nz3luYxVzQ depends on txt-0.0.1.0 which failed to install. util-0.1.7.0-LmPJ42AnzKYEouhvgY601A failed during the building phase. The exception was: ExitFailure 1