Resolving dependencies... Configuring integer-logarithms-1.0.1... Configuring mtl-2.2.1... Building integer-logarithms-1.0.1... Building mtl-2.2.1... Installed integer-logarithms-1.0.1 Configuring primitive-0.6.2.0... Building primitive-0.6.2.0... Configuring stm-2.4.4.1... Installed mtl-2.2.1 Building stm-2.4.4.1... Configuring random-1.1... Installed stm-2.4.4.1 Building random-1.1... Configuring syb-0.7... Installed primitive-0.6.2.0 Building syb-0.7... Configuring text-1.2.2.1... Installed random-1.1 Building text-1.2.2.1... Configuring transformers-compat-0.5.1.4... Installed syb-0.7 Building transformers-compat-0.5.1.4... Installed transformers-compat-0.5.1.4 Configuring vector-0.12.0.0... Building vector-0.12.0.0... Configuring tf-random-0.5... Installed text-1.2.2.1 Building tf-random-0.5... Configuring exceptions-0.8.3... Installed tf-random-0.5 Building exceptions-0.8.3... Installed exceptions-0.8.3 Configuring hashable-1.2.5.0... Building hashable-1.2.5.0... Configuring parsec-3.1.11... Installed hashable-1.2.5.0 Building parsec-3.1.11... Configuring QuickCheck-2.9.2... Installed vector-0.12.0.0 Building QuickCheck-2.9.2... Installed parsec-3.1.11 Configuring scientific-0.3.4.10... Building scientific-0.3.4.10... Configuring json-0.9.1... Installed scientific-0.3.4.10 Building json-0.9.1... Installed json-0.9.1 Installed QuickCheck-2.9.2 Configuring megaparsec-5.2.0... Building megaparsec-5.2.0... Installed megaparsec-5.2.0 Configuring elsa-0.1.0.0... Building elsa-0.1.0.0... Failed to install elsa-0.1.0.0 Build log ( /home/builder/.cabal/logs/elsa-0.1.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-25733/elsa-0.1.0.0' Configuring elsa-0.1.0.0... Building elsa-0.1.0.0... Preprocessing library elsa-0.1.0.0... [1 of 6] Compiling Language.Elsa.Utils ( src/Language/Elsa/Utils.hs, dist/build/Language/Elsa/Utils.o ) [2 of 6] Compiling Language.Elsa.UX ( src/Language/Elsa/UX.hs, dist/build/Language/Elsa/UX.o ) src/Language/Elsa/UX.hs:94:20: error: • Couldn't match expected type ‘Int’ with actual type ‘Pos’ • In the expression: l1 s In the expression: (f s, l1 s, c1 s, l2 s, c2 s) In an equation for ‘spanInfo’: spanInfo s = (f s, l1 s, c1 s, l2 s, c2 s) where f = spanFile l1 = sourceLine . ssBegin c1 = sourceColumn . ssBegin l2 = sourceLine . ssEnd .... src/Language/Elsa/UX.hs:94:26: error: • Couldn't match expected type ‘Int’ with actual type ‘Pos’ • In the expression: c1 s In the expression: (f s, l1 s, c1 s, l2 s, c2 s) In an equation for ‘spanInfo’: spanInfo s = (f s, l1 s, c1 s, l2 s, c2 s) where f = spanFile l1 = sourceLine . ssBegin c1 = sourceColumn . ssBegin l2 = sourceLine . ssEnd .... src/Language/Elsa/UX.hs:94:32: error: • Couldn't match expected type ‘Int’ with actual type ‘Pos’ • In the expression: l2 s In the expression: (f s, l1 s, c1 s, l2 s, c2 s) In an equation for ‘spanInfo’: spanInfo s = (f s, l1 s, c1 s, l2 s, c2 s) where f = spanFile l1 = sourceLine . ssBegin c1 = sourceColumn . ssBegin l2 = sourceLine . ssEnd .... src/Language/Elsa/UX.hs:94:38: error: • Couldn't match expected type ‘Int’ with actual type ‘Pos’ • In the expression: c2 s In the expression: (f s, l1 s, c1 s, l2 s, c2 s) In an equation for ‘spanInfo’: spanInfo s = (f s, l1 s, c1 s, l2 s, c2 s) where f = spanFile l1 = sourceLine . ssBegin c1 = sourceColumn . ssBegin l2 = sourceLine . ssEnd .... cabal: Leaving directory '/tmp/cabal-tmp-25733/elsa-0.1.0.0' cabal: Error: some packages failed to install: elsa-0.1.0.0 failed during the building phase. The exception was: ExitFailure 1