Resolving dependencies... Configuring dlist-0.8.0.2... Configuring fail-4.9.0.0... Building fail-4.9.0.0... Building dlist-0.8.0.2... Installed fail-4.9.0.0 Configuring mtl-2.2.1... Building mtl-2.2.1... Configuring random-1.1... Installed dlist-0.8.0.2 Building random-1.1... Configuring primitive-0.6.1.0... Installed mtl-2.2.1 Building primitive-0.6.1.0... Configuring syb-0.6... Installed random-1.1 Building syb-0.6... Configuring th-lift-0.7.6... Installed primitive-0.6.1.0 Building th-lift-0.7.6... Configuring transformers-compat-0.5.1.4... Installed syb-0.6 Building transformers-compat-0.5.1.4... Configuring text-1.2.2.1... Installed transformers-compat-0.5.1.4 Building text-1.2.2.1... 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-0.11.0.0... Installed tagged-0.8.5 Building vector-0.11.0.0... Installed text-1.2.2.1 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-1.2.4.0... Installed vector-0.11.0.0 Building hashable-1.2.4.0... Installed hashable-1.2.4.0 Configuring scientific-0.3.4.9... Building scientific-0.3.4.9... Configuring regex-compat-0.95.1... Installed QuickCheck-2.8.2 Building regex-compat-0.95.1... Configuring unordered-containers-0.2.7.1... Installed regex-compat-0.95.1 Building unordered-containers-0.2.7.1... Installed scientific-0.3.4.9 Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Installed unordered-containers-0.2.7.1 Installed attoparsec-0.13.1.0 Configuring aeson-0.11.2.1... Building aeson-0.11.2.1... Installed aeson-0.11.2.1 Downloading aeson-schema-0.4.1.0... Configuring aeson-schema-0.4.1.0... Building aeson-schema-0.4.1.0... Failed to install aeson-schema-0.4.1.0 Build log ( /home/builder/.cabal/logs/aeson-schema-0.4.1.0.log ): cabal: Entering directory '/tmp/cabal-tmp-26552/aeson-schema-0.4.1.0' Configuring aeson-schema-0.4.1.0... Building aeson-schema-0.4.1.0... Preprocessing library aeson-schema-0.4.1.0... [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-0.4.1.0' cabal: Error: some packages failed to install: aeson-schema-0.4.1.0 failed during the building phase. The exception was: ExitFailure 1