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 cabal-doctest-1.0.6 Starting cond-0.4.1.1 Starting extensible-exceptions-0.1.1.4 Starting cereal-0.5.7.0 Building cereal-0.5.7.0 Building cabal-doctest-1.0.6 Building extensible-exceptions-0.1.1.4 Building cond-0.4.1.1 Completed extensible-exceptions-0.1.1.4 Starting gray-extended-1.5.6 Building gray-extended-1.5.6 Completed cond-0.4.1.1 Starting primitive-0.6.4.0 Completed cabal-doctest-1.0.6 Starting random-1.1 Completed gray-extended-1.5.6 Starting split-0.2.3.3 Building primitive-0.6.4.0 Building random-1.1 Building split-0.2.3.3 Completed split-0.2.3.3 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed cereal-0.5.7.0 Starting hsyslog-5.0.1 Completed random-1.1 Building hsyslog-5.0.1 Completed transformers-compat-0.6.2 Starting exceptions-0.10.0 Building exceptions-0.10.0 Completed hsyslog-5.0.1 Starting hdaemonize-0.5.5 Building hdaemonize-0.5.5 Completed exceptions-0.10.0 Completed hdaemonize-0.5.5 Completed primitive-0.6.4.0 Starting MonadRandom-0.5.1.1 Building MonadRandom-0.5.1.1 Completed MonadRandom-0.5.1.1 Starting creatur-5.9.28 Building creatur-5.9.28 Failed to install creatur-5.9.28 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/creatur-5.9.28-DgOk2RMsnreDdKdJwql65p.log ): cabal: Entering directory '/tmp/cabal-tmp-3668/creatur-5.9.28' Configuring creatur-5.9.28... Preprocessing library for creatur-5.9.28.. Building library for creatur-5.9.28.. [ 1 of 26] Compiling ALife.Creatur.Daemon ( src/ALife/Creatur/Daemon.hs, dist/build/ALife/Creatur/Daemon.o ) [ 2 of 26] Compiling ALife.Creatur.Database ( src/ALife/Creatur/Database.hs, dist/build/ALife/Creatur/Database.o ) [ 3 of 26] Compiling ALife.Creatur.Genetics.Analysis ( src/ALife/Creatur/Genetics/Analysis.hs, dist/build/ALife/Creatur/Genetics/Analysis.o ) [ 4 of 26] Compiling ALife.Creatur.Genetics.Diploid ( src/ALife/Creatur/Genetics/Diploid.hs, dist/build/ALife/Creatur/Genetics/Diploid.o ) [ 5 of 26] Compiling ALife.Creatur.Logger ( src/ALife/Creatur/Logger.hs, dist/build/ALife/Creatur/Logger.o ) [ 6 of 26] Compiling ALife.Creatur.Util ( src/ALife/Creatur/Util.hs, dist/build/ALife/Creatur/Util.o ) [ 7 of 26] Compiling ALife.Creatur.Persistent ( src/ALife/Creatur/Persistent.hs, dist/build/ALife/Creatur/Persistent.o ) [ 8 of 26] Compiling ALife.Creatur.Checklist ( src/ALife/Creatur/Checklist.hs, dist/build/ALife/Creatur/Checklist.o ) [ 9 of 26] Compiling ALife.Creatur.Logger.SimpleRotatingLogger ( src/ALife/Creatur/Logger/SimpleRotatingLogger.hs, dist/build/ALife/Creatur/Logger/SimpleRotatingLogger.o ) [10 of 26] Compiling ALife.Creatur.Logger.SimpleLogger ( src/ALife/Creatur/Logger/SimpleLogger.hs, dist/build/ALife/Creatur/Logger/SimpleLogger.o ) [11 of 26] Compiling ALife.Creatur.Genetics.Recombination ( src/ALife/Creatur/Genetics/Recombination.hs, dist/build/ALife/Creatur/Genetics/Recombination.o ) [12 of 26] Compiling ALife.Creatur.Genetics.BRGCWord8 ( src/ALife/Creatur/Genetics/BRGCWord8.hs, dist/build/ALife/Creatur/Genetics/BRGCWord8.o ) src/ALife/Creatur/Genetics/BRGCWord8.hs:386:3: error: • No instance for (Control.Monad.Fail.MonadFail Identity) arising from a do statement with the failable pattern ‘(xs, i, _ : msgs)’ • In a stmt of a 'do' block: (xs, i, _ : msgs) <- S.get In the expression: do (xs, i, _ : msgs) <- S.get let msg = show i ++ ": read " ++ desc S.put (xs, i, msg : msgs) In an equation for ‘replaceReportR’: replaceReportR desc = do (xs, i, _ : msgs) <- S.get let msg = ... S.put (xs, i, msg : msgs) | 386 | (xs, i, _:msgs) <- S.get | ^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-3668/creatur-5.9.28' cabal: Error: some packages failed to install: creatur-5.9.28-DgOk2RMsnreDdKdJwql65p failed during the building phase. The exception was: ExitFailure 1