Resolving dependencies... Configuring call-stack-0.1.0... Configuring data-default-class-0.1.2.0... Building call-stack-0.1.0... Building data-default-class-0.1.2.0... Installed call-stack-0.1.0 Configuring dlist-0.8.0.2... Configuring old-locale-1.0.0.7... Installed data-default-class-0.1.2.0 Building dlist-0.8.0.2... Building old-locale-1.0.0.7... Configuring parallel-3.2.1.0... Installed old-locale-1.0.0.7 Building parallel-3.2.1.0... Configuring mtl-2.2.1... Installed dlist-0.8.0.2 Building mtl-2.2.1... Configuring utf8-string-1.0.1.1... Installed parallel-3.2.1.0 Building utf8-string-1.0.1.1... Configuring HUnit-1.5.0.0... Installed mtl-2.2.1 Building HUnit-1.5.0.0... Configuring text-1.2.2.1... Installed utf8-string-1.0.1.1 Building text-1.2.2.1... Installed HUnit-1.5.0.0 Configuring data-default-instances-containers-0.0.1... Building data-default-instances-containers-0.0.1... Configuring data-default-instances-old-locale-0.0.1... Installed data-default-instances-containers-0.0.1 Building data-default-instances-old-locale-0.0.1... Configuring data-default-instances-dlist-0.0.1... Installed data-default-instances-old-locale-0.0.1 Building data-default-instances-dlist-0.0.1... Configuring mtlparse-0.1.4.0... Installed data-default-instances-dlist-0.0.1 Building mtlparse-0.1.4.0... Configuring data-default-0.7.1.1... Installed mtlparse-0.1.4.0 Building data-default-0.7.1.1... Installed data-default-0.7.1.1 Configuring regexpr-0.5.4... Building regexpr-0.5.4... Configuring hack2-2014.11.17... Installed regexpr-0.5.4 Building hack2-2014.11.17... Installed text-1.2.2.1 Configuring parsec-3.1.11... Configuring air-2015.5.4... Installed hack2-2014.11.17 Building parsec-3.1.11... Building air-2015.5.4... Installed air-2015.5.4 Installed parsec-3.1.11 Configuring air-extra-2015.5.4... Configuring network-uri-2.6.1.0... Building network-uri-2.6.1.0... Building air-extra-2015.5.4... Installed air-extra-2015.5.4 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.11... Building miku-2011.6.11... Failed to install miku-2011.6.11 Build log ( /home/builder/.cabal/logs/miku-2011.6.11.log ): cabal: Entering directory '/tmp/cabal-tmp-5382/miku-2011.6.11' 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.11... Building miku-2011.6.11... Preprocessing library miku-2011.6.11... [1 of 7] 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 src/Network/Miku/Utils.hs:36:50: 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 > is (x + k))’ In the second argument of ‘(.)’, namely ‘reject (fst > is (x + k))’ In the expression: env . hackHeaders . reject (fst > is (x + k)) cabal: Leaving directory '/tmp/cabal-tmp-5382/miku-2011.6.11' cabal: Error: some packages failed to install: miku-2011.6.11 failed during the building phase. The exception was: ExitFailure 1