Resolving dependencies... Configuring base-orphans-0.8... Configuring base-compat-0.10.4... Building base-orphans-0.8... Building base-compat-0.10.4... Installed base-orphans-0.8 Configuring cabal-doctest-1.0.6... Building cabal-doctest-1.0.6... Installed base-compat-0.10.4 Configuring call-stack-0.1.0... Installed cabal-doctest-1.0.6 Configuring dlist-0.8.0.5... Building call-stack-0.1.0... Building dlist-0.8.0.5... Installed call-stack-0.1.0 Configuring hashable-1.2.7.0... Building hashable-1.2.7.0... Installed dlist-0.8.0.5 Configuring integer-logarithms-1.0.2.2... Building integer-logarithms-1.0.2.2... Installed integer-logarithms-1.0.2.2 Configuring parallel-3.2.2.0... Installed hashable-1.2.7.0 Configuring primitive-0.6.4.0... Building parallel-3.2.2.0... Building primitive-0.6.4.0... Installed parallel-3.2.2.0 Configuring random-1.1... Building random-1.1... Installed random-1.1 Configuring reflection-2.1.4... Building reflection-2.1.4... Installed primitive-0.6.4.0 Configuring safe-0.3.17... Installed reflection-2.1.4 Configuring semigroups-0.18.5... Building safe-0.3.17... Building semigroups-0.18.5... Installed semigroups-0.18.5 Configuring stm-2.5.0.0... Building stm-2.5.0.0... Installed safe-0.3.17 Configuring tagged-0.8.6... Building tagged-0.8.6... Installed stm-2.5.0.0 Configuring th-abstraction-0.2.8.0... Building th-abstraction-0.2.8.0... Installed tagged-0.8.6 Configuring time-locale-compat-0.1.1.5... Building time-locale-compat-0.1.1.5... Installed time-locale-compat-0.1.1.5 Configuring transformers-compat-0.6.2... Building transformers-compat-0.6.2... Installed th-abstraction-0.2.8.0 Configuring void-0.7.2... Building void-0.7.2... Installed void-0.7.2 Configuring xml-types-0.3.6... Building xml-types-0.3.6... Installed transformers-compat-0.6.2 Configuring unordered-containers-0.2.9.0... Building unordered-containers-0.2.9.0... Installed xml-types-0.3.6 Configuring uuid-types-1.0.3... Building uuid-types-1.0.3... Installed uuid-types-1.0.3 Configuring vector-0.12.0.1... Building vector-0.12.0.1... Installed unordered-containers-0.2.9.0 Configuring scientific-0.3.6.2... Building scientific-0.3.6.2... Installed scientific-0.3.6.2 Configuring StateVar-1.1.1.1... Building StateVar-1.1.1.1... Installed StateVar-1.1.1.1 Configuring distributive-0.6... Building distributive-0.6... Installed distributive-0.6 Configuring transformers-base-0.4.5.2... Building transformers-base-0.4.5.2... Installed transformers-base-0.4.5.2 Configuring exceptions-0.10.0... Building exceptions-0.10.0... Installed exceptions-0.10.0 Configuring roundtrip-0.2.0.5... Building roundtrip-0.2.0.5... Failed to install roundtrip-0.2.0.5 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/roundtrip-0.2.0.5-AOlKsfWEfZFC4kjYBog7pl.log ): cabal: Entering directory '/tmp/cabal-tmp-1728/roundtrip-0.2.0.5' Configuring roundtrip-0.2.0.5... Preprocessing library for roundtrip-0.2.0.5.. Building library for roundtrip-0.2.0.5.. [ 1 of 10] Compiling Control.Isomorphism.Partial.Iso ( src/Control/Isomorphism/Partial/Iso.hs, dist/build/Control/Isomorphism/Partial/Iso.o ) [ 2 of 10] Compiling Control.Isomorphism.Partial.Prim ( src/Control/Isomorphism/Partial/Prim.hs, dist/build/Control/Isomorphism/Partial/Prim.o ) [ 3 of 10] Compiling Control.Isomorphism.Partial.TH ( src/Control/Isomorphism/Partial/TH.hs, dist/build/Control/Isomorphism/Partial/TH.o ) [ 4 of 10] Compiling Control.Isomorphism.Partial.Constructors ( src/Control/Isomorphism/Partial/Constructors.hs, dist/build/Control/Isomorphism/Partial/Constructors.o ) [ 5 of 10] Compiling Control.Isomorphism.Partial.Derived ( src/Control/Isomorphism/Partial/Derived.hs, dist/build/Control/Isomorphism/Partial/Derived.o ) [ 6 of 10] Compiling Control.Isomorphism.Partial ( src/Control/Isomorphism/Partial.hs, dist/build/Control/Isomorphism/Partial.o ) [ 7 of 10] Compiling Text.Roundtrip.Classes ( src/Text/Roundtrip/Classes.hs, dist/build/Text/Roundtrip/Classes.o ) [ 8 of 10] Compiling Text.Roundtrip.Combinators ( src/Text/Roundtrip/Combinators.hs, dist/build/Text/Roundtrip/Combinators.o ) [ 9 of 10] Compiling Text.Roundtrip ( src/Text/Roundtrip.hs, dist/build/Text/Roundtrip.o ) [10 of 10] Compiling Text.Roundtrip.SpecPrinter ( src/Text/Roundtrip/SpecPrinter.hs, dist/build/Text/Roundtrip/SpecPrinter.o ) src/Text/Roundtrip/SpecPrinter.hs:47:25: error: Precedence parsing error cannot mix ‘Prelude.<>’ [infixr 6] and ‘<+>’ [infixl 6] in the same infix expression | 47 | xmlBeginElem name = specPrinter $ text "<" <> text (formatName name) <+> text "...>" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Text/Roundtrip/SpecPrinter.hs:47:48: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Text/Roundtrip/SpecPrinter.hs:9:1-29 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJ.<>’, imported from ‘Text.PrettyPrint.HughesPJ’ at src/Text/Roundtrip/SpecPrinter.hs:14:1-32 | 47 | xmlBeginElem name = specPrinter $ text "<" <> text (formatName name) <+> text "...>" | ^^ src/Text/Roundtrip/SpecPrinter.hs:48:47: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Text/Roundtrip/SpecPrinter.hs:9:1-29 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJ.<>’, imported from ‘Text.PrettyPrint.HughesPJ’ at src/Text/Roundtrip/SpecPrinter.hs:14:1-32 | 48 | xmlEndElem name = specPrinter $ text " text (formatName name) <> text ">" | ^^ src/Text/Roundtrip/SpecPrinter.hs:48:73: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Text/Roundtrip/SpecPrinter.hs:9:1-29 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJ.<>’, imported from ‘Text.PrettyPrint.HughesPJ’ at src/Text/Roundtrip/SpecPrinter.hs:14:1-32 | 48 | xmlEndElem name = specPrinter $ text " text (formatName name) <> text ">" | ^^ cabal: Leaving directory '/tmp/cabal-tmp-1728/roundtrip-0.2.0.5' Configuring attoparsec-0.13.2.2... Building attoparsec-0.13.2.2... Installed vector-0.12.0.1 Installed attoparsec-0.13.2.2 cabal: Error: some packages failed to install: roundtrip-0.2.0.5-AOlKsfWEfZFC4kjYBog7pl failed during the building phase. The exception was: ExitFailure 1 roundtrip-aeson-0.2.0.1-Foa7pShOuquHfHJVeVdvEZ depends on roundtrip-aeson-0.2.0.1 which failed to install.