Resolving dependencies... Configuring dlist-0.8.0.2... Configuring base-compat-0.9.1... Building base-compat-0.9.1... Building dlist-0.8.0.2... Installed dlist-0.8.0.2 Configuring primitive-0.6.1.0... Building primitive-0.6.1.0... Configuring text-1.2.2.1... Installed base-compat-0.9.1 Building text-1.2.2.1... Configuring time-locale-compat-0.1.1.3... Installed primitive-0.6.1.0 Building time-locale-compat-0.1.1.3... Configuring transformers-compat-0.5.1.4... Installed time-locale-compat-0.1.1.3 Building transformers-compat-0.5.1.4... Installed transformers-compat-0.5.1.4 Configuring tagged-0.8.5... Building tagged-0.8.5... Configuring vector-0.11.0.0... Installed tagged-0.8.5 Building vector-0.11.0.0... Installed text-1.2.2.1 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Installed hashable-1.2.4.0 Configuring unordered-containers-0.2.7.1... Building unordered-containers-0.2.7.1... Installed unordered-containers-0.2.7.1 Installed vector-0.11.0.0 Configuring scientific-0.3.4.9... Building scientific-0.3.4.9... Installed scientific-0.3.4.9 Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Installed attoparsec-0.13.1.0 Configuring aeson-1.0.2.1... Building aeson-1.0.2.1... Installed aeson-1.0.2.1 Downloading elm-bridge-0.2.1.1... Configuring elm-bridge-0.2.1.1... Building elm-bridge-0.2.1.1... Failed to install elm-bridge-0.2.1.1 Build log ( /home/builder/.cabal/logs/elm-bridge-0.2.1.1.log ): cabal: Entering directory '/tmp/cabal-tmp-21802/elm-bridge-0.2.1.1' Configuring elm-bridge-0.2.1.1... Building elm-bridge-0.2.1.1... Preprocessing library elm-bridge-0.2.1.1... [1 of 6] Compiling Elm.Utils ( src/Elm/Utils.hs, dist/build/Elm/Utils.o ) [2 of 6] Compiling Elm.TyRep ( src/Elm/TyRep.hs, dist/build/Elm/TyRep.o ) src/Elm/TyRep.hs:111:30: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: UntaggedValue src/Elm/TyRep.hs:125:8: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: (UntaggedValue, UntaggedValue) (UntaggedValue, TwoElemArray) (TwoElemArray, UntaggedValue) [3 of 6] Compiling Elm.TyRender ( src/Elm/TyRender.hs, dist/build/Elm/TyRender.o ) [4 of 6] Compiling Elm.Json ( src/Elm/Json.hs, dist/build/Elm/Json.o ) src/Elm/Json.hs:110:24: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: UntaggedValue src/Elm/Json.hs:200:32: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: UntaggedValue [5 of 6] Compiling Elm.Module ( src/Elm/Module.hs, dist/build/Elm/Module.o ) [6 of 6] Compiling Elm.Derive ( src/Elm/Derive.hs, dist/build/Elm/Derive.o ) src/Elm/Derive.hs:182:10: error: • The constructor ‘DataD’ should have 6 arguments, but has been given 5 • In the pattern: DataD _ _ tyVars constrs _ In a case alternative: DataD _ _ tyVars constrs _ -> case constrs of { [] -> fail "Can not derive empty data decls" [RecC _ conFields] -> deriveAlias opts name tyVars conFields _ -> deriveSum opts name tyVars constrs } In a stmt of a 'do' block: case tyCon of { DataD _ _ tyVars constrs _ -> case constrs of { [] -> fail "Can not derive empty data decls" [RecC _ conFields] -> deriveAlias opts name tyVars conFields _ -> deriveSum opts name tyVars constrs } NewtypeD _ _ tyVars (RecC _ conFields) _ -> deriveAlias opts name tyVars conFields TySynD _ vars otherTy -> deriveSynonym opts name vars otherTy _ -> fail ("Oops, can only derive data and newtype, not this: " ++ show tyCon) } cabal: Leaving directory '/tmp/cabal-tmp-21802/elm-bridge-0.2.1.1' cabal: Error: some packages failed to install: elm-bridge-0.2.1.1 failed during the building phase. The exception was: ExitFailure 1