Resolving dependencies... Configuring ObjectName-1.1.0.1... Configuring base-orphans-0.5.4... Building ObjectName-1.1.0.1... Building base-orphans-0.5.4... Installed base-orphans-0.5.4 Configuring bmp-1.2.6.3... Installed ObjectName-1.1.0.1 Configuring cereal-0.5.4.0... Building bmp-1.2.6.3... Building cereal-0.5.4.0... Configuring fixed-0.2.1.1... Installed bmp-1.2.6.3 Building fixed-0.2.1.1... Configuring half-0.2.2.3... Installed cereal-0.5.4.0 Building half-0.2.2.3... Configuring mtl-2.2.1... Installed fixed-0.2.1.1 Building mtl-2.2.1... Configuring network-2.6.3.1... Installed half-0.2.2.3 Building network-2.6.3.1... Configuring parallel-3.2.1.0... Installed mtl-2.2.1 Building parallel-3.2.1.0... Configuring prelude-extras-0.4.0.3... Installed parallel-3.2.1.0 Building prelude-extras-0.4.0.3... Configuring primitive-0.6.1.0... Installed prelude-extras-0.4.0.3 Building primitive-0.6.1.0... Configuring random-1.1... Installed network-2.6.3.1 Building random-1.1... Configuring reflection-2.1.2... Installed random-1.1 Building reflection-2.1.2... Configuring semigroups-0.18.2... Installed primitive-0.6.1.0 Building semigroups-0.18.2... Configuring stm-2.4.4.1... Installed semigroups-0.18.2 Building stm-2.4.4.1... Configuring split-0.2.3.1... Installed stm-2.4.4.1 Configuring storable-complex-0.2.2... Installed reflection-2.1.2 Building split-0.2.3.1... Building storable-complex-0.2.2... Configuring text-1.2.2.1... Installed storable-complex-0.2.2 Building text-1.2.2.1... Configuring transformers-compat-0.5.1.4... Installed split-0.2.3.1 Building transformers-compat-0.5.1.4... Configuring TypeCompose-0.9.12... Installed transformers-compat-0.5.1.4 Building TypeCompose-0.9.12... Installed TypeCompose-0.9.12 Configuring StateVar-1.1.0.4... Building StateVar-1.1.0.4... Configuring exceptions-0.8.3... Installed StateVar-1.1.0.4 Building exceptions-0.8.3... Configuring vector-0.11.0.0... Installed exceptions-0.8.3 Building vector-0.11.0.0... Configuring tagged-0.8.5... Installed text-1.2.2.1 Building tagged-0.8.5... Installed tagged-0.8.5 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Configuring OpenGLRaw-3.2.4.0... Installed hashable-1.2.4.0 Building OpenGLRaw-3.2.4.0... Configuring distributive-0.5.0.2... Installed vector-0.11.0.0 Building distributive-0.5.0.2... Configuring parsec-3.1.11... Installed distributive-0.5.0.2 Building parsec-3.1.11... Installed parsec-3.1.11 Configuring unordered-containers-0.2.7.1... Building unordered-containers-0.2.7.1... Installed unordered-containers-0.2.7.1 Configuring void-0.7.1... Building void-0.7.1... Configuring scientific-0.3.4.9... Installed void-0.7.1 Building scientific-0.3.4.9... Configuring hmatrix-0.18.0.0... Installed scientific-0.3.4.9 Building hmatrix-0.18.0.0... Configuring vector-binary-instances-0.2.3.3... Installed hmatrix-0.18.0.0 Building vector-binary-instances-0.2.3.3... Configuring network-uri-2.6.1.0... Installed vector-binary-instances-0.2.3.3 Building network-uri-2.6.1.0... Installed network-uri-2.6.1.0 Configuring contravariant-1.4... Building contravariant-1.4... Configuring bytes-0.15.2... Installed contravariant-1.4 Building bytes-0.15.2... Configuring HTTP-4000.3.3... Installed bytes-0.15.2 Building HTTP-4000.3.3... Installed HTTP-4000.3.3 Configuring comonad-5... Building comonad-5... Installed comonad-5 Configuring bifunctors-5.4.1... Building bifunctors-5.4.1... Installed bifunctors-5.4.1 Configuring semigroupoids-5.1... Building semigroupoids-5.1... Configuring profunctors-5.2... Installed semigroupoids-5.1 Building profunctors-5.2... Installed profunctors-5.2 Configuring free-4.12.4... Building free-4.12.4... Installed free-4.12.4 Configuring adjunctions-4.3... Building adjunctions-4.3... Installed adjunctions-4.3 Configuring kan-extensions-5.0.1... Building kan-extensions-5.0.1... Installed kan-extensions-5.0.1 Configuring lens-4.15.1... Building lens-4.15.1... Installed OpenGLRaw-3.2.4.0 Configuring GLURaw-2.0.0.2... Building GLURaw-2.0.0.2... Installed GLURaw-2.0.0.2 Configuring OpenGL-3.0.1.0... Building OpenGL-3.0.1.0... Installed lens-4.15.1 Configuring linear-1.20.5... Building linear-1.20.5... Installed OpenGL-3.0.1.0 Configuring GLUT-2.7.0.10... Building GLUT-2.7.0.10... Installed linear-1.20.5 Configuring spatial-math-0.4.0.0... Building spatial-math-0.4.0.0... Installed GLUT-2.7.0.10 Installed spatial-math-0.4.0.0 Configuring not-gloss-0.7.7.0... Building not-gloss-0.7.7.0... Installed not-gloss-0.7.7.0 Downloading hfoil-0.2.0... Configuring hfoil-0.2.0... Building hfoil-0.2.0... Failed to install hfoil-0.2.0 Build log ( /home/builder/.cabal/logs/hfoil-0.2.0.log ): cabal: Entering directory '/tmp/cabal-tmp-32326/hfoil-0.2.0' Configuring hfoil-0.2.0... Warning: 'ghc-options: -prof' is not necessary and will lead to problems when used on a library. Use the configure flag --enable-library-profiling and/or --enable-profiling. Building hfoil-0.2.0... Preprocessing library hfoil-0.2.0... [1 of 6] Compiling HFoil.Naca4 ( src/HFoil/Naca4.hs, dist/build/HFoil/Naca4.o ) [2 of 6] Compiling HFoil.Foil ( src/HFoil/Foil.hs, dist/build/HFoil/Foil.o ) src/HFoil/Foil.hs:27:56: error: • Variable not in scope: dim :: Vector a -> Integer • Perhaps you meant ‘div’ (imported from Prelude) src/HFoil/Foil.hs:31:35: error: • Variable not in scope: dim :: Vector a -> b • Perhaps you meant ‘div’ (imported from Prelude) src/HFoil/Foil.hs:61:23: error: Variable not in scope: zipVectorWith :: (Double -> Double -> Double) -> Vector a -> Vector a -> Vector a src/HFoil/Foil.hs:70:10: error: • Variable not in scope: dim :: Vector a -> a1 • Perhaps you meant ‘div’ (imported from Prelude) src/HFoil/Foil.hs:77:15: error: Variable not in scope: mapVector :: (Double -> Double) -> Vector a -> t src/HFoil/Foil.hs:130:63: error: • Couldn't match expected type ‘Vector a’ with actual type ‘Matrix a’ • In the first argument of ‘asColumn’, namely ‘rs’ In the second argument of ‘linearSolveLS’, namely ‘(asColumn rs)’ In the expression: (linearSolveLS mat2 (asColumn rs)) • Relevant bindings include rs :: Matrix a (bound at src/HFoil/Foil.hs:165:5) mat2 :: Matrix a (bound at src/HFoil/Foil.hs:164:5) diff :: Matrix a (bound at src/HFoil/Foil.hs:162:5) eye :: Matrix a (bound at src/HFoil/Foil.hs:160:5) zeros :: Matrix a (bound at src/HFoil/Foil.hs:159:5) mat :: Matrix a (bound at src/HFoil/Foil.hs:147:5) (Some bindings suppressed; use -fmax-relevant-binds=N or -fno-max-relevant-binds) src/HFoil/Foil.hs:132:9: error: • Variable not in scope: dim :: Vector a -> t • Perhaps you meant ‘div’ (imported from Prelude) src/HFoil/Foil.hs:137:31: error: Variable not in scope: mapVector :: (a -> a) -> Vector a -> Vector t src/HFoil/Foil.hs:145:13: error: Variable not in scope: mapVector :: (a -> a) -> Vector a -> t src/HFoil/Foil.hs:165:18: error: • Couldn't match expected type ‘Matrix a’ with actual type ‘Vector a’ • In the second argument of ‘(<>)’, namely ‘deltas’ In the expression: diff <> deltas In an equation for ‘rs’: rs = diff <> deltas • Relevant bindings include rs :: Matrix a (bound at src/HFoil/Foil.hs:165:5) mat2 :: Matrix a (bound at src/HFoil/Foil.hs:164:5) diff :: Matrix a (bound at src/HFoil/Foil.hs:162:5) eye :: Matrix a (bound at src/HFoil/Foil.hs:160:5) zeros :: Matrix a (bound at src/HFoil/Foil.hs:159:5) mat :: Matrix a (bound at src/HFoil/Foil.hs:147:5) (Some bindings suppressed; use -fmax-relevant-binds=N or -fno-max-relevant-binds) cabal: Leaving directory '/tmp/cabal-tmp-32326/hfoil-0.2.0' cabal: Error: some packages failed to install: hfoil-0.2.0 failed during the building phase. The exception was: ExitFailure 1