Build #4 for mage-1.1.0

[all reports]

Package mage-1.1.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2015-09-29 21:50:38.641249 UTC
Compiler ghc-7.10.2
OS linux
Arch x86_64
Dependencies random-1.1, mtl-2.2.1, containers-0.5.6.2, base-4.8.1.0, array-0.5.1.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
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 )
In-place registering mtl-2.2.1...
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.2278722862233665123.1
Installing library in
/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/mtl-2.2.1-KMpng31YRYc5JfMWFZ3FCU
Registering mtl-2.2.1...
Installed mtl-2.2.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: Tab character

System/Random.hs:45:1: Warning: Tab character

System/Random.hs:47:1: Warning: Tab character

System/Random.hs:53:1: Warning: Tab character

System/Random.hs:55:1: Warning: Tab character

System/Random.hs:56:1: Warning: Tab character

System/Random.hs:57:1: Warning: Tab character

System/Random.hs:59:1: Warning: Tab character

System/Random.hs:61:1: Warning: Tab character

System/Random.hs:63:1: Warning: Tab character

System/Random.hs:64:1: Warning: Tab character

System/Random.hs:65:1: Warning: Tab character

System/Random.hs:66:1: Warning: Tab character

System/Random.hs:68:1: Warning: Tab character

System/Random.hs:69:1: Warning: Tab character

System/Random.hs:70:1: Warning: Tab character

System/Random.hs:71:1: Warning: Tab character

System/Random.hs:73:1: Warning: Tab character

System/Random.hs:74:1: Warning: Tab character

System/Random.hs:76:1: Warning: Tab character

System/Random.hs:90:22: Warning: Tab character

System/Random.hs:91:17: Warning: Tab character

System/Random.hs:94:17: Warning: Tab character

System/Random.hs:102:15: Warning: Tab character

System/Random.hs:240:1: Warning: Tab character

System/Random.hs:241:1: Warning: Tab character

System/Random.hs:249:1: Warning: Tab character

System/Random.hs:269:1: Warning: Tab character

System/Random.hs:270:1: Warning: Tab character

System/Random.hs:271:1: Warning: Tab character

System/Random.hs:272:1: Warning: Tab character

System/Random.hs:273:1: Warning: Tab character

System/Random.hs:326:11: Warning: Tab character

System/Random.hs:343:11: Warning: Tab character

System/Random.hs:384:11: Warning: Tab character

System/Random.hs:395:1: Warning: Tab character

System/Random.hs:396:1: Warning: Tab character

System/Random.hs:396:20: Warning: Tab character

System/Random.hs:397:1: Warning: Tab character

System/Random.hs:397:20: Warning: Tab character

System/Random.hs:399:11: Warning: Tab character

System/Random.hs:406:1: Warning: Tab character

System/Random.hs:415:1: Warning: Tab character

System/Random.hs:428:1: Warning: Tab character

System/Random.hs:429:1: Warning: Tab character

System/Random.hs:430:1: Warning: Tab character

System/Random.hs:440:3: Warning: Tab character

System/Random.hs:502:1: Warning: Tab character

System/Random.hs:503:1: Warning: Tab character

System/Random.hs:504:1: Warning: Tab character

System/Random.hs:506:1: Warning: Tab character

System/Random.hs:507:1: Warning: Tab character

System/Random.hs:508:1: Warning: Tab character

System/Random.hs:519:1: Warning: Tab character

System/Random.hs:519:14: Warning: Tab character

System/Random.hs:520:1: Warning: Tab character

System/Random.hs:522:1: Warning: Tab character

System/Random.hs:523:1: Warning: Tab character

System/Random.hs:524:1: Warning: Tab character

System/Random.hs:526:1: Warning: Tab character

System/Random.hs:527:1: Warning: Tab character

System/Random.hs:528:1: Warning: Tab character
In-place registering random-1.1...
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: Tab character

System/Random.hs:45:1: Warning: Tab character

System/Random.hs:47:1: Warning: Tab character

System/Random.hs:53:1: Warning: Tab character

System/Random.hs:55:1: Warning: Tab character

System/Random.hs:56:1: Warning: Tab character

System/Random.hs:57:1: Warning: Tab character

System/Random.hs:59:1: Warning: Tab character

System/Random.hs:61:1: Warning: Tab character

System/Random.hs:63:1: Warning: Tab character

System/Random.hs:64:1: Warning: Tab character

System/Random.hs:65:1: Warning: Tab character

System/Random.hs:66:1: Warning: Tab character

System/Random.hs:68:1: Warning: Tab character

System/Random.hs:69:1: Warning: Tab character

System/Random.hs:70:1: Warning: Tab character

System/Random.hs:71:1: Warning: Tab character

System/Random.hs:73:1: Warning: Tab character

System/Random.hs:74:1: Warning: Tab character

System/Random.hs:76:1: Warning: Tab character

System/Random.hs:90:22: Warning: Tab character

System/Random.hs:91:17: Warning: Tab character

System/Random.hs:94:17: Warning: Tab character

System/Random.hs:102:15: Warning: Tab character

System/Random.hs:240:1: Warning: Tab character

System/Random.hs:241:1: Warning: Tab character

System/Random.hs:249:1: Warning: Tab character

System/Random.hs:269:1: Warning: Tab character

System/Random.hs:270:1: Warning: Tab character

System/Random.hs:271:1: Warning: Tab character

System/Random.hs:272:1: Warning: Tab character

System/Random.hs:273:1: Warning: Tab character

System/Random.hs:326:11: Warning: Tab character

System/Random.hs:343:11: Warning: Tab character

System/Random.hs:384:11: Warning: Tab character

System/Random.hs:395:1: Warning: Tab character

System/Random.hs:396:1: Warning: Tab character

System/Random.hs:396:20: Warning: Tab character

System/Random.hs:397:1: Warning: Tab character

System/Random.hs:397:20: Warning: Tab character

System/Random.hs:399:11: Warning: Tab character

System/Random.hs:406:1: Warning: Tab character

System/Random.hs:415:1: Warning: Tab character

System/Random.hs:428:1: Warning: Tab character

System/Random.hs:429:1: Warning: Tab character

System/Random.hs:430:1: Warning: Tab character

System/Random.hs:440:3: Warning: Tab character

System/Random.hs:502:1: Warning: Tab character

System/Random.hs:503:1: Warning: Tab character

System/Random.hs:504:1: Warning: Tab character

System/Random.hs:506:1: Warning: Tab character

System/Random.hs:507:1: Warning: Tab character

System/Random.hs:508:1: Warning: Tab character

System/Random.hs:519:1: Warning: Tab character

System/Random.hs:519:14: Warning: Tab character

System/Random.hs:520:1: Warning: Tab character

System/Random.hs:522:1: Warning: Tab character

System/Random.hs:523:1: Warning: Tab character

System/Random.hs:524:1: Warning: Tab character

System/Random.hs:526:1: Warning: Tab character

System/Random.hs:527:1: Warning: Tab character

System/Random.hs:528:1: Warning: Tab character
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-1711645630195740084.1
Installing library in
/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/random-1.1-1z8Ujelqc6aKgvPnbRUKkP
Registering random-1.1...
Installed random-1.1
Configuring mage-1.1.0...
Building mage-1.1.0...
Preprocessing executable 'mage' for mage-1.1.0...

on the commandline: Warning:
    The -fvia-c flag does nothing; it will be removed in a future GHC release
[ 1 of 30] Compiling Util.Text        ( src/Util/Text.hs, dist/build/mage/mage-tmp/Util/Text.o )
[ 2 of 30] Compiling Keys             ( src/Keys.hs, dist/build/mage/mage-tmp/Keys.o )
[ 3 of 30] Compiling Util.PQueue      ( src/Util/PQueue.hs, dist/build/mage/mage-tmp/Util/PQueue.o )
[ 4 of 30] Compiling BoxChar          ( src/BoxChar.hs, dist/build/mage/mage-tmp/BoxChar.o )
[ 5 of 30] Compiling Util.Search      ( src/Util/Search.hs, dist/build/mage/mage-tmp/Util/Search.o )

src/Util/Search.hs:5:1: Warning:
    The import of ‘Data.List’ is redundant
      except perhaps to import instances from ‘Data.List’
    To import instances alone, use: import Data.List()
[ 6 of 30] Compiling BodyParts        ( src/BodyParts.hs, dist/build/mage/mage-tmp/BodyParts.o )
[ 7 of 30] Compiling Body             ( src/Body.hs, dist/build/mage/mage-tmp/Body.o )
[ 8 of 30] Compiling Util.Grid        ( src/Util/Grid.hs, dist/build/mage/mage-tmp/Util/Grid.o )
[ 9 of 30] Compiling Util             ( src/Util.hs, dist/build/mage/mage-tmp/Util.o )
[10 of 30] Compiling RandT            ( src/RandT.hs, dist/build/mage/mage-tmp/RandT.o )

src/RandT.hs:29:10:
    Could not deduce (Applicative (RandT m))
      arising from the superclasses of an instance declaration
    from the context (Monad m)
      bound by the instance declaration at src/RandT.hs:29:10-37
    In the instance declaration for ‘Monad (RandT m)’

src/RandT.hs:34:10:
    Could not deduce (GHC.Base.Alternative (RandT m))
      arising from the superclasses of an instance declaration
    from the context (MonadPlus m)
      bound by the instance declaration at src/RandT.hs:34:10-45
    In the instance declaration for ‘MonadPlus (RandT m)’

src/RandT.hs:38:10:
    Could not deduce (Applicative (RandT m))
      arising from the superclasses of an instance declaration
    from the context (MonadFix m)
      bound by the instance declaration at src/RandT.hs:38:10-43
    In the instance declaration for ‘MonadFix (RandT m)’

src/RandT.hs:44:10:
    Could not deduce (Applicative (RandT m))
      arising from the superclasses of an instance declaration
    from the context (MonadIO m)
      bound by the instance declaration at src/RandT.hs:44:10-41
    In the instance declaration for ‘MonadIO (RandT m)’

src/RandT.hs:53:3:
    Could not deduce (Applicative (RandT m))
      arising from a do statement
    from the context (Monad m)
      bound by the type signature for
                 generate :: Monad m => RandT (State a) () -> RandT m a
      at src/RandT.hs:51:13-56
    In a stmt of a 'do' block: rs <- RandT $ get
    In the expression:
      do { rs <- RandT $ get;
           let (rs', gen) = runState (execStateT n rs) undefined;
           RandT $ put rs';
           return gen }
    In an equation for ‘generate’:
        generate (RandT n)
          = do { rs <- RandT $ get;
                 let (rs', gen) = ...;
                 RandT $ put rs';
                 .... }

src/RandT.hs:62:3:
    Could not deduce (Applicative (RandT m))
      arising from a do statement
    from the context (Monad m)
      bound by the type signature for pop :: Monad m => RandT m Int
      at src/RandT.hs:60:8-31
    In a stmt of a 'do' block: top <- RandT $ gets head
    In the expression:
      do { top <- RandT $ gets head;
           RandT $ modify tail;
           return top }
    In an equation for ‘pop’:
        pop
          = do { top <- RandT $ gets head;
                 RandT $ modify tail;
                 return top }

src/RandT.hs:70:3:
    Could not deduce (Applicative (RandT m))
      arising from a do statement
    from the context (Monad m)
      bound by the type signature for
                 rnd :: Monad m => (Int, Int) -> RandT m Int
      at src/RandT.hs:68:8-45
    In a stmt of a 'do' block:
      r <- wrnd (fromIntegral (high - low + 1))
    In the expression:
      do { r <- wrnd (fromIntegral (high - low + 1));
           return (low + fromIntegral r) }
    In an equation for ‘rnd’:
        rnd (low, high)
          = do { r <- wrnd (fromIntegral (high - low + 1));
                 return (low + fromIntegral r) }

src/RandT.hs:79:3:
    Could not deduce (Applicative (RandT m))
      arising from a do statement
    from the context (Monad m)
      bound by the type signature for
                 wrnd :: Monad m => Word -> RandT m Word
      at src/RandT.hs:77:9-41
    In a stmt of a 'do' block: r <- pop
    In the expression:
      do { r <- pop;
           let m = (fromIntegral r) `mod` lim
               base = (fromIntegral r) - m
               ....;
           if maxBound - base < maxm then wrnd lim else return m }
    In an equation for ‘wrnd’:
        wrnd lim
          = do { r <- pop;
                 let m = ...
                     ....;
                 if maxBound - base < maxm then wrnd lim else return m }

src/RandT.hs:92:3:
    Could not deduce (Applicative (RandT m))
      arising from a do statement
    from the context (Monad m)
      bound by the type signature for
                 perhaps :: Monad m => Ratio Int -> RandT m () -> RandT m ()
      at src/RandT.hs:90:12-61
    In a stmt of a 'do' block: r <- rnd (1, denominator ratio)
    In the expression:
      do { r <- rnd (1, denominator ratio);
           if r <= numerator ratio then m else return () }
    In an equation for ‘perhaps’:
        perhaps ratio m
          = do { r <- rnd (1, denominator ratio);
                 if r <= numerator ratio then m else return () }

src/RandT.hs:99:3:
    Could not deduce (Applicative (RandT m))
      arising from a do statement
    from the context (Monad m)
      bound by the type signature for
                 upto :: Monad m => Int -> RandT m () -> RandT m ()
      at src/RandT.hs:97:9-52
    In a stmt of a 'do' block: times <- rnd (0, maxtimes)
    In the expression:
      do { times <- rnd (0, maxtimes);
           sequence_ (replicate times m) }
    In an equation for ‘upto’:
        upto maxtimes m
          = do { times <- rnd (0, maxtimes);
                 sequence_ (replicate times m) }

src/RandT.hs:104:3:
    Could not deduce (Applicative (RandT m))
      arising from a do statement
    from the context (Monad m)
      bound by the type signature for
                 choice :: Monad m => [RandT m a] -> RandT m a
      at src/RandT.hs:102:11-47
    In a stmt of a 'do' block: c <- rnd (0, length ms - 1)
    In the expression:
      do { c <- rnd (0, length ms - 1);
           ms !! c }
    In an equation for ‘choice’:
        choice ms
          = do { c <- rnd (0, length ms - 1);
                 ms !! c }

src/RandT.hs:109:3:
    Could not deduce (Applicative (RandT m))
      arising from a do statement
    from the context (Monad m, Ix i)
      bound by the type signature for
                 random_field :: (Monad m, Ix i) =>
                                 (Int, Int) -> (i, i) -> RandT m (i -> Int)
      at src/RandT.hs:107:17-77
    In a stmt of a 'do' block:
      rs <- sequence $ replicate (rangeSize (from, to)) $ rnd (low, high)
    In the expression:
      do { rs <- sequence
                 $ replicate (rangeSize (from, to)) $ rnd (low, high);
           let la = listArray ... rs;
           return (lookupA la 0) }
    In an equation for ‘random_field’:
        random_field (low, high) (from, to)
          = do { rs <- sequence
                       $ replicate (rangeSize (from, to)) $ rnd (low, high);
                 let la = ...;
                 return (lookupA la 0) }
Failed to install mage-1.1.0
cabal: Error: some packages failed to install:
mage-1.1.0 failed during the building phase. The exception was:
ExitFailure 1