Resolving dependencies... Configuring dlist-0.8.0.4... Configuring blaze-builder-0.4.1.0... Building dlist-0.8.0.4... Building blaze-builder-0.4.1.0... Installed dlist-0.8.0.4 Configuring fail-4.9.0.0... Building fail-4.9.0.0... Installed blaze-builder-0.4.1.0 Configuring monad-loops-0.4.3... Installed fail-4.9.0.0 Configuring parser-combinators-1.0.0... Building monad-loops-0.4.3... Building parser-combinators-1.0.0... Installed monad-loops-0.4.3 Configuring process-1.4.3.0... Installed parser-combinators-1.0.0 Configuring transformers-compat-0.6.2... Building transformers-compat-0.6.2... Building process-1.4.3.0... Installed transformers-compat-0.6.2 Configuring blaze-markup-0.8.2.1... Installed process-1.4.3.0 Configuring megaparsec-6.5.0... Building blaze-markup-0.8.2.1... Building megaparsec-6.5.0... Installed blaze-markup-0.8.2.1 Configuring tagged-0.8.5... Building tagged-0.8.5... Installed tagged-0.8.5 Configuring exceptions-0.10.0... Building exceptions-0.10.0... Installed megaparsec-6.5.0 Configuring cmdargs-0.10.20... Installed exceptions-0.10.0 Configuring blaze-html-0.9.0.1... Building cmdargs-0.10.20... Building blaze-html-0.9.0.1... Installed blaze-html-0.9.0.1 Configuring aeson-0.11.3.0... Installed cmdargs-0.10.20 Building aeson-0.11.3.0... Installed aeson-0.11.3.0 Configuring shakespeare-2.0.15... Building shakespeare-2.0.15... Installed shakespeare-2.0.15 Downloading bond-0.11.0.0... Configuring bond-0.11.0.0... Building bond-0.11.0.0... Failed to install bond-0.11.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/bond-0.11.0.0-AsrafUuAVmk6aCMaPe0LiE.log ): cabal: Entering directory '/tmp/cabal-tmp-760/bond-0.11.0.0' Configuring bond-0.11.0.0... Preprocessing library for bond-0.11.0.0.. Building library for bond-0.11.0.0.. [ 1 of 29] Compiling Language.Bond.Syntax.Types ( src/Language/Bond/Syntax/Types.hs, dist/build/Language/Bond/Syntax/Types.o ) [ 2 of 29] Compiling Language.Bond.Syntax.JSON ( src/Language/Bond/Syntax/JSON.hs, dist/build/Language/Bond/Syntax/JSON.o ) [ 3 of 29] Compiling Language.Bond.Lexer ( src/Language/Bond/Lexer.hs, dist/build/Language/Bond/Lexer.o ) [ 4 of 29] Compiling Language.Bond.Codegen.CustomMapping ( src/Language/Bond/Codegen/CustomMapping.hs, dist/build/Language/Bond/Codegen/CustomMapping.o ) src/Language/Bond/Codegen/CustomMapping.hs:42:14: error: Ambiguous occurrence ‘some’ It could refer to either ‘Control.Applicative.some’, imported from ‘Control.Applicative’ at src/Language/Bond/Codegen/CustomMapping.hs:14:1-26 (and originally defined in ‘GHC.Base’) or ‘Text.Megaparsec.some’, imported from ‘Text.Megaparsec’ at src/Language/Bond/Codegen/CustomMapping.hs:18:1-53 (and originally defined in ‘parser-combinators-1.0.0:Control.Monad.Combinators’) | 42 | identifier = some (alphaNumChar <|> char '_') "identifier" | ^^^^ src/Language/Bond/Codegen/CustomMapping.hs:85:64: error: Ambiguous occurrence ‘some’ It could refer to either ‘Control.Applicative.some’, imported from ‘Control.Applicative’ at src/Language/Bond/Codegen/CustomMapping.hs:14:1-26 (and originally defined in ‘GHC.Base’) or ‘Text.Megaparsec.some’, imported from ‘Text.Megaparsec’ at src/Language/Bond/Codegen/CustomMapping.hs:18:1-53 (and originally defined in ‘parser-combinators-1.0.0:Control.Monad.Combinators’) | 85 | aliasMapping = AliasMapping <$> qualifiedName <* equal <*> some (placeholder <|> fragment) <* eof | ^^^^ src/Language/Bond/Codegen/CustomMapping.hs:87:29: error: Ambiguous occurrence ‘some’ It could refer to either ‘Control.Applicative.some’, imported from ‘Control.Applicative’ at src/Language/Bond/Codegen/CustomMapping.hs:14:1-26 (and originally defined in ‘GHC.Base’) or ‘Text.Megaparsec.some’, imported from ‘Text.Megaparsec’ at src/Language/Bond/Codegen/CustomMapping.hs:18:1-53 (and originally defined in ‘parser-combinators-1.0.0:Control.Monad.Combinators’) | 87 | fragment = Fragment <$> some (notChar '{') | ^^^^ cabal: Leaving directory '/tmp/cabal-tmp-760/bond-0.11.0.0' cabal: Error: some packages failed to install: bond-0.11.0.0-AsrafUuAVmk6aCMaPe0LiE failed during the building phase. The exception was: ExitFailure 1