Resolving dependencies... cabal: Entering directory '/tmp/cabal-tmp-32037/mtl-2.2.1' Configuring mtl-2.2.1... Building mtl-2.2.1... Preprocessing library mtl-2.2.1... [ 1 of 22] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist/build/Control/Monad/Writer/Class.o ) [ 2 of 22] Compiling Control.Monad.State.Class ( Control/Monad/State/Class.hs, dist/build/Control/Monad/State/Class.o ) [ 3 of 22] Compiling Control.Monad.Reader.Class ( Control/Monad/Reader/Class.hs, dist/build/Control/Monad/Reader/Class.o ) [ 4 of 22] Compiling Control.Monad.RWS.Class ( Control/Monad/RWS/Class.hs, dist/build/Control/Monad/RWS/Class.o ) [ 5 of 22] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs, dist/build/Control/Monad/Identity.o ) [ 6 of 22] Compiling Control.Monad.Error.Class ( Control/Monad/Error/Class.hs, dist/build/Control/Monad/Error/Class.o ) [ 7 of 22] Compiling Control.Monad.Cont.Class ( Control/Monad/Cont/Class.hs, dist/build/Control/Monad/Cont/Class.o ) [ 8 of 22] Compiling Control.Monad.Trans ( Control/Monad/Trans.hs, dist/build/Control/Monad/Trans.o ) [ 9 of 22] Compiling Control.Monad.Error ( Control/Monad/Error.hs, dist/build/Control/Monad/Error.o ) [10 of 22] Compiling Control.Monad.Except ( Control/Monad/Except.hs, dist/build/Control/Monad/Except.o ) [11 of 22] Compiling Control.Monad.List ( Control/Monad/List.hs, dist/build/Control/Monad/List.o ) [12 of 22] Compiling Control.Monad.RWS.Lazy ( Control/Monad/RWS/Lazy.hs, dist/build/Control/Monad/RWS/Lazy.o ) [13 of 22] Compiling Control.Monad.RWS ( Control/Monad/RWS.hs, dist/build/Control/Monad/RWS.o ) [14 of 22] Compiling Control.Monad.Reader ( Control/Monad/Reader.hs, dist/build/Control/Monad/Reader.o ) [15 of 22] Compiling Control.Monad.RWS.Strict ( Control/Monad/RWS/Strict.hs, dist/build/Control/Monad/RWS/Strict.o ) [16 of 22] Compiling Control.Monad.State.Lazy ( Control/Monad/State/Lazy.hs, dist/build/Control/Monad/State/Lazy.o ) [17 of 22] Compiling Control.Monad.State ( Control/Monad/State.hs, dist/build/Control/Monad/State.o ) [18 of 22] Compiling Control.Monad.State.Strict ( Control/Monad/State/Strict.hs, dist/build/Control/Monad/State/Strict.o ) [19 of 22] Compiling Control.Monad.Writer.Lazy ( Control/Monad/Writer/Lazy.hs, dist/build/Control/Monad/Writer/Lazy.o ) [20 of 22] Compiling Control.Monad.Writer ( Control/Monad/Writer.hs, dist/build/Control/Monad/Writer.o ) [21 of 22] Compiling Control.Monad.Writer.Strict ( Control/Monad/Writer/Strict.hs, dist/build/Control/Monad/Writer/Strict.o ) [22 of 22] Compiling Control.Monad.Cont ( Control/Monad/Cont.hs, dist/build/Control/Monad/Cont.o ) Running Haddock for mtl-2.2.1... Running hscolour for mtl-2.2.1... Preprocessing library mtl-2.2.1... Preprocessing library mtl-2.2.1... Haddock coverage: 75% ( 3 / 4) in 'Control.Monad.Writer.Class' Missing documentation for: MonadWriter (Control/Monad/Writer/Class.hs:62) 100% ( 5 / 5) in 'Control.Monad.State.Class' 100% ( 3 / 3) in 'Control.Monad.Reader.Class' 80% ( 4 / 5) in 'Control.Monad.RWS.Class' Missing documentation for: MonadRWS (Control/Monad/RWS/Class.hs:44) 100% ( 4 / 4) in 'Control.Monad.Identity' 100% ( 3 / 3) in 'Control.Monad.Error.Class' 50% ( 1 / 2) in 'Control.Monad.Cont.Class' Missing documentation for: MonadCont (Control/Monad/Cont/Class.hs:73) 100% ( 3 / 3) in 'Control.Monad.Trans' 93% ( 14 / 15) in 'Control.Monad.Error' Missing documentation for: runErrorT 100% ( 19 / 19) in 'Control.Monad.Except' 100% ( 5 / 5) in 'Control.Monad.List' 95% ( 21 / 22) in 'Control.Monad.RWS.Lazy' Missing documentation for: runRWST 100% ( 2 / 2) in 'Control.Monad.RWS' 96% ( 22 / 23) in 'Control.Monad.Reader' Missing documentation for: runReaderT 95% ( 21 / 22) in 'Control.Monad.RWS.Strict' Missing documentation for: runRWST 96% ( 24 / 25) in 'Control.Monad.State.Lazy' Missing documentation for: runStateT 100% ( 2 / 2) in 'Control.Monad.State' 96% ( 24 / 25) in 'Control.Monad.State.Strict' Missing documentation for: runStateT 89% ( 17 / 19) in 'Control.Monad.Writer.Lazy' Missing documentation for: MonadWriter (Control/Monad/Writer/Class.hs:62) runWriterT 100% ( 2 / 2) in 'Control.Monad.Writer' 94% ( 17 / 18) in 'Control.Monad.Writer.Strict' Missing documentation for: MonadWriter (Control/Monad/Writer/Class.hs:62) 91% ( 20 / 22) in 'Control.Monad.Cont' Missing documentation for: MonadCont (Control/Monad/Cont/Class.hs:73) runContT Documentation created: dist/doc/html/mtl/index.html, dist/doc/html/mtl/mtl.txt Creating package registration file: /tmp/pkgConf-mtl-2.22145174067468703135.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20160701/mtl-2.2.1-6qsR1PHUy5lL47Hpoa4jCM Registering mtl-2.2.1... cabal: Leaving directory '/tmp/cabal-tmp-32037/mtl-2.2.1' Installed mtl-2.2.1 cabal: Entering directory '/tmp/cabal-tmp-32037/random-1.1' Configuring random-1.1... Building random-1.1... Preprocessing library random-1.1... [1 of 1] Compiling System.Random ( System/Random.hs, dist/build/System/Random.o ) System/Random.hs:43:1: warning: [-Wtabs] Tab character found here, and in 74 further locations. Please use spaces instead. Running Haddock for random-1.1... Running hscolour for random-1.1... Preprocessing library random-1.1... Preprocessing library random-1.1... System/Random.hs:43:1: warning: [-Wtabs] Tab character found here, and in 74 further locations. Please use spaces instead. Haddock coverage: Cannot find documentation for: $intro 100% ( 16 / 16) in 'System.Random' Documentation created: dist/doc/html/random/index.html, dist/doc/html/random/random.txt Creating package registration file: /tmp/pkgConf-random-11253207672570073850.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20160701/random-1.1-54KmMHXjttlERYcr1mvsAe Registering random-1.1... cabal: Leaving directory '/tmp/cabal-tmp-32037/random-1.1' Installed random-1.1 cabal: Entering directory '/tmp/cabal-tmp-32037/stm-2.4.4.1' Configuring stm-2.4.4.1... Building stm-2.4.4.1... Preprocessing library stm-2.4.4.1... [ 1 of 10] Compiling Control.Sequential.STM ( Control/Sequential/STM.hs, dist/build/Control/Sequential/STM.o ) [ 2 of 10] Compiling Control.Concurrent.STM.TBQueue ( Control/Concurrent/STM/TBQueue.hs, dist/build/Control/Concurrent/STM/TBQueue.o ) [ 3 of 10] Compiling Control.Concurrent.STM.TQueue ( Control/Concurrent/STM/TQueue.hs, dist/build/Control/Concurrent/STM/TQueue.o ) [ 4 of 10] Compiling Control.Concurrent.STM.TChan ( Control/Concurrent/STM/TChan.hs, dist/build/Control/Concurrent/STM/TChan.o ) [ 5 of 10] Compiling Control.Concurrent.STM.TMVar ( Control/Concurrent/STM/TMVar.hs, dist/build/Control/Concurrent/STM/TMVar.o ) [ 6 of 10] Compiling Control.Concurrent.STM.TVar ( Control/Concurrent/STM/TVar.hs, dist/build/Control/Concurrent/STM/TVar.o ) [ 7 of 10] Compiling Control.Concurrent.STM.TArray ( Control/Concurrent/STM/TArray.hs, dist/build/Control/Concurrent/STM/TArray.o ) [ 8 of 10] Compiling Control.Monad.STM ( Control/Monad/STM.hs, dist/build/Control/Monad/STM.o ) [ 9 of 10] Compiling Control.Concurrent.STM ( Control/Concurrent/STM.hs, dist/build/Control/Concurrent/STM.o ) [10 of 10] Compiling Control.Concurrent.STM.TSem ( Control/Concurrent/STM/TSem.hs, dist/build/Control/Concurrent/STM/TSem.o ) Running Haddock for stm-2.4.4.1... Running hscolour for stm-2.4.4.1... Preprocessing library stm-2.4.4.1... Preprocessing library stm-2.4.4.1... Haddock coverage: 0% ( 0 / 11) in 'Control.Sequential.STM' Missing documentation for: Module header STM (Control/Sequential/STM.hs:29) atomically (Control/Sequential/STM.hs:47) throwSTM (Control/Sequential/STM.hs:54) catchSTM (Control/Sequential/STM.hs:57) TVar (Control/Sequential/STM.hs:72) newTVar (Control/Sequential/STM.hs:75) newTVarIO (Control/Sequential/STM.hs:78) readTVar (Control/Sequential/STM.hs:83) readTVarIO (Control/Sequential/STM.hs:86) writeTVar (Control/Sequential/STM.hs:89) 100% ( 13 / 13) in 'Control.Concurrent.STM.TBQueue' 100% ( 12 / 12) in 'Control.Concurrent.STM.TQueue' 100% ( 18 / 18) in 'Control.Concurrent.STM.TChan' 100% ( 16 / 16) in 'Control.Concurrent.STM.TMVar' 100% ( 13 / 13) in 'Control.Concurrent.STM.TVar' 100% ( 2 / 2) in 'Control.Concurrent.STM.TArray' 90% ( 9 / 10) in 'Control.Monad.STM' Missing documentation for: check (Control/Monad/STM.hs:81) 100% ( 8 / 8) in 'Control.Concurrent.STM' 40% ( 2 / 5) in 'Control.Concurrent.STM.TSem' Missing documentation for: newTSem (Control/Concurrent/STM/TSem.hs:42) waitTSem (Control/Concurrent/STM/TSem.hs:45) signalTSem (Control/Concurrent/STM/TSem.hs:51) Warning: Control.Concurrent.STM.TArray: could not find link destinations for: getNumElements unsafeNewArray_ unsafeRead unsafeWrite Warning: Control.Monad.STM: could not find link destinations for: getNumElements unsafeNewArray_ unsafeRead unsafeWrite Documentation created: dist/doc/html/stm/index.html, dist/doc/html/stm/stm.txt Creating package registration file: /tmp/pkgConf-stm-2.4.4150517567212251746.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20160701/stm-2.4.4.1-4z2NRWnB0NIIUvSJsHW0kF Registering stm-2.4.4.1... cabal: Leaving directory '/tmp/cabal-tmp-32037/stm-2.4.4.1' Installed stm-2.4.4.1 cabal: Entering directory '/tmp/cabal-tmp-32037/mersenne-random-pure64-0.2.2.0' Configuring mersenne-random-pure64-0.2.2.0... Building mersenne-random-pure64-0.2.2.0... Preprocessing library mersenne-random-pure64-0.2.2.0... [1 of 4] Compiling System.Random.Mersenne.Pure64.Base ( dist/build/System/Random/Mersenne/Pure64/Base.hs, dist/build/System/Random/Mersenne/Pure64/Base.o ) [2 of 4] Compiling System.Random.Mersenne.Pure64.Internal ( System/Random/Mersenne/Pure64/Internal.hs, dist/build/System/Random/Mersenne/Pure64/Internal.o ) [3 of 4] Compiling System.Random.Mersenne.Pure64.MTBlock ( System/Random/Mersenne/Pure64/MTBlock.hs, dist/build/System/Random/Mersenne/Pure64/MTBlock.o ) [4 of 4] Compiling System.Random.Mersenne.Pure64 ( System/Random/Mersenne/Pure64.hs, dist/build/System/Random/Mersenne/Pure64.o ) Running Haddock for mersenne-random-pure64-0.2.2.0... Running hscolour for mersenne-random-pure64-0.2.2.0... Preprocessing library mersenne-random-pure64-0.2.2.0... Preprocessing library mersenne-random-pure64-0.2.2.0... Haddock coverage: 19% ( 3 / 16) in 'System.Random.Mersenne.Pure64.Base' Missing documentation for: MTState (System/Random/Mersenne/Pure64/Base.hsc:27) UInt64 (System/Random/Mersenne/Pure64/Base.hsc:29) c_init_genrand64 (System/Random/Mersenne/Pure64/Base.hsc:34) c_genrand64_int64 (System/Random/Mersenne/Pure64/Base.hsc:37) c_genrand64_real2 (System/Random/Mersenne/Pure64/Base.hsc:40) sizeof_MTState (System/Random/Mersenne/Pure64/Base.hsc:43) c_mix_word64 (System/Random/Mersenne/Pure64/Base.hsc:48) c_seed_genrand64_block (System/Random/Mersenne/Pure64/Base.hsc:51) c_next_genrand64_block (System/Random/Mersenne/Pure64/Base.hsc:54) c_init_genrand64_unsafe (System/Random/Mersenne/Pure64/Base.hsc:68) c_genrand64_int64_unsafe (System/Random/Mersenne/Pure64/Base.hsc:71) c_genrand64_real2_unsafe (System/Random/Mersenne/Pure64/Base.hsc:74) c_memcpy (System/Random/Mersenne/Pure64/Base.hsc:77) 60% ( 3 / 5) in 'System.Random.Mersenne.Pure64.Internal' Missing documentation for: Module header MTBlock (System/Random/Mersenne/Pure64/Internal.hs:20) 90% ( 9 / 10) in 'System.Random.Mersenne.Pure64.MTBlock' Missing documentation for: MTBlock (System/Random/Mersenne/Pure64/Internal.hs:20) Cannot find documentation for: $notes 100% ( 13 / 13) in 'System.Random.Mersenne.Pure64' Documentation created: dist/doc/html/mersenne-random-pure64/index.html, dist/doc/html/mersenne-random-pure64/mersenne-random-pure64.txt Creating package registration file: /tmp/pkgConf-mersenne-random-pure64-0.2.210251258492137100237.0 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20160701/mersenne-random-pure64-0.2.2.0-JzWzKepure4AalHIhTzLDp Registering mersenne-random-pure64-0.2.2.0... cabal: Leaving directory '/tmp/cabal-tmp-32037/mersenne-random-pure64-0.2.2.0' Installed mersenne-random-pure64-0.2.2.0 cabal: Entering directory '/tmp/cabal-tmp-32037/Graph500-0.4.0' Configuring Graph500-0.4.0... Building Graph500-0.4.0... Preprocessing library Graph500-0.4.0... [1 of 5] Compiling G500.Index ( src/G500/Index.hs, dist/build/G500/Index.o ) src/G500/Index.hs:31:1: warning: [-Wtabs] Tab character found here, and in 20 further locations. Please use spaces instead. [2 of 5] Compiling G500.Generate ( src/G500/Generate.hs, dist/build/G500/Generate.o ) src/G500/Generate.hs:172:25: error: • Ambiguous type variable ‘t0’ arising from a use of ‘gen’ prevents the constraint ‘(Num t0)’ from being solved. Probable fix: use a type annotation to specify what ‘t0’ should be. These potential instances exist: instance Num Integer -- Defined in ‘GHC.Num’ instance Num Double -- Defined in ‘GHC.Float’ instance Num Float -- Defined in ‘GHC.Float’ ...plus two others ...plus 12 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In a stmt of a 'do' block: gen (shiftL 1 (scale - 1)) start end In the expression: do { gen (shiftL 1 (scale - 1)) start end; p <- permutation maxIndex; permute maxEdgeIndex p start; permute maxEdgeIndex p end; .... } In an equation for ‘go’: go start end = do { gen (shiftL 1 (scale - 1)) start end; p <- permutation maxIndex; permute maxEdgeIndex p start; .... } src/G500/Generate.hs:234:17: error: • Non type-variable argument in the constraint: MArray a1 Index IO (Use FlexibleContexts to permit this) • When checking the inferred type genBit :: forall (a :: * -> * -> *) (a1 :: * -> * -> *) i. (MArray a1 Index IO, MArray a Index IO, Ix i) => Index -> a i Index -> a1 i Index -> i -> StateT PureMT IO () In an equation for ‘generate’: generate scale edgeFactor = do { start <- newIndexArr; end <- newIndexArr; std <- newPureMT; .... } where runGenM g genM = runStateT genM g >> return () newIndexArr = liftIO $ newArray (0, maxEdgeIndex) 0 n = shiftL 1 scale m = n * fromIntegral edgeFactor .... cabal: Leaving directory '/tmp/cabal-tmp-32037/Graph500-0.4.0' Failed to install Graph500-0.4.0 cabal: Error: some packages failed to install: Graph500-0.4.0 failed during the building phase. The exception was: ExitFailure 1 GraphHammer-0.3 depends on Graph500-0.4.0 which failed to install. GraphHammer-examples-0.3 depends on Graph500-0.4.0 which failed to install.