Running phase: setupCompilerEnvironmentPhase setupCompilerEnvironmentPhase Build with /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4. Running phase: unpackPhase unpacking sources unpacking source archive /nix/store/q4l4245lhii4pibq4c4vpxrg9aplh4hq-hslua-2.2.1.tar.gz source root is hslua-2.2.1 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file hslua-2.2.1/test/test-hslua.hs Running phase: patchPhase patching sources Running phase: compileBuildDriverPhase compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.0q8psMGgIr/setup-package.conf.d -j16 +RTS -A64M -RTS -threaded -rtsopts [1 of 1] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /build/tmp.0q8psMGgIr/Main.o ) Linking Setup ... Running phase: configurePhase configuring configureFlags: --verbose --prefix=/nix/store/7i83nfw2s6kmjn78gx9yfpd70xmwqccd-hslua-2.2.1 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/fajgzdnmq6snfiw8xj5dkrcfg1dz8nlf-hslua-2.2.1-doc/share/doc/hslua-2.2.1 --with-gcc=gcc --package-db=/build/tmp.0q8psMGgIr/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-2.2.1... Dependency base >=4.8 && <5: using base-4.16.3.0 Dependency bytestring >=0.10.2 && <0.12: using bytestring-0.11.3.1 Dependency containers >=0.5.9 && <0.7: using containers-0.6.5.1 Dependency exceptions >=0.8 && <0.11: using exceptions-0.10.4 Dependency hslua-aeson >=2.2 && <2.3: using hslua-aeson-2.2.1 Dependency hslua-classes >=2.2 && <2.3: using hslua-classes-2.2.0 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 >=2.2.1 && <2.3: using hslua-packaging-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 QuickCheck >=2.7: using QuickCheck-2.14.2 Dependency base >=4.8 && <5: using base-4.16.3.0 Dependency bytestring >=0.10.2 && <0.12: using bytestring-0.11.3.1 Dependency containers >=0.5.9 && <0.7: using containers-0.6.5.1 Dependency exceptions >=0.8 && <0.11: using exceptions-0.10.4 Dependency hslua: using hslua-2.2.1 Dependency hslua-aeson >=2.2 && <2.3: using hslua-aeson-2.2.1 Dependency hslua-classes >=2.2 && <2.3: using hslua-classes-2.2.0 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 >=2.2.1 && <2.3: using hslua-packaging-2.2.1 Dependency lua >=2.0: using lua-2.2.1 Dependency lua-arbitrary >=1.0: using lua-arbitrary-1.0.1 Dependency mtl >=2.2 && <2.4: using mtl-2.2.2 Dependency quickcheck-instances >=0.3: using quickcheck-instances-0.3.28 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 dependency lib Configured component graph: component hslua-2.2.1-C75fdctTxhrLOieIVIiMGl include base-4.16.3.0 include bytestring-0.11.3.1 include containers-0.6.5.1 include exceptions-0.10.4 include hslua-aeson-2.2.1-Je3tpeuv9p6J1itjj6XA7L include hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy 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 text-1.2.5.0 component hslua-2.2.1-39n6WndN44GIug0888BGiG-test-hslua include QuickCheck-2.14.2-GmIzHg8jhXyDhZvBXz41zC include base-4.16.3.0 include bytestring-0.11.3.1 include containers-0.6.5.1 include exceptions-0.10.4 include hslua-2.2.1-C75fdctTxhrLOieIVIiMGl include hslua-aeson-2.2.1-Je3tpeuv9p6J1itjj6XA7L include hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy 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 lua-2.2.1-IXypNPrwq99T1gaPe7BvD include lua-arbitrary-1.0.1-K6yw1xVFepALIAKFzk7Lqv include mtl-2.2.2 include quickcheck-instances-0.3.28-Fh0MjS4rhNIAUuNG7YiHng 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-2.2.1-C75fdctTxhrLOieIVIiMGl include base-4.16.3.0 include bytestring-0.11.3.1 include containers-0.6.5.1 include exceptions-0.10.4 include hslua-aeson-2.2.1-Je3tpeuv9p6J1itjj6XA7L include hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy 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 text-1.2.5.0 HsLua=hslua-2.2.1-C75fdctTxhrLOieIVIiMGl:HsLua,HsLua.Aeson=hslua-aeson-2.2.1-Je3tpeuv9p6J1itjj6XA7L:HsLua.Aeson,HsLua.Class.Exposable=hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy:HsLua.Class.Exposable,HsLua.Class.Invokable=hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy:HsLua.Class.Invokable,HsLua.Class.Peekable=hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy:HsLua.Class.Peekable,HsLua.Class.Pushable=hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy:HsLua.Class.Pushable,HsLua.Class.Util=hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy:HsLua.Class.Util,HsLua.Core=hslua-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv:HsLua.Core,HsLua.Core.Error=hslua-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv:HsLua.Core.Error,HsLua.Core.Types=hslua-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv:HsLua.Core.Types,HsLua.Core.Utf8=hslua-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv:HsLua.Core.Utf8,HsLua.Marshalling=hslua-marshalling-2.2.1-WmXIKlG9O37m6xsm6hLT2:HsLua.Marshalling,HsLua.ObjectOrientation=hslua-objectorientation-2.2.1-7363BrW6yMSKgziq23xN50:HsLua.ObjectOrientation,HsLua.Packaging=hslua-packaging-2.2.1-5gUGnZLZpVMIGDoMplLi0S:HsLua.Packaging,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.Util=hslua-2.2.1-C75fdctTxhrLOieIVIiMGl:HsLua.Util unit hslua-2.2.1-39n6WndN44GIug0888BGiG-test-hslua include QuickCheck-2.14.2-GmIzHg8jhXyDhZvBXz41zC include base-4.16.3.0 include bytestring-0.11.3.1 include containers-0.6.5.1 include exceptions-0.10.4 include hslua-2.2.1-C75fdctTxhrLOieIVIiMGl include hslua-aeson-2.2.1-Je3tpeuv9p6J1itjj6XA7L include hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy 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 lua-2.2.1-IXypNPrwq99T1gaPe7BvD include lua-arbitrary-1.0.1-K6yw1xVFepALIAKFzk7Lqv include mtl-2.2.2 include quickcheck-instances-0.3.28-Fh0MjS4rhNIAUuNG7YiHng 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-2.2.1-C75fdctTxhrLOieIVIiMGl depends base-4.16.3.0 depends bytestring-0.11.3.1 depends containers-0.6.5.1 depends exceptions-0.10.4 depends hslua-aeson-2.2.1-Je3tpeuv9p6J1itjj6XA7L depends hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy 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 text-1.2.5.0 definite hslua-2.2.1-39n6WndN44GIug0888BGiG-test-hslua depends QuickCheck-2.14.2-GmIzHg8jhXyDhZvBXz41zC depends base-4.16.3.0 depends bytestring-0.11.3.1 depends containers-0.6.5.1 depends exceptions-0.10.4 depends hslua-2.2.1-C75fdctTxhrLOieIVIiMGl depends hslua-aeson-2.2.1-Je3tpeuv9p6J1itjj6XA7L depends hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy 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 lua-2.2.1-IXypNPrwq99T1gaPe7BvD depends lua-arbitrary-1.0.1-K6yw1xVFepALIAKFzk7Lqv depends mtl-2.2.2 depends quickcheck-instances-0.3.28-Fh0MjS4rhNIAUuNG7YiHng 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/7i83nfw2s6kmjn78gx9yfpd70xmwqccd-hslua-2.2.1 Executables installed in: /nix/store/7i83nfw2s6kmjn78gx9yfpd70xmwqccd-hslua-2.2.1/bin Libraries installed in: /nix/store/7i83nfw2s6kmjn78gx9yfpd70xmwqccd-hslua-2.2.1/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/hslua-2.2.1-C75fdctTxhrLOieIVIiMGl Dynamic Libraries installed in: /nix/store/7i83nfw2s6kmjn78gx9yfpd70xmwqccd-hslua-2.2.1/lib/ghc-9.2.4/i386-linux-ghc-9.2.4 Private executables installed in: /nix/store/7i83nfw2s6kmjn78gx9yfpd70xmwqccd-hslua-2.2.1/libexec/i386-linux-ghc-9.2.4/hslua-2.2.1 Data files installed in: /nix/store/7i83nfw2s6kmjn78gx9yfpd70xmwqccd-hslua-2.2.1/share/i386-linux-ghc-9.2.4/hslua-2.2.1 Documentation installed in: /nix/store/fajgzdnmq6snfiw8xj5dkrcfg1dz8nlf-hslua-2.2.1-doc/share/doc/hslua-2.2.1 Configuration files installed in: /nix/store/7i83nfw2s6kmjn78gx9yfpd70xmwqccd-hslua-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-2.2.1.. Building library for hslua-2.2.1.. [1 of 2] Compiling HsLua.Util [2 of 2] Compiling HsLua [1 of 2] Compiling HsLua.Util [2 of 2] Compiling HsLua Preprocessing test suite 'test-hslua' for hslua-2.2.1.. Building test suite 'test-hslua' for hslua-2.2.1.. [1 of 3] Compiling HsLua.UtilTests [2 of 3] Compiling HsLuaTests [3 of 3] Compiling Main Linking dist/build/test-hslua/test-hslua ... Running phase: checkPhase running tests Running 1 test suites... Test suite test-hslua: RUNNING... hslua Util getglobbal' returns nil if global does not exist: OK returns global: OK can access nested fields: OK can access 3rd level fields: OK setglobbal' sets a global: OK can change nested values: OK can modify 3rd level fields: OK Lua integration tests print version: OK getting a nested global works: OK setting a nested global works: OK table reading: OK Getting strings to and from the stack unicode ByteString: OK ByteString should survive after GC/Lua destroyed: OK String with NUL byte should be pushed/popped correctly: OK luaopen_* functions openbase: OK opendebug: OK openio: OK openmath: OK openos: OK openpackage: OK openstring: OK opentable: OK error handling catching error of a failing meta method: OK calling a function that errors throws exception: OK error conversion throw custom exceptions: OK catch custom exception in exposed function: OK pass exception through Lua: OK All 27 tests passed (0.01s) Test suite test-hslua: PASS Test suite logged to: dist/test/hslua-2.2.1-test-hslua.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase haddockPhase Preprocessing library for hslua-2.2.1.. Running Haddock on library for hslua-2.2.1.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: attoparsec-0.14.4, attoparsec-0.14.4 Warning: --source-* options are ignored when --hyperlinked-source is enabled. 100% ( 3 / 3) in 'HsLua.Util' 100% ( 19 / 19) in 'HsLua' Documentation created: dist/doc/html/hslua/index.html, dist/doc/html/hslua/hslua.txt Preprocessing test suite 'test-hslua' for hslua-2.2.1.. Running phase: installPhase installing Installing library in /nix/store/7i83nfw2s6kmjn78gx9yfpd70xmwqccd-hslua-2.2.1/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/hslua-2.2.1-C75fdctTxhrLOieIVIiMGl Running phase: fixupPhase post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/7i83nfw2s6kmjn78gx9yfpd70xmwqccd-hslua-2.2.1 shrinking /nix/store/7i83nfw2s6kmjn78gx9yfpd70xmwqccd-hslua-2.2.1/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/libHShslua-2.2.1-C75fdctTxhrLOieIVIiMGl-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/7i83nfw2s6kmjn78gx9yfpd70xmwqccd-hslua-2.2.1/lib patching script interpreter paths in /nix/store/7i83nfw2s6kmjn78gx9yfpd70xmwqccd-hslua-2.2.1 checking for references to /build/ in /nix/store/7i83nfw2s6kmjn78gx9yfpd70xmwqccd-hslua-2.2.1... shrinking RPATHs of ELF executables and libraries in /nix/store/fajgzdnmq6snfiw8xj5dkrcfg1dz8nlf-hslua-2.2.1-doc strip is /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip patching script interpreter paths in /nix/store/fajgzdnmq6snfiw8xj5dkrcfg1dz8nlf-hslua-2.2.1-doc checking for references to /build/ in /nix/store/fajgzdnmq6snfiw8xj5dkrcfg1dz8nlf-hslua-2.2.1-doc...