Skip to content

Instantly share code, notes, and snippets.

@al3xtjames
Created May 11, 2025 02:31
Show Gist options
  • Save al3xtjames/ff511f36890388345d51a410a2fc18f9 to your computer and use it in GitHub Desktop.
Save al3xtjames/ff511f36890388345d51a410a2fc18f9 to your computer and use it in GitHub Desktop.
Running phase: setupCompilerEnvironmentPhase
@nix { "action": "setPhase", "phase": "setupCompilerEnvironmentPhase" }
Build with /nix/store/8zay0s9aa86b2qnjj39rzjk6ih30xipb-ghc-9.8.4.
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/jjkg5b8sd94k6pvw0639q18wfipa2gsr-network-3.2.7.0.tar.gz
source root is network-3.2.7.0
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "network-3.2.7.0/tests/Spec.hs"
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: compileBuildDriverPhase
@nix { "action": "setPhase", "phase": "compileBuildDriverPhase" }
setupCompileFlags: -package-db=/private/tmp/nix-build-network-3.2.7.0.drv-0/tmp.JP7AS7hQpN/setup-package.conf.d -threaded
[1 of 2] Compiling Main ( Setup.hs, /private/tmp/nix-build-network-3.2.7.0.drv-0/tmp.JP7AS7hQpN/Main.o )
[2 of 2] Linking Setup
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Updating Autotools / GNU config script to a newer upstream version: ./config.sub
Updating Autotools / GNU config script to a newer upstream version: ./config.guess
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configureFlags: --verbose --prefix=/nix/store/k291882g6kxglrjhvcpbm55b6l7c2w0c-network-3.2.7.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/yv7k4hk5akmc0hl35a9pnhpak3vlq8hs-network-3.2.7.0-doc/share/doc/network-3.2.7.0 --with-gcc=clang --package-db=/private/tmp/nix-build-network-3.2.7.0.drv-0/tmp.JP7AS7hQpN/package.conf.d --ghc-option=-j16 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --disable-split-sections --enable-library-stripping --enable-executable-stripping --ghc-option=-haddock --extra-lib-dirs=/nix/store/v9yshvmxaknfld5cqc3kcprw2223ybr3-ncurses-6.5/lib --extra-lib-dirs=/nix/store/69ys2jg6c6fj4p2nkzx2dh42f441fvqj-libffi-39/lib --extra-lib-dirs=/nix/store/n0ylp1hgvf6nq585inkfyhj65aymjpnx-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/saar71wn8sp9wl08j8jgw6f0xldafa6s-libiconv-109/lib --extra-include-dirs=/nix/store/74lxyff41a0pvig9sb8qw6ixljiqcm8k-libcxx-19.1.7-dev/include --extra-lib-dirs=/nix/store/2zhv56zmba25cpv648xsc3p1dnhdwn9v-libcxx-19.1.7/lib --extra-include-dirs=/nix/store/7lxwxpbsk5z3d89ljpcwb7j3hx3lpsvx-compiler-rt-libc-19.1.7-dev/include --extra-lib-dirs=/nix/store/87h0jpd8zmr8w7dh8gwja7bqy0lc48bw-compiler-rt-libc-19.1.7/lib --extra-include-dirs=/nix/store/556flm3rgcv8pxj2zr6cmpircxl70pgz-libiconv-109-dev/include --extra-lib-dirs=/nix/store/saar71wn8sp9wl08j8jgw6f0xldafa6s-libiconv-109/lib --extra-include-dirs=/nix/store/mpcb5dh54siwzyhlxfsgryqz49wk32xd-libresolv-83-dev/include --extra-lib-dirs=/nix/store/z4wsny068wch0fizpbbnb7889zz33wfd-libresolv-83/lib --extra-include-dirs=/nix/store/mg3yh8cl4x2zscgx4lxvrslvv4pldr7s-libsbuf-14.1.0-dev/include --extra-lib-dirs=/nix/store/3brvd366snrf37d8ilx80zd5jd0iqrz6-libsbuf-14.1.0/lib --extra-lib-dirs=/nix/store/ibr7z68apl2lp55axs7sa23z34hd60vz-libutil-72/lib --extra-include-dirs=/nix/store/agz95a91mbb81kmacjhizwkdb2y900sg-cups-headers-2.4.11/include
Using Parsec parser
Configuring network-3.2.7.0...
Flags chosen: devel=False
Dependency base >=4.9 && <5: using base-4.19.2.0
Dependency bytestring >=0.10: using bytestring-0.12.1.0
Dependency deepseq: using deepseq-1.5.1.0
Dependency directory: using directory-1.3.8.5
Dependency stm: using stm-2.5.3.1
Dependency HUnit: using HUnit-1.6.2.0
Dependency QuickCheck: using QuickCheck-2.14.3
Dependency base: using base-4.19.2.0
Dependency bytestring: using bytestring-0.12.1.0
Dependency directory: using directory-1.3.8.5
Dependency hspec >=2.6: using hspec-2.11.12
Dependency network: using network-3.2.7.0
Dependency temporary: using temporary-1.3
Source component graph:
component lib
component test:spec dependency lib
Configured component graph:
component network-3.2.7.0-1q1mqrL4LFV6WPAp2pYmHf
include base-4.19.2.0-9eea
include bytestring-0.12.1.0-a343
include deepseq-1.5.1.0-1475
include directory-1.3.8.5-50ca
include stm-2.5.3.1-d593
component network-3.2.7.0-9TwKhETdZBmBEKs4RSKlS2-spec
include HUnit-1.6.2.0-37Vm8Vhx9fv2XLDvwrBK8g
include QuickCheck-2.14.3-JoEv5qlKIkgBY3WEhnNsOa
include base-4.19.2.0-9eea
include bytestring-0.12.1.0-a343
include directory-1.3.8.5-50ca
include hspec-2.11.12-4qGe6hNF8b7B7JqjxpRp6A
include network-3.2.7.0-1q1mqrL4LFV6WPAp2pYmHf
include temporary-1.3-EG9t7Vz3w9P6nl7dOmn9xX
Linked component graph:
unit network-3.2.7.0-1q1mqrL4LFV6WPAp2pYmHf
include base-4.19.2.0-9eea
include bytestring-0.12.1.0-a343
include deepseq-1.5.1.0-1475
include directory-1.3.8.5-50ca
include stm-2.5.3.1-d593
Network.Socket=network-3.2.7.0-1q1mqrL4LFV6WPAp2pYmHf:Network.Socket,Network.Socket.Address=network-3.2.7.0-1q1mqrL4LFV6WPAp2pYmHf:Network.Socket.Address,Network.Socket.ByteString=network-3.2.7.0-1q1mqrL4LFV6WPAp2pYmHf:Network.Socket.ByteString,Network.Socket.ByteString.Lazy=network-3.2.7.0-1q1mqrL4LFV6WPAp2pYmHf:Network.Socket.ByteString.Lazy,Network.Socket.Internal=network-3.2.7.0-1q1mqrL4LFV6WPAp2pYmHf:Network.Socket.Internal
unit network-3.2.7.0-9TwKhETdZBmBEKs4RSKlS2-spec
include HUnit-1.6.2.0-37Vm8Vhx9fv2XLDvwrBK8g
include QuickCheck-2.14.3-JoEv5qlKIkgBY3WEhnNsOa
include base-4.19.2.0-9eea
include bytestring-0.12.1.0-a343
include directory-1.3.8.5-50ca
include hspec-2.11.12-4qGe6hNF8b7B7JqjxpRp6A
include network-3.2.7.0-1q1mqrL4LFV6WPAp2pYmHf
include temporary-1.3-EG9t7Vz3w9P6nl7dOmn9xX
Ready component graph:
definite network-3.2.7.0-1q1mqrL4LFV6WPAp2pYmHf
depends base-4.19.2.0-9eea
depends bytestring-0.12.1.0-a343
depends deepseq-1.5.1.0-1475
depends directory-1.3.8.5-50ca
depends stm-2.5.3.1-d593
definite network-3.2.7.0-9TwKhETdZBmBEKs4RSKlS2-spec
depends HUnit-1.6.2.0-37Vm8Vhx9fv2XLDvwrBK8g
depends QuickCheck-2.14.3-JoEv5qlKIkgBY3WEhnNsOa
depends base-4.19.2.0-9eea
depends bytestring-0.12.1.0-a343
depends directory-1.3.8.5-50ca
depends hspec-2.11.12-4qGe6hNF8b7B7JqjxpRp6A
depends network-3.2.7.0-1q1mqrL4LFV6WPAp2pYmHf
depends temporary-1.3-EG9t7Vz3w9P6nl7dOmn9xX
Using Cabal-3.10.3.0 compiled by ghc-9.8
Using compiler: ghc-9.8.4
Using install prefix:
/nix/store/k291882g6kxglrjhvcpbm55b6l7c2w0c-network-3.2.7.0
Executables installed in:
/nix/store/k291882g6kxglrjhvcpbm55b6l7c2w0c-network-3.2.7.0/bin
Libraries installed in:
/nix/store/k291882g6kxglrjhvcpbm55b6l7c2w0c-network-3.2.7.0/lib/ghc-9.8.4/lib/aarch64-osx-ghc-9.8.4/network-3.2.7.0-1q1mqrL4LFV6WPAp2pYmHf
Dynamic Libraries installed in:
/nix/store/k291882g6kxglrjhvcpbm55b6l7c2w0c-network-3.2.7.0/lib/ghc-9.8.4/lib/aarch64-osx-ghc-9.8.4
Private executables installed in:
/nix/store/k291882g6kxglrjhvcpbm55b6l7c2w0c-network-3.2.7.0/libexec/aarch64-osx-ghc-9.8.4/network-3.2.7.0
Data files installed in:
/nix/store/k291882g6kxglrjhvcpbm55b6l7c2w0c-network-3.2.7.0/share/aarch64-osx-ghc-9.8.4/network-3.2.7.0
Documentation installed in:
/nix/store/yv7k4hk5akmc0hl35a9pnhpak3vlq8hs-network-3.2.7.0-doc/share/doc/network-3.2.7.0
Configuration files installed in:
/nix/store/k291882g6kxglrjhvcpbm55b6l7c2w0c-network-3.2.7.0/etc
No alex found
Using ar found on system at:
/nix/store/1ci9jzmlgx5arpp2s85chg3xqp9wv7n7-cctools-binutils-darwin-wrapper-1010.6/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 19.1.7 given by user at:
/nix/store/zy6jflig1jb5j4w5897357azis4jqs9f-clang-wrapper-19.1.7/bin/clang
Using ghc version 9.8.4 found on system at:
/nix/store/8zay0s9aa86b2qnjj39rzjk6ih30xipb-ghc-9.8.4/bin/ghc
Using ghc-pkg version 9.8.4 found on system at:
/nix/store/8zay0s9aa86b2qnjj39rzjk6ih30xipb-ghc-9.8.4/bin/ghc-pkg-9.8.4
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.30.0 found on system at:
/nix/store/8zay0s9aa86b2qnjj39rzjk6ih30xipb-ghc-9.8.4/bin/haddock-ghc-9.8.4
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.69 found on system at:
/nix/store/8zay0s9aa86b2qnjj39rzjk6ih30xipb-ghc-9.8.4/bin/hpc-ghc-9.8.4
Using hsc2hs version 0.68.10 found on system at:
/nix/store/8zay0s9aa86b2qnjj39rzjk6ih30xipb-ghc-9.8.4/bin/hsc2hs-ghc-9.8.4
Using hscolour version 1.25 found on system at:
/nix/store/l4p1bl2mdga7xb5z4x97rzz1kznarpcf-hscolour-1.25/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/1ci9jzmlgx5arpp2s85chg3xqp9wv7n7-cctools-binutils-darwin-wrapper-1010.6/bin/ld
No pkg-config found
Using runghc version 9.8.4 found on system at:
/nix/store/8zay0s9aa86b2qnjj39rzjk6ih30xipb-ghc-9.8.4/bin/runghc-9.8.4
Using strip found on system at:
/nix/store/zy6jflig1jb5j4w5897357azis4jqs9f-clang-wrapper-19.1.7/bin/strip
Using tar found on system at:
/nix/store/ln3syba8dc6p1c9g25i1s5pga7sc7fab-gnutar-1.35/bin/tar
No uhc found
Running: /nix/store/qxypcx5jqvazb7c3qjginvv59l89s9ml-bash-5.2p37/bin/sh //private/tmp/nix-build-network-3.2.7.0.drv-0/network-3.2.7.0/configure '--with-compiler=ghc' '--prefix=/nix/store/k291882g6kxglrjhvcpbm55b6l7c2w0c-network-3.2.7.0' '--libdir=$prefix/lib/$compiler/lib' 'CC=/nix/store/zy6jflig1jb5j4w5897357azis4jqs9f-clang-wrapper-19.1.7/bin/clang'
configure: WARNING: unrecognized options: --with-compiler
checking build system type... aarch64-apple-darwin24.4.0
checking host system type... aarch64-apple-darwin24.4.0
checking for gcc... /nix/store/zy6jflig1jb5j4w5897357azis4jqs9f-clang-wrapper-19.1.7/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /nix/store/zy6jflig1jb5j4w5897357azis4jqs9f-clang-wrapper-19.1.7/bin/clang accepts -g... yes
checking for /nix/store/zy6jflig1jb5j4w5897357azis4jqs9f-clang-wrapper-19.1.7/bin/clang option to enable C11 features... none needed
checking for an ANSI C-conforming const... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for fcntl.h... yes
checking for sys/uio.h... yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for sys/un.h... yes
checking for arpa/inet.h... yes
checking for netdb.h... yes
checking for net/if.h... yes
checking for netioapi.h... no
checking for struct ucred... no
checking for gai_strerror... yes
checking for gethostent... yes
checking for accept4... no
checking for getpeereid... yes
checking for /nix/store/zy6jflig1jb5j4w5897357azis4jqs9f-clang-wrapper-19.1.7/bin/clang options needed to detect all undeclared functions... none needed
checking whether AI_ADDRCONFIG is declared... yes
checking whether AI_ALL is declared... yes
checking whether AI_NUMERICSERV is declared... yes
checking whether AI_V4MAPPED is declared... yes
checking whether IPV6_V6ONLY is declared... yes
checking whether IPPROTO_IP is declared... yes
checking whether IPPROTO_TCP is declared... yes
checking whether IPPROTO_IPV6 is declared... yes
checking whether SO_PEERCRED is declared... no
checking for struct msghdr.msg_control... yes
checking for struct msghdr.msg_accrights... no
checking for struct sockaddr.sa_len... yes
configure: creating ./network.buildinfo
configure: creating ./config.status
config.status: creating include/HsNetworkConfig.h
configure: WARNING: unrecognized options: --with-compiler
Reading parameters from dist/build/network.buildinfo
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Preprocessing library for network-3.2.7.0..
Building library for network-3.2.7.0..
[ 1 of 29] Compiling Network.Socket.Imports ( Network/Socket/Imports.hs, dist/build/Network/Socket/Imports.o, dist/build/Network/Socket/Imports.dyn_o )
[ 2 of 29] Compiling Network.Socket.If ( Network/Socket/If.hs, dist/build/Network/Socket/If.o, dist/build/Network/Socket/If.dyn_o )
[ 3 of 29] Compiling Network.Socket.Flag ( dist/build/Network/Socket/Flag.hs, dist/build/Network/Socket/Flag.o, dist/build/Network/Socket/Flag.dyn_o )
[ 4 of 29] Compiling Network.Socket.Cbits ( dist/build/Network/Socket/Cbits.hs, dist/build/Network/Socket/Cbits.o, dist/build/Network/Socket/Cbits.dyn_o )
[ 5 of 29] Compiling Network.Socket.Fcntl ( Network/Socket/Fcntl.hs, dist/build/Network/Socket/Fcntl.o, dist/build/Network/Socket/Fcntl.dyn_o )
[ 6 of 29] Compiling Network.Socket.Posix.IOVec ( dist/build/Network/Socket/Posix/IOVec.hs, dist/build/Network/Socket/Posix/IOVec.o, dist/build/Network/Socket/Posix/IOVec.dyn_o )
[ 7 of 29] Compiling Network.Socket.ReadShow ( Network/Socket/ReadShow.hs, dist/build/Network/Socket/ReadShow.o, dist/build/Network/Socket/ReadShow.dyn_o )
[ 8 of 29] Compiling Network.Socket.Types ( dist/build/Network/Socket/Types.hs, dist/build/Network/Socket/Types.o, dist/build/Network/Socket/Types.dyn_o )
[ 9 of 29] Compiling Network.Socket.STM ( Network/Socket/STM.hs, dist/build/Network/Socket/STM.o, dist/build/Network/Socket/STM.dyn_o )
[10 of 29] Compiling Network.Socket.Posix.Cmsg ( dist/build/Network/Socket/Posix/Cmsg.hs, dist/build/Network/Socket/Posix/Cmsg.o, dist/build/Network/Socket/Posix/Cmsg.dyn_o )
[11 of 29] Compiling Network.Socket.Internal ( Network/Socket/Internal.hs, dist/build/Network/Socket/Internal.o, dist/build/Network/Socket/Internal.dyn_o )
[12 of 29] Compiling Network.Socket.Posix.MsgHdr ( dist/build/Network/Socket/Posix/MsgHdr.hs, dist/build/Network/Socket/Posix/MsgHdr.o, dist/build/Network/Socket/Posix/MsgHdr.dyn_o )
[13 of 29] Compiling Network.Socket.Posix.CmsgHdr ( dist/build/Network/Socket/Posix/CmsgHdr.hs, dist/build/Network/Socket/Posix/CmsgHdr.o, dist/build/Network/Socket/Posix/CmsgHdr.dyn_o )
[14 of 29] Compiling Network.Socket.Options ( dist/build/Network/Socket/Options.hs, dist/build/Network/Socket/Options.o, dist/build/Network/Socket/Options.dyn_o )
[15 of 29] Compiling Network.Socket.Syscall ( Network/Socket/Syscall.hs, dist/build/Network/Socket/Syscall.o, dist/build/Network/Socket/Syscall.dyn_o )
[16 of 29] Compiling Network.Socket.Name ( Network/Socket/Name.hs, dist/build/Network/Socket/Name.o, dist/build/Network/Socket/Name.dyn_o )
[17 of 29] Compiling Network.Socket.Info ( dist/build/Network/Socket/Info.hs, dist/build/Network/Socket/Info.o, dist/build/Network/Socket/Info.dyn_o )
[18 of 29] Compiling Network.Socket.Handle ( Network/Socket/Handle.hs, dist/build/Network/Socket/Handle.o, dist/build/Network/Socket/Handle.dyn_o )
[19 of 29] Compiling Network.Socket.ByteString.Internal ( Network/Socket/ByteString/Internal.hs, dist/build/Network/Socket/ByteString/Internal.o, dist/build/Network/Socket/ByteString/Internal.dyn_o )
[20 of 29] Compiling Network.Socket.Buffer ( dist/build/Network/Socket/Buffer.hs, dist/build/Network/Socket/Buffer.o, dist/build/Network/Socket/Buffer.dyn_o )
[21 of 29] Compiling Network.Socket.SockAddr ( Network/Socket/SockAddr.hs, dist/build/Network/Socket/SockAddr.o, dist/build/Network/Socket/SockAddr.dyn_o )
[22 of 29] Compiling Network.Socket.Shutdown ( Network/Socket/Shutdown.hs, dist/build/Network/Socket/Shutdown.o, dist/build/Network/Socket/Shutdown.dyn_o )
[23 of 29] Compiling Network.Socket.ByteString.IO ( dist/build/Network/Socket/ByteString/IO.hs, dist/build/Network/Socket/ByteString/IO.o, dist/build/Network/Socket/ByteString/IO.dyn_o )
[24 of 29] Compiling Network.Socket.ByteString.Lazy.Posix ( Network/Socket/ByteString/Lazy/Posix.hs, dist/build/Network/Socket/ByteString/Lazy/Posix.o, dist/build/Network/Socket/ByteString/Lazy/Posix.dyn_o )
[25 of 29] Compiling Network.Socket.ByteString ( Network/Socket/ByteString.hs, dist/build/Network/Socket/ByteString.o, dist/build/Network/Socket/ByteString.dyn_o )
[26 of 29] Compiling Network.Socket.Address ( Network/Socket/Address.hs, dist/build/Network/Socket/Address.o, dist/build/Network/Socket/Address.dyn_o )
[27 of 29] Compiling Network.Socket.Unix ( dist/build/Network/Socket/Unix.hs, dist/build/Network/Socket/Unix.o, dist/build/Network/Socket/Unix.dyn_o )
[28 of 29] Compiling Network.Socket ( Network/Socket.hs, dist/build/Network/Socket.o, dist/build/Network/Socket.dyn_o )
[29 of 29] Compiling Network.Socket.ByteString.Lazy ( Network/Socket/ByteString/Lazy.hs, dist/build/Network/Socket/ByteString/Lazy.o, dist/build/Network/Socket/ByteString/Lazy.dyn_o )
[ 1 of 29] Compiling Network.Socket.Imports ( Network/Socket/Imports.hs, dist/build/Network/Socket/Imports.p_o )
[ 2 of 29] Compiling Network.Socket.If ( Network/Socket/If.hs, dist/build/Network/Socket/If.p_o )
[ 3 of 29] Compiling Network.Socket.Flag ( dist/build/Network/Socket/Flag.hs, dist/build/Network/Socket/Flag.p_o )
[ 4 of 29] Compiling Network.Socket.Cbits ( dist/build/Network/Socket/Cbits.hs, dist/build/Network/Socket/Cbits.p_o )
[ 5 of 29] Compiling Network.Socket.Fcntl ( Network/Socket/Fcntl.hs, dist/build/Network/Socket/Fcntl.p_o )
[ 6 of 29] Compiling Network.Socket.Posix.IOVec ( dist/build/Network/Socket/Posix/IOVec.hs, dist/build/Network/Socket/Posix/IOVec.p_o )
[ 7 of 29] Compiling Network.Socket.ReadShow ( Network/Socket/ReadShow.hs, dist/build/Network/Socket/ReadShow.p_o )
[ 8 of 29] Compiling Network.Socket.Types ( dist/build/Network/Socket/Types.hs, dist/build/Network/Socket/Types.p_o )
[ 9 of 29] Compiling Network.Socket.STM ( Network/Socket/STM.hs, dist/build/Network/Socket/STM.p_o )
[10 of 29] Compiling Network.Socket.Posix.Cmsg ( dist/build/Network/Socket/Posix/Cmsg.hs, dist/build/Network/Socket/Posix/Cmsg.p_o )
[11 of 29] Compiling Network.Socket.Internal ( Network/Socket/Internal.hs, dist/build/Network/Socket/Internal.p_o )
[12 of 29] Compiling Network.Socket.Posix.MsgHdr ( dist/build/Network/Socket/Posix/MsgHdr.hs, dist/build/Network/Socket/Posix/MsgHdr.p_o )
[13 of 29] Compiling Network.Socket.Posix.CmsgHdr ( dist/build/Network/Socket/Posix/CmsgHdr.hs, dist/build/Network/Socket/Posix/CmsgHdr.p_o )
[14 of 29] Compiling Network.Socket.Options ( dist/build/Network/Socket/Options.hs, dist/build/Network/Socket/Options.p_o )
[15 of 29] Compiling Network.Socket.Syscall ( Network/Socket/Syscall.hs, dist/build/Network/Socket/Syscall.p_o )
[16 of 29] Compiling Network.Socket.Name ( Network/Socket/Name.hs, dist/build/Network/Socket/Name.p_o )
[17 of 29] Compiling Network.Socket.Info ( dist/build/Network/Socket/Info.hs, dist/build/Network/Socket/Info.p_o )
[18 of 29] Compiling Network.Socket.Handle ( Network/Socket/Handle.hs, dist/build/Network/Socket/Handle.p_o )
[19 of 29] Compiling Network.Socket.ByteString.Internal ( Network/Socket/ByteString/Internal.hs, dist/build/Network/Socket/ByteString/Internal.p_o )
[20 of 29] Compiling Network.Socket.Buffer ( dist/build/Network/Socket/Buffer.hs, dist/build/Network/Socket/Buffer.p_o )
[21 of 29] Compiling Network.Socket.SockAddr ( Network/Socket/SockAddr.hs, dist/build/Network/Socket/SockAddr.p_o )
[22 of 29] Compiling Network.Socket.Shutdown ( Network/Socket/Shutdown.hs, dist/build/Network/Socket/Shutdown.p_o )
[23 of 29] Compiling Network.Socket.ByteString.IO ( dist/build/Network/Socket/ByteString/IO.hs, dist/build/Network/Socket/ByteString/IO.p_o )
[24 of 29] Compiling Network.Socket.ByteString.Lazy.Posix ( Network/Socket/ByteString/Lazy/Posix.hs, dist/build/Network/Socket/ByteString/Lazy/Posix.p_o )
[25 of 29] Compiling Network.Socket.ByteString ( Network/Socket/ByteString.hs, dist/build/Network/Socket/ByteString.p_o )
[26 of 29] Compiling Network.Socket.Address ( Network/Socket/Address.hs, dist/build/Network/Socket/Address.p_o )
[27 of 29] Compiling Network.Socket.Unix ( dist/build/Network/Socket/Unix.hs, dist/build/Network/Socket/Unix.p_o )
[28 of 29] Compiling Network.Socket ( Network/Socket.hs, dist/build/Network/Socket.p_o )
[29 of 29] Compiling Network.Socket.ByteString.Lazy ( Network/Socket/ByteString/Lazy.hs, dist/build/Network/Socket/ByteString/Lazy.p_o )
Preprocessing test suite 'spec' for network-3.2.7.0..
Building test suite 'spec' for network-3.2.7.0..
[1 of 5] Compiling Network.Test.Common ( tests/Network/Test/Common.hs, dist/build/spec/spec-tmp/Network/Test/Common.o )
[2 of 5] Compiling Network.SocketSpec ( tests/Network/SocketSpec.hs, dist/build/spec/spec-tmp/Network/SocketSpec.o )
[3 of 5] Compiling Network.Socket.ByteStringSpec ( tests/Network/Socket/ByteStringSpec.hs, dist/build/spec/spec-tmp/Network/Socket/ByteStringSpec.o )
[4 of 5] Compiling Network.Socket.ByteString.LazySpec ( tests/Network/Socket/ByteString/LazySpec.hs, dist/build/spec/spec-tmp/Network/Socket/ByteString/LazySpec.o )
[5 of 5] Compiling Main ( tests/Spec.hs, dist/build/spec/spec-tmp/Main.o )
[6 of 6] Linking dist/build/spec/spec
Running phase: checkPhase
@nix { "action": "setPhase", "phase": "checkPhase" }
Running 1 test suites...
Test suite spec: RUNNING...
Network.Socket
connect
fails to connect and throws an IOException [✔]
successfully connects to a socket with no exception [✘]
bind
successfully binds to an ipv4 socket [✘]
successfully binds to a unix socket [✔]
UserTimeout
can be set [✔]
getAddrInfo
works for IPv4 address [✔]
works for IPv6 address [✔]
does not cause segfault on macOS 10.8.2 due to AI_NUMERICSERV [✘]
ifNameToIndex and ifIndexToName
convert a name to an index and back [✔]
socket
should not be GCed while blocking [✘]
unix sockets
basic unix sockets end-to-end [✔]
socketPair
can send and recieve bi-directionally [✔]
sendFd/recvFd
can send and recieve a file descriptor [✔]
getPeerCredential
can return something [✔]
gracefulClose
does not send TCP RST back [✘]
socketToFd
socketToFd can send using fd [✘]
getNameInfo
works for IPv4 address [✔]
works for IPv6 address [✔]
works for IPv6 address [✔]
works for global multicast IPv6 address [✔]
show SocketAddr
works for IPv4 address [✔]
works for IPv6 address [✔]
works for IPv6 address with zeros [✔]
works for multicast IPv6 address with reserved scope [✔]
show Family
works for pattern synonyms [✔]
works for unsupported [✔]
works for positive values [✔]
works for negative values [✔]
show SocketType
works for pattern synonyms [✔]
works for unsupported [✔]
works for positive values [✔]
works for negative values [✔]
show SocketOptions
works for pattern synonyms [✔]
works for unsupported [✔]
works for positive values [✔]
works for negative values [✔]
show CmsgId
works for pattern synonyms [✔]
works for unsupported [✔]
works for positive values [✔]
works for negative values [✔]
bijective encodeCmsg-decodeCmsg roundtrip equality
holds for [Fd] [✔]
+++ OK, passed 100 tests.
bijective read-show roundtrip equality
holds for Family [✔]
+++ OK, passed 100 tests.
holds for SocketType [✔]
+++ OK, passed 100 tests.
holds for SocketOption [✔]
+++ OK, passed 100 tests.
holds for CmsgId [✔]
+++ OK, passed 100 tests.
Network.Socket.ByteString
send
works well [✘]
throws when closed [✘]
checks -1 correctly on Windows [✔]
sendAll
works well [✘]
throws when closed [✘]
sendTo
works well [✘]
throws when closed [✘]
sendAllTo
works well [✘]
throws when closed [✘]
sendMany
works well [✘]
throws when closed [✘]
sendManyTo
works well [✘]
throws when closed [✘]
recv
works well [✘]
throws when closed [✘]
can treat overflow [✘]
returns empty string at EOF [✘]
checks -1 correctly on Windows [✔]
recvFrom
works well [✘]
throws when closed [✘]
can treat overflow [✘]
returns empty string at EOF [✘]
sendMsg
works well [✘]
throws when closed [✘]
recvMsg
works well [✘]
receives truncated flag [✘]
peek [✘]
receives control messages for IPv4 [✘]
receives control messages for IPv6 [✘]
receives truncated control messages [✘]
Network.Socket.ByteString.Lazy
send
works well [✘]
throws when closed [✘]
sendAll
works well [✘]
throws when closed [✘]
getContents
works well [✘]
returns empty string at EOF [✘]
recv
works well [✘]
throws when closed [✘]
can treat overflow [✘]
returns empty string at EOF [✘]
Failures:
tests/Network/SocketSpec.hs:40:9:
1) Network.Socket.connect successfully connects to a socket with no exception
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket/connect/successfully connects to a socket with no exception/" --seed 285012144
tests/Network/SocketSpec.hs:50:9:
2) Network.Socket.bind successfully binds to an ipv4 socket
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket/bind/successfully binds to an ipv4 socket/" --seed 285012144
tests/Network/SocketSpec.hs:119:9:
3) Network.Socket.getAddrInfo does not cause segfault on macOS 10.8.2 due to AI_NUMERICSERV
uncaught exception: IOException of type NoSuchThing
Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_NUMERICSERV], addrFamily = AF_UNSPEC, addrSocketType = NoSocketType, addrProtocol = 0, addrAddress = 0.0.0.0:0, addrCanonName = Nothing}, host name: "localhost", service name: Nothing): does not exist (nodename nor servname provided, or not known)
To rerun use: --match "/Network.Socket/getAddrInfo/does not cause segfault on macOS 10.8.2 due to AI_NUMERICSERV/" --seed 285012144
tests/Network/SocketSpec.hs:146:9:
4) Network.Socket.socket should not be GCed while blocking
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket/socket/should not be GCed while blocking/" --seed 285012144
tests/Network/SocketSpec.hs:243:9:
5) Network.Socket.gracefulClose does not send TCP RST back
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket/gracefulClose/does not send TCP RST back/" --seed 285012144
tests/Network/SocketSpec.hs:256:9:
6) Network.Socket.socketToFd socketToFd can send using fd
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket/socketToFd/socketToFd can send using fd/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:25:9:
7) Network.Socket.ByteString.send works well
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/send/works well/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:30:9:
8) Network.Socket.ByteString.send throws when closed
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/send/throws when closed/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:42:9:
9) Network.Socket.ByteString.sendAll works well
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/sendAll/works well/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:47:9:
10) Network.Socket.ByteString.sendAll throws when closed
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/sendAll/throws when closed/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:55:9:
11) Network.Socket.ByteString.sendTo works well
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/sendTo/works well/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:60:9:
12) Network.Socket.ByteString.sendTo throws when closed
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/sendTo/throws when closed/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:68:9:
13) Network.Socket.ByteString.sendAllTo works well
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/sendAllTo/works well/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:73:9:
14) Network.Socket.ByteString.sendAllTo throws when closed
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/sendAllTo/throws when closed/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:81:9:
15) Network.Socket.ByteString.sendMany works well
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/sendMany/works well/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:89:9:
16) Network.Socket.ByteString.sendMany throws when closed
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/sendMany/throws when closed/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:100:9:
17) Network.Socket.ByteString.sendManyTo works well
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/sendManyTo/works well/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:108:9:
18) Network.Socket.ByteString.sendManyTo throws when closed
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/sendManyTo/throws when closed/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:119:9:
19) Network.Socket.ByteString.recv works well
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/recv/works well/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:124:9:
20) Network.Socket.ByteString.recv throws when closed
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/recv/throws when closed/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:131:9:
21) Network.Socket.ByteString.recv can treat overflow
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/recv/can treat overflow/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:140:9:
22) Network.Socket.ByteString.recv returns empty string at EOF
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/recv/returns empty string at EOF/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:150:9:
23) Network.Socket.ByteString.recvFrom works well
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/recvFrom/works well/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:159:9:
24) Network.Socket.ByteString.recvFrom throws when closed
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/recvFrom/throws when closed/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:168:9:
25) Network.Socket.ByteString.recvFrom can treat overflow
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/recvFrom/can treat overflow/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:177:9:
26) Network.Socket.ByteString.recvFrom returns empty string at EOF
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/recvFrom/returns empty string at EOF/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:185:9:
27) Network.Socket.ByteString.sendMsg works well
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/sendMsg/works well/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:193:9:
28) Network.Socket.ByteString.sendMsg throws when closed
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/sendMsg/throws when closed/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:204:9:
29) Network.Socket.ByteString.recvMsg works well
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/recvMsg/works well/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:215:9:
30) Network.Socket.ByteString.recvMsg receives truncated flag
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/recvMsg/receives truncated flag/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:224:9:
31) Network.Socket.ByteString.recvMsg peek
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/recvMsg/peek/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:235:9:
32) Network.Socket.ByteString.recvMsg receives control messages for IPv4
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/recvMsg/receives control messages for IPv4/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:268:9:
33) Network.Socket.ByteString.recvMsg receives control messages for IPv6
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/recvMsg/receives control messages for IPv6/" --seed 285012144
tests/Network/Socket/ByteStringSpec.hs:296:9:
34) Network.Socket.ByteString.recvMsg receives truncated control messages
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString/recvMsg/receives truncated control messages/" --seed 285012144
tests/Network/Socket/ByteString/LazySpec.hs:22:9:
35) Network.Socket.ByteString.Lazy.send works well
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString.Lazy/send/works well/" --seed 285012144
tests/Network/Socket/ByteString/LazySpec.hs:27:9:
36) Network.Socket.ByteString.Lazy.send throws when closed
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString.Lazy/send/throws when closed/" --seed 285012144
tests/Network/Socket/ByteString/LazySpec.hs:35:9:
37) Network.Socket.ByteString.Lazy.sendAll works well
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString.Lazy/sendAll/works well/" --seed 285012144
tests/Network/Socket/ByteString/LazySpec.hs:40:9:
38) Network.Socket.ByteString.Lazy.sendAll throws when closed
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString.Lazy/sendAll/throws when closed/" --seed 285012144
tests/Network/Socket/ByteString/LazySpec.hs:48:9:
39) Network.Socket.ByteString.Lazy.getContents works well
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString.Lazy/getContents/works well/" --seed 285012144
tests/Network/Socket/ByteString/LazySpec.hs:55:9:
40) Network.Socket.ByteString.Lazy.getContents returns empty string at EOF
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString.Lazy/getContents/returns empty string at EOF/" --seed 285012144
tests/Network/Socket/ByteString/LazySpec.hs:61:9:
41) Network.Socket.ByteString.Lazy.recv works well
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString.Lazy/recv/works well/" --seed 285012144
tests/Network/Socket/ByteString/LazySpec.hs:66:9:
42) Network.Socket.ByteString.Lazy.recv throws when closed
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString.Lazy/recv/throws when closed/" --seed 285012144
tests/Network/Socket/ByteString/LazySpec.hs:73:9:
43) Network.Socket.ByteString.Lazy.recv can treat overflow
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString.Lazy/recv/can treat overflow/" --seed 285012144
tests/Network/Socket/ByteString/LazySpec.hs:82:9:
44) Network.Socket.ByteString.Lazy.recv returns empty string at EOF
uncaught exception: IOException of type PermissionDenied
Network.Socket.bind: permission denied (Operation not permitted)
To rerun use: --match "/Network.Socket.ByteString.Lazy/recv/returns empty string at EOF/" --seed 285012144
Randomized with seed 285012144
Finished in 0.0205 seconds
85 examples, 44 failures
Test suite spec: FAIL
Test suite logged to: dist/test/network-3.2.7.0-spec.log
0 of 1 test suites (0 of 1 test cases) passed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment