Running phase: setupCompilerEnvironmentPhase setupCompilerEnvironmentPhase Build with /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4. Running phase: unpackPhase unpacking sources unpacking source archive /nix/store/lqb82r2yn82h77yyy0wrclgp60mb52x3-simple-sendfile-0.2.30.tar.gz source root is simple-sendfile-0.2.30 setting SOURCE_DATE_EPOCH to timestamp 1571917165 of file simple-sendfile-0.2.30/test/Spec.hs Running phase: patchPhase patching sources Running phase: compileBuildDriverPhase compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.jCVnZF6xDl/setup-package.conf.d -j16 +RTS -A64M -RTS -threaded -rtsopts [1 of 1] Compiling Main ( Setup.hs, /build/tmp.jCVnZF6xDl/Main.o ) Linking Setup ... Running phase: configurePhase configuring configureFlags: --verbose --prefix=/nix/store/2ax2b7b4aidi3cn34gvxm91fi8q05iz8-simple-sendfile-0.2.30 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/q73f9z8li9mmjkczja767barhprw3s0y-simple-sendfile-0.2.30-doc/share/doc/simple-sendfile-0.2.30 --with-gcc=gcc --package-db=/build/tmp.jCVnZF6xDl/package.conf.d --ghc-options=-j16 +RTS -A64M -RTS --disable-split-objs --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 --ghc-option=-split-sections --ghc-options=-haddock --extra-lib-dirs=/nix/store/qfbw9zmdlllswnx3vqkxgz6dzwhlv985-ncurses-6.3-p20220507/lib --extra-lib-dirs=/nix/store/gsycfmysih14pxphxsk5lvlh5sw6wn02-libffi-3.4.4/lib --extra-lib-dirs=/nix/store/kyxg6j5rirfygdqfqkrm1azg7dqdmhbh-gmp-with-cxx-6.2.1/lib --extra-lib-dirs=/nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/lib Using Parsec parser Configuring simple-sendfile-0.2.30... Flags chosen: allow-bsd=True Dependency base >=4.8 && <5: using base-4.16.3.0 Dependency bytestring: using bytestring-0.11.3.1 Dependency network: using network-3.1.2.7 Dependency unix: using unix-2.7.2.2 Dependency HUnit: using HUnit-1.6.2.0 Dependency base: using base-4.16.3.0 Dependency bytestring: using bytestring-0.11.3.1 Dependency conduit: using conduit-1.3.4.3 Dependency conduit-extra: using conduit-extra-1.3.6 Dependency directory: using directory-1.3.6.2 Dependency hspec >=1.3: using hspec-2.9.7 Dependency network: using network-3.1.2.7 Dependency process: using process-1.6.13.2 Dependency resourcet: using resourcet-1.2.6 Dependency simple-sendfile: using simple-sendfile-0.2.30 Dependency unix: using unix-2.7.2.2 Source component graph: component lib component test:spec dependency lib Configured component graph: component simple-sendfile-0.2.30-FcB0S0WPo3AExwWAnCNdGU include base-4.16.3.0 include bytestring-0.11.3.1 include network-3.1.2.7-AmVVGD5XBbk5vvu9NIEZsO include unix-2.7.2.2 component simple-sendfile-0.2.30-8W3HzvsR8GmAGtTKk7tD3m-spec include HUnit-1.6.2.0-1zpZ2XpSGLD8bpY95LGwLy include base-4.16.3.0 include bytestring-0.11.3.1 include conduit-1.3.4.3-6vnhVSBZvAs8R02KPfRF0V include conduit-extra-1.3.6-5eD8qFhe1eaEp0ThJXoyog include directory-1.3.6.2 include hspec-2.9.7-BMvEyb1CfahJCbZUcb2TVk include network-3.1.2.7-AmVVGD5XBbk5vvu9NIEZsO include process-1.6.13.2 include resourcet-1.2.6-HkrWN4WFfhBFcDpT4J9kBq include simple-sendfile-0.2.30-FcB0S0WPo3AExwWAnCNdGU include unix-2.7.2.2 Linked component graph: unit simple-sendfile-0.2.30-FcB0S0WPo3AExwWAnCNdGU include base-4.16.3.0 include bytestring-0.11.3.1 include network-3.1.2.7-AmVVGD5XBbk5vvu9NIEZsO include unix-2.7.2.2 Network.Sendfile=simple-sendfile-0.2.30-FcB0S0WPo3AExwWAnCNdGU:Network.Sendfile,System.Linux.Sendfile=simple-sendfile-0.2.30-FcB0S0WPo3AExwWAnCNdGU:System.Linux.Sendfile unit simple-sendfile-0.2.30-8W3HzvsR8GmAGtTKk7tD3m-spec include HUnit-1.6.2.0-1zpZ2XpSGLD8bpY95LGwLy include base-4.16.3.0 include bytestring-0.11.3.1 include conduit-1.3.4.3-6vnhVSBZvAs8R02KPfRF0V include conduit-extra-1.3.6-5eD8qFhe1eaEp0ThJXoyog include directory-1.3.6.2 include hspec-2.9.7-BMvEyb1CfahJCbZUcb2TVk include network-3.1.2.7-AmVVGD5XBbk5vvu9NIEZsO include process-1.6.13.2 include resourcet-1.2.6-HkrWN4WFfhBFcDpT4J9kBq include simple-sendfile-0.2.30-FcB0S0WPo3AExwWAnCNdGU include unix-2.7.2.2 Ready component graph: definite simple-sendfile-0.2.30-FcB0S0WPo3AExwWAnCNdGU depends base-4.16.3.0 depends bytestring-0.11.3.1 depends network-3.1.2.7-AmVVGD5XBbk5vvu9NIEZsO depends unix-2.7.2.2 definite simple-sendfile-0.2.30-8W3HzvsR8GmAGtTKk7tD3m-spec depends HUnit-1.6.2.0-1zpZ2XpSGLD8bpY95LGwLy depends base-4.16.3.0 depends bytestring-0.11.3.1 depends conduit-1.3.4.3-6vnhVSBZvAs8R02KPfRF0V depends conduit-extra-1.3.6-5eD8qFhe1eaEp0ThJXoyog depends directory-1.3.6.2 depends hspec-2.9.7-BMvEyb1CfahJCbZUcb2TVk depends network-3.1.2.7-AmVVGD5XBbk5vvu9NIEZsO depends process-1.6.13.2 depends resourcet-1.2.6-HkrWN4WFfhBFcDpT4J9kBq depends simple-sendfile-0.2.30-FcB0S0WPo3AExwWAnCNdGU depends unix-2.7.2.2 Using Cabal-3.6.3.0 compiled by ghc-9.2 Using compiler: ghc-9.2.4 Using install prefix: /nix/store/2ax2b7b4aidi3cn34gvxm91fi8q05iz8-simple-sendfile-0.2.30 Executables installed in: /nix/store/2ax2b7b4aidi3cn34gvxm91fi8q05iz8-simple-sendfile-0.2.30/bin Libraries installed in: /nix/store/2ax2b7b4aidi3cn34gvxm91fi8q05iz8-simple-sendfile-0.2.30/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/simple-sendfile-0.2.30-FcB0S0WPo3AExwWAnCNdGU Dynamic Libraries installed in: /nix/store/2ax2b7b4aidi3cn34gvxm91fi8q05iz8-simple-sendfile-0.2.30/lib/ghc-9.2.4/i386-linux-ghc-9.2.4 Private executables installed in: /nix/store/2ax2b7b4aidi3cn34gvxm91fi8q05iz8-simple-sendfile-0.2.30/libexec/i386-linux-ghc-9.2.4/simple-sendfile-0.2.30 Data files installed in: /nix/store/2ax2b7b4aidi3cn34gvxm91fi8q05iz8-simple-sendfile-0.2.30/share/i386-linux-ghc-9.2.4/simple-sendfile-0.2.30 Documentation installed in: /nix/store/q73f9z8li9mmjkczja767barhprw3s0y-simple-sendfile-0.2.30-doc/share/doc/simple-sendfile-0.2.30 Configuration files installed in: /nix/store/2ax2b7b4aidi3cn34gvxm91fi8q05iz8-simple-sendfile-0.2.30/etc No alex found Using ar found on system at: /nix/store/cz0xzc39p2qj26ml15v9bq5ckrmdmdf4-binutils-2.39/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 11.3.0 given by user at: /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/gcc Using ghc version 9.2.4 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/ghc Using ghc-pkg version 9.2.4 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/ghc-pkg-9.2.4 No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.26.0 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/haddock-ghc-9.2.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.68 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/hpc Using hsc2hs version 0.68.8 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/hsc2hs Using hscolour version 1.24 found on system at: /nix/store/85d2z1v7cbhi7zr0aj493mh85n4w6p60-hscolour-1.24.4/bin/HsColour No jhc found Using ld found on system at: /nix/store/ssc7jicqr32k3w9gbsczxl0fxxfvm60g-binutils-wrapper-2.39/bin/ld.gold No pkg-config found Using runghc version 9.2.4 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/runghc-9.2.4 Using strip version 2.39 found on system at: /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip Using tar found on system at: /nix/store/5rh47gjf5m2w51g3sxpyfxr1km61vd1f-gnutar-1.34/bin/tar No uhc found Running phase: buildPhase building Preprocessing library for simple-sendfile-0.2.30.. Building library for simple-sendfile-0.2.30.. [1 of 4] Compiling Network.Sendfile.Types ( Network/Sendfile/Types.hs, dist/build/Network/Sendfile/Types.o, dist/build/Network/Sendfile/Types.dyn_o ) [2 of 4] Compiling Network.Sendfile.Linux ( dist/build/Network/Sendfile/Linux.hs, dist/build/Network/Sendfile/Linux.o, dist/build/Network/Sendfile/Linux.dyn_o ) [3 of 4] Compiling Network.Sendfile ( Network/Sendfile.hs, dist/build/Network/Sendfile.o, dist/build/Network/Sendfile.dyn_o ) [4 of 4] Compiling System.Linux.Sendfile ( System/Linux/Sendfile.hs, dist/build/System/Linux/Sendfile.o, dist/build/System/Linux/Sendfile.dyn_o ) [1 of 4] Compiling Network.Sendfile.Types ( Network/Sendfile/Types.hs, dist/build/Network/Sendfile/Types.p_o ) [2 of 4] Compiling Network.Sendfile.Linux ( dist/build/Network/Sendfile/Linux.hs, dist/build/Network/Sendfile/Linux.p_o ) [3 of 4] Compiling Network.Sendfile ( Network/Sendfile.hs, dist/build/Network/Sendfile.p_o ) [4 of 4] Compiling System.Linux.Sendfile ( System/Linux/Sendfile.hs, dist/build/System/Linux/Sendfile.p_o ) Preprocessing test suite 'spec' for simple-sendfile-0.2.30.. Building test suite 'spec' for simple-sendfile-0.2.30.. [1 of 2] Compiling SendfileSpec ( test/SendfileSpec.hs, dist/build/spec/spec-tmp/SendfileSpec.o ) [2 of 2] Compiling Main ( test/Spec.hs, dist/build/spec/spec-tmp/Main.o ) Linking dist/build/spec/spec ... Running phase: checkPhase running tests Running 1 test suites... Test suite spec: RUNNING... Sendfile sendfile sends an entire file [✔] sends a part of file [✔] terminates even if length is over [✔] terminates even if offset is over [✔] terminates even if the file is truncated [✔] sendfileWithHeader sends an header and an entire file [✔] sends an header and a part of file [✔] sends a large header and an entire file [✔] sends a large header and a part of file [✔] terminates even if length is over [✔] terminates even if offset is over [✔] terminates even if the file is truncated [✔] Finished in 0.0749 seconds 12 examples, 0 failures Test suite spec: PASS Test suite logged to: dist/test/simple-sendfile-0.2.30-spec.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase haddockPhase Preprocessing library for simple-sendfile-0.2.30.. Running Haddock on library for simple-sendfile-0.2.30.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. Warning: 'sendfile' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 6 / 6) in 'Network.Sendfile' 75% ( 3 / 4) in 'System.Linux.Sendfile' Missing documentation for: Module header Documentation created: dist/doc/html/simple-sendfile/index.html, dist/doc/html/simple-sendfile/simple-sendfile.txt Preprocessing test suite 'spec' for simple-sendfile-0.2.30.. Running phase: installPhase installing Installing library in /nix/store/2ax2b7b4aidi3cn34gvxm91fi8q05iz8-simple-sendfile-0.2.30/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/simple-sendfile-0.2.30-FcB0S0WPo3AExwWAnCNdGU Running phase: fixupPhase post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/2ax2b7b4aidi3cn34gvxm91fi8q05iz8-simple-sendfile-0.2.30 shrinking /nix/store/2ax2b7b4aidi3cn34gvxm91fi8q05iz8-simple-sendfile-0.2.30/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/libHSsimple-sendfile-0.2.30-FcB0S0WPo3AExwWAnCNdGU-ghc9.2.4.so strip is /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip stripping (with command strip and flags -S) in /nix/store/2ax2b7b4aidi3cn34gvxm91fi8q05iz8-simple-sendfile-0.2.30/lib patching script interpreter paths in /nix/store/2ax2b7b4aidi3cn34gvxm91fi8q05iz8-simple-sendfile-0.2.30 checking for references to /build/ in /nix/store/2ax2b7b4aidi3cn34gvxm91fi8q05iz8-simple-sendfile-0.2.30... shrinking RPATHs of ELF executables and libraries in /nix/store/q73f9z8li9mmjkczja767barhprw3s0y-simple-sendfile-0.2.30-doc strip is /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip patching script interpreter paths in /nix/store/q73f9z8li9mmjkczja767barhprw3s0y-simple-sendfile-0.2.30-doc checking for references to /build/ in /nix/store/q73f9z8li9mmjkczja767barhprw3s0y-simple-sendfile-0.2.30-doc...