Resolving dependencies... Configuring base-orphans-0.6... Configuring base-compat-0.9.3... Building base-orphans-0.6... Building base-compat-0.9.3... Installed base-orphans-0.6 Configuring cabal-doctest-1.0.2... Building cabal-doctest-1.0.2... Configuring dlist-0.8.0.2... Installed base-compat-0.9.3 Building dlist-0.8.0.2... Configuring cereal-0.5.4.0... Installed cabal-doctest-1.0.2 Building cereal-0.5.4.0... Configuring fail-4.9.0.0... Installed dlist-0.8.0.2 Building fail-4.9.0.0... Configuring integer-logarithms-1.0.1... Installed fail-4.9.0.0 Building integer-logarithms-1.0.1... Configuring fgl-5.5.3.1... Installed integer-logarithms-1.0.1 Building fgl-5.5.3.1... Configuring mtl-2.2.1... Installed cereal-0.5.4.0 Building mtl-2.2.1... Configuring parallel-3.2.1.1... Installed mtl-2.2.1 Building parallel-3.2.1.1... Configuring old-locale-1.0.0.7... Installed fgl-5.5.3.1 Configuring prelude-extras-0.4.0.3... Installed parallel-3.2.1.1 Building old-locale-1.0.0.7... Building prelude-extras-0.4.0.3... Configuring primitive-0.6.2.0... Installed old-locale-1.0.0.7 Building primitive-0.6.2.0... Configuring reflection-2.1.2... Installed prelude-extras-0.4.0.3 Building reflection-2.1.2... Configuring random-1.1... Installed primitive-0.6.2.0 Building random-1.1... Configuring semigroups-0.18.3... Installed reflection-2.1.2 Building semigroups-0.18.3... Configuring safe-0.3.14... Installed semigroups-0.18.3 Building safe-0.3.14... Configuring split-0.2.3.2... Installed random-1.1 Building split-0.2.3.2... Configuring stm-2.4.4.1... Installed split-0.2.3.2 Building stm-2.4.4.1... Configuring syb-0.7... Installed safe-0.3.14 Building syb-0.7... Configuring text-1.2.2.2... Installed stm-2.4.4.1 Building text-1.2.2.2... Configuring time-locale-compat-0.1.1.3... Installed syb-0.7 Building time-locale-compat-0.1.1.3... Configuring th-lift-0.7.7... Installed time-locale-compat-0.1.1.3 Building th-lift-0.7.7... Configuring transformers-compat-0.5.1.4... Installed th-lift-0.7.7 Building transformers-compat-0.5.1.4... Configuring utf8-string-1.0.1.1... Installed transformers-compat-0.5.1.4 Building utf8-string-1.0.1.1... Configuring void-0.7.2... Installed utf8-string-1.0.1.1 Building void-0.7.2... Installed void-0.7.2 Configuring old-time-1.1.0.3... Configuring StateVar-1.1.0.4... Installed text-1.2.2.2 Building old-time-1.1.0.3... Building StateVar-1.1.0.4... Configuring vector-0.12.0.1... Installed StateVar-1.1.0.4 Building vector-0.12.0.1... Configuring tagged-0.8.5... Installed old-time-1.1.0.3 Building tagged-0.8.5... Configuring exceptions-0.8.3... Installed tagged-0.8.5 Building exceptions-0.8.3... Configuring th-expand-syns-0.4.3.0... Installed exceptions-0.8.3 Building th-expand-syns-0.4.3.0... Installed th-expand-syns-0.4.3.0 Configuring boomerang-1.4.5.2... Building boomerang-1.4.5.2... Configuring blaze-builder-0.4.0.2... Installed boomerang-1.4.5.2 Building blaze-builder-0.4.0.2... Configuring hashable-1.2.6.0... Installed blaze-builder-0.4.0.2 Building hashable-1.2.6.0... Configuring parsec-3.1.11... Installed vector-0.12.0.1 Building parsec-3.1.11... Configuring contravariant-1.4... Installed hashable-1.2.6.0 Building contravariant-1.4... Configuring th-reify-many-0.1.6... Installed contravariant-1.4 Configuring distributive-0.5.2... Installed parsec-3.1.11 Building th-reify-many-0.1.6... Installed th-reify-many-0.1.6 Configuring safecopy-0.9.3.2... Building safecopy-0.9.3.2... Building distributive-0.5.2... Configuring th-lift-instances-0.1.11... Installed distributive-0.5.2 Building th-lift-instances-0.1.11... Configuring scientific-0.3.4.12... Installed th-lift-instances-0.1.11 Building scientific-0.3.4.12... Configuring case-insensitive-1.2.0.9... Installed safecopy-0.9.3.2 Building case-insensitive-1.2.0.9... Configuring uuid-types-1.0.3... Installed scientific-0.3.4.12 Configuring unordered-containers-0.2.8.0... Installed case-insensitive-1.2.0.9 Building uuid-types-1.0.3... Building unordered-containers-0.2.8.0... Installed uuid-types-1.0.3 Configuring th-orphans-0.13.3... Building th-orphans-0.13.3... Configuring comonad-5.0.1... Installed unordered-containers-0.2.8.0 Building comonad-5.0.1... Configuring http-types-0.9.1... Installed th-orphans-0.13.3 Building http-types-0.9.1... Configuring attoparsec-0.13.1.0... Installed comonad-5.0.1 Installed http-types-0.9.1 Configuring th-desugar-1.6... Building attoparsec-0.13.1.0... Building th-desugar-1.6... Configuring bifunctors-5.4.2... Installed attoparsec-0.13.1.0 Building bifunctors-5.4.2... Configuring web-routes-0.27.11... Installed bifunctors-5.4.2 Building web-routes-0.27.11... Installed th-desugar-1.6 Configuring profunctors-5.2... Building profunctors-5.2... Configuring aeson-1.1.2.0... Installed web-routes-0.27.11 Building aeson-1.1.2.0... Configuring semigroupoids-5.2... Installed profunctors-5.2 Building semigroupoids-5.2... Configuring web-routes-th-0.22.6.1... Installed semigroupoids-5.2 Building web-routes-th-0.22.6.1... Installed web-routes-th-0.22.6.1 Configuring free-4.12.4... Building free-4.12.4... Installed aeson-1.1.2.0 Configuring userid-0.1.2.8... Building userid-0.1.2.8... Installed userid-0.1.2.8 Installed free-4.12.4 Configuring adjunctions-4.3... Building adjunctions-4.3... Installed adjunctions-4.3 Configuring kan-extensions-5.0.2... Building kan-extensions-5.0.2... Installed kan-extensions-5.0.2 Configuring lens-4.15.2... Building lens-4.15.2... Installed lens-4.15.2 Configuring th-typegraph-1.0... Building th-typegraph-1.0... Failed to install th-typegraph-1.0 Build log ( /home/builder/.cabal/logs/th-typegraph-1.0.log ): cabal: Entering directory '/tmp/cabal-tmp-19394/th-typegraph-1.0' Configuring th-typegraph-1.0... Building th-typegraph-1.0... Preprocessing library th-typegraph-1.0... [1 of 5] Compiling Language.Haskell.TH.TypeGraph.Orphans ( src/Language/Haskell/TH/TypeGraph/Orphans.hs, dist/build/Language/Haskell/TH/TypeGraph/Orphans.o ) src/Language/Haskell/TH/TypeGraph/Orphans.hs:83:10: error: Not in scope: type constructor or class ‘FromJSONKey’ Perhaps you meant ‘FromJSON’ (imported from Data.Aeson) Perhaps you want to add ‘FromJSONKey’ to the import list in the import of ‘Data.Aeson’ (src/Language/Haskell/TH/TypeGraph/Orphans.hs:10:1-68). src/Language/Haskell/TH/TypeGraph/Orphans.hs:84:10: error: Not in scope: type constructor or class ‘ToJSONKey’ Perhaps you want to add ‘ToJSONKey’ to the import list in the import of ‘Data.Aeson’ (src/Language/Haskell/TH/TypeGraph/Orphans.hs:10:1-68). cabal: Leaving directory '/tmp/cabal-tmp-19394/th-typegraph-1.0' cabal: Error: some packages failed to install: th-typegraph-1.0 failed during the building phase. The exception was: ExitFailure 1