Resolving dependencies... Warning: The following packages are likely to be broken by the reinstalls: QuickCheck-2.10.1 Continuing even though the plan contains dangerous reinstalls. Configuring colour-2.3.4... Configuring base-compat-0.10.1... Building base-compat-0.10.1... Building colour-2.3.4... Installed base-compat-0.10.1 Configuring data-default-class-0.1.2.0... Installed colour-2.3.4 Configuring dlist-0.8.0.4... Building data-default-class-0.1.2.0... Building dlist-0.8.0.4... Installed data-default-class-0.1.2.0 Configuring hspec-discover-2.4.8... Building hspec-discover-2.4.8... Installed dlist-0.8.0.4 Configuring hspec-expectations-0.8.2... Building hspec-expectations-0.8.2... Installed hspec-discover-2.4.8 Configuring microlens-0.4.9.1... Installed hspec-expectations-0.8.2 Configuring old-locale-1.0.0.7... Building microlens-0.4.9.1... Building old-locale-1.0.0.7... Installed old-locale-1.0.0.7 Configuring setenv-0.1.1.3... Building setenv-0.1.1.3... Installed microlens-0.4.9.1 Configuring text-1.2.3.0... Installed setenv-0.1.1.3 Configuring th-abstraction-0.2.6.0... Building text-1.2.3.0... Building th-abstraction-0.2.6.0... Installed th-abstraction-0.2.6.0 Configuring transformers-0.5.5.0... Building transformers-0.5.5.0... Installed transformers-0.5.5.0 Configuring utf8-string-1.0.1.1... Building utf8-string-1.0.1.1... Installed text-1.2.3.0 Configuring ansi-terminal-0.8.0.2... Building ansi-terminal-0.8.0.2... Installed utf8-string-1.0.1.1 Configuring data-default-instances-containers-0.0.1... Building data-default-instances-containers-0.0.1... Installed data-default-instances-containers-0.0.1 Configuring data-default-instances-dlist-0.0.1... Installed ansi-terminal-0.8.0.2 Configuring data-default-instances-old-locale-0.0.1... Building data-default-instances-dlist-0.0.1... Building data-default-instances-old-locale-0.0.1... Installed data-default-instances-dlist-0.0.1 Configuring transformers-compat-0.6.1.6... Installed data-default-instances-old-locale-0.0.1 Configuring primitive-0.6.3.0... Building transformers-compat-0.6.1.6... Building primitive-0.6.3.0... Installed transformers-compat-0.6.1.6 Configuring mtl-2.2.2... Building mtl-2.2.2... Installed mtl-2.2.2 Configuring microlens-th-0.4.2.1... Building microlens-th-0.4.2.1... Installed primitive-0.6.3.0 Configuring haddock-library-1.5.0.1... Building haddock-library-1.5.0.1... Installed microlens-th-0.4.2.1 Configuring ansi-wl-pprint-0.6.8.2... Building ansi-wl-pprint-0.6.8.2... Installed ansi-wl-pprint-0.6.8.2 Configuring data-default-0.7.1.1... Building data-default-0.7.1.1... Installed haddock-library-1.5.0.1 Configuring parsec-3.1.13.0... Installed data-default-0.7.1.1 Configuring tf-random-0.5... Building parsec-3.1.13.0... Building tf-random-0.5... Installed tf-random-0.5 Configuring optparse-applicative-0.14.2.0... Building optparse-applicative-0.14.2.0... Installed parsec-3.1.13.0 Configuring QuickCheck-2.11.3... Building QuickCheck-2.11.3... Installed optparse-applicative-0.14.2.0 Configuring Cabal-2.2.0.1... Building Cabal-2.2.0.1... Installed QuickCheck-2.11.3 Configuring quickcheck-io-0.2.0... Building quickcheck-io-0.2.0... Installed quickcheck-io-0.2.0 Configuring hspec-core-2.4.8... Building hspec-core-2.4.8... Installed hspec-core-2.4.8 Configuring hspec-2.4.8... Building hspec-2.4.8... Installed hspec-2.4.8 Installed Cabal-2.2.0.1 Configuring stylish-cabal-0.4.0.1... Building stylish-cabal-0.4.0.1... Failed to install stylish-cabal-0.4.0.1 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/stylish-cabal-0.4.0.1-FImVJATRsgYI6EFNkuXXGp.log ): cabal: Entering directory '/tmp/cabal-tmp-12444/stylish-cabal-0.4.0.1' Configuring stylish-cabal-0.4.0.1... Preprocessing library for stylish-cabal-0.4.0.1.. Building library for stylish-cabal-0.4.0.1.. [1 of 9] Compiling Parse ( src/Parse.hs, dist/build/Parse.o ) [2 of 9] Compiling Render.Lib.Haddock ( src/Render/Lib/Haddock.hs, dist/build/Render/Lib/Haddock.o ) src/Render/Lib/Haddock.hs:58:33: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 58 | go (DocAppend a b) = liftM2 (<>) (go a) (inBody $ go b) | ^^^^ src/Render/Lib/Haddock.hs:70:45: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 70 | return $ hang 3 $ integer n <> "." <+> doc | ^^ src/Render/Lib/Haddock.hs:81:49: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 81 | y -> vcat [green "@", goplain y <> green "@"] | ^^ src/Render/Lib/Haddock.hs:131:41: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 131 | goplain (DocAppend a b) = goplain a <> goplain b | ^^ src/Render/Lib/Haddock.hs:141:29: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 141 | arrowblock ('\n':ys) = line <> green "> " <> arrowblock ys | ^^ src/Render/Lib/Haddock.hs:141:43: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 141 | arrowblock ('\n':ys) = line <> green "> " <> arrowblock ys | ^^ src/Render/Lib/Haddock.hs:142:28: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 142 | arrowblock (x:xs) = char x <> arrowblock xs | ^^ src/Render/Lib/Haddock.hs:151:41: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 151 | strPara ('>':'>':'>':cs) = text "\\>>>" <> strBody cs | ^^ src/Render/Lib/Haddock.hs:155:49: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 155 | | x `elem` ['>', '*', '-', '['] = char '\\' <> char x <> strBody cs | ^^ src/Render/Lib/Haddock.hs:155:59: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 155 | | x `elem` ['>', '*', '-', '['] = char '\\' <> char x <> strBody cs | ^^ src/Render/Lib/Haddock.hs:158:25: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 158 | strBody ('\n':x) = line <> strPara x | ^^ src/Render/Lib/Haddock.hs:159:29: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 159 | strBody ('{':xs) = "{" <> strBody xs | ^^ src/Render/Lib/Haddock.hs:160:29: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 160 | strBody ('}':xs) = "}" <> strBody xs | ^^ src/Render/Lib/Haddock.hs:163:19: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 163 | char '\\' <> char x <> strBody xs | ^^ src/Render/Lib/Haddock.hs:163:29: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 163 | char '\\' <> char x <> strBody xs | ^^ src/Render/Lib/Haddock.hs:164:29: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 164 | | x == '\1' = char '\\' <> strBody xs | ^^ src/Render/Lib/Haddock.hs:165:26: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.Compat.<>’, imported from ‘Prelude.Compat’ at src/Render/Lib/Haddock.hs:13:1-21 (and originally defined in ‘Data.Semigroup’) or ‘Text.PrettyPrint.ANSI.Leijen.<>’, imported from ‘Text.PrettyPrint.ANSI.Leijen’ at src/Render/Lib/Haddock.hs:14:1-50 (and originally defined in ‘Data.Monoid’) | 165 | | otherwise = char x <> strBody xs | ^^ cabal: Leaving directory '/tmp/cabal-tmp-12444/stylish-cabal-0.4.0.1' cabal: Error: some packages failed to install: stylish-cabal-0.4.0.1-FImVJATRsgYI6EFNkuXXGp failed during the building phase. The exception was: ExitFailure 1