Resolving dependencies... Configuring blaze-builder-0.4.1.0... Configuring base-compat-0.10.4... Building blaze-builder-0.4.1.0... Building base-compat-0.10.4... Installed blaze-builder-0.4.1.0 Configuring data-reify-0.6.1... Building data-reify-0.6.1... Installed data-reify-0.6.1 Configuring dlist-0.8.0.4... Building dlist-0.8.0.4... Installed base-compat-0.10.4 Configuring fgl-5.6.0.0... Building fgl-5.6.0.0... Installed dlist-0.8.0.4 Configuring monadLib-3.7.3... Building monadLib-3.7.3... Installed monadLib-3.7.3 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Installed old-locale-1.0.0.7 Configuring polyparse-1.12... Building polyparse-1.12... Installed fgl-5.6.0.0 Configuring primitive-0.6.4.0... Building primitive-0.6.4.0... Installed polyparse-1.12 Configuring safe-0.3.17... Building safe-0.3.17... Installed safe-0.3.17 Configuring semigroups-0.18.5... Building semigroups-0.18.5... Installed semigroups-0.18.5 Configuring srcloc-0.5.1.2... Installed primitive-0.6.4.0 Configuring syb-0.7... Building srcloc-0.5.1.2... Building syb-0.7... Installed srcloc-0.5.1.2 Configuring symbol-0.2.4... Building symbol-0.2.4... Installed symbol-0.2.4 Configuring th-abstraction-0.2.8.0... Installed syb-0.7 Configuring transformers-compat-0.6.2... Building th-abstraction-0.2.8.0... Building transformers-compat-0.6.2... Installed transformers-compat-0.6.2 Configuring utf8-string-1.0.1.1... Building utf8-string-1.0.1.1... Installed th-abstraction-0.2.8.0 Configuring void-0.7.2... Building void-0.7.2... Installed void-0.7.2 Configuring old-time-1.1.0.3... Building old-time-1.1.0.3... Installed utf8-string-1.0.1.1 Configuring vector-0.12.0.1... Building vector-0.12.0.1... Installed old-time-1.1.0.3 Configuring mainland-pretty-0.7... Building mainland-pretty-0.7... Installed mainland-pretty-0.7 Configuring th-expand-syns-0.4.4.0... Building th-expand-syns-0.4.4.0... Installed th-expand-syns-0.4.4.0 Configuring exception-transformers-0.4.0.7... Building exception-transformers-0.4.0.7... Installed exception-transformers-0.4.0.7 Configuring th-lift-0.7.10... Building th-lift-0.7.10... Installed th-lift-0.7.10 Configuring HStringTemplate-0.8.7... Building HStringTemplate-0.8.7... Installed HStringTemplate-0.8.7 Configuring cpphs-1.20.8... Building cpphs-1.20.8... Installed vector-0.12.0.1 Configuring th-reify-many-0.1.8... Building th-reify-many-0.1.8... Installed th-reify-many-0.1.8 Configuring exception-mtl-0.4.0.1... Building exception-mtl-0.4.0.1... Installed exception-mtl-0.4.0.1 Configuring ivory-0.1.0.8... Installed cpphs-1.20.8 Configuring ivory-artifact-0.1.0.5... Building ivory-0.1.0.8... Building ivory-artifact-0.1.0.5... Installed ivory-artifact-0.1.0.5 Configuring th-lift-instances-0.1.11... Building th-lift-instances-0.1.11... Installed th-lift-instances-0.1.11 Configuring haskell-src-exts-1.20.2... Building haskell-src-exts-1.20.2... Installed ivory-0.1.0.8 Configuring th-orphans-0.13.6... Building th-orphans-0.13.6... Installed th-orphans-0.13.6 Configuring ivory-opts-0.1.0.5... Building ivory-opts-0.1.0.5... Failed to install ivory-opts-0.1.0.5 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/ivory-opts-0.1.0.5-6IZg7iD6Uex5enwhLNf0pX.log ): cabal: Entering directory '/tmp/cabal-tmp-23598/ivory-opts-0.1.0.5' Configuring ivory-opts-0.1.0.5... Preprocessing library for ivory-opts-0.1.0.5.. Building library for ivory-opts-0.1.0.5.. [ 1 of 13] Compiling Ivory.Opts.CFG ( src/Ivory/Opts/CFG.hs, dist/build/Ivory/Opts/CFG.o ) [ 2 of 13] Compiling Ivory.Opts.CSE ( src/Ivory/Opts/CSE.hs, dist/build/Ivory/Opts/CSE.o ) [ 3 of 13] Compiling Ivory.Opts.ConstFoldComp ( src/Ivory/Opts/ConstFoldComp.hs, dist/build/Ivory/Opts/ConstFoldComp.o ) [ 4 of 13] Compiling Ivory.Opts.ConstFold ( src/Ivory/Opts/ConstFold.hs, dist/build/Ivory/Opts/ConstFold.o ) [ 5 of 13] Compiling Ivory.Opts.Utils ( src/Ivory/Opts/Utils.hs, dist/build/Ivory/Opts/Utils.o ) src/Ivory/Opts/Utils.hs:48:10: error: Precedence parsing error cannot mix ‘<+>’ [infixl 6] and ‘Prelude.<>’ [infixr 6] in the same infix expression | 48 | hPutStrLn stderr | ^^^^^^^^^^^^^^^^... src/Ivory/Opts/Utils.hs:50:50: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Ivory/Opts/Utils.hs:5:8-23 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.<>’, imported from ‘Text.PrettyPrint’ at src/Ivory/Opts/Utils.hs:9:1-33 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) | 50 | $ text "***" <+> text "Module" <+> text m <> colon | ^^ src/Ivory/Opts/Utils.hs:60:10: error: Precedence parsing error cannot mix ‘<+>’ [infixl 6] and ‘Prelude.<>’ [infixr 6] in the same infix expression | 60 | text "***" <+> text "Symbol" <+> text sym <> colon | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Ivory/Opts/Utils.hs:60:52: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Ivory/Opts/Utils.hs:5:8-23 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.<>’, imported from ‘Text.PrettyPrint’ at src/Ivory/Opts/Utils.hs:9:1-33 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) | 60 | text "***" <+> text "Symbol" <+> text sym <> colon | ^^ src/Ivory/Opts/Utils.hs:68:14: error: Precedence parsing error cannot mix ‘Prelude.<>’ [infixr 6] and ‘<+>’ [infixl 6] in the same infix expression | 68 | _ -> text (prettyPrint (pretty loc)) <> colon <+> sh a | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Ivory/Opts/Utils.hs:68:46: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Ivory/Opts/Utils.hs:5:8-23 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.<>’, imported from ‘Text.PrettyPrint’ at src/Ivory/Opts/Utils.hs:9:1-33 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) | 68 | _ -> text (prettyPrint (pretty loc)) <> colon <+> sh a | ^^ cabal: Leaving directory '/tmp/cabal-tmp-23598/ivory-opts-0.1.0.5' Installed haskell-src-exts-1.20.2 cabal: Error: some packages failed to install: ivory-backend-c-0.1.0.8-G0XIgeAn1qI4TqhrKmtujV depends on ivory-backend-c-0.1.0.8 which failed to install. ivory-opts-0.1.0.5-6IZg7iD6Uex5enwhLNf0pX failed during the building phase. The exception was: ExitFailure 1