Resolving dependencies... Configuring cereal-0.5.4.0... Configuring cond-0.4.1.1... Downloading gray-extended-1.5.2... Downloading hsyslog-2.0... Building cond-0.4.1.1... Building cereal-0.5.4.0... Installed cond-0.4.1.1 Configuring extensible-exceptions-0.1.1.4... Building extensible-exceptions-0.1.1.4... Configuring old-locale-1.0.0.7... Installed extensible-exceptions-0.1.1.4 Building old-locale-1.0.0.7... Configuring mtl-2.2.1... Installed cereal-0.5.4.0 Building mtl-2.2.1... Configuring random-1.1... Installed old-locale-1.0.0.7 Building random-1.1... Configuring split-0.2.3.1... Installed random-1.1 Configuring stm-2.4.4.1... Installed mtl-2.2.1 Building split-0.2.3.1... Building stm-2.4.4.1... Configuring transformers-compat-0.5.1.4... Installed split-0.2.3.1 Building transformers-compat-0.5.1.4... Configuring zlib-0.6.1.2... Installed stm-2.4.4.1 Building zlib-0.6.1.2... Configuring hsyslog-2.0... Installed transformers-compat-0.5.1.4 Building hsyslog-2.0... Configuring gray-extended-1.5.2... Installed hsyslog-2.0 Downloading hdaemonize-0.5.0.2... Building gray-extended-1.5.2... Installed gray-extended-1.5.2 Configuring MonadRandom-0.4.2.3... Configuring hdaemonize-0.5.0.2... Installed zlib-0.6.1.2 Building MonadRandom-0.4.2.3... Building hdaemonize-0.5.0.2... Configuring exceptions-0.8.3... Installed hdaemonize-0.5.0.2 Installed MonadRandom-0.4.2.3 Building exceptions-0.8.3... Installed exceptions-0.8.3 Downloading creatur-5.9.13... Configuring creatur-5.9.13... Building creatur-5.9.13... Failed to install creatur-5.9.13 Build log ( /home/builder/.cabal/logs/creatur-5.9.13.log ): cabal: Entering directory '/tmp/cabal-tmp-8449/creatur-5.9.13' Configuring creatur-5.9.13... Building creatur-5.9.13... Preprocessing library creatur-5.9.13... [ 1 of 26] Compiling Paths_creatur ( dist/build/autogen/Paths_creatur.hs, dist/build/Paths_creatur.o ) [ 2 of 26] Compiling ALife.Creatur.Util ( src/ALife/Creatur/Util.hs, dist/build/ALife/Creatur/Util.o ) [ 3 of 26] Compiling ALife.Creatur.Persistent ( src/ALife/Creatur/Persistent.hs, dist/build/ALife/Creatur/Persistent.o ) [ 4 of 26] Compiling ALife.Creatur.Logger ( src/ALife/Creatur/Logger.hs, dist/build/ALife/Creatur/Logger.o ) [ 5 of 26] Compiling ALife.Creatur.Logger.SimpleLogger ( src/ALife/Creatur/Logger/SimpleLogger.hs, dist/build/ALife/Creatur/Logger/SimpleLogger.o ) [ 6 of 26] Compiling ALife.Creatur.Logger.SimpleRotatingLogger ( src/ALife/Creatur/Logger/SimpleRotatingLogger.hs, dist/build/ALife/Creatur/Logger/SimpleRotatingLogger.o ) [ 7 of 26] Compiling ALife.Creatur.Genetics.Recombination ( src/ALife/Creatur/Genetics/Recombination.hs, dist/build/ALife/Creatur/Genetics/Recombination.o ) [ 8 of 26] Compiling ALife.Creatur.Genetics.Diploid ( src/ALife/Creatur/Genetics/Diploid.hs, dist/build/ALife/Creatur/Genetics/Diploid.o ) [ 9 of 26] Compiling ALife.Creatur.Genetics.BRGCWord8 ( src/ALife/Creatur/Genetics/BRGCWord8.hs, dist/build/ALife/Creatur/Genetics/BRGCWord8.o ) [10 of 26] Compiling ALife.Creatur.Genetics.BRGCWord16 ( src/ALife/Creatur/Genetics/BRGCWord16.hs, dist/build/ALife/Creatur/Genetics/BRGCWord16.o ) [11 of 26] Compiling ALife.Creatur.Genetics.BRGCBool ( src/ALife/Creatur/Genetics/BRGCBool.hs, dist/build/ALife/Creatur/Genetics/BRGCBool.o ) [12 of 26] Compiling ALife.Creatur.Genetics.Analysis ( src/ALife/Creatur/Genetics/Analysis.hs, dist/build/ALife/Creatur/Genetics/Analysis.o ) [13 of 26] Compiling ALife.Creatur.Database ( src/ALife/Creatur/Database.hs, dist/build/ALife/Creatur/Database.o ) src/ALife/Creatur/Database.hs:42:3: error: • Constraint ‘Serialize (DBRecord d)’ in the type of ‘ALife.Creatur.Database.lookup’ constrains only the class type variables Use ConstrainedClassMethods to allow it • When checking the class method: ALife.Creatur.Database.lookup :: forall d. (Database d, Serialize (DBRecord d)) => String -> StateT d IO (Either String (DBRecord d)) In the class declaration for ‘Database’ src/ALife/Creatur/Database.hs:45:3: error: • Constraint ‘Serialize (DBRecord d)’ in the type of ‘lookupInArchive’ constrains only the class type variables Use ConstrainedClassMethods to allow it • When checking the class method: lookupInArchive :: forall d. (Database d, Serialize (DBRecord d)) => String -> StateT d IO (Either String (DBRecord d)) In the class declaration for ‘Database’ src/ALife/Creatur/Database.hs:49:3: error: • Constraint ‘Record (DBRecord d)’ in the type of ‘store’ constrains only the class type variables Use ConstrainedClassMethods to allow it • When checking the class method: store :: forall d. (Database d, Record (DBRecord d), Serialize (DBRecord d)) => DBRecord d -> StateT d IO () In the class declaration for ‘Database’ src/ALife/Creatur/Database.hs:49:3: error: • Constraint ‘Serialize (DBRecord d)’ in the type of ‘store’ constrains only the class type variables Use ConstrainedClassMethods to allow it • When checking the class method: store :: forall d. (Database d, Record (DBRecord d), Serialize (DBRecord d)) => DBRecord d -> StateT d IO () In the class declaration for ‘Database’ src/ALife/Creatur/Database.hs:53:3: error: • Constraint ‘Serialize (DBRecord d)’ in the type of ‘delete’ constrains only the class type variables Use ConstrainedClassMethods to allow it • When checking the class method: delete :: forall d. (Database d, Serialize (DBRecord d)) => String -> StateT d IO () In the class declaration for ‘Database’ cabal: Leaving directory '/tmp/cabal-tmp-8449/creatur-5.9.13' cabal: Error: some packages failed to install: creatur-5.9.13 failed during the building phase. The exception was: ExitFailure 1