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 cereal-0.5.8.1 Starting transformers-compat-0.6.5 Starting network-3.1.0.0 Starting basement-0.0.10 Building cereal-0.5.8.1 Building transformers-compat-0.6.5 Building basement-0.0.10 Building network-3.1.0.0 Completed transformers-compat-0.6.5 Starting exceptions-0.10.2 Building exceptions-0.10.2 Completed cereal-0.5.8.1 Completed exceptions-0.10.2 Starting safe-exceptions-0.1.7.0 Building safe-exceptions-0.1.7.0 Completed safe-exceptions-0.1.7.0 Completed network-3.1.0.0 Completed basement-0.0.10 Starting socks-0.6.0 Building socks-0.6.0 Completed socks-0.6.0 Starting network-simple-0.4.4 Building network-simple-0.4.4 Failed to install network-simple-0.4.4 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/network-simple-0.4.4-K5JxfuDAxiV8wAI5CHkE4Y.log ): cabal: Entering directory '/tmp/cabal-tmp-18210/network-simple-0.4.4' Configuring network-simple-0.4.4... Preprocessing library for network-simple-0.4.4.. Building library for network-simple-0.4.4.. [1 of 2] Compiling Network.Simple.Internal ( src/Network/Simple/Internal.hs, dist/build/Network/Simple/Internal.o ) src/Network/Simple/Internal.hs:24:1: error: Could not find module ‘Network.BSD’ Use -v to see a list of the files searched for. | 24 | import qualified Network.BSD as NS (getServicePortNumber) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-18210/network-simple-0.4.4' cabal: Error: some packages failed to install: network-simple-0.4.4-K5JxfuDAxiV8wAI5CHkE4Y failed during the building phase. The exception was: ExitFailure 1