Resolving dependencies... Starting abstract-par-0.3.3 Starting data-default-class-0.1.2.0 Starting cereal-0.5.8.1 Starting extensible-exceptions-0.1.1.4 Building abstract-par-0.3.3 Building data-default-class-0.1.2.0 Building cereal-0.5.8.1 Building extensible-exceptions-0.1.1.4 Completed extensible-exceptions-0.1.1.4 Starting ghc-paths-0.1.0.12 Completed abstract-par-0.3.3 Starting hashable-1.3.2.0 Completed data-default-class-0.1.2.0 Starting html-1.0.1.2 Building hashable-1.3.2.0 Building html-1.0.1.2 Building ghc-paths-0.1.0.12 Completed html-1.0.1.2 Starting network-2.8.0.1 Completed hashable-1.3.2.0 Starting parallel-3.2.2.0 Building parallel-3.2.2.0 Completed ghc-paths-0.1.0.12 Starting primitive-0.7.1.0 Building primitive-0.7.1.0 Completed cereal-0.5.8.1 Starting simple-reflect-0.3.3 Building simple-reflect-0.3.3 Building network-2.8.0.1 Completed parallel-3.2.2.0 Starting splitmix-0.1.0.3 Building splitmix-0.1.0.3 Completed simple-reflect-0.3.3 Starting stringsearch-0.3.6.6 Building stringsearch-0.3.6.6 Completed splitmix-0.1.0.3 Starting syb-0.7.2.1 Building syb-0.7.2.1 Completed stringsearch-0.3.6.6 Starting th-compat-0.1.2 Completed syb-0.7.2.1 Starting random-1.2.0 Building th-compat-0.1.2 Building random-1.2.0 Completed network-2.8.0.1 Starting multipart-0.2.1 Building multipart-0.2.1 Completed th-compat-0.1.2 Starting show-0.6 Building show-0.6 Completed multipart-0.2.1 Starting haskell-src-1.0.3.1 Completed primitive-0.7.1.0 Starting network-uri-2.6.4.1 Completed show-0.6 Starting vector-0.12.3.0 Building haskell-src-1.0.3.1 Building network-uri-2.6.4.1 Building vector-0.12.3.0 Completed random-1.2.0 Starting tf-random-0.5 Building tf-random-0.5 Completed network-uri-2.6.4.1 Starting temporary-1.3 Building temporary-1.3 Completed tf-random-0.5 Starting monad-par-extras-0.3.3 Completed temporary-1.3 Starting abstract-deque-0.3 Building monad-par-extras-0.3.3 Building abstract-deque-0.3 Completed abstract-deque-0.3 Starting QuickCheck-2.14.2 Building QuickCheck-2.14.2 Completed monad-par-extras-0.3.3 Starting cgi-3001.5.0.0 Building cgi-3001.5.0.0 Completed cgi-3001.5.0.0 Starting hint-0.9.0.4 Completed haskell-src-1.0.3.1 Building hint-0.9.0.4 Completed hint-0.9.0.4 Completed QuickCheck-2.14.2 Starting mueval-0.9.3 Building mueval-0.9.3 Completed vector-0.12.3.0 Starting math-functions-0.3.4.2 Building math-functions-0.3.4.2 Completed mueval-0.9.3 Completed math-functions-0.3.4.2 Starting mwc-random-0.15.0.1 Building mwc-random-0.15.0.1 Completed mwc-random-0.15.0.1 Starting monad-par-0.3.5 Building monad-par-0.3.5 Completed monad-par-0.3.5 Starting MagicHaskeller-0.9.6.10 Building MagicHaskeller-0.9.6.10 Failed to install MagicHaskeller-0.9.6.10 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/MagicHaskeller-0.9.6.10-JN1HAJS7VR9L14kUJDv2Ej.log ): cabal: Entering directory '/tmp/cabal-tmp-21126/MagicHaskeller-0.9.6.10' Configuring MagicHaskeller-0.9.6.10... Preprocessing library for MagicHaskeller-0.9.6.10.. Building library for MagicHaskeller-0.9.6.10.. MagicHaskeller/Classification.hs:4:36: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS | 4 | {-# LANGUAGE UndecidableInstances, OverlappingInstances, TemplateHaskell, CPP, FlexibleInstances #-} | ^^^^^^^^^^^^^^^^^^^^ MagicHaskeller/IOGenerator.hs:4:55: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS | 4 | {-# LANGUAGE FlexibleInstances, UndecidableInstances, OverlappingInstances, IncoherentInstances #-} | ^^^^^^^^^^^^^^^^^^^^ MagicHaskeller/Classify.hs:9:0: error: warning: "CHTO" redefined #define CHTO | 9 | #define CHTO | ^ :0:0: error: note: this is the location of the previous definition MagicHaskeller/ClassifyDM.hs:5:0: error: warning: "CHTO" redefined #define CHTO | 5 | #define CHTO | ^ :0:0: error: note: this is the location of the previous definition [ 1 of 59] Compiling Data.Memo ( Data/Memo.hs, dist/build/Data/Memo.o, dist/build/Data/Memo.dyn_o ) [ 2 of 59] Compiling MagicHaskeller.FastRatio ( MagicHaskeller/FastRatio.hs, dist/build/MagicHaskeller/FastRatio.o, dist/build/MagicHaskeller/FastRatio.dyn_o ) [ 3 of 59] Compiling MagicHaskeller.GetTime ( MagicHaskeller/GetTime.hs, dist/build/MagicHaskeller/GetTime.o, dist/build/MagicHaskeller/GetTime.dyn_o ) [ 4 of 59] Compiling MagicHaskeller.MyCheck ( MagicHaskeller/MyCheck.hs, dist/build/MagicHaskeller/MyCheck.o, dist/build/MagicHaskeller/MyCheck.dyn_o ) [ 5 of 59] Compiling MagicHaskeller.NearEq ( MagicHaskeller/NearEq.hs, dist/build/MagicHaskeller/NearEq.o, dist/build/MagicHaskeller/NearEq.dyn_o ) [ 6 of 59] Compiling MagicHaskeller.T10 ( MagicHaskeller/T10.hs, dist/build/MagicHaskeller/T10.o, dist/build/MagicHaskeller/T10.dyn_o ) [ 7 of 59] Compiling Control.Monad.Search.Combinatorial ( Control/Monad/Search/Combinatorial.lhs, dist/build/Control/Monad/Search/Combinatorial.o, dist/build/Control/Monad/Search/Combinatorial.dyn_o ) Control/Monad/Search/Combinatorial.lhs:12:58: warning: [-Wduplicate-exports] getDepth is exported by getDepth and Delay(..) | 12 | Bag, Stream, cat, toList, getDepth, scanl1BF, zipDepthMx, zipDepthRc, zipDepth3Mx, zipDepth3Rc, scanlRc, | ^^^^^^^^ Control/Monad/Search/Combinatorial.lhs:249:10: warning: [-Wmissing-methods] " No explicit implementation for getDepth " In the instance declaration for Delay DepthFst | 249 | instance Delay DepthFst where | ^^^^^^^^^^^^^^ Control/Monad/Search/Combinatorial.lhs:265:10: warning: [-Wmissing-methods] " No explicit implementation for getDepth " In the instance declaration for Delay (RecompT m) | 265 | instance Monad m => Delay (RecompT m) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/Search/Combinatorial.lhs:271:10: warning: [-Wmissing-methods] " No explicit implementation for getDepth " In the instance declaration for Delay (StateT s m) | 271 | instance (Monad m, Delay m) => Delay (StateT s m) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/Search/Combinatorial.lhs:429:10: warning: [-Wmissing-methods] " No explicit implementation for getDepth " In the instance declaration for Delay (DBoundT m) | 429 | instance Monad m => Delay (DBoundT m) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 8 of 59] Compiling Control.Monad.Search.Best ( Control/Monad/Search/Best.hs, dist/build/Control/Monad/Search/Best.o, dist/build/Control/Monad/Search/Best.dyn_o ) Control/Monad/Search/Best.hs:43:10: warning: [-Wmissing-methods] " No explicit implementation for getDepth " In the instance declaration for Delay Best | 43 | instance Delay Best where | ^^^^^^^^^^ Control/Monad/Search/Best.hs:46:10: warning: [-Wmissing-methods] " No explicit implementation for fromDB, toDF, mapDepth, and ifDepth " In the instance declaration for Search Best | 46 | instance Search Best where | ^^^^^^^^^^^^ [ 9 of 59] Compiling MagicHaskeller.Types ( MagicHaskeller/Types.lhs, dist/build/MagicHaskeller/Types.o, dist/build/MagicHaskeller/Types.dyn_o ) [10 of 59] Compiling MagicHaskeller.TyConLib ( MagicHaskeller/TyConLib.hs, dist/build/MagicHaskeller/TyConLib.o, dist/build/MagicHaskeller/TyConLib.dyn_o ) [11 of 59] Compiling MagicHaskeller.ReadTypeRep ( MagicHaskeller/ReadTypeRep.hs, dist/build/MagicHaskeller/ReadTypeRep.o, dist/build/MagicHaskeller/ReadTypeRep.dyn_o ) [12 of 59] Compiling MagicHaskeller.ReadTHType ( MagicHaskeller/ReadTHType.lhs, dist/build/MagicHaskeller/ReadTHType.o, dist/build/MagicHaskeller/ReadTHType.dyn_o ) [13 of 59] Compiling MagicHaskeller.ReadHsType ( MagicHaskeller/ReadHsType.hs, dist/build/MagicHaskeller/ReadHsType.o, dist/build/MagicHaskeller/ReadHsType.dyn_o ) MagicHaskeller/ReadHsType.hs:11:29: error: " Couldn't match expected type Maybe Exp with actual type Exp " In the expression: mkSigE hsname hsqty In the first argument of TupE, namely [mkSigE hsname hsqty | HsTypeSig _loc hsnames hsqty <- readHsDecls str, hsname <- hsnames] In the expression: TupE [mkSigE hsname hsqty | HsTypeSig _loc hsnames hsqty <- readHsDecls str, hsname <- hsnames] | 11 | readHsTypeSigs str = TupE [ mkSigE hsname hsqty | ^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-21126/MagicHaskeller-0.9.6.10' cabal: Error: some packages failed to install: MagicHaskeller-0.9.6.10-JN1HAJS7VR9L14kUJDv2Ej failed during the building phase. The exception was: ExitFailure 1