Resolving dependencies... Downloading leancheck-0.6.0... Configuring cmdargs-0.10.14... Configuring leancheck-0.6.0... Building cmdargs-0.10.14... Building leancheck-0.6.0... Installed leancheck-0.6.0 Installed cmdargs-0.10.14 Downloading fitspec-0.2.1... Configuring fitspec-0.2.1... Building fitspec-0.2.1... Failed to install fitspec-0.2.1 Build log ( /home/builder/.cabal/logs/fitspec-0.2.1.log ): cabal: Entering directory '/tmp/cabal-tmp-24023/fitspec-0.2.1' Configuring fitspec-0.2.1... Building fitspec-0.2.1... Preprocessing library fitspec-0.2.1... [ 1 of 14] Compiling FitSpec.Utils ( FitSpec/Utils.hs, dist/build/FitSpec/Utils.o ) [ 2 of 14] Compiling FitSpec.PrettyPrint ( FitSpec/PrettyPrint.hs, dist/build/FitSpec/PrettyPrint.o ) [ 3 of 14] Compiling FitSpec.ShowMutable ( FitSpec/ShowMutable.hs, dist/build/FitSpec/ShowMutable.o ) [ 4 of 14] Compiling FitSpec.ShowMutable.Tuples ( FitSpec/ShowMutable/Tuples.hs, dist/build/FitSpec/ShowMutable/Tuples.o ) [ 5 of 14] Compiling FitSpec.Mutable ( FitSpec/Mutable.hs, dist/build/FitSpec/Mutable.o ) [ 6 of 14] Compiling FitSpec.Mutable.Tuples ( FitSpec/Mutable/Tuples.hs, dist/build/FitSpec/Mutable/Tuples.o ) [ 7 of 14] Compiling FitSpec.TestTypes ( FitSpec/TestTypes.hs, dist/build/FitSpec/TestTypes.o ) [ 8 of 14] Compiling FitSpec.Engine ( FitSpec/Engine.hs, dist/build/FitSpec/Engine.o ) [ 9 of 14] Compiling FitSpec.Report ( FitSpec/Report.hs, dist/build/FitSpec/Report.o ) [10 of 14] Compiling FitSpec.Main ( FitSpec/Main.hs, dist/build/FitSpec/Main.o ) [11 of 14] Compiling FitSpec.Derive ( FitSpec/Derive.hs, dist/build/FitSpec/Derive.o ) FitSpec/Derive.hs:147:13: error: • The constructor ‘DataD’ should have 6 arguments, but has been given 5 • In the pattern: DataD _ _ ks _ _ In the pattern: TyConI (DataD _ _ ks _ _) In a case alternative: TyConI (DataD _ _ ks _ _) -> ks FitSpec/Derive.hs:160:13: error: • The constructor ‘InstanceD’ should have 4 arguments, but has been given 3 • In the pattern: InstanceD c ts ds In an equation for ‘ac’: ac (InstanceD c ts ds) c' = InstanceD (c ++ c') ts ds In an equation for ‘|=>|’: c |=>| qds = do { ds <- qds; return $ map (`ac` c) ds } where ac (InstanceD c ts ds) c' = InstanceD (c ++ c') ts ds ac d _ = d cabal: Leaving directory '/tmp/cabal-tmp-24023/fitspec-0.2.1' cabal: Error: some packages failed to install: fitspec-0.2.1 failed during the building phase. The exception was: ExitFailure 1