Build #8 for hpylos-1.0

[all reports]

Package hpylos-1.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2017-01-02 17:30:46.712973 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies EEConfig-1.0, GLUT-2.7.0.10, OpenGL-3.0.1.0, array-0.5.1.1, base-4.9.0.0, containers-0.5.7.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Downloading EEConfig-1.0...
Configuring ObjectName-1.1.0.1...
Configuring fixed-0.2.1.1...
Building fixed-0.2.1.1...
Building ObjectName-1.1.0.1...
Installed ObjectName-1.1.0.1
Configuring half-0.2.2.3...
Configuring stm-2.4.4.1...
Installed fixed-0.2.1.1
Building half-0.2.2.3...
Building stm-2.4.4.1...
Configuring EEConfig-1.0...
Installed half-0.2.2.3
Building EEConfig-1.0...
Configuring text-1.2.2.1...
Installed EEConfig-1.0
Installed stm-2.4.4.1
Configuring StateVar-1.1.0.4...
Building text-1.2.2.1...
Building StateVar-1.1.0.4...
Installed StateVar-1.1.0.4
Installed text-1.2.2.1
Configuring OpenGLRaw-3.2.4.0...
Building OpenGLRaw-3.2.4.0...
Installed OpenGLRaw-3.2.4.0
Configuring GLURaw-2.0.0.3...
Building GLURaw-2.0.0.3...
Installed GLURaw-2.0.0.3
Configuring OpenGL-3.0.1.0...
Building OpenGL-3.0.1.0...
Installed OpenGL-3.0.1.0
Configuring GLUT-2.7.0.10...
Building GLUT-2.7.0.10...
Installed GLUT-2.7.0.10
Downloading hpylos-1.0...
Configuring hpylos-1.0...
Building hpylos-1.0...
Failed to install hpylos-1.0
Build log ( /home/builder/.cabal/logs/hpylos-1.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-25118/hpylos-1.0'
Configuring hpylos-1.0...
Building hpylos-1.0...
Preprocessing executable 'hpylos' for hpylos-1.0...
[1 of 6] Compiling PylosBoard       ( source/PylosBoard.hs, dist/build/hpylos/hpylos-tmp/PylosBoard.o )
[2 of 6] Compiling PylosMove        ( source/PylosMove.hs, dist/build/hpylos/hpylos-tmp/PylosMove.o )
[3 of 6] Compiling PylosAI          ( source/PylosAI.hs, dist/build/hpylos/hpylos-tmp/PylosAI.o )
[4 of 6] Compiling PylosEvaluator   ( source/PylosEvaluator.hs, dist/build/hpylos/hpylos-tmp/PylosEvaluator.o )
[5 of 6] Compiling PylosDisplay     ( source/PylosDisplay.hs, dist/build/hpylos/hpylos-tmp/PylosDisplay.o )

source/PylosDisplay.hs:177:4: error:
    • Ambiguous type variable ‘m0’ arising from a use of ‘$=’
      prevents the constraint ‘(Control.Monad.IO.Class.MonadIO
                                  m0)’ from being solved.
      Relevant bindings include
        whiteGrid :: m0 () (bound at source/PylosDisplay.hs:176:1)
      Probable fix: use a type annotation to specify what ‘m0’ should be.
      These potential instance exist:
        instance [safe] Control.Monad.IO.Class.MonadIO IO
          -- Defined in ‘Control.Monad.IO.Class’
    • In a stmt of a 'do' block:
        materialAmbient FrontAndBack $= Color4 1 1 1 1
      In the expression:
        do { materialAmbient FrontAndBack $= Color4 1 1 1 1;
             materialDiffuse FrontAndBack $= Color4 1 1 1 1;
             materialSpecular FrontAndBack $= Color4 1 1 1 1;
             materialShininess FrontAndBack $= 1 }
      In an equation for ‘whiteGrid’:
          whiteGrid
            = do { materialAmbient FrontAndBack $= Color4 1 1 1 1;
                   materialDiffuse FrontAndBack $= Color4 1 1 1 1;
                   materialSpecular FrontAndBack $= Color4 1 1 1 1;
                   .... }
cabal: Leaving directory '/tmp/cabal-tmp-25118/hpylos-1.0'
cabal: Error: some packages failed to install:
hpylos-1.0 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.