Build #1 for aeson-schema-

[all reports]

Package aeson-schema-
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-11-22 08:13:09.17379 UTC
Compiler ghc-
OS linux
Arch x86_64
Dependencies QuickCheck-2.8.2, aeson-, attoparsec-, base-, bytestring-, containers-, ghc-prim-, mtl-2.2.1, regex-base-0.93.2, regex-compat-0.95.1, regex-pcre-0.94.4, scientific-, syb-0.6, template-haskell-, text-, th-lift-0.7.6, transformers-, unordered-containers-, vector-
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring dlist-
Configuring fail-
Building fail-
Building dlist-
Installed fail-
Configuring mtl-2.2.1...
Building mtl-2.2.1...
Configuring random-1.1...
Installed dlist-
Building random-1.1...
Configuring primitive-
Installed mtl-2.2.1
Building primitive-
Configuring syb-0.6...
Installed random-1.1
Building syb-0.6...
Configuring th-lift-0.7.6...
Installed primitive-
Building th-lift-0.7.6...
Configuring transformers-compat-
Installed syb-0.6
Building transformers-compat-
Configuring text-
Installed transformers-compat-
Building text-
Installed th-lift-0.7.6
Configuring regex-base-0.93.2...
Building regex-base-0.93.2...
Configuring tf-random-0.5...
Installed regex-base-0.93.2
Building tf-random-0.5...
Configuring tagged-0.8.5...
Installed tf-random-0.5
Building tagged-0.8.5...
Configuring vector-
Installed tagged-0.8.5
Building vector-
Installed text-
Configuring regex-pcre-0.94.4...
Building regex-pcre-0.94.4...
Configuring regex-posix-0.95.2...
Installed regex-pcre-0.94.4
Building regex-posix-0.95.2...
Configuring QuickCheck-2.8.2...
Installed regex-posix-0.95.2
Building QuickCheck-2.8.2...
Configuring hashable-
Installed vector-
Building hashable-
Installed hashable-
Configuring scientific-
Building scientific-
Configuring regex-compat-0.95.1...
Installed QuickCheck-2.8.2
Building regex-compat-0.95.1...
Configuring unordered-containers-
Installed regex-compat-0.95.1
Building unordered-containers-
Installed scientific-
Configuring attoparsec-
Building attoparsec-
Installed unordered-containers-
Installed attoparsec-
Configuring aeson-
Building aeson-
Installed aeson-
Downloading aeson-schema-
Configuring aeson-schema-
Building aeson-schema-
Failed to install aeson-schema-
Build log ( /home/builder/.cabal/logs/aeson-schema- ):
cabal: Entering directory '/tmp/cabal-tmp-26552/aeson-schema-'
Configuring aeson-schema-
Building aeson-schema-
Preprocessing library aeson-schema-
[1 of 9] Compiling Data.Aeson.TH.Lift ( src/Data/Aeson/TH/Lift.hs, dist/build/Data/Aeson/TH/Lift.o )

src/Data/Aeson/TH/Lift.hs:7:1: warning: [-Wunused-imports]
    The import of ‘Data.Aeson’ is redundant
      except perhaps to import instances from ‘Data.Aeson’
    To import instances alone, use: import Data.Aeson()

src/Data/Aeson/TH/Lift.hs:12:1: warning: [-Wunused-imports]
    The import of ‘Language.Haskell.TH’ is redundant
      except perhaps to import instances from ‘Language.Haskell.TH’
    To import instances alone, use: import Language.Haskell.TH()
[2 of 9] Compiling Data.Aeson.Schema.Helpers ( src/Data/Aeson/Schema/Helpers.hs, dist/build/Data/Aeson/Schema/Helpers.o )
[3 of 9] Compiling Data.Aeson.Schema.CodeGenM ( src/Data/Aeson/Schema/CodeGenM.hs, dist/build/Data/Aeson/Schema/CodeGenM.o )

src/Data/Aeson/Schema/CodeGenM.hs:168:49: error:
    • Couldn't match expected type ‘Q Dec’
                  with actual type ‘CxtQ -> DecQ’
    • Probable cause: ‘dataDec’ is applied to too few arguments
      In the second argument of ‘(<$>)’, namely ‘dataDec’
      In the first argument of ‘(<*>)’, namely ‘Declaration <$> dataDec’
      In the expression:
        Declaration <$> dataDec
        <*> (Just . recordBlock . map fieldLine <$> fields')

src/Data/Aeson/Schema/CodeGenM.hs:192:77: error:
    • Data constructor not in scope: NotStrict :: Bang
    • Perhaps you meant variable ‘notStrict’ (imported from Language.Haskell.TH)

src/Data/Aeson/Schema/CodeGenM.hs:193:38: error:
    • Couldn't match expected type ‘Maybe Kind’
                  with actual type ‘[ConQ]’
    • In the fourth argument of ‘dataD’, namely ‘[constructor]’
      In the expression: dataD (cxt []) name [] [constructor] classes
      In an equation for ‘dataDec’:
          dataDec = dataD (cxt []) name [] [constructor] classes

src/Data/Aeson/Schema/CodeGenM.hs:193:52: error:
    • Couldn't match type ‘Name’ with ‘Q Con’
      Expected type: [ConQ]
        Actual type: [Name]
    • In the fifth argument of ‘dataD’, namely ‘classes’
      In the expression: dataD (cxt []) name [] [constructor] classes
      In an equation for ‘dataDec’:
          dataDec = dataD (cxt []) name [] [constructor] classes
cabal: Leaving directory '/tmp/cabal-tmp-26552/aeson-schema-'
cabal: Error: some packages failed to install:
aeson-schema- failed during the building phase. The exception was:
ExitFailure 1