Build #2 for elm-bridge-0.3.0.0

[all reports]

Package elm-bridge-0.3.0.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-11-25 10:58:20.129017 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies aeson-1.0.2.1, base-4.9.0.0, template-haskell-2.11.0.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

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 time-locale-compat-0.1.1.3...
Installed base-compat-0.9.1
Building time-locale-compat-0.1.1.3...
Configuring text-1.2.2.1...
Installed time-locale-compat-0.1.1.3
Building text-1.2.2.1...
Configuring transformers-compat-0.5.1.4...
Installed primitive-0.6.1.0
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
Configuring elm-bridge-0.3.0.0...
Building elm-bridge-0.3.0.0...
Failed to install elm-bridge-0.3.0.0
Build log ( /home/builder/.cabal/logs/elm-bridge-0.3.0.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-23895/elm-bridge-0.3.0.0'
Configuring elm-bridge-0.3.0.0...
Building elm-bridge-0.3.0.0...
Preprocessing library elm-bridge-0.3.0.0...
[1 of 7] Compiling Elm.Versions     ( src/Elm/Versions.hs, dist/build/Elm/Versions.o )
[2 of 7] Compiling Elm.Utils        ( src/Elm/Utils.hs, dist/build/Elm/Utils.o )
[3 of 7] Compiling Elm.TyRep        ( src/Elm/TyRep.hs, dist/build/Elm/TyRep.o )

src/Elm/TyRep.hs:112:30: warning: [-Wincomplete-patterns]
    Pattern match(es) are non-exhaustive
    In a case alternative: Patterns not matched: UntaggedValue

src/Elm/TyRep.hs:126:8: warning: [-Wincomplete-patterns]
    Pattern match(es) are non-exhaustive
    In a case alternative:
        Patterns not matched:
            (UntaggedValue, UntaggedValue)
            (UntaggedValue, TwoElemArray)
            (TwoElemArray, UntaggedValue)
[4 of 7] Compiling Elm.TyRender     ( src/Elm/TyRender.hs, dist/build/Elm/TyRender.o )
[5 of 7] Compiling Elm.Json         ( src/Elm/Json.hs, dist/build/Elm/Json.o )

src/Elm/Json.hs:111:23: warning: [-Wunused-matches]
    Defined but not used: ‘o’

src/Elm/Json.hs:112:22: warning: [-Wunused-matches]
    Defined but not used: ‘os’

src/Elm/Json.hs:112:41: warning: [-Wincomplete-patterns]
    Pattern match(es) are non-exhaustive
    In a case alternative: Patterns not matched: UntaggedValue

src/Elm/Json.hs:205:32: warning: [-Wincomplete-patterns]
    Pattern match(es) are non-exhaustive
    In a case alternative: Patterns not matched: UntaggedValue
[6 of 7] Compiling Elm.Module       ( src/Elm/Module.hs, dist/build/Elm/Module.o )
[7 of 7] Compiling Elm.Derive       ( src/Elm/Derive.hs, dist/build/Elm/Derive.o )

src/Elm/Derive.hs:191: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-23895/elm-bridge-0.3.0.0'
cabal: Error: some packages failed to install:
elm-bridge-0.3.0.0 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.