Running phase: setupCompilerEnvironmentPhase setupCompilerEnvironmentPhase Build with /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4. Running phase: unpackPhase unpacking sources unpacking source archive /nix/store/zxsn4aa0v7f5q6fzx47d5q812cz3s1m9-hslua-packaging-2.2.1.tar.gz source root is hslua-packaging-2.2.1 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file hslua-packaging-2.2.1/test/test-hslua-packaging.hs Running phase: patchPhase patching sources Running phase: compileBuildDriverPhase compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.8zzc9ygRy5/setup-package.conf.d -j16 +RTS -A64M -RTS -threaded -rtsopts [1 of 1] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /build/tmp.8zzc9ygRy5/Main.o ) Linking Setup ... Running phase: configurePhase configuring configureFlags: --verbose --prefix=/nix/store/npbk7gmsasbzqd1yvk2n6fdbvzyjac8r-hslua-packaging-2.2.1 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/d0jl05gcrrlpdh6fcnd0wxlgbwxyw1nz-hslua-packaging-2.2.1-doc/share/doc/hslua-packaging-2.2.1 --with-gcc=gcc --package-db=/build/tmp.8zzc9ygRy5/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 Using Parsec parser Configuring hslua-packaging-2.2.1... Dependency base >=4.8 && <5: using base-4.16.3.0 Dependency containers >=0.5.9 && <0.7: using containers-0.6.5.1 Dependency hslua-core >=2.2.1 && <2.3: using hslua-core-2.2.1 Dependency hslua-marshalling >=2.2.1 && <2.3: using hslua-marshalling-2.2.1 Dependency hslua-objectorientation >=2.2.1 && <2.3: using hslua-objectorientation-2.2.1 Dependency mtl >=2.2 && <2.4: using mtl-2.2.2 Dependency text >=1.2 && <2.1: using text-1.2.5.0 Dependency base >=4.8 && <5: using base-4.16.3.0 Dependency bytestring: using bytestring-0.11.3.1 Dependency hslua-core >=2.2.1 && <2.3: using hslua-core-2.2.1 Dependency hslua-marshalling >=2.2.1 && <2.3: using hslua-marshalling-2.2.1 Dependency hslua-objectorientation >=2.2.1 && <2.3: using hslua-objectorientation-2.2.1 Dependency hslua-packaging: using hslua-packaging-2.2.1 Dependency mtl >=2.2 && <2.4: using mtl-2.2.2 Dependency tasty >=0.11: using tasty-1.4.3 Dependency tasty-hslua: using tasty-hslua-1.0.2 Dependency tasty-hunit >=0.9: using tasty-hunit-0.10.0.3 Dependency text >=1.2 && <2.1: using text-1.2.5.0 Source component graph: component lib component test:test-hslua-packaging dependency lib Configured component graph: component hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S include base-4.16.3.0 include containers-0.6.5.1 include hslua-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv include hslua-marshalling-2.2.1-WmXIKlG9O37m6xsm6hLT2 include hslua-objectorientation-2.2.1-7363BrW6yMSKgziq23xN50 include mtl-2.2.2 include text-1.2.5.0 component hslua-packaging-2.2.1-EBeHGaaMVHi8XeataK3dB1-test-hslua-packaging include base-4.16.3.0 include bytestring-0.11.3.1 include hslua-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv include hslua-marshalling-2.2.1-WmXIKlG9O37m6xsm6hLT2 include hslua-objectorientation-2.2.1-7363BrW6yMSKgziq23xN50 include hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S include mtl-2.2.2 include tasty-1.4.3-GWxUmleI5wP5a1FThg9FCC include tasty-hslua-1.0.2-GaQ8PSmKse69Y0KembbiJ5 include tasty-hunit-0.10.0.3-J6j1MKmS9LU1bOAnmOLIMX include text-1.2.5.0 Linked component graph: unit hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S include base-4.16.3.0 include containers-0.6.5.1 include hslua-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv include hslua-marshalling-2.2.1-WmXIKlG9O37m6xsm6hLT2 include hslua-objectorientation-2.2.1-7363BrW6yMSKgziq23xN50 include mtl-2.2.2 include text-1.2.5.0 HsLua.Packaging=hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S:HsLua.Packaging,HsLua.Packaging.Convenience=hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S:HsLua.Packaging.Convenience,HsLua.Packaging.Documentation=hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S:HsLua.Packaging.Documentation,HsLua.Packaging.Function=hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S:HsLua.Packaging.Function,HsLua.Packaging.Module=hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S:HsLua.Packaging.Module,HsLua.Packaging.Rendering=hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S:HsLua.Packaging.Rendering,HsLua.Packaging.Types=hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S:HsLua.Packaging.Types,HsLua.Packaging.UDType=hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S:HsLua.Packaging.UDType unit hslua-packaging-2.2.1-EBeHGaaMVHi8XeataK3dB1-test-hslua-packaging include base-4.16.3.0 include bytestring-0.11.3.1 include hslua-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv include hslua-marshalling-2.2.1-WmXIKlG9O37m6xsm6hLT2 include hslua-objectorientation-2.2.1-7363BrW6yMSKgziq23xN50 include hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S include mtl-2.2.2 include tasty-1.4.3-GWxUmleI5wP5a1FThg9FCC include tasty-hslua-1.0.2-GaQ8PSmKse69Y0KembbiJ5 include tasty-hunit-0.10.0.3-J6j1MKmS9LU1bOAnmOLIMX include text-1.2.5.0 Ready component graph: definite hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S depends base-4.16.3.0 depends containers-0.6.5.1 depends hslua-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv depends hslua-marshalling-2.2.1-WmXIKlG9O37m6xsm6hLT2 depends hslua-objectorientation-2.2.1-7363BrW6yMSKgziq23xN50 depends mtl-2.2.2 depends text-1.2.5.0 definite hslua-packaging-2.2.1-EBeHGaaMVHi8XeataK3dB1-test-hslua-packaging depends base-4.16.3.0 depends bytestring-0.11.3.1 depends hslua-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv depends hslua-marshalling-2.2.1-WmXIKlG9O37m6xsm6hLT2 depends hslua-objectorientation-2.2.1-7363BrW6yMSKgziq23xN50 depends hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S depends mtl-2.2.2 depends tasty-1.4.3-GWxUmleI5wP5a1FThg9FCC depends tasty-hslua-1.0.2-GaQ8PSmKse69Y0KembbiJ5 depends tasty-hunit-0.10.0.3-J6j1MKmS9LU1bOAnmOLIMX depends text-1.2.5.0 Using Cabal-3.6.3.0 compiled by ghc-9.2 Using compiler: ghc-9.2.4 Using install prefix: /nix/store/npbk7gmsasbzqd1yvk2n6fdbvzyjac8r-hslua-packaging-2.2.1 Executables installed in: /nix/store/npbk7gmsasbzqd1yvk2n6fdbvzyjac8r-hslua-packaging-2.2.1/bin Libraries installed in: /nix/store/npbk7gmsasbzqd1yvk2n6fdbvzyjac8r-hslua-packaging-2.2.1/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S Dynamic Libraries installed in: /nix/store/npbk7gmsasbzqd1yvk2n6fdbvzyjac8r-hslua-packaging-2.2.1/lib/ghc-9.2.4/i386-linux-ghc-9.2.4 Private executables installed in: /nix/store/npbk7gmsasbzqd1yvk2n6fdbvzyjac8r-hslua-packaging-2.2.1/libexec/i386-linux-ghc-9.2.4/hslua-packaging-2.2.1 Data files installed in: /nix/store/npbk7gmsasbzqd1yvk2n6fdbvzyjac8r-hslua-packaging-2.2.1/share/i386-linux-ghc-9.2.4/hslua-packaging-2.2.1 Documentation installed in: /nix/store/d0jl05gcrrlpdh6fcnd0wxlgbwxyw1nz-hslua-packaging-2.2.1-doc/share/doc/hslua-packaging-2.2.1 Configuration files installed in: /nix/store/npbk7gmsasbzqd1yvk2n6fdbvzyjac8r-hslua-packaging-2.2.1/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 hslua-packaging-2.2.1.. Building library for hslua-packaging-2.2.1.. [1 of 8] Compiling HsLua.Packaging.Types [2 of 8] Compiling HsLua.Packaging.Rendering [3 of 8] Compiling HsLua.Packaging.Documentation [4 of 8] Compiling HsLua.Packaging.Function [5 of 8] Compiling HsLua.Packaging.Module [6 of 8] Compiling HsLua.Packaging.Convenience [7 of 8] Compiling HsLua.Packaging.UDType [8 of 8] Compiling HsLua.Packaging [1 of 8] Compiling HsLua.Packaging.Types [2 of 8] Compiling HsLua.Packaging.Rendering [3 of 8] Compiling HsLua.Packaging.Documentation [4 of 8] Compiling HsLua.Packaging.Function [5 of 8] Compiling HsLua.Packaging.Module [6 of 8] Compiling HsLua.Packaging.Convenience [7 of 8] Compiling HsLua.Packaging.UDType [8 of 8] Compiling HsLua.Packaging Preprocessing test suite 'test-hslua-packaging' for hslua-packaging-2.2.1.. Building test suite 'test-hslua-packaging' for hslua-packaging-2.2.1.. [1 of 7] Compiling HsLua.Packaging.DocumentationTests [2 of 7] Compiling HsLua.Packaging.FunctionTests [3 of 7] Compiling HsLua.Packaging.ModuleTests [4 of 7] Compiling HsLua.Packaging.RenderingTests [5 of 7] Compiling HsLua.Packaging.UDTypeTests [6 of 7] Compiling HsLua.PackagingTests [7 of 7] Compiling Main Linking dist/build/test-hslua-packaging/test-hslua-packaging ... buildPhase completed in 1 minutes 24 seconds Running phase: checkPhase running tests Running 1 test suites... Test suite test-hslua-packaging: RUNNING... Packaging Packaging Call push Haskell function DocumentedFunction building: OK error message: OK use as C function push factorial: OK call factorial: OK use from Lua: OK with setting an optional param: OK with setting an optional param: OK documentation access pushDocumentedFunction pushes one value: OK getdocumentation: OK undocumented value: OK (0.01s) helpers parameter doc: OK optional parameter doc: OK functionResult doc: OK Module creation helpers create produces a table: OK module type register module: OK call module function: OK call module as function: OK access name in docs: OK first function name in docs: OK function doc is shared: OK first field name in docs: OK Rendering Function rendered docs: OK Module module docs: OK DocumentedType Foo type show: OK pairs iterates over properties: OK Sum type tostring Quux: OK show Quux: OK Documentation Function docs retrieves function docs: OK returns nil for undocumented function: OK All 29 tests passed (0.05s) Test suite test-hslua-packaging: PASS Test suite logged to: dist/test/hslua-packaging-2.2.1-test-hslua-packaging.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase haddockPhase Preprocessing library for hslua-packaging-2.2.1.. Running Haddock on library for hslua-packaging-2.2.1.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. 100% ( 11 / 11) in 'HsLua.Packaging.Types' 100% ( 5 / 5) in 'HsLua.Packaging.Rendering' 100% ( 8 / 8) in 'HsLua.Packaging.Documentation' 100% ( 38 / 38) in 'HsLua.Packaging.Function' 100% ( 9 / 9) in 'HsLua.Packaging.Module' 100% ( 11 / 11) in 'HsLua.Packaging.Convenience' 100% ( 20 / 20) in 'HsLua.Packaging.UDType' 100% ( 11 / 11) in 'HsLua.Packaging' Documentation created: dist/doc/html/hslua-packaging/index.html, dist/doc/html/hslua-packaging/hslua-packaging.txt Preprocessing test suite 'test-hslua-packaging' for hslua-packaging-2.2.1.. haddockPhase completed in 36 seconds Running phase: installPhase installing Installing library in /nix/store/npbk7gmsasbzqd1yvk2n6fdbvzyjac8r-hslua-packaging-2.2.1/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S Running phase: fixupPhase post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/npbk7gmsasbzqd1yvk2n6fdbvzyjac8r-hslua-packaging-2.2.1 shrinking /nix/store/npbk7gmsasbzqd1yvk2n6fdbvzyjac8r-hslua-packaging-2.2.1/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/libHShslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S-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/npbk7gmsasbzqd1yvk2n6fdbvzyjac8r-hslua-packaging-2.2.1/lib patching script interpreter paths in /nix/store/npbk7gmsasbzqd1yvk2n6fdbvzyjac8r-hslua-packaging-2.2.1 checking for references to /build/ in /nix/store/npbk7gmsasbzqd1yvk2n6fdbvzyjac8r-hslua-packaging-2.2.1... shrinking RPATHs of ELF executables and libraries in /nix/store/d0jl05gcrrlpdh6fcnd0wxlgbwxyw1nz-hslua-packaging-2.2.1-doc strip is /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip patching script interpreter paths in /nix/store/d0jl05gcrrlpdh6fcnd0wxlgbwxyw1nz-hslua-packaging-2.2.1-doc checking for references to /build/ in /nix/store/d0jl05gcrrlpdh6fcnd0wxlgbwxyw1nz-hslua-packaging-2.2.1-doc...