Resolving dependencies... Configuring fail-4.9.0.0... Configuring base-compat-0.10.1... Building fail-4.9.0.0... Building base-compat-0.10.1... Installed fail-4.9.0.0 Configuring llvm-hs-pure-6.2.0... Building llvm-hs-pure-6.2.0... Installed base-compat-0.10.1 Configuring wl-pprint-text-1.2.0.0... Building wl-pprint-text-1.2.0.0... Installed wl-pprint-text-1.2.0.0 Installed llvm-hs-pure-6.2.0 Configuring llvm-hs-pretty-0.3.0.0... Building llvm-hs-pretty-0.3.0.0... Failed to install llvm-hs-pretty-0.3.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/llvm-hs-pretty-0.3.0.0-31xPjD4LbFpeLdHYi4rAM.log ): cabal: Entering directory '/tmp/cabal-tmp-31820/llvm-hs-pretty-0.3.0.0' Configuring llvm-hs-pretty-0.3.0.0... Preprocessing library for llvm-hs-pretty-0.3.0.0.. Building library for llvm-hs-pretty-0.3.0.0.. [1 of 2] Compiling LLVM.Pretty ( src/LLVM/Pretty.hs, dist/build/LLVM/Pretty.o ) src/LLVM/Pretty.hs:88:31: error: • Variable not in scope: (<>) :: Doc -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 88 | wrapbraces leadIn x = (leadIn <> char '{') <$> x <$> char '}' | ^^ src/LLVM/Pretty.hs:91:28: error: • Variable not in scope: (<>) :: Doc -> Doc -> t9 • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 91 | angleBrackets x = char '<' <> x <> char '>' | ^^ src/LLVM/Pretty.hs:91:33: error: • Variable not in scope: (<>) :: t9 -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 91 | angleBrackets x = char '<' <> x <> char '>' | ^^ src/LLVM/Pretty.hs:97:16: error: • Variable not in scope: (<>) :: [Char] -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 97 | local' a = "%" <> a | ^^ src/LLVM/Pretty.hs:100:16: error: • Variable not in scope: (<>) :: [Char] -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 100 | global a = "@" <> a | ^^ src/LLVM/Pretty.hs:103:27: error: • Variable not in scope: (<>) :: Doc -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 103 | label a = "label" <+> "%" <> a | ^^ src/LLVM/Pretty.hs:106:15: error: • Variable not in scope: (<>) :: Doc -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 106 | a `cma` b = a <> "," <+> b | ^^ src/LLVM/Pretty.hs:195:32: error: • Variable not in scope: (<>) :: [Char] -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 195 | pp (IntegerType width) = "i" <> pp width | ^^ src/LLVM/Pretty.hs:205:26: error: • Variable not in scope: (<>) :: Doc -> [Char] -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 205 | | addr == 0 = pp ref <> "*" | ^^ src/LLVM/Pretty.hs:206:42: error: • Variable not in scope: (<>) :: Doc -> Doc -> t5 • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 206 | | otherwise = pp ref <+> "addrspace" <> parens (pp addr) <> "*" | ^^ src/LLVM/Pretty.hs:206:62: error: • Variable not in scope: (<>) :: t5 -> [Char] -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 206 | | otherwise = pp ref <+> "addrspace" <> parens (pp addr) <> "*" | ^^ src/LLVM/Pretty.hs:208:30: error: • Variable not in scope: (<>) :: [Char] -> Doc -> t6 • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 208 | pp (VectorType {..}) = "<" <> pp nVectorElements <+> "x" <+> pp elementType <> ">" | ^^ src/LLVM/Pretty.hs:208:79: error: • Variable not in scope: (<>) :: t6 -> [Char] -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 208 | pp (VectorType {..}) = "<" <> pp nVectorElements <+> "x" <+> pp elementType <> ">" | ^^ src/LLVM/Pretty.hs:210:42: error: • Variable not in scope: (<>) :: [Char] -> Doc -> t7 • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 210 | then "<{" <> (commas $ fmap pp elementTypes ) <> "}>" | ^^ src/LLVM/Pretty.hs:210:78: error: • Variable not in scope: (<>) :: t7 -> [Char] -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 210 | then "<{" <> (commas $ fmap pp elementTypes ) <> "}>" | ^^ src/LLVM/Pretty.hs:211:42: error: • Variable not in scope: (<>) :: [Char] -> Doc -> t8 • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 211 | else "{" <> (commas $ fmap pp elementTypes ) <> "}" | ^^ src/LLVM/Pretty.hs:211:78: error: • Variable not in scope: (<>) :: t8 -> [Char] -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 211 | else "{" <> (commas $ fmap pp elementTypes ) <> "}" | ^^ src/LLVM/Pretty.hs:213:38: error: • Variable not in scope: (<>) :: [Char] -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 213 | pp (NamedTypeReference name) = "%" <> pp name | ^^ src/LLVM/Pretty.hs:224:13: error: • Variable not in scope: (<>) :: Doc -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 224 | <> ppParams (pp . typeOf) parameters <+> pp functionAttributes <+> align <+> gcName <+> pre) | ^^ src/LLVM/Pretty.hs:230:15: error: • Variable not in scope: (<>) :: Doc -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 230 | <> ppParams pp parameters <+> pp functionAttributes <+> align <+> gcName <+> pre) | ^^ src/LLVM/Pretty.hs:236:13: error: • Variable not in scope: (<>) :: Doc -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 236 | <> ppParams pp parameters <+> pp functionAttributes <+> align <+> gcName <+> pre) | ^^ src/LLVM/Pretty.hs:247:91: error: • Variable not in scope: (<>) :: Doc -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 247 | <+> addrSpace' <+> kind <+> pp type' <+> ppMaybe initializer <> ppAlign alignment | ^^ src/LLVM/Pretty.hs:254:40: error: • Variable not in scope: (<>) :: [Char] -> Doc -> p • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 254 | | otherwise -> "addrspace" <> parens (pp addr) | ^^ src/LLVM/Pretty.hs:270:46: error: • Variable not in scope: (<>) :: [Char] -> Doc -> t4 • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 270 | pp (NamedMetadataDefinition nm meta) = "!" <> short nm <+> "=" <+> "!" <> braces (commas (fmap pp meta)) | ^^ src/LLVM/Pretty.hs:270:74: error: • Variable not in scope: (<>) :: t4 -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 270 | pp (NamedMetadataDefinition nm meta) = "!" <> short nm <+> "=" <+> "!" <> braces (commas (fmap pp meta)) | ^^ src/LLVM/Pretty.hs:273:34: error: • Variable not in scope: (<>) :: [Char] -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 273 | pp (COMDAT name selKind) = "$" <> short name <+> "=" <+> "comdat" <+> pp selKind | ^^ src/LLVM/Pretty.hs:284:37: error: • Variable not in scope: (<>) :: [Char] -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 284 | StackAlignment n -> "alignstack=" <> pp n | ^^ src/LLVM/Pretty.hs:307:40: error: • Variable not in scope: (<>) :: [Char] -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 307 | StackAlignment n -> "alignstack" <> parens (pp n) | ^^ src/LLVM/Pretty.hs:323:39: error: • Variable not in scope: (<>) :: [Char] -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 323 | AllocSize a Nothing -> "allocsize" <> parens (pp a) | ^^ src/LLVM/Pretty.hs:324:40: error: • Variable not in scope: (<>) :: [Char] -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 324 | AllocSize a (Just b) -> "allocsize" <> parens (commas [pp a, pp b]) | ^^ src/LLVM/Pretty.hs:326:48: error: • Variable not in scope: (<>) :: Doc -> [Char] -> t3 • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 326 | FA.StringAttribute k v -> dquotes (short k) <> "=" <> dquotes (short v) | ^^ src/LLVM/Pretty.hs:326:55: error: • Variable not in scope: (<>) :: t3 -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 326 | FA.StringAttribute k v -> dquotes (short k) <> "=" <> dquotes (short v) | ^^ src/LLVM/Pretty.hs:345:53: error: • Variable not in scope: (<>) :: [Char] -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 345 | Dereferenceable word -> "dereferenceable" <> parens (pp word) | ^^ src/LLVM/Pretty.hs:346:61: error: • Variable not in scope: (<>) :: [Char] -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 346 | DereferenceableOrNull word -> "dereferenceable_or_null" <> parens (pp word) | ^^ src/LLVM/Pretty.hs:350:49: error: • Variable not in scope: (<>) :: Doc -> [Char] -> t2 • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 350 | PA.StringAttribute k v -> dquotes (short k) <> "=" <> dquotes (short v) | ^^ src/LLVM/Pretty.hs:350:56: error: • Variable not in scope: (<>) :: t2 -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 350 | PA.StringAttribute k v -> dquotes (short k) <> "=" <> dquotes (short v) | ^^ src/LLVM/Pretty.hs:415:25: error: • Variable not in scope: (<>) :: [Char] -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 415 | pp meta = commas ["!" <> pp x <+> pp y | (x,y) <- meta] | ^^ src/LLVM/Pretty.hs:418:31: error: • Variable not in scope: (<>) :: [Char] -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 418 | pp (MetadataNodeID x) = "!" <> int (fromIntegral x) | ^^ src/LLVM/Pretty.hs:421:24: error: • Variable not in scope: (<>) :: [Char] -> Doc -> Doc • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 421 | pp (GroupID x) = "#" <> int (fromIntegral x) | ^^ src/LLVM/Pretty.hs:428:34: error: • Variable not in scope: (<>) :: [Char] -> Doc -> t1 • Perhaps you meant one of these: ‘<$>’ (imported from Text.PrettyPrint.Leijen.Text), ‘<+>’ (imported from Text.PrettyPrint.Leijen.Text), ‘’ (imported from Text.PrettyPrint.Leijen.Text) | 428 | UnName _ -> ";