Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save superherointj/11db537fdb022ff09605846437dfa992 to your computer and use it in GitHub Desktop.
Save superherointj/11db537fdb022ff09605846437dfa992 to your computer and use it in GitHub Desktop.
Nixpkgs: pkgsMusl.haskellPackages.hslua-core-error.logs
@nix { "action": "setPhase", "phase": "setupCompilerEnvironmentPhase" }
setupCompilerEnvironmentPhase
Build with /nix/store/9r7bc14hgibzjdx42h60jxafdzn3rzy1-ghc-musl-9.2.4.
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/4629ivi24r0jfzszynwcb6yw2lsz656c-hslua-core-2.2.1.tar.gz
source root is hslua-core-2.2.1
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file hslua-core-2.2.1/test/test-hslua-core.hs
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "compileBuildDriverPhase" }
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/tmp.K0wOUFfBXO/setup-package.conf.d -j16 +RTS -A64M -RTS -threaded -rtsopts
[1 of 1] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /build/tmp.K0wOUFfBXO/Main.o )
Linking Setup ...
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
configureFlags: --verbose --prefix=/nix/store/b1fmdwf7psf9fyq785yya328sn4ib9br-hslua-core-2.2.1 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/mjys4mis0vm6ssvj769nw2f3v8w3jx6c-hslua-core-2.2.1-doc/share/doc/hslua-core-2.2.1 --with-gcc=gcc --package-db=/build/tmp.K0wOUFfBXO/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/iyrw93vd69r6mv2a55rsv1b86fk324y6-ncurses-6.4/lib --extra-lib-dirs=/nix/store/j2gsxcw6y9cdd5nrz671wxr61xia7rr2-libffi-3.4.4/lib --extra-lib-dirs=/nix/store/g150x6qypwlrcd7sydnvj7wskf3dmnbk-gmp-with-cxx-6.2.1/lib --extra-include-dirs=/nix/store/j9b2cclizl6yb1mzkn1bdgz10xmvy5i0-musl-iconv-1.2.3/include
Using Parsec parser
Configuring hslua-core-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 exceptions >=0.8 && <0.11: using exceptions-0.10.4
Dependency lua >=2.2.1 && <2.3: using lua-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 exceptions >=0.8 && <0.11: using exceptions-0.10.4
Dependency hslua-core: using hslua-core-2.2.1
Dependency lua >=2.2.1 && <2.3: 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-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-core dependency lib
Configured component graph:
component hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5
include base-4.16.3.0
include bytestring-0.11.3.1
include exceptions-0.10.4
include lua-2.2.1-Fmm778T533aCEgiOpWwyC4
include mtl-2.2.2
include text-1.2.5.0
component hslua-core-2.2.1-9IOKoGSqbyYBVyhBIXtN51-test-hslua-core
include QuickCheck-2.14.2-GmIzHg8jhXyDhZvBXz41zC
include base-4.16.3.0
include bytestring-0.11.3.1
include exceptions-0.10.4
include hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5
include lua-2.2.1-Fmm778T533aCEgiOpWwyC4
include lua-arbitrary-1.0.1-CuOf0qXKMY37hesEeQLDJm
include mtl-2.2.2
include quickcheck-instances-0.3.28-5OG3Qh8bgEJ6hxD1S2oJw
include tasty-1.4.3-2rpySvBn3elDvMaogcjtUR
include tasty-hunit-0.10.0.3-BA9Dg64ujOjHrKq3kYOvGI
include tasty-quickcheck-0.10.2-3DWKg9R0LFz4iHrj69FcD9
include text-1.2.5.0
Linked component graph:
unit hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5
include base-4.16.3.0
include bytestring-0.11.3.1
include exceptions-0.10.4
include lua-2.2.1-Fmm778T533aCEgiOpWwyC4
include mtl-2.2.2
include text-1.2.5.0
HsLua.Core=hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5:HsLua.Core,HsLua.Core.Closures=hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5:HsLua.Core.Closures,HsLua.Core.Error=hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5:HsLua.Core.Error,HsLua.Core.Package=hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5:HsLua.Core.Package,HsLua.Core.Run=hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5:HsLua.Core.Run,HsLua.Core.Trace=hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5:HsLua.Core.Trace,HsLua.Core.Types=hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5:HsLua.Core.Types,HsLua.Core.Unsafe=hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5:HsLua.Core.Unsafe,HsLua.Core.Userdata=hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5:HsLua.Core.Userdata,HsLua.Core.Utf8=hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5:HsLua.Core.Utf8,Lua=lua-2.2.1-Fmm778T533aCEgiOpWwyC4:Lua
unit hslua-core-2.2.1-9IOKoGSqbyYBVyhBIXtN51-test-hslua-core
include QuickCheck-2.14.2-GmIzHg8jhXyDhZvBXz41zC
include base-4.16.3.0
include bytestring-0.11.3.1
include exceptions-0.10.4
include hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5
include lua-2.2.1-Fmm778T533aCEgiOpWwyC4
include lua-arbitrary-1.0.1-CuOf0qXKMY37hesEeQLDJm
include mtl-2.2.2
include quickcheck-instances-0.3.28-5OG3Qh8bgEJ6hxD1S2oJw
include tasty-1.4.3-2rpySvBn3elDvMaogcjtUR
include tasty-hunit-0.10.0.3-BA9Dg64ujOjHrKq3kYOvGI
include tasty-quickcheck-0.10.2-3DWKg9R0LFz4iHrj69FcD9
include text-1.2.5.0
Ready component graph:
definite hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5
depends base-4.16.3.0
depends bytestring-0.11.3.1
depends exceptions-0.10.4
depends lua-2.2.1-Fmm778T533aCEgiOpWwyC4
depends mtl-2.2.2
depends text-1.2.5.0
definite hslua-core-2.2.1-9IOKoGSqbyYBVyhBIXtN51-test-hslua-core
depends QuickCheck-2.14.2-GmIzHg8jhXyDhZvBXz41zC
depends base-4.16.3.0
depends bytestring-0.11.3.1
depends exceptions-0.10.4
depends hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5
depends lua-2.2.1-Fmm778T533aCEgiOpWwyC4
depends lua-arbitrary-1.0.1-CuOf0qXKMY37hesEeQLDJm
depends mtl-2.2.2
depends quickcheck-instances-0.3.28-5OG3Qh8bgEJ6hxD1S2oJw
depends tasty-1.4.3-2rpySvBn3elDvMaogcjtUR
depends tasty-hunit-0.10.0.3-BA9Dg64ujOjHrKq3kYOvGI
depends tasty-quickcheck-0.10.2-3DWKg9R0LFz4iHrj69FcD9
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/b1fmdwf7psf9fyq785yya328sn4ib9br-hslua-core-2.2.1
Executables installed in:
/nix/store/b1fmdwf7psf9fyq785yya328sn4ib9br-hslua-core-2.2.1/bin
Libraries installed in:
/nix/store/b1fmdwf7psf9fyq785yya328sn4ib9br-hslua-core-2.2.1/lib/ghc-9.2.4/x86_64-linux-ghc-9.2.4/hslua-core-2.2.1-5BXaiNKcgTPF4DIllv09x5
Dynamic Libraries installed in:
/nix/store/b1fmdwf7psf9fyq785yya328sn4ib9br-hslua-core-2.2.1/lib/ghc-9.2.4/x86_64-linux-ghc-9.2.4
Private executables installed in:
/nix/store/b1fmdwf7psf9fyq785yya328sn4ib9br-hslua-core-2.2.1/libexec/x86_64-linux-ghc-9.2.4/hslua-core-2.2.1
Data files installed in:
/nix/store/b1fmdwf7psf9fyq785yya328sn4ib9br-hslua-core-2.2.1/share/x86_64-linux-ghc-9.2.4/hslua-core-2.2.1
Documentation installed in:
/nix/store/mjys4mis0vm6ssvj769nw2f3v8w3jx6c-hslua-core-2.2.1-doc/share/doc/hslua-core-2.2.1
Configuration files installed in:
/nix/store/b1fmdwf7psf9fyq785yya328sn4ib9br-hslua-core-2.2.1/etc
No alex found
Using ar found on system at:
/nix/store/lnla8d7kgs89wbdvprnmwyaz4ykjbhyz-binutils-2.40/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 12.2.0 given by user at:
/nix/store/gffi83wy5z5q526kp00z02hxm658nsy3-gcc-wrapper-12.2.0/bin/gcc
Using ghc version 9.2.4 found on system at:
/nix/store/9r7bc14hgibzjdx42h60jxafdzn3rzy1-ghc-musl-9.2.4/bin/ghc
Using ghc-pkg version 9.2.4 found on system at:
/nix/store/9r7bc14hgibzjdx42h60jxafdzn3rzy1-ghc-musl-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/9r7bc14hgibzjdx42h60jxafdzn3rzy1-ghc-musl-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/9r7bc14hgibzjdx42h60jxafdzn3rzy1-ghc-musl-9.2.4/bin/hpc
Using hsc2hs version 0.68.8 found on system at:
/nix/store/9r7bc14hgibzjdx42h60jxafdzn3rzy1-ghc-musl-9.2.4/bin/hsc2hs
Using hscolour version 1.24 found on system at:
/nix/store/h23p65p34x94p8jlp7nrpvkhp5p3ylv7-hscolour-1.24.4/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/1yc21fdazzis73l52xlrx2b1rdsx0d26-binutils-wrapper-2.40/bin/ld
No pkg-config found
Using runghc version 9.2.4 found on system at:
/nix/store/9r7bc14hgibzjdx42h60jxafdzn3rzy1-ghc-musl-9.2.4/bin/runghc-9.2.4
Using strip version 2.40 found on system at:
/nix/store/gffi83wy5z5q526kp00z02hxm658nsy3-gcc-wrapper-12.2.0/bin/strip
Using tar found on system at:
/nix/store/7h8kfyz1632d6gsks86mrvmc4pcw8psw-gnutar-1.34/bin/tar
No uhc found
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Preprocessing library for hslua-core-2.2.1..
Building library for hslua-core-2.2.1..
[ 1 of 12] Compiling HsLua.Core.Utf8
[ 2 of 12] Compiling HsLua.Core.Types
[ 3 of 12] Compiling HsLua.Core.Userdata
[ 4 of 12] Compiling HsLua.Core.Unsafe
[ 5 of 12] Compiling HsLua.Core.Error
[ 6 of 12] Compiling HsLua.Core.Primary
[ 7 of 12] Compiling HsLua.Core.Closures
[ 8 of 12] Compiling HsLua.Core.Auxiliary
[ 9 of 12] Compiling HsLua.Core.Run
[10 of 12] Compiling HsLua.Core.Trace
[11 of 12] Compiling HsLua.Core.Package
[12 of 12] Compiling HsLua.Core
[ 1 of 12] Compiling HsLua.Core.Utf8
[ 2 of 12] Compiling HsLua.Core.Types
[ 3 of 12] Compiling HsLua.Core.Userdata
[ 4 of 12] Compiling HsLua.Core.Unsafe
[ 5 of 12] Compiling HsLua.Core.Error
[ 6 of 12] Compiling HsLua.Core.Primary
[ 7 of 12] Compiling HsLua.Core.Closures
[ 8 of 12] Compiling HsLua.Core.Auxiliary
[ 9 of 12] Compiling HsLua.Core.Run
[10 of 12] Compiling HsLua.Core.Trace
[11 of 12] Compiling HsLua.Core.Package
[12 of 12] Compiling HsLua.Core
Preprocessing test suite 'test-hslua-core' for hslua-core-2.2.1..
Building test suite 'test-hslua-core' for hslua-core-2.2.1..
[ 1 of 13] Compiling Test.HsLua.Arbitrary
[ 2 of 13] Compiling Test.Tasty.HsLua
[ 3 of 13] Compiling HsLua.Core.UserdataTests
[ 4 of 13] Compiling HsLua.Core.UnsafeTests
[ 5 of 13] Compiling HsLua.Core.TraceTests
[ 6 of 13] Compiling HsLua.Core.RunTests
[ 7 of 13] Compiling HsLua.Core.PrimaryTests
[ 8 of 13] Compiling HsLua.Core.PackageTests
[ 9 of 13] Compiling HsLua.Core.ErrorTests
[10 of 13] Compiling HsLua.Core.ClosuresTests
[11 of 13] Compiling HsLua.Core.AuxiliaryTests
[12 of 13] Compiling HsLua.CoreTests
[13 of 13] Compiling Main
Linking dist/build/test-hslua-core/test-hslua-core ...
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
Running 1 test suites...
Test suite test-hslua-core: RUNNING...
hslua-core
Core module
Error
try catches errors: OK
second alternative is used when first fails: OK
Applicative.empty implementation throws an exception: OK
changeErrorType
catches error as different type in argument operation: OK
passes value through on success: OK
type mismatch
got string: OK
got unnamed userdata: OK
named userdata: OK
missing value: OK
Auxiliary
checkstack'
returns unit if stack space can be provided: OK
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
requiref
can load a module: OK
returns () on success: OK
sets global if flag is set: OK
catches errors: OK
where'
return location in chunk: OK
loaded: OK
preload: 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
setting and getting a global works: 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': Test suite test-hslua-core: FAIL
Test suite logged to: dist/test/hslua-core-2.2.1-test-hslua-core.log
0 of 1 test suites (0 of 1 test cases) passed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment