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 old-locale-1.0.0.7... Configuring half-0.2.2.3... Installed fixed-0.2.1.1 Building old-locale-1.0.0.7... Building half-0.2.2.3... Configuring stm-2.4.4.1... Installed old-locale-1.0.0.7 Building stm-2.4.4.1... Configuring text-1.2.2.1... Installed half-0.2.2.3 Building text-1.2.2.1... Configuring transformers-compat-0.5.1.4... Installed stm-2.4.4.1 Building transformers-compat-0.5.1.4... Installed transformers-compat-0.5.1.4 Configuring old-time-1.1.0.3... Building old-time-1.1.0.3... Configuring StateVar-1.1.0.4... Installed old-time-1.1.0.3 Building StateVar-1.1.0.4... Configuring transformers-base-0.4.4... Installed StateVar-1.1.0.4 Building transformers-base-0.4.4... Configuring mersenne-random-1.0.0.1... Installed transformers-base-0.4.4 Building mersenne-random-1.0.0.1... Configuring elerea-2.9.0... Installed text-1.2.2.1 Building elerea-2.9.0... Installed mersenne-random-1.0.0.1 Configuring OpenGLRaw-3.2.4.0... Building OpenGLRaw-3.2.4.0... Installed elerea-2.9.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 GLFW-0.5.2.5... Building GLFW-0.5.2.5... Installed GLFW-0.5.2.5 Configuring dow-0.2.4... Building dow-0.2.4... Failed to install dow-0.2.4 Build log ( /home/builder/.cabal/logs/dow-0.2.4.log ): cabal: Entering directory '/tmp/cabal-tmp-2247/dow-0.2.4' Configuring dow-0.2.4... Building dow-0.2.4... Preprocessing executable 'dow' for dow-0.2.4... [ 1 of 12] Compiling Vector ( src/Vector.hs, dist/build/dow/dow-tmp/Vector.o ) [ 2 of 12] Compiling Utils ( src/Utils.hs, dist/build/dow/dow-tmp/Utils.o ) [ 3 of 12] Compiling Paths_dow ( dist/build/autogen/Paths_dow.hs, dist/build/dow/dow-tmp/Paths_dow.o ) [ 4 of 12] Compiling Level ( src/Level.hs, dist/build/dow/dow-tmp/Level.o ) [ 5 of 12] Compiling HighScore ( src/HighScore.hs, dist/build/dow/dow-tmp/HighScore.o ) [ 6 of 12] Compiling GraphUtils ( src/GraphUtils.hs, dist/build/dow/dow-tmp/GraphUtils.o ) [ 7 of 12] Compiling Sprites ( src/Sprites.hs, dist/build/dow/dow-tmp/Sprites.o ) [ 8 of 12] Compiling Text ( src/Text.hs, dist/build/dow/dow-tmp/Text.o ) [ 9 of 12] Compiling Actor ( src/Actor.hs, dist/build/dow/dow-tmp/Actor.o ) [10 of 12] Compiling Game ( src/Game.hs, dist/build/dow/dow-tmp/Game.o ) [11 of 12] Compiling Render ( src/Render.hs, dist/build/dow/dow-tmp/Render.o ) [12 of 12] Compiling Main ( src/Main.hs, dist/build/dow/dow-tmp/Main.o ) src/Main.hs:40:3: error: • Couldn't match type ‘Bool’ with ‘()’ arising from a functional dependency between: constraint ‘HasSetter (SettableStateVar WindowCloseCallback) (IO ())’ arising from a use of ‘$=’ instance ‘HasSetter (SettableStateVar a) a’ at • In a stmt of a 'do' block: windowCloseCallback $= closeAction In the expression: do { initialize; openWindow (Size 640 480) [DisplayRGBBits 8 8 8, DisplayAlphaBits 8, ....] Window; windowTitle $= "Dungeons of Wor"; aspectRatio <- newIORef 1; .... } In an equation for ‘main’: main = do { initialize; openWindow (Size 640 480) [DisplayRGBBits 8 8 8, ....] Window; windowTitle $= "Dungeons of Wor"; .... } src/Main.hs:57:32: error: • Couldn't match expected type ‘Signal t0’ with actual type ‘SignalGen (Signal Int)’ • In the first argument of ‘game’, namely ‘highScore’ In the second argument of ‘($)’, namely ‘game highScore storeScore render closeAction newActor levels keyPress’ In a stmt of a 'do' block: renderAction <- start $ game highScore storeScore render closeAction newActor levels keyPress • Relevant bindings include render :: (LevelState -> Int -> [Int] -> [Integer] -> IO (), t0 -> [[Char]] -> Int -> IO ()) (bound at src/Main.hs:31:3) src/Main.hs:57:88: error: • Couldn't match expected type ‘Signal ((Bool, Bool, Bool, Bool, Bool), (Bool, Bool, Bool, Bool, Bool))’ with actual type ‘SignalGen (Signal ((Bool, Bool, Bool, Bool, Bool), (Bool, Bool, Bool, Bool, Bool)))’ • In the 7th argument of ‘game’, namely ‘keyPress’ In the second argument of ‘($)’, namely ‘game highScore storeScore render closeAction newActor levels keyPress’ In a stmt of a 'do' block: renderAction <- start $ game highScore storeScore render closeAction newActor levels keyPress cabal: Leaving directory '/tmp/cabal-tmp-2247/dow-0.2.4' cabal: Error: some packages failed to install: dow-0.2.4 failed during the building phase. The exception was: ExitFailure 1