Resolving dependencies... Configuring data-default-class-0.1.2.0... Configuring dlist-0.8.0.2... Building data-default-class-0.1.2.0... Building dlist-0.8.0.2... Installed data-default-class-0.1.2.0 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 utf8-string-1.0.1.1... Installed old-locale-1.0.0.7 Building utf8-string-1.0.1.1... Configuring text-1.2.2.1... Installed mtl-2.2.1 Building text-1.2.2.1... Configuring data-default-instances-containers-0.0.1... Installed utf8-string-1.0.1.1 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... Installed data-default-instances-old-locale-0.0.1 Configuring data-default-0.7.1.1... Building data-default-0.7.1.1... Installed data-default-0.7.1.1 Configuring hack2-2014.11.17... Building hack2-2014.11.17... Installed hack2-2014.11.17 Installed text-1.2.2.1 Configuring air-2015.5.4... Configuring parsec-3.1.11... Building air-2015.5.4... Building parsec-3.1.11... Installed air-2015.5.4 Installed parsec-3.1.11 Configuring network-uri-2.6.1.0... Building network-uri-2.6.1.0... Installed network-uri-2.6.1.0 Configuring hack2-contrib-2015.5.4... Building hack2-contrib-2015.5.4... Installed hack2-contrib-2015.5.4 Configuring miku-2011.6.12... Building miku-2011.6.12... Failed to install miku-2011.6.12 Build log ( /home/builder/.cabal/logs/miku-2011.6.12.log ): cabal: Entering directory '/tmp/cabal-tmp-30363/miku-2011.6.12' Warning: miku.cabal: Unknown fields: build-depends (line 13) 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 miku-2011.6.12... Building miku-2011.6.12... Preprocessing library miku-2011.6.12... [1 of 6] Compiling Network.Miku.Utils ( src/Network/Miku/Utils.hs, dist/build/Network/Miku/Utils.o ) src/Network/Miku/Utils.hs:16:3: error: • Couldn't match type ‘Data.ByteString.Internal.ByteString’ with ‘ByteString’ NB: ‘ByteString’ is defined in ‘Data.ByteString.Lazy.Internal’ ‘Data.ByteString.Internal.ByteString’ is defined in ‘Data.ByteString.Internal’ Expected type: [(ByteString, ByteString)] Actual type: [(ByteString, Data.ByteString.Internal.ByteString)] • In the expression: env . hackHeaders . select (fst > (x `B.isPrefixOf`)) . map_fst (B.drop (x . B.length)) In an equation for ‘namespace’: namespace x env = env . hackHeaders . select (fst > (x `B.isPrefixOf`)) . map_fst (B.drop (x . B.length)) src/Network/Miku/Utils.hs:18:14: error: • Couldn't match type ‘ByteString’ with ‘Data.ByteString.Internal.ByteString’ NB: ‘Data.ByteString.Internal.ByteString’ is defined in ‘Data.ByteString.Internal’ ‘ByteString’ is defined in ‘Data.ByteString.Lazy.Internal’ Expected type: (Data.ByteString.Internal.ByteString, Data.ByteString.Internal.ByteString) -> Bool Actual type: (ByteString, Data.ByteString.Internal.ByteString) -> Bool • In the first argument of ‘select’, namely ‘(fst > (x `B.isPrefixOf`))’ In the second argument of ‘(.)’, namely ‘select (fst > (x `B.isPrefixOf`))’ In the first argument of ‘(.)’, namely ‘env . hackHeaders . select (fst > (x `B.isPrefixOf`))’ src/Network/Miku/Utils.hs:19:6: error: • Couldn't match type ‘Data.ByteString.Internal.ByteString’ with ‘ByteString’ NB: ‘ByteString’ is defined in ‘Data.ByteString.Lazy.Internal’ ‘Data.ByteString.Internal.ByteString’ is defined in ‘Data.ByteString.Internal’ Expected type: [(Data.ByteString.Internal.ByteString, Data.ByteString.Internal.ByteString)] -> [(ByteString, Data.ByteString.Internal.ByteString)] Actual type: [(ByteString, Data.ByteString.Internal.ByteString)] -> [(ByteString, Data.ByteString.Internal.ByteString)] • In the second argument of ‘(.)’, namely ‘map_fst (B.drop (x . B.length))’ In the expression: env . hackHeaders . select (fst > (x `B.isPrefixOf`)) . map_fst (B.drop (x . B.length)) In an equation for ‘namespace’: namespace x env = env . hackHeaders . select (fst > (x `B.isPrefixOf`)) . map_fst (B.drop (x . B.length)) src/Network/Miku/Utils.hs:26:33: error: • Couldn't match type ‘ByteString’ with ‘Data.ByteString.Internal.ByteString’ NB: ‘Data.ByteString.Internal.ByteString’ is defined in ‘Data.ByteString.Internal’ ‘ByteString’ is defined in ‘Data.ByteString.Lazy.Internal’ Expected type: (Data.ByteString.Internal.ByteString, Data.ByteString.Internal.ByteString) -> Bool Actual type: (ByteString, Data.ByteString.Internal.ByteString) -> Bool • In the first argument of ‘reject’, namely ‘(fst > belongs_to new_headers)’ In the second argument of ‘(.)’, namely ‘reject (fst > belongs_to new_headers)’ In the first argument of ‘(++)’, namely ‘env . hackHeaders . reject (fst > belongs_to new_headers)’ src/Network/Miku/Utils.hs:26:66: error: • Couldn't match type ‘ByteString’ with ‘Data.ByteString.Internal.ByteString’ NB: ‘Data.ByteString.Internal.ByteString’ is defined in ‘Data.ByteString.Internal’ ‘ByteString’ is defined in ‘Data.ByteString.Lazy.Internal’ Expected type: [(Data.ByteString.Internal.ByteString, Data.ByteString.Internal.ByteString)] Actual type: [(ByteString, ByteString)] • In the second argument of ‘(++)’, namely ‘adds’ In the expression: env . hackHeaders . reject (fst > belongs_to new_headers) ++ adds In an equation for ‘new_hack_headers’: new_hack_headers = env . hackHeaders . reject (fst > belongs_to new_headers) ++ adds cabal: Leaving directory '/tmp/cabal-tmp-30363/miku-2011.6.12' cabal: Error: some packages failed to install: miku-2011.6.12 failed during the building phase. The exception was: ExitFailure 1