Resolving dependencies... Configuring failure-0.1.2... Configuring dataenc-0.12... Building dataenc-0.12... Building failure-0.1.2... Configuring mtl-2.2.1... Installed failure-0.1.2 Building mtl-2.2.1... Installed dataenc-0.12 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Configuring random-1.1... Installed old-locale-1.0.0.7 Building random-1.1... Configuring th-fold-0.0.0.1... Installed mtl-2.2.1 Building th-fold-0.0.0.1... Configuring text-1.2.2.1... Failed to install th-fold-0.0.0.1 Build log ( /home/builder/.cabal/logs/th-fold-0.0.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-22288/th-fold-0.0.0.1' Configuring th-fold-0.0.0.1... Building th-fold-0.0.0.1... Preprocessing library th-fold-0.0.0.1... [1 of 1] Compiling Language.Haskell.TH.Fold ( src/Language/Haskell/TH/Fold.hs, dist/build/Language/Haskell/TH/Fold.o ) src/Language/Haskell/TH/Fold.hs:38:5: error: • The constructor ‘DataConI’ should have 3 arguments, but has been given 4 • In the pattern: DataConI _ conType _ _ In a stmt of a 'do' block: DataConI _ conType _ _ <- reify con In the expression: do { DataConI _ conType _ _ <- reify con; return (arity conType) } src/Language/Haskell/TH/Fold.hs:53:18: error: • The constructor ‘DataD’ should have 6 arguments, but has been given 5 • In the pattern: DataD _ _ _ cons _ In an equation for ‘typeDecDataCons’: typeDecDataCons (DataD _ _ _ cons _) = cons cabal: Leaving directory '/tmp/cabal-tmp-22288/th-fold-0.0.0.1' Building text-1.2.2.1... Installed random-1.1 Installed text-1.2.2.1 Configuring polyparse-1.12... Configuring data-object-0.3.1.9... Building polyparse-1.12... Building data-object-0.3.1.9... Installed data-object-0.3.1.9 Installed polyparse-1.12 Configuring HaXml-1.25.3... Building HaXml-1.25.3... Installed HaXml-1.25.3 cabal: Error: some packages failed to install: property-list-0.0.0.5 depends on th-fold-0.0.0.1 which failed to install. th-fold-0.0.0.1 failed during the building phase. The exception was: ExitFailure 1