Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting integer-logarithms-1.0.3 Starting parser-combinators-1.2.1 Starting hashable-1.3.0.0 Starting haskell-src-exts-1.23.0 Building parser-combinators-1.2.1 Building integer-logarithms-1.0.3 Building hashable-1.3.0.0 Building haskell-src-exts-1.23.0 Completed integer-logarithms-1.0.3 Starting prettyprinter-1.6.1 Building prettyprinter-1.6.1 Completed parser-combinators-1.2.1 Starting primitive-0.7.0.1 Building primitive-0.7.0.1 Completed hashable-1.3.0.0 Starting safe-0.3.18 Building safe-0.3.18 Completed safe-0.3.18 Starting syb-0.7.1 Building syb-0.7.1 Completed prettyprinter-1.6.1 Starting th-abstraction-0.3.2.0 Building th-abstraction-0.3.2.0 Completed syb-0.7.1 Starting case-insensitive-1.2.1.0 Building case-insensitive-1.2.1.0 Completed th-abstraction-0.3.2.0 Starting th-expand-syns-0.4.5.0 Building th-expand-syns-0.4.5.0 Completed case-insensitive-1.2.1.0 Starting th-lift-0.8.1 Building th-lift-0.8.1 Completed primitive-0.7.0.1 Starting vector-0.12.1.2 Building vector-0.12.1.2 Completed th-expand-syns-0.4.5.0 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed th-lift-0.8.1 Starting th-reify-many-0.1.9 Building th-reify-many-0.1.9 Completed th-reify-many-0.1.9 Completed scientific-0.3.6.2 Starting megaparsec-8.0.0 Building megaparsec-8.0.0 Completed megaparsec-8.0.0 Completed vector-0.12.1.2 Starting th-lift-instances-0.1.14 Building th-lift-instances-0.1.14 Completed th-lift-instances-0.1.14 Starting th-orphans-0.13.9 Building th-orphans-0.13.9 Completed th-orphans-0.13.9 Completed haskell-src-exts-1.23.0 Starting haskell-src-meta-0.8.5 Building haskell-src-meta-0.8.5 Completed haskell-src-meta-0.8.5 Starting here-1.2.13 Building here-1.2.13 Completed here-1.2.13 Starting character-cases-0.1.0.1 Building character-cases-0.1.0.1 Failed to install character-cases-0.1.0.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/character-cases-0.1.0.1-9BqoXJirTjtJyjnthHDph4.log ): cabal: Entering directory '/tmp/cabal-tmp-17302/character-cases-0.1.0.1' Configuring character-cases-0.1.0.1... Preprocessing library for character-cases-0.1.0.1.. Building library for character-cases-0.1.0.1.. [1 of 4] Compiling Cases.Megaparsec ( src/Cases/Megaparsec.hs, dist/build/Cases/Megaparsec.o ) src/Cases/Megaparsec.hs:6:50: error: Not in scope: type constructor or class ‘MonadFail’ | 6 | type CodeParsing m = (MonadParsec Void String m, MonadFail m) | ^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-17302/character-cases-0.1.0.1' cabal: Error: some packages failed to install: character-cases-0.1.0.1-9BqoXJirTjtJyjnthHDph4 failed during the building phase. The exception was: ExitFailure 1