Resolving dependencies... Build profile: -w ghc-9.2.4 -O0 In order, the following will be built (use -v for more details): - socks-0.6.1 (lib:socks) (requires build) - streaming-commons-0.2.2.6 (lib:streaming-commons) (requires build) - crypton-connection-0.3.1 (lib:crypton-connection) (requires build) - http-client-0.7.13.1 (lib:http-client) (requires build) - http-client-tls-0.3.6.2 (first run) Starting socks-0.6.1 (all, legacy fallback) Starting streaming-commons-0.2.2.6 (all, legacy fallback) Building socks-0.6.1 (all, legacy fallback) Building streaming-commons-0.2.2.6 (all, legacy fallback) Installing socks-0.6.1 (all, legacy fallback) Installing streaming-commons-0.2.2.6 (all, legacy fallback) Completed socks-0.6.1 (all, legacy fallback) Starting crypton-connection-0.3.1 (all, legacy fallback) Completed streaming-commons-0.2.2.6 (all, legacy fallback) Starting http-client-0.7.13.1 (all, legacy fallback) Building crypton-connection-0.3.1 (all, legacy fallback) Building http-client-0.7.13.1 (all, legacy fallback) Installing crypton-connection-0.3.1 (all, legacy fallback) Completed crypton-connection-0.3.1 (all, legacy fallback) Installing http-client-0.7.13.1 (all, legacy fallback) Completed http-client-0.7.13.1 (all, legacy fallback) Configuring http-client-tls-0.3.6.2... Preprocessing library for http-client-tls-0.3.6.2.. Building library for http-client-tls-0.3.6.2.. [1 of 1] Compiling Network.HTTP.Client.TLS ( Network/HTTP/Client/TLS.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-client-tls-0.3.6.2/noopt/build/Network/HTTP/Client/TLS.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-client-tls-0.3.6.2/noopt/build/Network/HTTP/Client/TLS.dyn_o ) Preprocessing test suite 'spec' for http-client-tls-0.3.6.2.. Building test suite 'spec' for http-client-tls-0.3.6.2.. [1 of 1] Compiling Main ( test/Spec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-client-tls-0.3.6.2/noopt/build/spec/spec-tmp/Main.o ) test/Spec.hs:3:1: error: Could not load module Network.Connection It is a member of the hidden package crypton-connection-0.3.1. Perhaps you need to add crypton-connection to the build-depends in your .cabal file. It is a member of the hidden package connection-0.3.1. Perhaps you need to add connection to the build-depends in your .cabal file. It is a member of the hidden package connection-0.3.1. Perhaps you need to add connection to the build-depends in your .cabal file. Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 3 | import Network.Connection | ^^^^^^^^^^^^^^^^^^^^^^^^^