Build #6 for topkata-0.1

[all reports]

Package topkata-0.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2017-01-03 09:45:39.782027 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies array-0.5.1.1, base-4.9.0.0, cairo-0.13.3.1, filepath-1.4.1.0, random-1.1, GLUT-2.7.0.10, OpenGL-3.0.1.0, array-0.5.1.1, base-4.9.0.0, filepath-1.4.1.0, random-1.1
Flags -sound

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring ObjectName-1.1.0.1...
Configuring fixed-0.2.1.1...
Building ObjectName-1.1.0.1...
Building fixed-0.2.1.1...
Installed ObjectName-1.1.0.1
Configuring half-0.2.2.3...
Configuring mtl-2.2.1...
Installed fixed-0.2.1.1
Building half-0.2.2.3...
Building mtl-2.2.1...
Configuring random-1.1...
Installed half-0.2.2.3
Building random-1.1...
Configuring primitive-0.6.1.0...
Installed mtl-2.2.1
Building primitive-0.6.1.0...
Configuring stm-2.4.4.1...
Installed random-1.1
Building stm-2.4.4.1...
Configuring utf8-string-1.0.1.1...
Installed stm-2.4.4.1
Building utf8-string-1.0.1.1...
Configuring text-1.2.2.1...
Installed primitive-0.6.1.0
Building text-1.2.2.1...
Installed utf8-string-1.0.1.1
Configuring StateVar-1.1.0.4...
Building StateVar-1.1.0.4...
Configuring vector-0.11.0.0...
Installed StateVar-1.1.0.4
Building vector-0.11.0.0...
Installed text-1.2.2.1
Configuring hashable-1.2.5.0...
Building hashable-1.2.5.0...
Configuring OpenGLRaw-3.2.4.0...
Installed hashable-1.2.5.0
Building OpenGLRaw-3.2.4.0...
Installed vector-0.11.0.0
Configuring hashtables-1.2.1.0...
Building hashtables-1.2.1.0...
Installed hashtables-1.2.1.0
Configuring gtk2hs-buildtools-0.13.2.1...
Building gtk2hs-buildtools-0.13.2.1...
Installed gtk2hs-buildtools-0.13.2.1
Configuring cairo-0.13.3.1...
Building cairo-0.13.3.1...
Installed cairo-0.13.3.1
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 topkata-0.1...
Configuring topkata-0.1...
Building topkata-0.1...
Failed to install topkata-0.1
Build log ( /home/builder/.cabal/logs/topkata-0.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-10577/topkata-0.1'
Configuring topkata-0.1...
Building topkata-0.1...
Preprocessing executable 'topkata' for topkata-0.1...
[1 of 7] Compiling Vector           ( Vector.hs, dist/build/topkata/topkata-tmp/Vector.o )

Vector.hs:28:10: warning: [-Wmissing-methods]
    • No explicit implementation for
        ‘fromInteger’
    • In the instance declaration for ‘Num V3’
[2 of 7] Compiling Topkata.Topka.Topka ( Topkata/Topka/Topka.hs, dist/build/topkata/topkata-tmp/Topkata/Topka/Topka.o )
[3 of 7] Compiling ReadImage        ( ReadImage.hs, dist/build/topkata/topkata-tmp/ReadImage.o )
[4 of 7] Compiling Paths_topkata    ( dist/build/autogen/Paths_topkata.hs, dist/build/topkata/topkata-tmp/Paths_topkata.o )
[5 of 7] Compiling Labygen          ( Labygen.hs, dist/build/topkata/topkata-tmp/Labygen.o )
[6 of 7] Compiling Labygen.Render   ( Labygen/Render.hs, dist/build/topkata/topkata-tmp/Labygen/Render.o )
[7 of 7] Compiling Main             ( Main.hs, dist/build/topkata/topkata-tmp/Main.o )

Main.hs:120:12: error:
    • Ambiguous type variable ‘m0’ arising from a use of ‘move’
      prevents the constraint ‘(Control.Monad.IO.Class.MonadIO
                                  m0)’ from being solved.
      Relevant bindings include
        ymove :: State -> Double -> m0 Double (bound at Main.hs:120: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 the expression: move camY
      In an equation for ‘ymove’: ymove = move camY

Main.hs:231:5: error:
    • No instance for (TwoDimensionalTextureTarget (Maybe a0))
        arising from a use of ‘texImage2D’
    • In a stmt of a 'do' block:
        texImage2D Nothing NoProxy lvl RGBA' size 0 bricksData
      In the expression:
        do { let fname = prefix ++ show xsize ++ ".rgb";
             let ysize = max 1 (xsize `div` 2);
             let size = TextureSize2D xsize ysize;
             path <- getDataFileName' fname;
             .... }
      In an equation for ‘mkTex’:
          mkTex prefix lvl xsize
            = do { let fname = ...;
                   let ysize = ...;
                   let size = ...;
                   .... }
cabal: Leaving directory '/tmp/cabal-tmp-10577/topkata-0.1'
cabal: Error: some packages failed to install:
topkata-0.1 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.