Resolving dependencies... Configuring data-default-class-0.1.2.0... Configuring base-compat-0.9.1... Building base-compat-0.9.1... Building data-default-class-0.1.2.0... Installed data-default-class-0.1.2.0 Configuring dlist-0.8.0.2... Building dlist-0.8.0.2... Configuring mtl-2.2.1... Installed base-compat-0.9.1 Building mtl-2.2.1... Installed dlist-0.8.0.2 Configuring network-2.6.3.1... Configuring old-locale-1.0.0.7... Building network-2.6.3.1... Installed mtl-2.2.1 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 safe-0.3.10... Installed primitive-0.6.1.0 Building safe-0.3.10... Configuring stm-2.4.4.1... Installed network-2.6.3.1 Building stm-2.4.4.1... Configuring text-1.2.2.1... Installed safe-0.3.10 Building text-1.2.2.1... Configuring time-locale-compat-0.1.1.3... Installed stm-2.4.4.1 Building time-locale-compat-0.1.1.3... Configuring transformers-compat-0.5.1.4... Installed time-locale-compat-0.1.1.3 Building transformers-compat-0.5.1.4... Configuring zeromq-haskell-0.8.4... Installed transformers-compat-0.5.1.4 Building zeromq-haskell-0.8.4... Configuring data-default-instances-containers-0.0.1... Installed zeromq-haskell-0.8.4 Building data-default-instances-containers-0.0.1... Installed data-default-instances-containers-0.0.1 Configuring data-default-instances-dlist-0.0.1... Building data-default-instances-dlist-0.0.1... Configuring data-default-instances-old-locale-0.0.1... Installed data-default-instances-dlist-0.0.1 Building data-default-instances-old-locale-0.0.1... Configuring vector-0.11.0.0... Installed data-default-instances-old-locale-0.0.1 Building vector-0.11.0.0... Configuring tagged-0.8.5... Installed text-1.2.2.1 Building tagged-0.8.5... Installed tagged-0.8.5 Configuring data-default-0.7.1.1... Building data-default-0.7.1.1... Configuring air-2015.5.4... Installed data-default-0.7.1.1 Building air-2015.5.4... Configuring blaze-builder-0.4.0.2... Installed air-2015.5.4 Building blaze-builder-0.4.0.2... Configuring hashable-1.2.4.0... Installed blaze-builder-0.4.0.2 Building hashable-1.2.4.0... Configuring enumerator-0.4.20... Installed hashable-1.2.4.0 Building enumerator-0.4.20... Configuring hack2-2014.11.17... Installed vector-0.11.0.0 Building hack2-2014.11.17... Configuring unordered-containers-0.2.7.2... Installed enumerator-0.4.20 Building unordered-containers-0.2.7.2... Installed hack2-2014.11.17 Configuring blaze-textual-0.2.1.0... Building blaze-textual-0.2.1.0... Configuring scientific-0.3.4.9... Installed blaze-textual-0.2.1.0 Building scientific-0.3.4.9... Installed unordered-containers-0.2.7.2 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 hack2-handler-mongrel2-http-2011.10.31... Building hack2-handler-mongrel2-http-2011.10.31... Failed to install hack2-handler-mongrel2-http-2011.10.31 Build log ( /home/builder/.cabal/logs/hack2-handler-mongrel2-http-2011.10.31.log ): cabal: Entering directory '/tmp/cabal-tmp-9132/hack2-handler-mongrel2-http-2011.10.31' Warning: hack2-handler-mongrel2-http.cabal: Unknown fields: build-depends (line 10) Fields allowed in this section: name, version, cabal-version, build-type, license, license-file, license-files, copyright, maintainer, stability, homepage, package-url, bug-reports, synopsis, description, category, author, tested-with, data-files, data-dir, extra-source-files, extra-tmp-files, extra-doc-files Configuring hack2-handler-mongrel2-http-2011.10.31... Building hack2-handler-mongrel2-http-2011.10.31... Preprocessing library hack2-handler-mongrel2-http-2011.10.31... [1 of 6] Compiling Hack2.Handler.Mongrel2.Utils ( src/Hack2/Handler/Mongrel2/Utils.hs, dist/build/Hack2/Handler/Mongrel2/Utils.o ) [2 of 6] Compiling Hack2.Handler.Mongrel2.Types ( src/Hack2/Handler/Mongrel2/Types.hs, dist/build/Hack2/Handler/Mongrel2/Types.o ) [3 of 6] Compiling Hack2.Handler.Mongrel2.Response ( src/Hack2/Handler/Mongrel2/Response.hs, dist/build/Hack2/Handler/Mongrel2/Response.o ) [4 of 6] Compiling Hack2.Handler.Mongrel2.MessageParser ( src/Hack2/Handler/Mongrel2/MessageParser.hs, dist/build/Hack2/Handler/Mongrel2/MessageParser.o ) src/Hack2/Handler/Mongrel2/MessageParser.hs:7:1: warning: [-Wdeprecations] Module ‘Data.Attoparsec’ is deprecated: This module will be removed in the next major release. src/Hack2/Handler/Mongrel2/MessageParser.hs:8:1: warning: [-Wdeprecations] Module ‘Data.Attoparsec.Char8’ is deprecated: This module will be removed in the next major release. [5 of 6] Compiling Hack2.Handler.Mongrel2.IO ( src/Hack2/Handler/Mongrel2/IO.hs, dist/build/Hack2/Handler/Mongrel2/IO.o ) src/Hack2/Handler/Mongrel2/IO.hs:89:12: error: • Couldn't match type ‘unordered-containers-0.2.7.2:Data.HashMap.Base.HashMap Data.Text.Internal.Text Value’ with ‘Map.Map Data.Text.Internal.Text Value’ Expected type: Aeson.Object -> [(Data.Text.Internal.Text, Value)] Actual type: Map.Map Data.Text.Internal.Text Value -> [(Data.Text.Internal.Text, Value)] • In the second argument of ‘(.)’, namely ‘Map.toAscList’ In the first argument of ‘(.)’, namely ‘headerMap . Map.toAscList’ In the first argument of ‘(.)’, namely ‘headerMap . Map.toAscList . map_snd maybe_string’ cabal: Leaving directory '/tmp/cabal-tmp-9132/hack2-handler-mongrel2-http-2011.10.31' cabal: Error: some packages failed to install: hack2-handler-mongrel2-http-2011.10.31 failed during the building phase. The exception was: ExitFailure 1