Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting auto-update-0.1.4 Starting bsb-http-chunked-0.0.0.4 Starting appar-0.1.7 Starting basement-0.0.8 Building auto-update-0.1.4 Building bsb-http-chunked-0.0.0.4 Building basement-0.0.8 Building appar-0.1.7 Completed bsb-http-chunked-0.0.0.4 Starting byteorder-1.0.4 Completed appar-0.1.7 Starting cereal-0.5.8.0 Completed auto-update-0.1.4 Starting clock-0.7.2 Building byteorder-1.0.4 Building cereal-0.5.8.0 Building clock-0.7.2 Completed byteorder-1.0.4 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed clock-0.7.2 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed data-default-class-0.1.2.0 Starting hourglass-0.2.12 Building hourglass-0.2.12 Completed hashable-1.2.7.0 Starting integer-logarithms-1.0.2.2 Building integer-logarithms-1.0.2.2 Completed cereal-0.5.8.0 Starting network-3.0.0.0 Completed integer-logarithms-1.0.2.2 Starting network-byte-order-0.0.0.0 Building network-byte-order-0.0.0.0 Building network-3.0.0.0 Completed network-byte-order-0.0.0.0 Starting primitive-0.6.4.0 Completed hourglass-0.2.12 Building primitive-0.6.4.0 Starting random-1.1 Building random-1.1 Completed random-1.1 Starting semigroups-0.18.5 Building semigroups-0.18.5 Completed semigroups-0.18.5 Starting unix-compat-0.5.1 Building unix-compat-0.5.1 Completed network-3.0.0.0 Starting word8-0.1.3 Building word8-0.1.3 Completed unix-compat-0.5.1 Starting zlib-0.6.2 Building zlib-0.6.2 Completed word8-0.1.3 Starting unordered-containers-0.2.10.0 Building unordered-containers-0.2.10.0 Completed primitive-0.6.4.0 Starting psqueues-0.2.7.1 Building psqueues-0.2.7.1 Completed zlib-0.6.2 Starting case-insensitive-1.2.0.11 Building case-insensitive-1.2.0.11 Completed case-insensitive-1.2.0.11 Starting async-2.2.1 Building async-2.2.1 Completed psqueues-0.2.7.1 Starting simple-sendfile-0.2.27 Completed unordered-containers-0.2.10.0 Starting iproute-1.7.7 Building simple-sendfile-0.2.27 Completed async-2.2.1 Starting scientific-0.3.6.2 Failed to install simple-sendfile-0.2.27 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/simple-sendfile-0.2.27-AeDEF1U7xKxKk5l8RYAswd.log ): cabal: Entering directory '/tmp/cabal-tmp-29757/simple-sendfile-0.2.27' Configuring simple-sendfile-0.2.27... Preprocessing library for simple-sendfile-0.2.27.. Building library for simple-sendfile-0.2.27.. [1 of 4] Compiling Network.Sendfile.Types ( Network/Sendfile/Types.hs, dist/build/Network/Sendfile/Types.o ) [2 of 4] Compiling Network.Sendfile.Linux ( dist/build/Network/Sendfile/Linux.hs, dist/build/Network/Sendfile/Linux.o ) Network/Sendfile/Linux.hsc:96:16: error: • Couldn't match expected type ‘CInt’ with actual type ‘IO CInt’ • In the second argument of ‘($)’, namely ‘fdSocket sock’ In the expression: Fd $ fdSocket sock In an equation for ‘dst’: dst = Fd $ fdSocket sock | 96 | dst = Fd $ fdSocket sock | ^^^^^^^^^^^^^ Network/Sendfile/Linux.hsc:206:14: error: • Couldn't match expected type ‘CInt’ with actual type ‘IO CInt’ • In the second argument of ‘($)’, namely ‘fdSocket sock’ In the expression: Fd $ fdSocket sock In an equation for ‘s’: s = Fd $ fdSocket sock | 206 | s = Fd $ fdSocket sock | ^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-29757/simple-sendfile-0.2.27' Starting http-types-0.12.2 Building iproute-1.7.7 Building scientific-0.3.6.2 Building http-types-0.12.2 Completed http-types-0.12.2 Completed scientific-0.3.6.2 Completed iproute-1.7.7 Completed basement-0.0.8 cabal: Error: some packages failed to install: simple-sendfile-0.2.27-AeDEF1U7xKxKk5l8RYAswd failed during the building phase. The exception was: ExitFailure 1 wai-enforce-https-0.0.1-BEUXSlFUZ6R1i1DFYeZ5X depends on wai-enforce-https-0.0.1 which failed to install. warp-3.2.25-4klkVTe9c7RH3thdg4HUji depends on warp-3.2.25 which failed to install. warp-tls-3.2.4.3-6d2T99lKXJs9v8icm3Vp05 depends on warp-tls-3.2.4.3 which failed to install.