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 abstract-par-0.3.3 Starting cereal-0.5.8.1 Starting extensible-exceptions-0.1.1.4 Starting data-default-class-0.1.2.0 Building abstract-par-0.3.3 Building extensible-exceptions-0.1.1.4 Building cereal-0.5.8.1 Building data-default-class-0.1.2.0 Completed extensible-exceptions-0.1.1.4 Starting ghc-paths-0.1.0.12 Completed data-default-class-0.1.2.0 Starting hashable-1.3.0.0 Completed abstract-par-0.3.3 Starting html-1.0.1.2 Building hashable-1.3.0.0 Building html-1.0.1.2 Building ghc-paths-0.1.0.12 Completed html-1.0.1.2 Starting network-3.1.1.0 Completed ghc-paths-0.1.0.12 Starting network-uri-2.6.1.0 Completed hashable-1.3.0.0 Starting parallel-3.2.2.0 Building network-uri-2.6.1.0 Building parallel-3.2.2.0 Completed cereal-0.5.8.1 Starting primitive-0.7.0.0 Building primitive-0.7.0.0 Building network-3.1.1.0 Completed parallel-3.2.2.0 Starting random-1.1 Building random-1.1 Completed network-uri-2.6.1.0 Starting simple-reflect-0.3.3 Building simple-reflect-0.3.3 Completed simple-reflect-0.3.3 Starting stringsearch-0.3.6.6 Completed random-1.1 Building stringsearch-0.3.6.6 Starting syb-0.7.1 Building syb-0.7.1 Completed network-3.1.1.0 Starting transformers-compat-0.6.5 Completed syb-0.7.1 Starting splitmix-0.0.3 Building transformers-compat-0.6.5 Building splitmix-0.0.3 Completed stringsearch-0.3.6.6 Starting monad-par-extras-0.3.3 Completed primitive-0.7.0.0 Starting abstract-deque-0.3 Building monad-par-extras-0.3.3 Building abstract-deque-0.3 Completed splitmix-0.0.3 Starting show-0.6 Building show-0.6 Completed transformers-compat-0.6.5 Starting haskell-src-1.0.3.0 Building haskell-src-1.0.3.0 Completed show-0.6 Starting multipart-0.2.0 Completed abstract-deque-0.3 Starting vector-0.12.0.3 Completed monad-par-extras-0.3.3 Starting tf-random-0.5 Building multipart-0.2.0 Building vector-0.12.0.3 Building tf-random-0.5 Completed multipart-0.2.0 Starting QuickCheck-2.13.2 Building QuickCheck-2.13.2 Completed tf-random-0.5 Starting exceptions-0.10.3 Building exceptions-0.10.3 Completed exceptions-0.10.3 Starting temporary-1.3 Building temporary-1.3 Completed temporary-1.3 Starting cgi-3001.5.0.0 Building cgi-3001.5.0.0 Completed haskell-src-1.0.3.0 Starting hint-0.9.0.2 Building hint-0.9.0.2 Completed cgi-3001.5.0.0 Completed QuickCheck-2.13.2 Completed hint-0.9.0.2 Starting mueval-0.9.3 Building mueval-0.9.3 Completed vector-0.12.0.3 Starting vector-th-unbox-0.2.1.7 Building vector-th-unbox-0.2.1.7 Completed vector-th-unbox-0.2.1.7 Starting math-functions-0.3.3.0 Building math-functions-0.3.3.0 Completed mueval-0.9.3 Completed math-functions-0.3.3.0 Starting mwc-random-0.14.0.0 Building mwc-random-0.14.0.0 Completed mwc-random-0.14.0.0 Starting monad-par-0.3.5 Building monad-par-0.3.5 Completed monad-par-0.3.5 Starting MagicHaskeller-0.9.6.8 Building MagicHaskeller-0.9.6.8 Failed to install MagicHaskeller-0.9.6.8 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/MagicHaskeller-0.9.6.8-Hlm7HraqiA2HePnL2ydEWp.log ): cabal: Entering directory '/tmp/cabal-tmp-2780/MagicHaskeller-0.9.6.8' Configuring MagicHaskeller-0.9.6.8... Preprocessing library for MagicHaskeller-0.9.6.8.. Building library for MagicHaskeller-0.9.6.8.. 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 ) [ 2 of 59] Compiling MagicHaskeller.FastRatio ( MagicHaskeller/FastRatio.hs, dist/build/MagicHaskeller/FastRatio.o ) [ 3 of 59] Compiling MagicHaskeller.GetTime ( MagicHaskeller/GetTime.hs, dist/build/MagicHaskeller/GetTime.o ) [ 4 of 59] Compiling MagicHaskeller.MyCheck ( MagicHaskeller/MyCheck.hs, dist/build/MagicHaskeller/MyCheck.o ) [ 5 of 59] Compiling MagicHaskeller.NearEq ( MagicHaskeller/NearEq.hs, dist/build/MagicHaskeller/NearEq.o ) [ 6 of 59] Compiling MagicHaskeller.T10 ( MagicHaskeller/T10.hs, dist/build/MagicHaskeller/T10.o ) [ 7 of 59] Compiling Control.Monad.Search.Combinatorial ( Control/Monad/Search/Combinatorial.lhs, dist/build/Control/Monad/Search/Combinatorial.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 ) 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 ) [10 of 59] Compiling MagicHaskeller.TyConLib ( MagicHaskeller/TyConLib.hs, dist/build/MagicHaskeller/TyConLib.o ) [11 of 59] Compiling MagicHaskeller.ReadTypeRep ( MagicHaskeller/ReadTypeRep.hs, dist/build/MagicHaskeller/ReadTypeRep.o ) [12 of 59] Compiling MagicHaskeller.ReadTHType ( MagicHaskeller/ReadTHType.lhs, dist/build/MagicHaskeller/ReadTHType.o ) [13 of 59] Compiling MagicHaskeller.ReadHsType ( MagicHaskeller/ReadHsType.hs, dist/build/MagicHaskeller/ReadHsType.o ) [14 of 59] Compiling MagicHaskeller.MHTH ( MagicHaskeller/MHTH.lhs, dist/build/MagicHaskeller/MHTH.o ) [15 of 59] Compiling MagicHaskeller.PriorSubsts ( MagicHaskeller/PriorSubsts.lhs, dist/build/MagicHaskeller/PriorSubsts.o ) MagicHaskeller/PriorSubsts.lhs:53:1: warning: SPECIALISE pragma for non-overloaded function ‘convertPS’ | 53 | {-# SPECIALIZE convertPS :: ([(a,Subst,TyVar)] -> Recomp (a,Subst,TyVar)) -> PriorSubsts [] a -> PriorSubsts Recomp a #-} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ MagicHaskeller/PriorSubsts.lhs:54:1: warning: SPECIALISE pragma for non-overloaded function ‘convertPS’ | 54 | {-# SPECIALIZE convertPS :: ([(a,Subst,TyVar)] -> [(a,Subst,TyVar)]) -> PriorSubsts [] a -> PriorSubsts [] a #-} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ MagicHaskeller/PriorSubsts.lhs:89:10: warning: [-Wmissing-methods] • No explicit implementation for ‘getDepth’ • In the instance declaration for ‘Delay (PriorSubsts m)’ | 89 | instance Delay m => Delay (PriorSubsts m) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ MagicHaskeller/PriorSubsts.lhs:116:11: warning: [-Winline-rule-shadowing] Rule "fmap/fmap" may never fire because rule "Class op fmap" for ‘fmap’ might fire first Probable fix: add phase [n] or [~n] to the competing rule | 116 | {-# RULES "fmap/fmap" [2] forall f g x. fmap f (fmap g x) = fmap (f . g) x #-} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [16 of 59] Compiling MagicHaskeller.PolyDynamic ( MagicHaskeller/PolyDynamic.hs, dist/build/MagicHaskeller/PolyDynamic.o ) [17 of 59] Compiling MagicHaskeller.CoreLang ( MagicHaskeller/CoreLang.lhs, dist/build/MagicHaskeller/CoreLang.o ) [18 of 59] Compiling MagicHaskeller.ShortString ( MagicHaskeller/ShortString.hs, dist/build/MagicHaskeller/ShortString.o ) MagicHaskeller/ShortString.hs:32:10: warning: [-Wmissing-methods] • No explicit implementation for ‘readsBriefly’ • In the instance declaration for ‘ShortString Bool’ | 32 | instance ShortString Bool where | ^^^^^^^^^^^^^^^^ [19 of 59] Compiling MagicHaskeller.FakeDynamic ( MagicHaskeller/FakeDynamic.hs, dist/build/MagicHaskeller/FakeDynamic.o ) [20 of 59] Compiling MagicHaskeller.MyDynamic ( MagicHaskeller/MyDynamic.hs, dist/build/MagicHaskeller/MyDynamic.o ) MagicHaskeller/MyDynamic.hs:9:68: warning: [-Wduplicate-exports] ‘dynamic’ is exported by ‘dynamic’ and ‘module MagicHaskeller.FakeDynamic’ | 9 | module MagicHaskeller.MyDynamic(module MagicHaskeller.FakeDynamic, dynamic, dynamicH) where | ^^^^^^^ MagicHaskeller/MyDynamic.hs:9:77: warning: [-Wduplicate-exports] ‘dynamicH’ is exported by ‘dynamicH’ and ‘module MagicHaskeller.FakeDynamic’ | 9 | module MagicHaskeller.MyDynamic(module MagicHaskeller.FakeDynamic, dynamic, dynamicH) where | ^^^^^^^^ [21 of 59] Compiling MagicHaskeller.ReadDynamic ( MagicHaskeller/ReadDynamic.hs, dist/build/MagicHaskeller/ReadDynamic.o ) [22 of 59] Compiling MagicHaskeller.Execute ( MagicHaskeller/Execute.hs, dist/build/MagicHaskeller/Execute.o ) [23 of 59] Compiling MagicHaskeller.TICE ( MagicHaskeller/TICE.hs, dist/build/MagicHaskeller/TICE.o ) [24 of 59] Compiling MagicHaskeller.FMType ( MagicHaskeller/FMType.lhs, dist/build/MagicHaskeller/FMType.o ) [25 of 59] Compiling MagicHaskeller.ExprStaged ( MagicHaskeller/ExprStaged.hs, dist/build/MagicHaskeller/ExprStaged.o ) [26 of 59] Compiling MagicHaskeller.Combinators ( MagicHaskeller/Combinators.hs, dist/build/MagicHaskeller/Combinators.o ) [27 of 59] Compiling MagicHaskeller.ExecuteAPI610 ( MagicHaskeller/ExecuteAPI610.hs, dist/build/MagicHaskeller/ExecuteAPI610.o ) MagicHaskeller/ExecuteAPI610.hs:329:1: error: • Illegal equational constraint XLetStmt idL1 idR1 body ~ GenLocated SrcSpan (HsValBindsLR idL2 idR2 -> HsLocalBindsLR idL2 idR2) (Use GADTs or TypeFamilies to permit this) • When checking the inferred type wrapLHsExpr :: forall idL1 idR1 body idL2 idR2. (XLetStmt idL1 idR1 body ~ GenLocated SrcSpan (HsValBindsLR idL2 idR2 -> HsLocalBindsLR idL2 idR2)) => LHsExpr GhcPs -> Located (LHsLocalBindsLR idL1 idR1 -> StmtLR idL1 idR1 body) | 329 | wrapLHsExpr expr = | ^^^^^^^^^^^^^^^^^^... cabal: Leaving directory '/tmp/cabal-tmp-2780/MagicHaskeller-0.9.6.8' cabal: Error: some packages failed to install: MagicHaskeller-0.9.6.8-Hlm7HraqiA2HePnL2ydEWp failed during the building phase. The exception was: ExitFailure 1