Resolving dependencies... Configuring ansi-terminal-0.6.2.3... Configuring base-compat-0.9.1... Building ansi-terminal-0.6.2.3... Building base-compat-0.9.1... Installed ansi-terminal-0.6.2.3 Configuring base-orphans-0.5.4... Installed base-compat-0.9.1 Configuring dlist-0.8.0.2... Building base-orphans-0.5.4... Building dlist-0.8.0.2... Installed base-orphans-0.5.4 Configuring mtl-2.2.1... Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed dlist-0.8.0.2 Building old-locale-1.0.0.7... Configuring primitive-0.6.1.0... Installed old-locale-1.0.0.7 Building primitive-0.6.1.0... Configuring semigroups-0.18.2... Installed mtl-2.2.1 Building semigroups-0.18.2... Configuring stm-2.4.4.1... Installed semigroups-0.18.2 Building stm-2.4.4.1... Configuring syb-0.6... Installed primitive-0.6.1.0 Building syb-0.6... Configuring time-locale-compat-0.1.1.3... Installed stm-2.4.4.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 syb-0.6 Building transformers-compat-0.5.1.4... Configuring type-eq-0.5... Installed transformers-compat-0.5.1.4 Building type-eq-0.5... Configuring traverse-with-class-0.2.0.4... Installed type-eq-0.5 Building traverse-with-class-0.2.0.4... Configuring ansi-wl-pprint-0.6.7.3... Installed traverse-with-class-0.2.0.4 Building ansi-wl-pprint-0.6.7.3... Installed ansi-wl-pprint-0.6.7.3 Configuring old-time-1.1.0.3... Building old-time-1.1.0.3... Configuring StateVar-1.1.0.4... Installed text-1.2.2.1 Building StateVar-1.1.0.4... Configuring tagged-0.8.5... Installed old-time-1.1.0.3 Configuring vector-0.11.0.0... Installed StateVar-1.1.0.4 Building tagged-0.8.5... Building vector-0.11.0.0... Configuring optparse-applicative-0.13.0.0... Installed tagged-0.8.5 Building optparse-applicative-0.13.0.0... Installed optparse-applicative-0.13.0.0 Configuring polyparse-1.12... Building polyparse-1.12... Configuring hashable-1.2.4.0... Installed polyparse-1.12 Building hashable-1.2.4.0... Configuring distributive-0.5.0.2... Installed hashable-1.2.4.0 Installed vector-0.11.0.0 Configuring cpphs-1.20.2... Building distributive-0.5.0.2... Building cpphs-1.20.2... Configuring unordered-containers-0.2.7.1... Installed distributive-0.5.0.2 Building unordered-containers-0.2.7.1... Configuring void-0.7.1... Installed cpphs-1.20.2 Building void-0.7.1... Configuring scientific-0.3.4.9... Installed void-0.7.1 Building scientific-0.3.4.9... Installed unordered-containers-0.2.7.1 Configuring contravariant-1.4... Building contravariant-1.4... Configuring haskell-src-exts-1.15.0.1... Installed scientific-0.3.4.9 Configuring uniplate-1.6.12... Installed contravariant-1.4 Building uniplate-1.6.12... Building haskell-src-exts-1.15.0.1... Installed uniplate-1.6.12 Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Configuring comonad-5... Installed attoparsec-0.13.1.0 Building comonad-5... Installed comonad-5 Configuring aeson-1.0.2.1... Building aeson-1.0.2.1... Configuring bifunctors-5.4.1... Installed aeson-1.0.2.1 Building bifunctors-5.4.1... Installed bifunctors-5.4.1 Configuring semigroupoids-5.1... Building semigroupoids-5.1... Installed semigroupoids-5.1 Configuring data-lens-2.11.1... Building data-lens-2.11.1... Installed data-lens-2.11.1 Configuring data-lens-template-2.2... Building data-lens-template-2.2... Installed data-lens-template-2.2 Installed haskell-src-exts-1.15.0.1 Configuring hse-cpp-0.1... Building hse-cpp-0.1... Installed hse-cpp-0.1 Configuring haskell-packages-0.4... Building haskell-packages-0.4... Installed haskell-packages-0.4 Configuring haskell-names-0.1... Building haskell-names-0.1... Failed to install haskell-names-0.1 Build log ( /home/builder/.cabal/logs/haskell-names-0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-30545/haskell-names-0.1' Configuring haskell-names-0.1... Building haskell-names-0.1... Preprocessing library haskell-names-0.1... src/Language/Haskell/Names/Annotated.hs:5:27: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS src/Language/Haskell/Names/Open/Base.hs:1:104: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS [ 1 of 18] Compiling Paths_haskell_names ( dist/build/autogen/Paths_haskell_names.hs, dist/build/Paths_haskell_names.o ) [ 2 of 18] Compiling Language.Haskell.Names.Open.Derived ( src/Language/Haskell/Names/Open/Derived.hs, dist/build/Language/Haskell/Names/Open/Derived.o ) src/Language/Haskell/Names/Open/Derived.hs:16:1: warning: [-Wunused-matches] Defined but not used: ‘f’ [ 3 of 18] Compiling Language.Haskell.Names.GlobalSymbolTable[boot] ( src/Language/Haskell/Names/GlobalSymbolTable.hs-boot, dist/build/Language/Haskell/Names/GlobalSymbolTable.o-boot ) [ 4 of 18] Compiling Language.Haskell.Names.Types ( src/Language/Haskell/Names/Types.hs, dist/build/Language/Haskell/Names/Types.o ) src/Language/Haskell/Names/Types.hs:8:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() src/Language/Haskell/Names/Types.hs:15:1: warning: [-Wunused-imports] The import of ‘Data.Traversable’ is redundant except perhaps to import instances from ‘Data.Traversable’ To import instances alone, use: import Data.Traversable() [ 5 of 18] Compiling Language.Haskell.Names.Interfaces ( src/Language/Haskell/Names/Interfaces.hs, dist/build/Language/Haskell/Names/Interfaces.o ) src/Language/Haskell/Names/Interfaces.hs:147:12: error: • Couldn't match expected type ‘Options’ with actual type ‘a0 -> a0’ • Probable cause: ‘id’ is applied to too few arguments In the first argument of ‘deriveJSON’, namely ‘id’ In the expression: deriveJSON id ''Assoc cabal: Leaving directory '/tmp/cabal-tmp-30545/haskell-names-0.1' cabal: Error: some packages failed to install: haskell-names-0.1 failed during the building phase. The exception was: ExitFailure 1