* Package: dev-haskell/hslua-1.3.0.1 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking hslua-1.3.0.1.tar.gz to /var/tmp/portage/dev-haskell/hslua-1.3.0.1/work >>> Source unpacked in /var/tmp/portage/dev-haskell/hslua-1.3.0.1/work >>> Preparing source in /var/tmp/portage/dev-haskell/hslua-1.3.0.1/work/hslua-1.3.0.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/hslua-1.3.0.1/work/hslua-1.3.0.1 ... * Using cabal-3.2.1.0. * Prepending /usr/lib64/ghc-8.10.4 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-3.2.1.0 --make /var/tmp/portage/dev-haskell/hslua-1.3.0.1/work/hslua-1.3.0.1/Setup.hs -j4 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/hslua-1.3.0.1/work/hslua-1.3.0.1/Setup.hs, /var/tmp/portage/dev-haskell/hslua-1.3.0.1/work/hslua-1.3.0.1/Setup.o ) Linking setup ... ./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=hslua-1.3.0.1/ghc-8.10.4 --datadir=/usr/share/ --datasubdir=hslua-1.3.0.1/ghc-8.10.4 --enable-tests --ghc-options=-j4 +RTS -A256M -qb0 -RTS --with-ar=x86_64-pc-linux-gnu-ar --ghc-option=-optc-pipe --ghc-option=-optc-march=native --ghc-option=-optc-fno-diagnostics-color --ghc-option=-optc-O2 --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --ghc-option=-optl-Wl,--defsym=__gentoo_check_ldflags__=0 --disable-executable-stripping --docdir=/usr/share/doc/hslua-1.3.0.1 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping --flag=-allow-unsafe-gc --flag=-apicheck --flag=-export-dynamic --flags=-hardcode-reg-keys --flag=-lua501 --flag=-lua502 --flag=-lua_32bits --flag=-pkg-config --flag=-system-lua Using Parsec parser Configuring hslua-1.3.0.1... Flags chosen: allow-unsafe-gc=False, apicheck=False, export-dynamic=False, hardcode-reg-keys=False, lua_32bits=False, pkg-config=False, system-lua=False Dependency base >=4.8 && <5: using base-4.14.1.0 Dependency bytestring >=0.10.2 && <0.11: using bytestring-0.10.12.0 Dependency containers >=0.5 && <0.7: using containers-0.6.2.1 Dependency exceptions >=0.8 && <0.11: using exceptions-0.10.4 Dependency mtl ==2.2.*: using mtl-2.2.2 Dependency text >=1.0 && <1.3: using text-1.2.4.1 Dependency QuickCheck >=2.7: using QuickCheck-2.13.2 Dependency base >=4.8 && <5: using base-4.14.1.0 Dependency bytestring >=0.10.2 && <0.11: using bytestring-0.10.12.0 Dependency containers >=0.5.9 && <0.7: using containers-0.6.2.1 Dependency exceptions >=0.8 && <0.11: using exceptions-0.10.4 Dependency hslua -any: using hslua-1.3.0.1 Dependency mtl ==2.2.*: using mtl-2.2.2 Dependency quickcheck-instances >=0.3: using quickcheck-instances-0.3.22 Dependency tasty >=0.11: using tasty-1.2.3 Dependency tasty-hunit >=0.9: using tasty-hunit-0.10.0.2 Dependency tasty-quickcheck >=0.8: using tasty-quickcheck-0.10.1.1 Dependency text >=1.0 && <1.3: using text-1.2.4.1 Source component graph: component lib component test:test-hslua dependency lib Configured component graph: component hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV include base-4.14.1.0 include bytestring-0.10.12.0 include containers-0.6.2.1 include exceptions-0.10.4 include mtl-2.2.2 include text-1.2.4.1 component hslua-1.3.0.1-G221ekbUQpM5Fc1jsh9oQP-test-hslua include QuickCheck-2.13.2-IlWvwVWq2lIu9e5L4sfIO include base-4.14.1.0 include bytestring-0.10.12.0 include containers-0.6.2.1 include exceptions-0.10.4 include hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV include mtl-2.2.2 include quickcheck-instances-0.3.22-KzEHaDQpsECFCYDz2pe59i include tasty-1.2.3-JQsmvTiQwRO52kMU0nr1HJ include tasty-hunit-0.10.0.2-6jSwDw6J7TQJJ0F2m2GHW2 include tasty-quickcheck-0.10.1.1-EZwvjFWiX2DBGRNKwmA3yb include text-1.2.4.1 Linked component graph: unit hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV include base-4.14.1.0 include bytestring-0.10.12.0 include containers-0.6.2.1 include exceptions-0.10.4 include mtl-2.2.2 include text-1.2.4.1 Foreign.Lua=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua,Foreign.Lua.Call=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Call,Foreign.Lua.Core=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Core,Foreign.Lua.Core.Constants=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Core.Constants,Foreign.Lua.Core.Error=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Core.Error,Foreign.Lua.Core.RawBindings=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Core.RawBindings,Foreign.Lua.Core.Types=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Core.Types,Foreign.Lua.FunctionCalling=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.FunctionCalling,Foreign.Lua.Module=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Module,Foreign.Lua.Peek=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Peek,Foreign.Lua.Push=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Push,Foreign.Lua.Raw.Auxiliary=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Raw.Auxiliary,Foreign.Lua.Raw.Call=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Raw.Call,Foreign.Lua.Raw.Constants=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Raw.Constants,Foreign.Lua.Raw.Error=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Raw.Error,Foreign.Lua.Raw.Functions=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Raw.Functions,Foreign.Lua.Raw.Types=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Raw.Types,Foreign.Lua.Raw.Userdata=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Raw.Userdata,Foreign.Lua.Types=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Types,Foreign.Lua.Types.Peekable=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Types.Peekable,Foreign.Lua.Types.Pushable=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Types.Pushable,Foreign.Lua.Userdata=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Userdata,Foreign.Lua.Utf8=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Utf8,Foreign.Lua.Util=hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV:Foreign.Lua.Util unit hslua-1.3.0.1-G221ekbUQpM5Fc1jsh9oQP-test-hslua include QuickCheck-2.13.2-IlWvwVWq2lIu9e5L4sfIO include base-4.14.1.0 include bytestring-0.10.12.0 include containers-0.6.2.1 include exceptions-0.10.4 include hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV include mtl-2.2.2 include quickcheck-instances-0.3.22-KzEHaDQpsECFCYDz2pe59i include tasty-1.2.3-JQsmvTiQwRO52kMU0nr1HJ include tasty-hunit-0.10.0.2-6jSwDw6J7TQJJ0F2m2GHW2 include tasty-quickcheck-0.10.1.1-EZwvjFWiX2DBGRNKwmA3yb include text-1.2.4.1 Ready component graph: definite hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV depends base-4.14.1.0 depends bytestring-0.10.12.0 depends containers-0.6.2.1 depends exceptions-0.10.4 depends mtl-2.2.2 depends text-1.2.4.1 definite hslua-1.3.0.1-G221ekbUQpM5Fc1jsh9oQP-test-hslua depends QuickCheck-2.13.2-IlWvwVWq2lIu9e5L4sfIO depends base-4.14.1.0 depends bytestring-0.10.12.0 depends containers-0.6.2.1 depends exceptions-0.10.4 depends hslua-1.3.0.1-9qq2fqusgw14Be3MUzfHFV depends mtl-2.2.2 depends quickcheck-instances-0.3.22-KzEHaDQpsECFCYDz2pe59i depends tasty-1.2.3-JQsmvTiQwRO52kMU0nr1HJ depends tasty-hunit-0.10.0.2-6jSwDw6J7TQJJ0F2m2GHW2 depends tasty-quickcheck-0.10.1.1-EZwvjFWiX2DBGRNKwmA3yb depends text-1.2.4.1 Using Cabal-3.2.1.0 compiled by ghc-8.10 Using compiler: ghc-8.10.4 Using install prefix: /usr Executables installed in: /usr/bin Libraries installed in: /usr/lib64/hslua-1.3.0.1/ghc-8.10.4 Dynamic Libraries installed in: /usr/lib64/x86_64-linux-ghc-8.10.4 Private executables installed in: /usr/libexec/x86_64-linux-ghc-8.10.4/hslua-1.3.0.1 Data files installed in: /usr/share/hslua-1.3.0.1/ghc-8.10.4 Documentation installed in: /usr/share/doc/hslua-1.3.0.1 Configuration files installed in: /etc Using alex version 3.2.5 found on system at: /usr/bin/alex Using ar given by user at: /usr/bin/x86_64-pc-linux-gnu-ar Using c2hs version 0.28.8 found on system at: /usr/bin/c2hs No cpphs found Using doctest version 0.16.3 found on system at: /usr/bin/doctest Using gcc version 11.2.0 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc Using ghc version 8.10.4 given by user at: /usr/bin/ghc Using ghc-pkg version 8.10.4 given by user at: /usr/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.24.0 found on system at: /usr/bin/haddock-ghc-8.10.4 Using happy version 1.19.12 found on system at: /usr/bin/happy 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: /usr/bin/hpc Using hsc2hs version 0.68.7 found on system at: /usr/bin/hsc2hs No hscolour found No jhc found Using ld found on system at: /usr/bin/x86_64-pc-linux-gnu-ld Using pkg-config version 1.8.0 found on system at: /usr/bin/pkg-config Using runghc version 8.10.4 found on system at: /usr/bin/runghc Using strip version 2.35 found on system at: /usr/bin/strip Using tar found on system at: /bin/tar No uhc found >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-haskell/hslua-1.3.0.1/work/hslua-1.3.0.1 ... ./setup build Preprocessing library for hslua-1.3.0.1.. Building library for hslua-1.3.0.1.. [ 1 of 26] Compiling Foreign.Lua.Raw.Types [ 2 of 26] Compiling Foreign.Lua.Raw.Functions [ 3 of 26] Compiling Foreign.Lua.Core.RawBindings [ 4 of 26] Compiling Foreign.Lua.Raw.Constants [ 5 of 26] Compiling Foreign.Lua.Core.Constants [ 6 of 26] Compiling Foreign.Lua.Raw.Call [ 7 of 26] Compiling Foreign.Lua.Raw.Auxiliary [ 8 of 26] Compiling Foreign.Lua.Raw.Error [ 9 of 26] Compiling Foreign.Lua.Core.Types [10 of 26] Compiling Foreign.Lua.Raw.Userdata [11 of 26] Compiling Foreign.Lua.Utf8 [12 of 26] Compiling Foreign.Lua.Core.Error [13 of 26] Compiling Foreign.Lua.Core.Functions [14 of 26] Compiling Foreign.Lua.Core.Auxiliary [15 of 26] Compiling Foreign.Lua.Core [16 of 26] Compiling Foreign.Lua.Push [17 of 26] Compiling Foreign.Lua.Types.Pushable [18 of 26] Compiling Foreign.Lua.Peek [19 of 26] Compiling Foreign.Lua.Types.Peekable [20 of 26] Compiling Foreign.Lua.Userdata [21 of 26] Compiling Foreign.Lua.Types [22 of 26] Compiling Foreign.Lua.Call [23 of 26] Compiling Foreign.Lua.Util [24 of 26] Compiling Foreign.Lua.FunctionCalling [25 of 26] Compiling Foreign.Lua.Module [26 of 26] Compiling Foreign.Lua Preprocessing test suite 'test-hslua' for hslua-1.3.0.1.. Building test suite 'test-hslua' for hslua-1.3.0.1.. [ 1 of 17] Compiling Test.HsLua.Arbitrary [ 2 of 17] Compiling Foreign.Lua.TypesTests [ 3 of 17] Compiling Test.HsLua.Util [ 4 of 17] Compiling Foreign.LuaTests [ 5 of 17] Compiling Foreign.Lua.UtilTests [ 6 of 17] Compiling Foreign.Lua.UserdataTests [ 7 of 17] Compiling Foreign.Lua.Types.PushableTests [ 8 of 17] Compiling Foreign.Lua.Types.PeekableTests [ 9 of 17] Compiling Foreign.Lua.PushTests [10 of 17] Compiling Foreign.Lua.PeekTests [11 of 17] Compiling Foreign.Lua.ModuleTests [12 of 17] Compiling Foreign.Lua.FunctionCallingTests [13 of 17] Compiling Foreign.Lua.Core.ErrorTests [14 of 17] Compiling Foreign.Lua.Core.AuxiliaryTests [15 of 17] Compiling Foreign.Lua.CoreTests [16 of 17] Compiling Foreign.Lua.CallTests [17 of 17] Compiling Main Linking dist/build/test-hslua/test-hslua ... /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: type and size of dynamic symbol `hsluazm1zi3zi0zi1zm9qq2fqusgw14Be3MUzzfHFV_ForeignziLuaziCoreziTypes_top_closure' are not defined >>> Source compiled. >>> Test phase: dev-haskell/hslua-1.3.0.1 * >>> Test phase [cabal test]: dev-haskell/hslua-1.3.0.1 ./setup test --show-details=streaming Running 1 test suites... Test suite test-hslua: RUNNING... hslua Core module Error try catches errors: OK second alternative is used when first fails: OK Applicative.empty implementation throws an exception: OK Auxiliary getsubtable gets a subtable from field: OK creates new table at field if necessary: OK returns True if a table exists: OK returns False if field does not contain a table: OK getmetafield' gets field from the object's metatable: OK returns TypeNil if the object doesn't have a metatable: OK getmetatable' gets table created with newmetatable: OK returns nil if there is no such metatable: OK returns TypeTable if metatable exists: OK loadedTable: OK preloadTable: OK copy copies stack elements using positive indices: OK copies stack elements using negative indices: OK insert inserts stack elements using positive indices: OK inserts stack elements using negative indices: OK absindex: OK gettable gets a table value: OK rawlen gives the length of a list: OK Type checking isfunction: OK isnil: OK isnone: OK isnoneornil: OK CFunction handling: OK getting values tointeger tointeger returns numbers verbatim: OK tointeger accepts strings coercible to integers: OK tointeger returns Nothing when given a boolean: OK tonumber tonumber returns numbers verbatim: OK tonumber accepts strings as numbers: OK tonumber returns Nothing when given a boolean: OK tostring get a string: OK get a number as string: OK fail when looking at a boolean: OK setting and getting a global works: OK get functions (Lua to stack) unicode characters in field name are ok: OK can push and receive a thread: OK different threads are not equal in Haskell: OK thread status OK is base thread status: OK Yield is the thread status after yielding: OK miscellaneous functions pushglobaltable globals are fields in global table: OK auxiliary functions tostring' integers are converted in base10: OK a nil value is converted into the literal string 'nil': OK strings are returned verbatim: OK string for userdata shows the pointer value: OK string is also pushed to the stack: OK errors during metamethod execution are caught: OK ref and unref store nil value to registry: OK get referenced value from registry: OK references become invalid after unref: OK loading loadstring loading a valid string should succeed: OK loading an invalid string should give a syntax error: OK dostring loading a string which fails should give a run error: OK loading an invalid string should return a syntax error: OK loading a valid program should succeed: OK top of the stack should be result of last computation: OK loadbuffer loading a valid string should succeed: OK loading a string containing NUL should be correct: OK loadfile file error should be returned when file does not exist: OK loading an invalid file should give a syntax error: OK loading a valid program should succeed: OK example fib program should be loaded correctly: OK dofile file error should be returned when file does not exist: OK loading an invalid file should give a syntax error: OK loading a failing program should give an run error: OK loading a valid program should succeed: OK example fib program should be loaded correctly: OK pcall raising an error should lead to an error status: OK raising an error in the error handler should give a 'double error': OK garbage collection: OK compare identifies strictly smaller values: OK +++ OK, passed 100 tests. identifies smaller or equal values: OK +++ OK, passed 100 tests. identifies equal values: OK +++ OK, passed 100 tests. lessthan works: OK +++ OK, passed 100 tests. order of Lua types is consistent: OK +++ OK, passed 100 tests. boolean values are correct: OK functions can throw a table as error message: OK handling table errors won't leak: OK Push pushBool True: OK False: OK pushes single element: OK +++ OK, passed 100 tests. pushIntegral @Int 0: OK 23: OK -5: OK pushes single element: OK +++ OK, passed 100 tests. @Integer 2^128 + 1: OK -2^129 + 1: OK pushes single element: OK +++ OK, passed 100 tests. pushRealFloat @Number 0.0: OK 42.0: OK 0.1: OK -13.37: OK pushes single element: OK +++ OK, passed 100 tests. @Float pushes strings 0.0: OK 42.0: OK -0.00071: OK -13.37: OK pushes single element: OK +++ OK, passed 100 tests. Strings pushByteString "test": OK pushes single element: OK +++ OK, passed 100 tests. pushString "test": OK unicode: OK pushes single element: OK +++ OK, passed 100 tests. pushText "test": OK unicode: OK pushes single element: OK +++ OK, passed 100 tests. Collections pushList creates a table: OK +++ OK, passed 100 tests. numeric indices start at 1: OK +++ OK, passed 100 tests. table size equals list length: OK (0.08s) +++ OK, passed 100 tests. pushes single element: OK (0.08s) +++ OK, passed 100 tests. pushSet creates a table: OK (0.07s) +++ OK, passed 100 tests. set values become table keys: OK +++ OK, passed 100 tests. pushes single element: OK (0.08s) +++ OK, passed 100 tests. pushMap creates a table: OK (0.17s) +++ OK, passed 100 tests. pairs are in table: OK (0.08s) +++ OK, passed 100 tests. pushes single element: OK (0.08s) +++ OK, passed 100 tests. FunctionCalling call haskell functions from lua push haskell function to lua: OK push multi-argument haskell function to lua: OK argument type errors are propagated: OK Haskell functions are converted to C functions: OK Error in Haskell function is converted into Lua error: OK call lua function from haskell 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 function garbage collection: OK 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 Sending and receiving values from the stack 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.10s) +++ OK, passed 100 tests. set of strings: OK (0.01s) +++ 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.22s) +++ OK, passed 100 tests. can push/pop lists of Lua.Integers: OK (0.17s) +++ OK, passed 100 tests. can push/pop lists of bytestrings: OK (0.28s) +++ OK, passed 100 tests. can push/pop set of bytestrings: OK (0.26s) +++ OK, passed 100 tests. 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 peekKeyValuePairs `next` is not confused when peeking at number keys as strings: OK peek string pairs: OK stack is left unchanged: 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. Userdata metatableName Dummy: OK Word64: OK pushAny metatable is named Dummy: OK userdata is named Dummy: OK toAny get back pushed value: OK fail on boolean: OK fail on wrong userdata: OK Peekable & Pushable push and peek: OK roundtrip roundtrip dummy: OK Module requirehs pushes module to stack: OK module can be loaded with `require`: OK preloadhs does not modify the stack: OK module can be loaded with `require`: OK creation helpers create produces a table: OK addfield modifies table: OK addfunction modifies table: OK module type register module: OK call module function: OK documentation module docs: OK Call push Haskell function HaskellFunction 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 rendered docs: OK helpers parameter doc: OK optionalParameter doc: OK functionResult doc: 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 C functions Registering a C function and calling it from Lua: test-hslua: SignalException 11 Test suite test-hslua: FAIL Test suite logged to: dist/test/hslua-1.3.0.1-test-hslua.log 0 of 1 test suites (0 of 1 test cases) passed. * ERROR: dev-haskell/hslua-1.3.0.1::gentoo failed (test phase): * cabal test failed * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 1852: Called haskell-cabal_src_test * environment, line 1521: Called die * The specific snippet of code: * ./setup "$@" || die "cabal test failed"; * * If you need support, post the output of `emerge --info '=dev-haskell/hslua-1.3.0.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/hslua-1.3.0.1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:hslua-1.3.0.1:20210818-152014.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/hslua-1.3.0.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/hslua-1.3.0.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/hslua-1.3.0.1/work/hslua-1.3.0.1' * S: '/var/tmp/portage/dev-haskell/hslua-1.3.0.1/work/hslua-1.3.0.1'