Running phase: setupCompilerEnvironmentPhase setupCompilerEnvironmentPhase Build with /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4. Running phase: unpackPhase unpacking sources unpacking source archive /nix/store/md2abn92f316qpr38dvy2lncly6mjnl5-hslua-classes-2.2.0.tar.gz source root is hslua-classes-2.2.0 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file hslua-classes-2.2.0/test/test-hslua-classes.hs Running phase: patchPhase patching sources Running phase: compileBuildDriverPhase compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.1pHmpTzeN8/setup-package.conf.d -j16 +RTS -A64M -RTS -threaded -rtsopts [1 of 1] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /build/tmp.1pHmpTzeN8/Main.o ) Linking Setup ... Running phase: configurePhase configuring configureFlags: --verbose --prefix=/nix/store/c1g2zzkz7rjmg64viipmir0qrjn87jsw-hslua-classes-2.2.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/hryvbx5pg99dw51kgd86b5q10199gm3x-hslua-classes-2.2.0-doc/share/doc/hslua-classes-2.2.0 --with-gcc=gcc --package-db=/build/tmp.1pHmpTzeN8/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-classes-2.2.0... 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-core >=2.1 && <2.3: using hslua-core-2.2.1 Dependency hslua-marshalling >=2.1 && <2.3: using hslua-marshalling-2.2.1 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-classes: using hslua-classes-2.2.0 Dependency hslua-core >=2.1 && <2.3: using hslua-core-2.2.1 Dependency hslua-marshalling >=2.1 && <2.3: using hslua-marshalling-2.2.1 Dependency lua-arbitrary >=1.0: using lua-arbitrary-1.0.1 Dependency quickcheck-instances >=0.3: using quickcheck-instances-0.3.28 Dependency tasty >=0.11: using tasty-1.4.3 Dependency tasty-hslua >=1.0: using tasty-hslua-1.0.2 Dependency tasty-hunit >=0.9: using tasty-hunit-0.10.0.3 Dependency tasty-quickcheck >=0.8: using tasty-quickcheck-0.10.2 Dependency text >=1.2 && <2.1: using text-1.2.5.0 Source component graph: component lib component test:test-hslua-classes dependency lib Configured component graph: component hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy 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-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv include hslua-marshalling-2.2.1-WmXIKlG9O37m6xsm6hLT2 include text-1.2.5.0 component hslua-classes-2.2.0-LkvnSihOZKZLNOjEbUAWaI-test-hslua-classes 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-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy include hslua-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv include hslua-marshalling-2.2.1-WmXIKlG9O37m6xsm6hLT2 include lua-arbitrary-1.0.1-K6yw1xVFepALIAKFzk7Lqv 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 tasty-quickcheck-0.10.2-5Swo0kq0Lcu2sDnWgsB8x9 include text-1.2.5.0 Linked component graph: unit hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy 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-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv include hslua-marshalling-2.2.1-WmXIKlG9O37m6xsm6hLT2 include text-1.2.5.0 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.Classes=hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy:HsLua.Classes unit hslua-classes-2.2.0-LkvnSihOZKZLNOjEbUAWaI-test-hslua-classes 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-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy include hslua-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv include hslua-marshalling-2.2.1-WmXIKlG9O37m6xsm6hLT2 include lua-arbitrary-1.0.1-K6yw1xVFepALIAKFzk7Lqv 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 tasty-quickcheck-0.10.2-5Swo0kq0Lcu2sDnWgsB8x9 include text-1.2.5.0 Ready component graph: definite hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy 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-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv depends hslua-marshalling-2.2.1-WmXIKlG9O37m6xsm6hLT2 depends text-1.2.5.0 definite hslua-classes-2.2.0-LkvnSihOZKZLNOjEbUAWaI-test-hslua-classes 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-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy depends hslua-core-2.2.1-Bk0kcaVk6GbGFn2IR0reQv depends hslua-marshalling-2.2.1-WmXIKlG9O37m6xsm6hLT2 depends lua-arbitrary-1.0.1-K6yw1xVFepALIAKFzk7Lqv 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 tasty-quickcheck-0.10.2-5Swo0kq0Lcu2sDnWgsB8x9 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/c1g2zzkz7rjmg64viipmir0qrjn87jsw-hslua-classes-2.2.0 Executables installed in: /nix/store/c1g2zzkz7rjmg64viipmir0qrjn87jsw-hslua-classes-2.2.0/bin Libraries installed in: /nix/store/c1g2zzkz7rjmg64viipmir0qrjn87jsw-hslua-classes-2.2.0/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy Dynamic Libraries installed in: /nix/store/c1g2zzkz7rjmg64viipmir0qrjn87jsw-hslua-classes-2.2.0/lib/ghc-9.2.4/i386-linux-ghc-9.2.4 Private executables installed in: /nix/store/c1g2zzkz7rjmg64viipmir0qrjn87jsw-hslua-classes-2.2.0/libexec/i386-linux-ghc-9.2.4/hslua-classes-2.2.0 Data files installed in: /nix/store/c1g2zzkz7rjmg64viipmir0qrjn87jsw-hslua-classes-2.2.0/share/i386-linux-ghc-9.2.4/hslua-classes-2.2.0 Documentation installed in: /nix/store/hryvbx5pg99dw51kgd86b5q10199gm3x-hslua-classes-2.2.0-doc/share/doc/hslua-classes-2.2.0 Configuration files installed in: /nix/store/c1g2zzkz7rjmg64viipmir0qrjn87jsw-hslua-classes-2.2.0/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-classes-2.2.0.. Building library for hslua-classes-2.2.0.. [1 of 6] Compiling HsLua.Class.Peekable [2 of 6] Compiling HsLua.Class.Pushable [3 of 6] Compiling HsLua.Class.Exposable [4 of 6] Compiling HsLua.Class.Util [5 of 6] Compiling HsLua.Class.Invokable [6 of 6] Compiling HsLua.Classes [1 of 6] Compiling HsLua.Class.Peekable [2 of 6] Compiling HsLua.Class.Pushable [3 of 6] Compiling HsLua.Class.Exposable [4 of 6] Compiling HsLua.Class.Util [5 of 6] Compiling HsLua.Class.Invokable [6 of 6] Compiling HsLua.Classes Preprocessing test suite 'test-hslua-classes' for hslua-classes-2.2.0.. Building test suite 'test-hslua-classes' for hslua-classes-2.2.0.. [1 of 7] Compiling HsLua.Class.ExposableTests [2 of 7] Compiling HsLua.Class.InvokableTests [3 of 7] Compiling HsLua.Class.PeekableTests [4 of 7] Compiling HsLua.Class.PushableTests [5 of 7] Compiling HsLua.Class.UtilTests [6 of 7] Compiling HsLua.ClassesTests [7 of 7] Compiling Main Linking dist/build/test-hslua-classes/test-hslua-classes ... buildPhase completed in 49 seconds Running phase: checkPhase running tests Running 1 test suites... Test suite test-hslua-classes: RUNNING... hslua-classes Exposable push Haskell function to Lua: OK push multi-argument Haskell function to Lua: OK argument type errors are propagated: OK Error in Haskell function is converted into Lua error: OK Invokable test equality within lua: OK failing lua function call: OK pack table via lua procedure: OK failing lua procedure call: OK Error when Lua-to-Haskell result conversion fails: OK Peekable Bool literal true is truthy: OK 0 as a non-nil value is truthy: OK nil is falsy: OK Lua.Integer integer can be peeked: OK Prelude.Integer small integer can be peeked: OK very large integer can be peeked: OK error handling error is thrown if boolean is given instead of stringy value: OK floating point numbers cannot be peeked as integer: OK booleans cannot be retrieved as numbers: OK list cannot be read if a peeking at list element fails: OK stack is unchanged if getting a list fails: OK stack is unchanged if getting key-value pairs fails: OK Pushable pushing simple values to the stack Boolean can be pushed correctly: OK Lua.Numbers can be pushed correctly: OK Lua.Integers can be pushed correctly: OK ByteStrings can be pushed correctly: OK Unit is pushed as nil: OK Pointer is pushed as light userdata: OK pushing a value increases stack size by one Lua.Integer: OK +++ OK, passed 100 tests. Lua.Number: OK +++ OK, passed 100 tests. ByteString: OK +++ OK, passed 100 tests. String: OK +++ OK, passed 100 tests. list of booleans: OK +++ OK, passed 100 tests. Utilities Optional return the value if it exists: OK Optional can deal with nil values: OK Optional can deal with nonexistent (none) values: OK raiseError causes a Lua error: OK runEither Lua errors are caught: OK error-less code gives 'Right': OK peekEither return right result on success: OK return error message on failure: OK popValue value is retrieved and popped: OK value is popped even on error: OK error messages equals that of peek: OK peek and push are well behaved Peek can act as left inverse of push round-tripping unit: OK +++ OK, passed 100 tests. booleans remain equal under push/peek: OK +++ OK, passed 100 tests. lua numbers (i.e., doubles) remain equal under push/peek: OK +++ OK, passed 100 tests. Lua integers remain equal under push/peek: OK +++ OK, passed 100 tests. bytestring remain equal under push/peek: OK +++ OK, passed 100 tests. Prelude.Integer: OK +++ OK, passed 100 tests. Float: OK +++ OK, passed 100 tests. Double: OK +++ OK, passed 100 tests. round-tripping strings: OK +++ OK, passed 100 tests. lists of boolean remain equal under push/peeks: OK +++ OK, passed 100 tests. lists of lua integers remain equal under push/peek: OK +++ OK, passed 100 tests. lists of bytestrings remain equal under push/peek: OK +++ OK, passed 100 tests. text: OK +++ OK, passed 100 tests. map of strings to Lua.Number: OK (0.08s) +++ OK, passed 100 tests. set of strings: OK +++ OK, passed 100 tests. tuples pair of Lua.Numbers: OK +++ OK, passed 100 tests. triple of Lua.Numbers: OK +++ OK, passed 100 tests. quadruple of Lua.Numbers: OK +++ OK, passed 100 tests. quintuple of Lua.Numbers: OK +++ OK, passed 100 tests. hextuple of Text, Lua.Numbers and Booleans: OK +++ OK, passed 100 tests. septuple of Text, Lua.Number and Booleans: OK +++ OK, passed 100 tests. octuple of Strings and Booleans: OK +++ OK, passed 100 tests. Random stack values can push/pop booleans: OK +++ OK, passed 100 tests. can push/pop lua integers: OK +++ OK, passed 100 tests. can push/pop lua numbers: OK +++ OK, passed 100 tests. can push/pop bytestrings: OK +++ OK, passed 100 tests. can push/pop lists of booleans: OK (0.02s) +++ OK, passed 100 tests. can push/pop lists of Lua.Integers: OK (0.02s) +++ OK, passed 100 tests. can push/pop lists of bytestrings: OK (0.06s) +++ OK, passed 100 tests. can push/pop set of bytestrings: OK (0.14s) +++ OK, passed 100 tests. All 73 tests passed (0.52s) Test suite test-hslua-classes: PASS Test suite logged to: dist/test/hslua-classes-2.2.0-test-hslua-classes.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase haddockPhase Preprocessing library for hslua-classes-2.2.0.. Running Haddock on library for hslua-classes-2.2.0.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. 100% ( 3 / 3) in 'HsLua.Class.Peekable' 100% ( 3 / 3) in 'HsLua.Class.Pushable' 100% ( 5 / 5) in 'HsLua.Class.Exposable' 100% ( 6 / 6) in 'HsLua.Class.Util' 100% ( 3 / 3) in 'HsLua.Class.Invokable' 100% ( 17 / 17) in 'HsLua.Classes' Documentation created: dist/doc/html/hslua-classes/index.html, dist/doc/html/hslua-classes/hslua-classes.txt Preprocessing test suite 'test-hslua-classes' for hslua-classes-2.2.0.. Running phase: installPhase installing Installing library in /nix/store/c1g2zzkz7rjmg64viipmir0qrjn87jsw-hslua-classes-2.2.0/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/hslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy Running phase: fixupPhase post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/c1g2zzkz7rjmg64viipmir0qrjn87jsw-hslua-classes-2.2.0 shrinking /nix/store/c1g2zzkz7rjmg64viipmir0qrjn87jsw-hslua-classes-2.2.0/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/libHShslua-classes-2.2.0-AtWlQXXHIWb4sC4iqXHLSy-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/c1g2zzkz7rjmg64viipmir0qrjn87jsw-hslua-classes-2.2.0/lib patching script interpreter paths in /nix/store/c1g2zzkz7rjmg64viipmir0qrjn87jsw-hslua-classes-2.2.0 checking for references to /build/ in /nix/store/c1g2zzkz7rjmg64viipmir0qrjn87jsw-hslua-classes-2.2.0... shrinking RPATHs of ELF executables and libraries in /nix/store/hryvbx5pg99dw51kgd86b5q10199gm3x-hslua-classes-2.2.0-doc strip is /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip patching script interpreter paths in /nix/store/hryvbx5pg99dw51kgd86b5q10199gm3x-hslua-classes-2.2.0-doc checking for references to /build/ in /nix/store/hryvbx5pg99dw51kgd86b5q10199gm3x-hslua-classes-2.2.0-doc...